/* ============================================================
   LiverStats · AI Executive Office (V2) — command room stage
   Center = LiverStats (the service). Round-table of AI executives
   convene around it. CEO consults; the office decides. Layered ON
   TOP of founder.css tokens — no token redefinition here.
   ============================================================ */

/* ---- boot sequence (staged readiness gate) ---- */
.fo-boot__seq {
  display: flex; flex-direction: column; gap: 8px;
  width: min(360px, 82vw); min-height: 150px; margin-top: 6px;
}
.fo-boot__step {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 12.5px; color: var(--muted-2);
  opacity: 0; transform: translateY(5px); transition: opacity .35s ease, transform .35s ease, color .35s;
  letter-spacing: .2px;
}
.fo-boot__step.in { opacity: 1; transform: none; }
.fo-boot__step .bd {
  width: 13px; height: 13px; border-radius: 50%; flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.16);
}
.fo-boot__step.done { color: #cdd2e6; }
.fo-boot__step.done .bd { border-color: var(--green); background: radial-gradient(circle, var(--green) 42%, transparent 44%); }
.fo-boot__bar { width: min(360px, 82vw); height: 3px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 4px; }
.fo-boot__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--cyan)); box-shadow: 0 0 12px rgba(124,58,237,.6); transition: width .5s ease; }
.fo-boot__cta { margin-top: 14px; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .45s ease, transform .45s ease; }
.fo-boot__cta.in { opacity: 1; transform: none; pointer-events: auto; }
.fo-boot__open {
  border: 0; cursor: pointer; font-family: var(--font); font-weight: 700; color: #fff;
  border-radius: 14px; padding: .82rem 1.7rem; font-size: 15px; letter-spacing: .3px;
  background: linear-gradient(120deg, var(--purple), var(--blue));
  box-shadow: 0 14px 40px rgba(124,58,237,.4), inset 0 1px 0 rgba(255,255,255,.3);
  transition: filter .2s, transform .12s;
}
.fo-boot__open:hover { filter: brightness(1.08); }
.fo-boot__open:active { transform: translateY(1px); }

/* ---- command stage (replaces card-list home) ---- */
.fo-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100dvh - var(--tabbar-h) - var(--safe-b) - 8px);
  gap: 6px;
}

/* status strip (real prod state) */
.fo-stage__status {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  padding: 4px 2px 2px;
}
.fo-spill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  padding: .32rem .6rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--glass);
  white-space: nowrap;
}
.fo-spill b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.fo-spill .sd { width: 6px; height: 6px; border-radius: 50%; }
.fo-spill .sd.ok { background: var(--green); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: fo-live 2s infinite; }
.fo-spill .sd.warn { background: var(--amber); }
.fo-spill .sd.crit { background: var(--red); }
@keyframes fo-live { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.5)} 70%{box-shadow:0 0 0 6px rgba(52,211,153,0)} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0)} }
.fo-spill--alert {
  border-color: rgba(248,113,113,.45); background: rgba(248,113,113,.12); color: #fecdd3;
  cursor: pointer; font-weight: 700;
}
.fo-spill--alert:hover { filter: brightness(1.1); }

/* round table */
.fo-table {
  position: relative;
  width: min(76vh, 540px, 94vw);
  aspect-ratio: 1;
  margin: 0 auto;
  align-self: center;
}
.fo-table__wires { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fo-table__ring {
  position: absolute; inset: 9%; border-radius: 50%;
  border: 1px solid var(--border); opacity: .55;
}
.fo-table__ring.r2 {
  inset: 0; border-style: dashed; border-color: rgba(168,85,247,.16);
  animation: fo-spin 64s linear infinite;
}
@keyframes fo-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fo-table__ring.r2 { animation: none; } }

/* the service core (protagonist) */
.fo-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 46%; aspect-ratio: 1; border-radius: 26px; z-index: 3;
  display: grid; place-items: center; text-align: center; padding: 4%;
  background: linear-gradient(165deg, rgba(196,181,253,.14), rgba(125,211,252,.08)), var(--panel-2);
  border: 1px solid var(--border-hi); backdrop-filter: blur(10px);
  box-shadow: 0 0 70px rgba(124,58,237,.28), 0 26px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.14);
  cursor: pointer;
}
.fo-core::before {
  content: ""; position: absolute; inset: -2px; border-radius: 28px; z-index: -1;
  background: conic-gradient(from 0deg, rgba(168,85,247,.5), rgba(34,211,238,.4), rgba(59,130,246,.5), rgba(168,85,247,.5));
  filter: blur(9px); opacity: .5; animation: fo-spin 16s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .fo-core::before { animation: none; } }
