/* ==========================================================================
   Core-02 · Compute Core · Research Core — 分析頁樣式
   延續 Core-03 淺色科技風 + 藍紫色主調
   新增：Analysis Mode / Analysis Parameters (動態欄位) / Analysis Information
   ========================================================================== */

/* ---------- 主色變數（與 Core-03 對齊） ---------- */
:root {
  --c1-primary: #0891B2;
  --c1-primary-hover: #0E7490;
  --c1-primary-soft: #ECFEFF;
  --c1-primary-light: #A5F3FC;
  --c1-indigo-400: #22D3EE;
  --c1-indigo-300: #67E8F9;
  --c1-ink-op: #0F172A;
  --c1-energy: #F59E0B;
  --c1-time:   #0EA5E9;
}

/* ---------- Topbar 麵包屑（與 c3 一致） ---------- */
.dash-top .top-crumb {
  flex-wrap: nowrap;
  min-width: 0;
}
.dash-top .top-crumb .cur,
.dash-top .top-crumb .sub,
.dash-top .top-crumb .crumb-link,
.dash-top .top-crumb .crumb-sep {
  white-space: nowrap;
}
.crumb-link {
  color: var(--nx-ink-500);
  text-decoration: none;
  transition: color 0.15s;
  font-family: var(--nx-font-sans);
  font-size: 15px;
}
.crumb-link:hover { color: var(--nx-primary); }
.crumb-sep {
  color: var(--nx-ink-300);
  font-family: var(--nx-font-mono);
  font-size: 13px;
  padding: 0 2px;
}
@media (max-width: 900px) {
  .dash-top .top-crumb .crumb-link,
  .dash-top .top-crumb .crumb-sep { display: none; }
}

/* ---------- Content wrapper ---------- */
.c1-content { padding-top: 10px; padding-bottom: 12px; }
.c1-hero { margin-top: 0; }

/* ==========================================================================
   HERO 區（與 c3 一致的高度與樣式，微調 tag 為 Research Mode）
   ========================================================================== */
.c1-hero {
  position: relative;
  height: clamp(92px, 11vh, 118px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.14);
  box-shadow:
    0 12px 28px -18px rgba(8, 145, 178, 0.18),
    0 4px 10px rgba(15, 23, 42, 0.04);
  isolation: isolate;
}
.c1-hero-svg,
.c1-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.c1-hero-canvas { z-index: 2; pointer-events: none; }
.c1-hero-svg { z-index: 1; }

.c1-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 11px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  pointer-events: none;
}
.c1-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.c1-hero-tag {
  font-family: var(--nx-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  background: linear-gradient(135deg, #0891B2, #06B6D4);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(8, 145, 178, 0.4);
}
.c1-hero-tag-sub {
  font-family: var(--nx-font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(8, 145, 178, 0.72);
  white-space: nowrap;
}
.c1-hero-headline {
  font-family: var(--nx-font-sans);
  font-size: 19px;
  font-weight: 800;
  color: var(--nx-ink-900);
  letter-spacing: var(--nx-ls-snug);
  line-height: 1.15;
  background: linear-gradient(135deg, #083344 0%, #0891B2 55%, #22D3EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.c1-hero-sub {
  margin-top: 6px;
  font-family: var(--nx-font-sans);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(8, 51, 68, 0.72);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .c1-hero-sub { font-size: 11.5px; }
}

.c1-nodes circle,
.c1-nodes rect {
  filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.55));
}
.c1-chip rect {
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.45));
}
@keyframes c1-node-breath {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.c1-nodes > *:nth-child(3n) { animation: c1-node-breath 3.2s ease-in-out infinite; }
.c1-nodes > *:nth-child(4n) { animation: c1-node-breath 4.5s ease-in-out infinite; animation-delay: -1.2s; }

/* ==========================================================================
   Core-01 AI 工作區（與 Core-03 完全一致的深色連貫卡）
   ========================================================================== */
.c1-workspace {
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.20);
  box-shadow:
    0 20px 40px -18px rgba(8, 145, 178, 0.28),
    0 4px 12px rgba(15, 23, 42, 0.06);
  background:
    radial-gradient(1200px 320px at 15% -10%, rgba(6, 182, 212, 0.14), transparent 70%),
    radial-gradient(800px 240px at 90% 110%, rgba(59, 130, 246, 0.08), transparent 70%),
    linear-gradient(180deg, #0B1220 0%, #0F172A 100%);
  position: relative;
  isolation: isolate;
}
.c1-ws-header {
  padding: 6px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(15, 23, 42, 0.4);
  position: relative;
  z-index: 1;
}
.c1-ws-ident {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.c1-ws-status {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.c1-sys-key {
  font-family: var(--nx-font-mono);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #67E8F9;
  line-height: 1;
  padding-right: 16px;
  border-right: 1px solid rgba(34, 211, 238, 0.24);
  white-space: nowrap;
}
.c1-sys-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.c1-sys-en {
  font-family: var(--nx-font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #ECFEFF;
  letter-spacing: var(--nx-ls-snug);
  line-height: 1.15;
  white-space: nowrap;
}
.c1-sys-tw {
  font-family: var(--nx-font-sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(165, 243, 252, 0.65);
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}
.c1-workspace .status-chip.is-ready.c1-sys-chip {
  background: rgba(16, 185, 129, 0.18);
  color: #6EE7B7;
  border-color: rgba(52, 211, 153, 0.36);
  padding: 5px 12px;
  font-weight: 700;
}
.c1-workspace .status-chip.is-ready.c1-sys-chip .dot {
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.30), 0 0 8px rgba(52, 211, 153, 0.55);
}
.c1-sys-clock {
  padding-left: 14px;
  border-left: 1px solid rgba(34, 211, 238, 0.24);
}
.c1-clock-value {
  font-family: var(--nx-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #ECFEFF;
  letter-spacing: 0.02em;
  display: flex;
  gap: 8px;
  align-items: baseline;
  white-space: nowrap;
}
.c1-clock-value #c1ClockTime {
  color: #67E8F9;
  font-variant-numeric: tabular-nums;
}
.c1-clock-sep { color: rgba(165, 243, 252, 0.35); }

/* AI Operation Stream */
.c1-workspace .c1-ops-head {
  position: relative;
  z-index: 1;
  padding: 4px 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
  margin-bottom: 0;
}
.c1-ops-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nx-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A5F3FC;
  white-space: nowrap;
}
.c1-ops-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(34, 211, 238, 0.18);
  color: #67E8F9;
}
.c1-ops-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.c1-ops-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--nx-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #6EE7B7;
  padding: 2px 8px 2px 7px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.36);
}
.c1-ops-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.30), 0 0 8px rgba(52, 211, 153, 0.55);
  animation: c1-live-pulse 2s ease-in-out infinite;
}
@keyframes c1-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.c1-ops-meta {
  font-family: var(--nx-font-mono);
  font-size: 10.5px;
  color: rgba(165, 243, 252, 0.45);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.c1-ops-grid {
  position: relative;
  z-index: 1;
  padding: 6px 18px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 66px 66px;
  gap: 7px;
  min-height: 0;
}
.c1-ops-col {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(6, 182, 212, 0.14);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 66px;
}
.c1-ops-col-head {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.12);
  font-family: var(--nx-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: rgba(165, 243, 252, 0.65);
  background: rgba(11, 18, 32, 0.6);
  flex-shrink: 0;
  white-space: nowrap;
}
.c1-ops-col-head span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c1-ops-col-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 6px currentColor;
  animation: c1-live-pulse 2.4s ease-in-out infinite;
}
.c1-ops-col-body {
  flex: 1;
  padding: 7px 11px 8px;
  overflow: hidden;
  position: relative;
  font-family: var(--nx-font-mono);
  font-size: 10px;
  line-height: 1.5;
  color: rgba(165, 243, 252, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
}
.c1-ops-col-body > * { flex-shrink: 0; }
.c1-log-line {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  animation: c1-line-in 0.6s ease-out forwards;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
  font-size: 10px;
  line-height: 1.5;
}
.c1-log-line .l-time { color: rgba(148, 163, 184, 0.5); margin-right: 4px; }
.c1-log-line .l-key { color: #67E8F9; }
.c1-log-line .l-val { color: #FDE68A; }
.c1-log-line .l-ok { color: #6EE7B7; }
.c1-log-line .l-err { color: #FCA5A5; }
@keyframes c1-line-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.c1-ops-col-matrix .c1-ops-col-body {
  padding: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 100%);
  display: block;
  opacity: 0.55;
}
.c1-ops-col-matrix canvas { display: block; width: 100%; height: 100%; }
.c1-tok-line {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  animation: c1-line-in 0.6s ease-out forwards;
  padding: 0;
  font-size: 10px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c1-tok-id { color: rgba(165, 243, 252, 0.5); }
.c1-tok-name { color: #A5F3FC; }
.c1-tok-vec { color: #FDBA74; }
.c1-tok-w { color: #93C5FD; }
.c1-ops-col-status .c1-ops-col-body {
  -webkit-mask-image: none;
  mask-image: none;
  display: block;
  justify-content: initial;
  padding: 6px 11px 7px;
}
.c1-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px 12px;
  height: 100%;
  align-content: center;
}
.c1-stat {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.c1-stat-label {
  font-family: var(--nx-font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.5);
  flex-shrink: 0;
}
.c1-stat-value {
  font-family: var(--nx-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #E0E7FF;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.c1-stat-value.c1-stat-ok { color: #6EE7B7; }

/* ==========================================================================
   Core-01 分析設定卡（新版：左側 Mode + Params，右側 Info）
   ========================================================================== */
.c1-panel {
  margin-top: 10px;
  padding: 14px 18px 14px;
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-r-lg);
  box-shadow: var(--nx-shadow-sm);
}
.c1-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: 0;
}
.c1-panel-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.c1-panel-title h2 {
  margin: 0;
  font-family: var(--nx-font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--nx-ink-900);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.c1-panel-hint {
  font-family: var(--nx-font-mono);
  font-size: 11.5px;
  color: var(--nx-ink-400);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.c1-panel-clock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 0;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--nx-ink-400);
}
.c1-clock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-ink-400);
  opacity: 0.65;
}
.c1-panel-clock-value {
  font-family: var(--nx-font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--nx-ink-400);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 主要區：單欄操作區 ---------- */
.c1-panel-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: stretch;
}
.c1-panel-main {
  display: block;
}

/* ---------- 分析設定（含 Energy，可未來擴充；低調融入 panel） ---------- */
.c1-settings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.c1-setting-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}
.c1-setting-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 96px;
  font-family: var(--nx-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--nx-ink-500);
  cursor: pointer;
  user-select: none;
}
.c1-setting-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(8, 145, 178, 0.10);
  color: var(--c1-primary);
  border: 1px solid rgba(8, 145, 178, 0.20);
}
.c1-setting-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.c1-setting-input {
  width: 180px;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 9px;
  background: #fff;
  border: 1.5px solid var(--nx-line);
  color: var(--nx-ink-900);
  font-family: var(--nx-font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  outline: none;
  transition: all 0.18s;
}
.c1-setting-input::placeholder {
  color: var(--nx-ink-300);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.c1-setting-input:hover {
  border-color: rgba(8, 145, 178, 0.30);
}
.c1-setting-input:focus {
  border-color: var(--c1-primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.14);
}
.c1-setting-input-unit {
  font-family: var(--nx-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-ink-400);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .c1-setting-row { flex-wrap: wrap; gap: 8px; }
  .c1-setting-label { min-width: 0; }
  .c1-setting-input-wrap { width: 100%; }
  .c1-setting-input { width: 100%; flex: 1 1 auto; }
}

/* ---------- Section 標題 ---------- */
.c1-sec {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c1-sec + .c1-sec { margin-top: 28px; }
.c1-sec-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.c1-sec-title {
  font-family: var(--nx-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--nx-ink-500);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* ---------- Analysis Mode ---------- */
.c1-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.c1-mode {
  all: unset;
  cursor: pointer;
  position: relative;
  padding: 8px 12px 7px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--nx-line);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  min-height: 46px;
  text-align: left;
  display: block;
}
.c1-mode::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.10), rgba(103, 232, 249, 0.02) 60%, transparent 90%);
  opacity: 0;
  transition: opacity 0.22s;
  z-index: -1;
}
.c1-mode:hover {
  border-color: rgba(6, 182, 212, 0.30);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(8, 145, 178, 0.22);
}
.c1-mode:hover::before { opacity: 1; }
.c1-mode-idx {
  display: block;
  font-family: var(--nx-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--nx-ink-300);
  margin-bottom: 3px;
}
.c1-mode-name {
  display: block;
  font-family: var(--nx-font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nx-ink-900);
  letter-spacing: var(--nx-ls-snug);
  line-height: 1.2;
  margin-bottom: 2px;
}
.c1-mode-en {
  display: block;
  font-family: var(--nx-font-mono);
  font-size: 8.5px;
  font-weight: 500;
  color: var(--nx-ink-400);
  opacity: 0.65;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.c1-mode-radio {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1.5px solid var(--nx-line-strong);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s;
}
.c1-mode-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.22s;
}
.c1-mode.is-selected {
  background: linear-gradient(135deg, #0891B2 0%, #06B6D4 100%);
  border-color: #0E7490;
  box-shadow:
    0 12px 26px -12px rgba(8, 145, 178, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.c1-mode.is-selected::before { opacity: 0; }
.c1-mode.is-selected .c1-mode-idx { color: rgba(255, 255, 255, 0.55); }
.c1-mode.is-selected .c1-mode-name { color: #fff; }
.c1-mode.is-selected .c1-mode-en { color: rgba(165, 243, 252, 0.85); }
.c1-mode.is-selected .c1-mode-radio {
  border-color: #fff;
  background: #fff;
}
.c1-mode.is-selected .c1-mode-radio::after {
  background: var(--c1-primary);
  opacity: 1;
  transform: scale(1);
}
.c1-mode:focus-visible {
  outline: 2px solid var(--c1-primary);
  outline-offset: 2px;
}

/* ---------- Analysis Parameters（動態 grid） ---------- */
.c1-params {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.c1-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.c1-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nx-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--nx-ink-500);
}
.c1-field-label .num { display: none; }
.c1-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(8, 145, 178, 0.10);
  color: var(--c1-primary);
  border: 1px solid rgba(8, 145, 178, 0.20);
  flex-shrink: 0;
}
/* Energy 專用 field：不要拉滿一整行，維持合適寬度 */
.c1-sec-energy .c1-field-energy {
  max-width: 260px;
}
@media (max-width: 600px) {
  .c1-sec-energy .c1-field-energy { max-width: 100%; }
}
.c1-input {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  background: #fff;
  border: 1.5px solid var(--nx-line);
  font-family: var(--nx-font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nx-ink-900);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  transition: all 0.18s;
}
.c1-input::placeholder {
  color: var(--nx-ink-300);
  font-weight: 500;
}
.c1-input:hover { border-color: rgba(6, 182, 212, 0.30); }
.c1-input:focus {
  border-color: var(--c1-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}
.c1-input:disabled {
  background: #F1F5F9;
  color: var(--nx-ink-300);
  cursor: not-allowed;
}

/* ---------- Analysis Information（右側資訊卡） ---------- */
.c1-info {
  background: linear-gradient(180deg, #0B1220 0%, #0F172A 100%);
  border: 1px solid rgba(6, 182, 212, 0.24);
  border-radius: 14px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 30px -14px rgba(8, 145, 178, 0.28);
}
/* 極簡版本：僅顯示 Energy — 垂直居中、Energy 區塊放大更好操作 */
.c1-info.is-minimal {
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 18px 18px;
}
.c1-info.is-minimal .c1-info-head {
  padding-bottom: 12px;
}
.c1-info.is-minimal .c1-info-item.is-energy {
  padding: 4px 0 2px;
}
.c1-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(6, 182, 212, 0.20), transparent 60%),
    radial-gradient(400px 200px at 0% 100%, rgba(59, 130, 246, 0.10), transparent 60%);
  z-index: -1;
}
.c1-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.20);
}
.c1-info-title {
  font-family: var(--nx-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A5F3FC;
}
.c1-info-badge {
  font-family: var(--nx-font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #67E8F9;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.30);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.c1-info-badge.is-pending {
  color: rgba(165, 243, 252, 0.55);
  background: rgba(148, 163, 184, 0.10);
  border-color: rgba(148, 163, 184, 0.25);
}

.c1-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.c1-info-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nx-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.65);
}
.c1-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(34, 211, 238, 0.16);
  color: #67E8F9;
}
.c1-info-icon.is-energy { background: rgba(245, 158, 11, 0.16); color: #FCD34D; }
.c1-info-icon.is-time   { background: rgba(14, 165, 233, 0.18); color: #7DD3FC; }

.c1-info-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-left: 24px;
}
.c1-info-num {
  font-family: var(--nx-font-mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ECFEFF;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.c1-info-item.is-energy .c1-info-num { color: #FCD34D; }
.c1-info-item.is-time   .c1-info-num { color: #7DD3FC; }
.c1-info-item.is-empty .c1-info-num {
  color: rgba(165, 243, 252, 0.35);
  font-weight: 700;
}
.c1-info-unit {
  font-family: var(--nx-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.55);
}

/* ---------- Energy 消耗：使用者輸入版本 ---------- */
.c1-info-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 24px;
  margin-top: 4px;
}
.c1-info-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1.5px solid rgba(34, 211, 238, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: #FCD34D;
  font-family: var(--nx-font-mono);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.c1-info-input::placeholder {
  color: rgba(165, 243, 252, 0.32);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.c1-info-input:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(15, 23, 42, 0.68);
}
.c1-info-input:focus {
  border-color: #FCD34D;
  background: rgba(15, 23, 42, 0.75);
  box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.18);
}
.c1-info-input-unit {
  font-family: var(--nx-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.55);
  flex-shrink: 0;
}
/* input 版的 Energy 不用 。c1-info-value，隱藏它以防有殘留 */
.c1-info-item.is-input .c1-info-value { display: none; }

.c1-info-divider {
  height: 1px;
  background: rgba(34, 211, 238, 0.14);
  margin: 2px 0;
}

.c1-info-note {
  font-family: var(--nx-font-mono);
  font-size: 10px;
  color: rgba(165, 243, 252, 0.55);
  letter-spacing: 0.02em;
  line-height: 1.5;
  padding: 8px 10px;
  background: rgba(6, 182, 212, 0.10);
  border: 1px dashed rgba(34, 211, 238, 0.28);
  border-radius: 8px;
}
.c1-info-note b { color: #A5F3FC; font-weight: 700; }

/* ---------- panel foot（開始分析按鈕列） ---------- */
.c1-panel-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--nx-line);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}
.c1-foot-sel {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.c1-sel-label {
  font-family: var(--nx-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-ink-400);
}
.c1-sel-value {
  font-family: var(--nx-font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--nx-ink-900);
  letter-spacing: var(--nx-ls-snug);
}
.c1-sel-value.is-empty {
  color: var(--nx-ink-300);
  font-weight: 500;
}
.c1-analyze-btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  padding: 9px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0891B2, #06B6D4);
  color: #fff;
  font-family: var(--nx-font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--nx-ls-snug);
  box-shadow: 0 14px 28px -10px rgba(8, 145, 178, 0.45);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.c1-analyze-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -10px rgba(8, 145, 178, 0.55);
}
.c1-analyze-btn:active:not(:disabled) { transform: translateY(0); }
.c1-analyze-btn:disabled {
  cursor: not-allowed;
  background: #E5E7EB;
  color: var(--nx-ink-300);
  box-shadow: none;
}
.c1-analyze-btn .c1-btn-arrow {
  display: inline-flex;
  transition: transform 0.22s;
}
.c1-analyze-btn:hover:not(:disabled) .c1-btn-arrow { transform: translateX(3px); }

/* ==========================================================================
   MODAL（延用 c3 樣式，新增雙欄能量 / 時間卡）
   ========================================================================== */
.c1-modal-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.c1-modal-root[data-open="true"] { display: flex; }
.c1-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: c1-fade-in 0.24s ease-out;
}
@keyframes c1-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.c1-modal {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  width: 100%;
  max-width: 460px;
  box-shadow:
    0 40px 80px -20px rgba(15, 23, 42, 0.35),
    0 12px 30px rgba(15, 23, 42, 0.15);
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: c1-modal-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.c1-modal[data-active="true"] { display: flex; }
@keyframes c1-modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.c1-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.c1-modal-icon-info {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(34, 211, 238, 0.06));
  color: var(--c1-primary);
  border: 1px solid rgba(6, 182, 212, 0.22);
}
.c1-modal-title {
  font-family: var(--nx-font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--nx-ink-900);
  letter-spacing: var(--nx-ls-snug);
  margin-bottom: 6px;
  white-space: nowrap;
  line-height: 1.3;
}
.c1-modal-sub {
  font-family: var(--nx-font-sans);
  font-size: 13px;
  color: var(--nx-ink-500);
  margin-bottom: 16px;
}
.c1-modal-body { width: 100%; }

/* Modal 內：雙欄摘要（Energy / Time） */
.c1-modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 6px;
}
.c1-modal-stats.c1-modal-stats-single {
  grid-template-columns: 1fr;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}
.c1-modal-stat {
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--nx-line);
  background: #FAFAFB;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.c1-modal-stat.is-energy {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(245, 158, 11, 0.02) 100%);
  border-color: rgba(245, 158, 11, 0.24);
}
.c1-modal-stat.is-time {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.06) 0%, rgba(14, 165, 233, 0.02) 100%);
  border-color: rgba(14, 165, 233, 0.24);
}
.c1-modal-stat-label {
  font-family: var(--nx-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-ink-400);
}
.c1-modal-stat-value {
  font-family: var(--nx-font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--nx-ink-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.c1-modal-stat.is-energy .c1-modal-stat-value { color: #B45309; }
.c1-modal-stat.is-time   .c1-modal-stat-value { color: #0369A1; }
.c1-modal-stat-unit {
  font-family: var(--nx-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-ink-400);
}

/* Modal 摘要參數 chip 群 */
.c1-modal-chip-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--nx-line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.c1-modal-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.20);
  font-family: var(--nx-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--c1-primary);
  letter-spacing: 0.02em;
}
.c1-modal-chip b { color: var(--nx-ink-800); font-weight: 700; }

.c1-modal-text {
  margin-top: 16px;
  font-family: var(--nx-font-sans);
  font-size: 14px;
  color: var(--nx-ink-600);
  line-height: 1.6;
}

.c1-modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  width: 100%;
}
.c1-btn {
  all: unset;
  cursor: pointer;
  flex: 1;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: var(--nx-font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--nx-ls-snug);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s;
  text-align: center;
}
.c1-btn-ghost {
  background: transparent;
  border: 1px solid var(--nx-line-strong);
  color: var(--nx-ink-700);
}
.c1-btn-ghost:hover {
  background: var(--nx-bg-2);
  border-color: var(--nx-ink-300);
}
.c1-btn-primary {
  background: linear-gradient(135deg, #0891B2, #06B6D4);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(8, 145, 178, 0.4);
}
.c1-btn-primary:hover {
  box-shadow: 0 12px 26px -6px rgba(8, 145, 178, 0.55);
  transform: translateY(-1px);
}
.c1-btn-primary:active { transform: translateY(0); }

/* ---------- 成功視窗（任務已建立） ---------- */
.c1-modal-result { padding-top: 28px; }
.c1-result-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: c1-result-icon-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes c1-result-icon-in {
  0% { opacity: 0; transform: scale(0.5); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
.c1-result-icon-success {
  background: linear-gradient(135deg, #0891B2, #06B6D4);
  color: #fff;
  box-shadow: 0 16px 30px -10px rgba(8, 145, 178, 0.4);
}
.c1-result-title {
  font-family: var(--nx-font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--nx-ink-900);
  letter-spacing: var(--nx-ls-snug);
  white-space: nowrap;
  line-height: 1.3;
}
.c1-result-sub {
  margin-top: 6px;
  font-family: var(--nx-font-sans);
  font-size: 13.5px;
  color: var(--nx-ink-500);
  line-height: 1.6;
}
.c1-result-meta {
  margin-top: 18px;
  width: 100%;
  padding: 14px 16px;
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.c1-result-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.c1-result-meta-label {
  font-family: var(--nx-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-ink-400);
}
.c1-result-meta-value {
  font-family: var(--nx-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c1-primary);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  .c1-panel-grid {
    grid-template-columns: 1fr;
  }
  .c1-info {
    order: -1;
  }
  .c1-info-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
  }
  .c1-info-value { padding-left: 0; }
  .c1-info-num { font-size: 24px; }
  .c1-info-divider { display: none; }
}

@media (max-width: 1080px) {
  .c1-modes { grid-template-columns: repeat(2, 1fr); }
  .c1-params { grid-template-columns: repeat(3, 1fr); }
  .c1-ws-header { gap: 14px; }
  .c1-sys-clock { padding-left: 12px; }
  .c1-clock-value { font-size: 13px; }
  .c1-ops-grid { grid-template-rows: 105px 105px; }
  .c1-ops-col { height: 105px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .c1-content {
    padding-top: 12px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .c1-hero { height: 116px; border-radius: 14px; }
  .c1-hero-overlay { padding: 14px 18px; gap: 4px; }
  .c1-hero-headline { font-size: 19px; }
  .c1-hero-eyebrow { gap: 8px; }
  .c1-hero-tag { font-size: 10px; padding: 3px 8px; }
  .c1-hero-tag-sub { display: none; }

  .c1-workspace { margin-top: 12px; border-radius: 14px; }
  .c1-ws-header { padding: 12px 14px; gap: 10px; flex-wrap: wrap; }
  .c1-sys-key { font-size: 18px; padding-right: 12px; }
  .c1-sys-en { font-size: 13.5px; }
  .c1-sys-tw { font-size: 11px; }
  .c1-ws-status { width: 100%; justify-content: space-between; gap: 8px; }
  .c1-workspace .status-chip.is-ready.c1-sys-chip { padding: 4px 10px; font-size: 11px; }
  .c1-sys-clock { padding-left: 0; border-left: 0; }
  .c1-clock-value { font-size: 12.5px; gap: 6px; }

  .c1-ops-head { padding: 8px 12px 6px; }
  .c1-ops-title { font-size: 10px; gap: 6px; }
  .c1-ops-title-icon { width: 16px; height: 16px; }
  .c1-ops-meta { display: none; }
  .c1-ops-live { font-size: 8px; padding: 2px 5px; }
  .c1-ops-col-head { font-size: 8px; letter-spacing: 0.1em; padding: 5px 8px; }
  .c1-ops-grid {
    padding: 8px 12px 12px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 8px;
    min-height: 0;
  }
  .c1-ops-col { min-height: 0; }
  .c1-ops-col-log { grid-column: auto; min-height: 88px; }
  .c1-ops-col-log .c1-ops-col-body { max-height: 74px; overflow: hidden; padding: 4px 8px; }
  .c1-ops-col-status .c1-ops-col-body { padding: 6px 8px; }
  .c1-ops-col-matrix { display: none; }
  .c1-ops-col-token { display: none; }
  /* AI STATUS 改成 2 欄，讓 label / value 有充足空間 */
  .c1-stat-grid { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .c1-stat { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 6px; }
  .c1-stat-label { font-size: 8.5px; letter-spacing: 0.05em; }
  .c1-stat-value { font-size: 11.5px; }
  .c1-log-line { font-size: 9px; line-height: 1.55; }

  .c1-panel {
    margin-top: 12px;
    padding: 12px 12px 12px;
    border-radius: 14px;
  }
  .c1-panel-head {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .c1-panel-title h2 { font-size: 15px; }
  .c1-panel-hint { font-size: 11px; }

  /* 手機:section 間距壓縮 */
  .c1-sec { gap: 8px; }
  .c1-sec + .c1-sec { margin-top: 12px; }

  .c1-modes { grid-template-columns: 1fr 1fr; gap: 6px; }
  .c1-mode { padding: 8px 10px 7px; min-height: 48px; border-radius: 9px; }
  .c1-mode-idx { font-size: 8.5px; margin-bottom: 2px; }
  .c1-mode-name { font-size: 13px; margin-bottom: 1px; }
  .c1-mode-en { font-size: 8.5px; }
  .c1-mode-radio { top: 7px; right: 7px; width: 12px; height: 12px; }
  .c1-mode-radio::after { width: 5px; height: 5px; }

  .c1-params { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .c1-field { gap: 3px; }
  .c1-field-label { font-size: 11.5px; gap: 5px; }
  .c1-field-icon { width: 14px; height: 14px; }
  .c1-input { padding: 7px 10px; font-size: 13px; border-radius: 8px; }

  .c1-info { padding: 14px; }
  .c1-info-item { flex-direction: row; align-items: center; justify-content: space-between; padding: 4px 0; }
  .c1-info-value { padding-left: 0; }
  .c1-info-num { font-size: 22px; }
  .c1-info-divider { display: none; }
  .c1-info-note { display: none; }

  /* 手機底部按鈕列:改回靜態排版,跟隨 Energy 出現在頁尾
     隱藏「已選擇 XXXX」文字 → 只留「立即分析」按鈕,置中呈現 */
  .c1-panel-foot {
    position: static;
    margin-top: 14px;
    padding: 14px 0 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid var(--nx-line);
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .c1-foot-sel { display: none; }
  .c1-analyze-btn {
    width: auto;
    min-width: 220px;
    padding: 11px 32px;
    font-size: 14.5px;
    flex-shrink: 0;
  }

  .c1-modal-title { font-size: 20px; white-space: normal; }
  .c1-modal-stat-value { font-size: 22px; }
}

/* 超小手機 */
@media (max-width: 380px) {
  .c1-hero { height: 96px; }
  .c1-hero-headline { font-size: 17px; }
  .c1-modes { grid-template-columns: 1fr 1fr; }
  .c1-mode-name { font-size: 13px; }
  .c1-params { grid-template-columns: 1fr 1fr; }
}