.fo-core__label { font-family: var(--font); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.fo-core__name {
  font-family: var(--display); font-weight: 800; font-size: clamp(18px, 5vw, 26px); margin: 4px 0 5px;
  background: linear-gradient(120deg, #c4b5fd, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fo-core__state { font-size: 11px; color: var(--muted); line-height: 1.4; min-height: 1.4em; }
.fo-core__pulse { margin-top: 7px; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; }
.fo-core__pulse .cd { width: 7px; height: 7px; border-radius: 50%; }
.fo-core__pulse[data-h="ok"] { color: var(--green); }
.fo-core__pulse[data-h="ok"] .cd { background: var(--green); animation: fo-live 1.8s infinite; }
.fo-core__pulse[data-h="warn"] { color: var(--amber); }
.fo-core__pulse[data-h="warn"] .cd { background: var(--amber); }
.fo-core.is-busy .fo-core__name { background: linear-gradient(120deg, var(--purple), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* executive nodes around the table */
.fo-exec {
  position: absolute; transform: translate(-50%,-50%); z-index: 4;
  width: 74px; text-align: center; cursor: pointer;
  transition: filter .3s ease, opacity .3s ease;
}
.fo-exec__av {
  width: 46px; height: 46px; margin: 0 auto; border-radius: 14px; position: relative;
  display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--border); background: var(--panel);
  box-shadow: 0 8px 22px rgba(0,0,0,.4); transition: box-shadow .3s, transform .3s;
}
.fo-exec__av svg { width: 118%; height: 118%; }
.fo-exec__st {
  position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--bg-1); z-index: 2;
}
.fo-exec__nm { font-size: 10.5px; font-weight: 700; margin-top: 5px; color: #dfe2ef; line-height: 1.15; }
.fo-exec__do { font-size: 9.5px; color: var(--cyan); margin-top: 1px; font-family: var(--font); height: 1.05em; letter-spacing: .2px; }
.fo-exec.is-summoned { filter: drop-shadow(0 0 9px rgba(168,85,247,.5)); }
.fo-exec.is-summoned .fo-exec__av { box-shadow: 0 0 0 2px rgba(168,85,247,.55), 0 10px 26px rgba(124,58,237,.4); transform: translateY(-2px); }
.fo-exec.is-dim { opacity: .34; filter: grayscale(.4); }

/* status dot colors reuse STATUS_PRESENTATION intents */
.fo-st--work { background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.fo-st--impl { background: var(--purple); box-shadow: 0 0 9px var(--purple); }
.fo-st--test { background: var(--amber); box-shadow: 0 0 9px var(--amber); }
.fo-st--sec  { background: var(--amber); box-shadow: 0 0 9px var(--amber); }
.fo-st--done { background: var(--green); box-shadow: 0 0 9px var(--green); }
.fo-st--block{ background: var(--red);   box-shadow: 0 0 9px var(--red); }
.fo-st--idle { background: #4b5168; }

/* CEO consult console (hero) */
.fo-console { padding: 6px 2px calc(6px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; gap: 9px; }
.fo-console__ex { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 640px; }
.fo-ex {
  font-size: 12px; color: var(--muted); border: 1px solid var(--border); background: var(--glass);
  padding: .4rem .68rem; border-radius: 999px; cursor: pointer; transition: color .15s, border-color .15s, background .15s;
  font-family: var(--font);
}
.fo-ex:hover { color: var(--text); border-color: var(--border-hi); background: var(--panel); }
.fo-console__bar {
  width: min(640px, 96vw); display: flex; align-items: center; gap: 9px;
  padding: 7px 7px 7px 16px; border-radius: 18px;
  border: 1px solid var(--border-hi);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 18px 46px rgba(0,0,0,.5), 0 0 36px rgba(124,58,237,.13);
  backdrop-filter: blur(8px);
}
.fo-console__bar input {
  flex: 1; background: none; border: 0; outline: 0; color: var(--text);
  /* font-size must be >=16px: iOS Safari auto-zooms the page when a focused input is <16px
     (C3). min-height gives a comfortable tap target aligned with the 42px send button. */
  font-family: var(--font); font-size: 16px; letter-spacing: .2px; min-width: 0; min-height: 42px;
}
.fo-console__bar input::placeholder { color: var(--muted-2); }
.fo-send {
  border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 13px; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(120deg, var(--purple), var(--blue));
  box-shadow: 0 8px 22px rgba(124,58,237,.4), inset 0 1px 0 rgba(255,255,255,.3);
  transition: filter .2s, transform .12s;
}
.fo-send:hover { filter: brightness(1.08); }
.fo-send:active { transform: translateY(1px); }
.fo-send svg { width: 20px; height: 20px; }
.fo-send:disabled { filter: grayscale(.6) brightness(.7); cursor: default; }
.fo-console__hint { font-size: 10.5px; color: var(--muted-2); text-align: center; }

/* ---- meeting panel (bottom sheet on mobile, side panel on wide) ---- */
.fo-meet-scrim {
  position: fixed; inset: 0; z-index: 44; background: rgba(4,5,15,.62); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .32s, visibility .32s;
}
.fo-meet-scrim.in { opacity: 1; visibility: visible; }
.fo-meet {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  max-height: 86dvh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0c0e20, #080a16);
  border-top: 1px solid var(--border-hi); border-radius: 22px 22px 0 0;
  box-shadow: 0 -26px 70px rgba(0,0,0,.6);
  transform: translateY(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
  padding-bottom: var(--safe-b);
}
.fo-meet.in { transform: none; }
.fo-meet__grip { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); margin: 9px auto 2px; flex: 0 0 auto; }
.fo-meet__h { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 12px; border-bottom: 1px solid var(--border); }
.fo-meet__h b { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .5px; }
.fo-meet__x { background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 4px; }
.fo-meet__b { overflow-y: auto; padding: 16px 18px 22px; -webkit-overflow-scrolling: touch; }

.fo-meet__state { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.fo-meet__spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--cyan); animation: fo-spin 1s linear infinite; flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) { .fo-meet__spin { animation: none; } }
.fo-meet__eyebrow { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin: 16px 0 8px; }
.fo-meet__depts { display: flex; flex-wrap: wrap; gap: 6px; }

.fo-verdict {
  display: flex; gap: 10px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 13px;
  background: var(--glass); margin-bottom: 8px;
  opacity: 0; transform: translateY(8px); animation: fo-up .45s forwards;
}
@keyframes fo-up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fo-verdict, .fo-proposal { animation: none; opacity: 1; transform: none; } }
.fo-verdict__ic { width: 30px; height: 30px; border-radius: 9px; overflow: hidden; flex: 0 0 auto; border: 1px solid var(--border); display: grid; place-items: center; background: var(--panel); }
.fo-verdict__ic svg { width: 130%; height: 130%; }
.fo-verdict__t b { font-size: 12.5px; font-weight: 700; display: block; }
.fo-verdict__t small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.fo-verdict__badge { margin-left: auto; align-self: flex-start; font-size: 9.5px; font-weight: 700; padding: .2rem .48rem; border-radius: 999px; white-space: nowrap; }
.b-ok { background: rgba(52,211,153,.15); color: #6ee7b7; }
.b-work { background: rgba(34,211,238,.15); color: #67e8f9; }
.b-warn { background: rgba(251,191,36,.15); color: #fcd34d; }

.fo-proposal {
  margin-top: 8px; border: 1px solid var(--border-hi); border-radius: 16px; padding: 15px;
  background: linear-gradient(180deg, rgba(168,85,247,.10), rgba(59,130,246,.05));
  opacity: 0; transform: translateY(8px); animation: fo-up .45s .1s forwards;
}
.fo-proposal h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.fo-kv { display: flex; gap: 8px; font-size: 12.5px; margin: 6px 0; color: #dfe2ef; line-height: 1.5; }
.fo-kv b { color: var(--muted); font-weight: 700; min-width: 62px; flex: 0 0 auto; }
.fo-meet__note { font-size: 10.5px; color: var(--muted-2); margin-top: 12px; line-height: 1.5; }
.fo-approve-row { display: flex; gap: 9px; margin-top: 14px; }
.fo-approve-row button { flex: 1; border: 0; cursor: pointer; font-family: var(--font); font-weight: 700; border-radius: 13px; padding: .82rem; font-size: 14px; transition: filter .2s, transform .12s; }
.fo-approve-row button:active { transform: translateY(1px); }
.b-approve { color: #fff; background: linear-gradient(120deg, var(--green), #059669); box-shadow: 0 10px 26px rgba(52,211,153,.3); }
.b-approve:hover { filter: brightness(1.06); }
.b-reject { color: var(--muted); background: var(--panel); border: 1px solid var(--border) !important; }

/* pipeline after approval */
.fo-pipe { margin-top: 4px; }
.fo-pstep { display: flex; align-items: center; gap: 11px; padding: 9px 0; opacity: .4; transition: opacity .4s; }
.fo-pstep.act, .fo-pstep.done { opacity: 1; }
.fo-pstep__i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--border); flex: 0 0 auto; background: var(--panel); }
.fo-pstep.act .fo-pstep__i { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 12px rgba(34,211,238,.3); }
.fo-pstep.done .fo-pstep__i { border-color: var(--green); color: var(--green); background: rgba(52,211,153,.12); }
.fo-pstep__t b { font-size: 12.5px; font-weight: 700; display: block; }
.fo-pstep__t small { font-size: 11px; color: var(--muted); }
.fo-pstep__s { margin-left: auto; font-size: 10.5px; font-family: var(--font); color: var(--muted); }

/* toast */
.fo-toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px + var(--safe-b)); transform: translate(-50%, 16px);
  z-index: 48; padding: .68rem 1.05rem; border-radius: 13px; color: #fff; font-size: 12.5px; font-weight: 700;
  background: linear-gradient(120deg, rgba(124,58,237,.92), rgba(59,130,246,.92));
  box-shadow: 0 14px 40px rgba(124,58,237,.4); opacity: 0; transition: opacity .32s, transform .32s;
  display: flex; align-items: center; gap: 8px; max-width: 90vw;
}
.fo-toast.in { opacity: 1; transform: translate(-50%, 0); }

/* wide screens: dock the meeting as a right rail */
@media (min-width: 860px) {
  .fo-meet { left: auto; right: 0; top: 0; bottom: 0; width: min(460px, 100vw); max-height: 100dvh; border-radius: 0; border-top: 0; border-left: 1px solid var(--border-hi); transform: translateX(100%); }
  .fo-meet.in { transform: none; }
  .fo-meet__grip { display: none; }
}

@media (max-width: 380px) {
  .fo-exec { width: 62px; }
  .fo-exec__av { width: 40px; height: 40px; }
}

/* ---- CEO Action Pack (top of command room) ---- */
.fo-actionpack {
  margin: 2px 2px 8px; padding: 14px 15px; border-radius: 18px;
  border: 1px solid var(--border-hi);
  background: linear-gradient(180deg, rgba(168,85,247,.10), rgba(59,130,246,.05)), var(--panel);
  box-shadow: 0 14px 40px rgba(0,0,0,.4), 0 0 30px rgba(124,58,237,.10);
  backdrop-filter: blur(8px);
}
.fo-ap__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fo-ap__title { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .5px;
  background: linear-gradient(120deg, #c4b5fd, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fo-ap__sub { font-size: 11px; color: var(--muted); }
.fo-ap__lead { font-size: 12px; color: var(--muted); margin: 6px 0 10px; line-height: 1.5; }
.fo-ap__list { display: flex; flex-direction: column; gap: 8px; }
.fo-ap__item {
  display: flex; gap: 11px; align-items: flex-start; padding: 11px 12px; border-radius: 13px;
  border: 1px solid var(--border); background: var(--glass);
}
.fo-ap__item.is-done { opacity: .6; }
.fo-ap__n {
  width: 24px; height: 24px; border-radius: 8px; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--purple), var(--blue));
}
.fo-ap__item.is-done .fo-ap__n { background: rgba(52,211,153,.2); color: var(--green); }
.fo-ap__body { flex: 1; min-width: 0; }
.fo-ap__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fo-ap__chan {
  font-size: 9.5px; font-weight: 800; letter-spacing: .04em; padding: .16rem .44rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted); text-transform: uppercase;
}
.fo-ap__chan.ch-git { color: #d8b4fe; border-color: rgba(168,85,247,.4); background: rgba(168,85,247,.12); }
.fo-ap__chan.ch-vps { color: #fcd34d; border-color: rgba(245,158,11,.4); background: rgba(245,158,11,.12); }
.fo-ap__chan.ch-dev { color: #67e8f9; border-color: rgba(34,211,238,.4); background: rgba(34,211,238,.12); }
.fo-ap__t { font-size: 13px; font-weight: 700; color: var(--text); }
.fo-ap__detail { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.fo-ap__cmd {
  font-family: var(--mono, ui-monospace, monospace); font-size: 11px; color: #cbd5e1; margin-top: 6px;
  padding: 6px 8px; border-radius: 8px; background: rgba(0,0,0,.35); border: 1px solid var(--border);
  overflow-x: auto; white-space: pre; -webkit-overflow-scrolling: touch;
}
.fo-ap__meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 7px; font-size: 10.5px; color: var(--muted-2); }
.fo-ap__status { flex: 0 0 auto; align-self: center; font-size: 10px; font-weight: 800; padding: .24rem .5rem; border-radius: 999px; }
.fo-ap__status.s-todo { color: #fecdd3; background: rgba(248,113,133,.14); border: 1px solid rgba(248,113,133,.35); }
.fo-ap__status.s-done { color: #6ee7b7; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.35); }
.fo-ap__foot { font-size: 10.5px; color: var(--muted-2); margin-top: 10px; line-height: 1.5; }

/* ---- 🏢 AI運営司令室 (additive command panel; reuses existing tokens) ---- */
.fo-cmdroom { margin: 2px 2px 10px; }
.fo-cmdroom .fo-card { margin-bottom: 10px; }
.fo-cr-eyebrow {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 700; margin: 0 0 10px;
}
.fo-cr-eyebrow .fo-mut { letter-spacing: 0; text-transform: none; }
/* roster */
.fo-cr-roster { display: flex; flex-direction: column; gap: 7px; }
.fo-cr-role {
  display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--glass);
}
.fo-cr-role--stopped {
  border-color: rgba(248,113,133,.45);
  background: linear-gradient(180deg, rgba(248,113,133,.10), transparent), var(--glass);
}
.fo-cr-role__dot { flex: 0 0 auto; font-size: 14px; line-height: 1.5; }
.fo-cr-role__body { flex: 1; min-width: 0; }
.fo-cr-role__nm { font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fo-cr-flag { font-size: 10px; font-weight: 800; color: #fecdd3; background: rgba(248,113,133,.16); border: 1px solid rgba(248,113,133,.4); border-radius: 999px; padding: .1rem .44rem; }
.fo-cr-role__resp { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.fo-cr-role__last { font-size: 11px; color: var(--muted-2); margin-top: 3px; line-height: 1.45; }
.fo-cr-role__st { flex: 0 0 auto; align-self: flex-start; font-size: 10.5px; color: var(--muted); text-align: right; display: flex; flex-direction: column; gap: 2px; }
.fo-cr-role__st small { color: var(--muted-2); font-size: 9.5px; }
/* ai env band */
.fo-cr-aienv { display: flex; flex-wrap: wrap; gap: 8px; }
/* task board */
.fo-cr-board { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.fo-cr-stage { text-align: center; padding: 10px 4px; border-radius: 12px; border: 1px solid var(--border); background: var(--glass); }
.fo-cr-stage__n { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--cyan); font-variant-numeric: tabular-nums; }
.fo-cr-stage__l { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
/* events */
.fo-cr-events { display: flex; flex-direction: column; gap: 8px; }
.fo-cr-ev { padding: 8px 10px; border-radius: 11px; border: 1px solid var(--border); background: var(--glass); }
.fo-cr-ev__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fo-cr-ev__role { font-size: 12px; font-weight: 700; color: var(--text); }
.fo-cr-ev__phase { font-size: 10px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .04em; }
.fo-cr-ev__time { margin-left: auto; font-size: 10px; color: var(--muted-2); }
.fo-cr-ev__sum { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; word-break: break-word; }
@media (max-width: 560px) {
  .fo-cr-board { grid-template-columns: repeat(3, 1fr); }
}
