:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #23313f;
  background: #f3f5f8;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  background: #345cf0;
  color: white;
  font-weight: 600;
  font-size: 13px;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.secondary {
  background: #eef1f6;
  color: #455568;
}
a {
  color: #345cf0;
}
.sidebar {
  position: fixed;
  width: 222px;
  background: #111e30;
  color: #aebdd0;
  height: 100vh;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  color: white;
  text-decoration: none;
  font-size: 27px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.logo {
  display: grid;
  place-items: center;
  background: #5371f3;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-style: italic;
}
.edition {
  font-size: 9px;
  letter-spacing: 2.5px;
  margin-left: 44px;
  color: #8c9bb2;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  margin: 54px 12px 16px;
}
.project-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: transparent;
  color: #aebdd0;
  margin-bottom: 8px;
  padding: 12px;
}
.project-nav.active {
  background: #26374f;
  color: #fff;
}
.project-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #344662;
  color: #dae3ff;
}
.project-nav small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-top: 4px;
  color: #a4b3c7;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.7;
  padding: 12px;
}
.sidebar-bottom p {
  color: #6e819c;
}
.secure-dot {
  display: inline-block;
  background: #67cbb4;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}
.shell {
  margin-left: 222px;
}
header {
  height: 78px;
  padding: 0 36px;
  border-bottom: 1px solid #e1e6ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
.breadcrumb {
  font-size: 13px;
  color: #8290a2;
}
.breadcrumb span {
  margin: 0 14px;
}
.breadcrumb strong {
  color: #304050;
  font-weight: 500;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.sync {
  font-size: 11px;
  color: #657689;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 34px 36px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #8090a5;
  margin: 0 0 10px;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.2px;
  margin: 0;
  font-weight: 650;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  margin: 0;
}
.intro {
  font-size: 13px;
  color: #7c899a;
  margin: 9px 0 0;
}
#status {
  font-size: 12px;
  color: #687992;
  min-height: 18px;
  margin: 20px 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #dfe5ed;
  border-radius: 12px;
  background: white;
  margin-bottom: 24px;
}
.metrics > div {
  padding: 22px 24px;
  border-right: 1px solid #e9edf3;
}
.metrics > div:last-child {
  border: 0;
}
.metrics span,
.metrics small {
  display: block;
  color: #7a889a;
  font-size: 11px;
}
.metrics strong {
  display: block;
  font-size: 29px;
  margin: 9px 0;
  font-weight: 600;
}
.metrics .connection {
  font-size: 18px;
  line-height: 35px;
  color: #278775;
}
.panel {
  background: white;
  border: 1px solid #dfe5ed;
  border-radius: 12px;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 12px;
}
.badge {
  font-size: 10px;
  color: #64738b;
  background: #f0f3f8;
  border: 1px solid #e3e8f0;
  padding: 6px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
}
.hint {
  font-size: 12px;
  color: #7d8b9c;
  line-height: 1.6;
}
.mission > .hint {
  margin: 0 24px 18px;
}
.flow {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px;
  overflow-x: auto;
  min-height: 206px;
  background: radial-gradient(#dfe5ee 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}
.agent {
  flex: 1 0 100px;
  max-width: 190px;
  min-height: 137px;
  background: white;
  border: 1px solid #dce3ef;
  box-shadow: 0 4px 9px #142a4810;
  border-radius: 10px;
  padding: 14px;
  text-align: left;
  color: #34445c;
  position: relative;
}
.agent.active {
  border-color: #6480fb;
  box-shadow: 0 0 0 3px #e9edff;
}
.agent.complete {
  border-color: #b8d9d0;
}
.agent-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #eef0ff;
  border-radius: 9px;
  color: #5a67b5;
  font-size: 17px;
  margin-bottom: 13px;
}
.agent strong {
  display: block;
  font-size: 12px;
}
.agent small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #8592a6;
  margin: 6px 0;
}
.agent-status {
  font-size: 10px;
  color: #7a889a;
}
.active .agent-status {
  color: #345cf0;
}
.complete .agent-status {
  color: #21816b;
}
.handoff {
  padding: 6px;
  flex: 0 0 27px;
  background: transparent;
  color: #97a7bd;
  border-radius: 0;
}
.handoff:hover {
  color: #345cf0;
}
.flow-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 15px 24px;
  color: #8895a5;
  font-size: 10px;
}
.flow-legend span:first-child {
  color: #5671e7;
}
.flow-legend span:nth-child(2) {
  color: #298974;
}
.activity {
  max-height: 440px;
  overflow-y: auto;
}
#activity {
  padding: 8px 24px 24px;
}
.event {
  position: relative;
  padding: 12px 0 18px 17px;
  border-left: 1px solid #e1e7ef;
}
.event:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a9db9;
  left: -4px;
  top: 16px;
}
.event button {
  background: none;
  color: #40526b;
  text-align: left;
  padding: 0;
  font-weight: 500;
  line-height: 1.5;
  font-size: 12px;
}
.event small {
  display: block;
  font-size: 10px;
  color: #98a3b2;
  margin-top: 5px;
}
.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
  margin-top: 22px;
}
.request {
  padding: 18px 24px;
  border-top: 1px solid #edf0f5;
  display: flex;
  align-items: center;
  gap: 12px;
}
.request.selected {
  background: #f6f8ff;
  border-left: 3px solid #5b78ee;
  padding-left: 21px;
}
.request-copy {
  flex: 1;
  min-width: 0;
}
.request strong {
  font-size: 13px;
  font-weight: 550;
}
.request p {
  font-size: 11px;
  color: #7e8ca0;
  margin: 6px 0 0;
}
.request button {
  font-size: 11px;
  padding: 7px 10px;
}
.project-note {
  padding: 24px;
  background: #edf1fa;
  position: relative;
  color: #54657e;
}
.project-note h2 {
  font-size: 23px;
  line-height: 1.4;
  color: #2e425f;
}
.project-note p {
  font-size: 12px;
  line-height: 1.8;
}
.note-mark {
  font-size: 35px;
  color: #849ac5;
}
.empty {
  padding: 28px;
  font-size: 13px;
  color: #8190a4;
  line-height: 1.8;
}
.inspector {
  padding: 20px 24px;
  background: #f7f9ff;
  border-top: 1px solid #e0e6f5;
}
.inspector p {
  font-size: 13px;
  color: #667a95;
  line-height: 1.7;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#compose,
#detail {
  padding: 26px;
  margin-top: 22px;
}
#compose {
  max-width: 850px;
}
label {
  display: block;
  font-size: 12px;
  margin: 20px 0 8px;
}
input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d6dfea;
  border-radius: 7px;
  background: #fbfcfe;
  color: #304158;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 420px;
  overflow: auto;
  font:
    12px/1.7 ui-monospace,
    SFMono-Regular,
    monospace;
  color: #546782;
}
details {
  margin: 20px 0;
}
summary {
  font-size: 13px;
  cursor: pointer;
}
footer {
  padding: 24px 36px;
  color: #8998aa;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #8fa6ff;
  outline-offset: 3px;
}
@media (min-width: 1500px) {
  .agent {
    flex-basis: 150px;
  }
}
@media (max-width: 1150px) {
  .board,
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .activity {
    max-height: 240px;
  }
  .project-note {
    display: none;
  }
  .sidebar {
    width: 185px;
  }
  .shell {
    margin-left: 185px;
  }
  main {
    padding: 26px 22px;
  }
  .metrics > div {
    padding: 18px 16px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 16px;
  }
  .brand {
    font-size: 22px;
  }
  .edition,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  #projects {
    display: flex;
    margin-top: 16px;
    gap: 6px;
  }
  .project-nav {
    padding: 8px;
    margin: 0;
  }
  .project-icon {
    display: none;
  }
  .shell {
    margin: 0;
  }
  header {
    height: 65px;
    padding: 0 20px;
  }
  .sync {
    display: none;
  }
  main {
    padding: 24px 16px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics > div:nth-child(2) {
    border-right: 0;
  }
  .metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid #e9edf3;
  }
  .request {
    flex-wrap: wrap;
  }
  .request-copy {
    flex-basis: 100%;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  footer span {
    display: none;
  }
  .flow {
    padding: 18px;
  }
  .panel-heading {
    padding: 20px;
  }
  .header-actions {
    gap: 8px;
  }
}

.agent.active .agent-symbol {
  background: #4e70f1;
  color: white;
}
.agent.complete .agent-symbol {
  background: #e1f4ed;
  color: #228570;
}
.agent.blocked .agent-symbol {
  background: #fff1dc;
  color: #ac7321;
}
.mission {
  box-shadow: 0 5px 20px #263d6410;
}
.agent:hover {
  transform: translateY(-2px);
  transition: transform 0.15s;
}
.project-nav.active .project-icon {
  background: #5475ef;
  color: white;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.council-panel {
  margin-bottom: 22px;
}
.council-hint {
  margin: 0 24px 18px;
}
.council-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px 24px;
}
.council-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 10px;
  background: #f7f9fd;
  border: 1px solid #e0e7f3;
  color: #455774;
  text-align: left;
  padding: 16px;
}
.council-card strong {
  font-size: 12px;
}
.council-card small {
  grid-column: 2;
  font-size: 10px;
  font-weight: 400;
  color: #8897aa;
}
.council-icon {
  grid-row: span 2;
  color: #6c82c7;
}
.council-card.active {
  border-color: #5576ef;
  background: #edf1ff;
}
.council-card.complete {
  border-color: #bddbd0;
}
.council-card.blocked {
  border-color: #e0bd86;
  background: #fff9ed;
}
.roster-panel {
  margin-top: 22px;
}
#roster {
  padding: 0 24px 24px;
}
#roster summary {
  font-weight: 650;
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.roster-card {
  padding: 16px;
  border: 1px solid #e4e9f0;
  border-radius: 9px;
}
.roster-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
}
.roster-card p,
.roster-card small {
  font-size: 11px;
  color: #7b8a9f;
  line-height: 1.7;
}
@media (max-width: 800px) {
  .council-grid,
  .roster-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 450px) {
  .council-grid,
  .roster-grid {
    grid-template-columns: 1fr;
  }
}
#settings-summary,
#add-project {
  margin: 0 24px 20px;
}
#project-settings {
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}
#project-settings[hidden] {
  display: none;
}
#project-settings > p,
#settings-roles {
  grid-column: 1 / -1;
}
#project-settings > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#project-settings input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}
#project-settings > label:has(input[type="checkbox"]) {
  flex-direction: row;
  align-items: center;
}
#settings-roles {
  border: 1px solid #e4e7ef;
  border-radius: 12px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
#settings-roles label {
  display: flex;
  align-items: center;
  margin: 0;
}
#specialist-panel {
  padding: 24px;
}
#specialist-panel p {
  color: #647084;
  line-height: 1.6;
}
@media (max-width: 700px) {
  #project-settings,
  #settings-roles {
    grid-template-columns: 1fr;
  }
}

#plan-content {
  padding: 0 24px 24px;
  color: #526078;
  line-height: 1.6;
}

/* Approved Ollani proof, shown as a wordmark with the symbol as its initial o. */
.brand-wordmark { width: 190px; height: 69px; display: block; }
.brand { gap: 0; }
.brand .edition { margin-left: 8px; margin-top: 4px; }

/* Task-first workspace: one primary workflow, details on demand. */
:root { color:#20283e; background:#f6f7fb; --ink:#20283e; --muted:#647087; --line:#e6e9f1; --accent:#5558e8; }
button { border-radius:10px; background:var(--accent); transition:background .15s ease; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible { outline:3px solid #9395ff; outline-offset:3px; }
.sidebar { width:210px; padding:26px 16px; background:#171d31; }
.brand-wordmark { width:169px; height:62px; }
.brand .edition { font-size:9px; letter-spacing:3px; color:#a8b2cc; }
.sidebar-bottom { font-size:11px; line-height:1.7; }
.project-nav { border-radius:12px; }
.project-nav.active { background:#303955; box-shadow:inset 3px 0 #a3a5ff; }
.shell { margin-left:210px; }
header { height:66px; padding:0 32px; border-bottom:1px solid var(--line); background:#fff; }
main { max-width:1600px; margin:auto; padding:30px 32px 48px; }
.page-heading { align-items:center; margin-bottom:10px; }
h1 { font-size:32px; letter-spacing:-1.2px; line-height:1.2; }
h2 { color:var(--ink); letter-spacing:-.4px; }
.intro { margin:7px 0 0; font-size:14px; color:var(--muted); }
.eyebrow { color:#747e95; font-size:10px; letter-spacing:1.6px; margin:0 0 8px; }
#status { min-height:18px; font-size:12px; color:var(--muted); margin:12px 0 20px; }
.view-nav { display:flex; align-items:center; gap:6px; border-bottom:1px solid var(--line); margin:0 0 24px; padding-bottom:10px; }
.view-nav button { padding:10px 20px; background:transparent; color:#657087; font-size:14px; }
.view-nav button[aria-pressed=true] { background:#eaeaff; color:#4144bd; }
.connection-summary { margin-left:auto; color:#68748b; font-size:12px; }
.connection-summary #metric-connection { font-weight:500; font-size:12px; }
.work-layout { display:grid; grid-template-columns:minmax(260px,340px) minmax(0,1fr); gap:22px; align-items:start; }
.panel { border:1px solid var(--line); border-radius:16px; box-shadow:0 3px 15px #29365a04; background:white; margin:0; overflow:hidden; }
.panel-heading { padding:22px 24px 12px; align-items:flex-start; gap:12px; }
.panel-heading h2 { font-size:17px; margin:0; }
.panel-heading button { font-size:11px; padding:7px 10px; }
.request-workspace { display:flex; flex-direction:column; gap:16px; min-width:0; }
.queue-counts { display:flex; gap:16px; padding:0 22px 18px; color:#6b758a; font-size:11px; }
.queue-counts strong { color:#343950; font-size:14px; }
.request-search { display:block; padding:0 16px; margin:0; }
.request-search input { width:100%; border:1px solid var(--line); border-radius:10px; padding:10px 12px; font-size:12px; background:#f8f9fc; margin:0; }
.request-filters { display:flex; padding:12px 16px; gap:4px; flex-wrap:wrap; }
.request-filters button { background:transparent; color:#68748b; padding:6px 9px; font-size:11px; border-radius:7px; }
.request-filters button[aria-pressed=true] { background:#ecedff; color:#4649c7; }
#requests { max-height:calc(100vh - 355px); min-height:180px; overflow-y:auto; padding:0 10px 12px; }
.request { display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding:16px 12px; margin:0 0 6px; border:1px solid transparent; border-radius:11px; border-bottom-color:#f0f1f6; }
.request.selected { border-color:#d9dbfb; background:#f2f3ff; }
.request-copy { flex:1 1 100%; min-width:0; }
.request strong { font-size:13px; line-height:1.5; color:#30384e; font-weight:600; overflow-wrap:anywhere; }
.request p { font-size:11px; color:#737d92; margin:6px 0; line-height:1.6; }
.request button { font-size:10px; padding:6px 9px; background:#f0f2f8; color:#556078; }
.request.selected button[aria-pressed=true] { background:#e3e5ff; color:#4649c7; }
.mission .panel-heading { padding-bottom:18px; }
.mission h2 { font-size:19px; line-height:1.45; max-width:760px; }
.badge { font-size:10px; border-radius:7px; padding:6px 8px; flex-shrink:0; white-space:normal; }
.live-stage { display:flex; align-items:center; gap:12px; padding:16px 22px; border-top:1px solid #f0f1f6; border-bottom:1px solid #f0f1f6; background:#fafbfe; }
.live-stage strong { font-size:13px; }
.live-stage p { font-size:12px; line-height:1.6; margin:4px 0 0; padding:0; color:#748096; }
.live-marker { width:9px; height:9px; flex-shrink:0; border-radius:50%; background:#a2abbe; }
.is-live .live-marker { background:#6c6fee; animation:working-pulse 2s ease-in-out infinite; }
.flow { display:flex; flex-wrap:wrap; align-items:center; padding:20px; gap:6px; overflow:visible; }
.agent { min-width:0; flex:1 1 80px; border:1px solid #e9ecf4; border-radius:10px; background:#fff; color:#69758b; padding:12px 7px; text-align:center; box-shadow:none; }
.agent strong { display:block; font-size:10px; white-space:normal; margin:0 0 6px; }
.agent small,.agent-symbol { display:none; }
.agent-status { font-size:9px; white-space:nowrap; display:block; }
.agent.active { background:#f0f0ff; border-color:#9496ef; color:#484ac5; box-shadow:inset 0 -3px #7578ed; }
.agent.complete { background:#f4faf8; border-color:#dcece6; color:#3f7768; }
.agent.blocked { background:#fff7f2; border-color:#efd7c7; color:#9b6042; }
.handoff { flex:0 0 auto; background:transparent; border:0; width:14px; min-width:14px; padding:4px 0; color:#adb5c6; font-size:13px; }
.flow .agent.active + .handoff { color:#7376de; }
#detail { padding:22px 24px; }
#detail h2 { font-size:16px; margin:0 0 12px; }
#review-summary { font-size:13px; line-height:1.75; color:#556179; white-space:pre-line; }
#detail button,#detail>a { margin:8px 8px 12px 0; font-size:12px; }
#detail details { margin:10px 0 0; padding:0; border-top:1px solid var(--line); }
summary { cursor:pointer; font-weight:600; font-size:13px; color:#424d65; padding:17px 0; }
details.panel>summary { padding:20px 24px; display:list-item; list-style-position:inside; }
details.panel>summary .badge { margin-left:8px; font-weight:500; }
details.panel>.hint { margin:0 24px 16px; font-size:12px; }
.council-grid { padding:0 22px 22px; gap:8px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.council-card { padding:12px; font-size:11px; box-shadow:none; }
.council-card strong { font-size:11px; }
.council-card small { font-size:10px; }
.council-icon { display:none; }
#activity { max-height:330px; overflow:auto; padding:0 24px 20px; }
.event { margin:0; padding:12px 0; border-top:1px solid #edf0f6; border-left:0; display:flex; justify-content:space-between; gap:12px; }
.event:before { display:none; }
.event button { background:transparent; padding:0; color:#536179; text-align:left; font-weight:500; font-size:12px; }
.event small { flex-shrink:0; font-size:10px; color:#8992a5; }
pre { font-size:11px; line-height:1.7; max-height:400px; overflow:auto; background:#f7f8fc; color:#526079; border-radius:9px; padding:16px; white-space:pre-wrap; overflow-wrap:anywhere; }
.inspector { margin:0 22px 22px; padding:16px; border-radius:12px; background:#f5f6fc; }
.inspector h3 { font-size:14px; }
.inspector p { font-size:12px; line-height:1.65; }
.view-intro { margin-bottom:24px; }
.view-intro h2 { font-size:24px; margin:8px 0; }
.view-intro p { color:var(--muted); font-size:13px; }
.roster-panel { padding:4px 0; }
.roster-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.roster-card { box-shadow:none; padding:18px; border:1px solid var(--line); border-radius:12px; }
.roster-card>strong { font-size:14px; }
.roster-card p { font-size:12px; line-height:1.7; }
#settings-panel { padding:12px 24px 24px; }
#settings-panel .panel-heading { padding:12px 0; }
#settings-summary { font-size:13px; color:var(--muted); }
#settings-panel>button { margin:10px 8px 0 0; }
#cloud-panel { border-top:1px solid var(--line); padding-top:20px; margin-top:20px; }
#cloud-panel p { font-size:12px; line-height:1.7; color:var(--muted); }
#cloud-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:20px 0; }
#cloud-form label { display:flex; flex-direction:column; gap:8px; font-size:12px; margin:0; }
#cloud-form input,#cloud-form select { width:100%; padding:11px; border:1px solid #dbe0eb; border-radius:8px; margin:0; background:white; }
#cloud-form button { align-self:end; }
#compose,#specialist-panel { margin-bottom:22px; }
#compose { padding:24px; max-width:800px; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
footer { border-top:1px solid var(--line); padding:20px 32px; font-size:11px; color:#8992a6; }
@keyframes working-pulse { 0%,100%{box-shadow:0 0 0 0 #7578ed30} 50%{box-shadow:0 0 0 6px #7578ed10} }
@media(min-width:1400px){.work-layout{grid-template-columns:360px minmax(0,1fr)} .flow{gap:10px} .agent strong{font-size:12px}}
@media(max-width:1050px){.sidebar{width:180px}.shell{margin-left:180px}.brand-wordmark{width:145px}.work-layout{grid-template-columns:250px minmax(0,1fr);gap:16px}main{padding:24px 20px}.mission .panel-heading{flex-wrap:wrap}.flow{gap:4px}.agent{flex-basis:65px}.handoff{display:none}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.council-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.sidebar{position:relative;width:100%;height:auto;padding:12px 18px;display:flex;flex-direction:row;align-items:center;gap:18px}.brand-wordmark{width:100px;height:36px}.edition,.sidebar-bottom,.nav-label{display:none!important}#projects{display:flex;gap:5px;overflow-x:auto;flex:1}.project-nav{min-width:110px;margin:0;padding:9px}.project-nav small{display:none}.shell{margin-left:0}header{height:54px;padding:0 20px}.work-layout{grid-template-columns:1fr}#requests{max-height:250px;min-height:0}.request{padding:12px}.request-copy{flex:1 1 60%}.queue-panel .panel-heading{padding-top:18px}.queue-counts{padding-bottom:12px}.flow{flex-wrap:wrap}.agent{flex:1 1 70px}.page-heading h1{font-size:28px}.sync{font-size:10px}.connection-summary{display:none}.view-nav{margin-bottom:18px}.view-nav button{flex:1}main{padding:22px 16px}.roster-grid,#cloud-form,#project-settings,#settings-roles{grid-template-columns:1fr}.panel-heading{padding:18px}.live-stage{padding:15px 18px}#detail{padding:20px}.request-workspace{gap:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#status:empty { display:none; }
.page-heading { margin-bottom:24px; }
.flow { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); min-height:0; gap:7px; background:none; border:0; padding:18px; }
.agent { min-height:76px; max-width:none; padding:12px 6px; }
.agent:hover { transform:none; }
.handoff { display:none; }
.optional-map { margin:22px 0; }
@media(max-width:1050px){.flow{grid-template-columns:repeat(3,minmax(0,1fr))}.agent{min-height:65px}}
@media(max-width:800px){.flow{grid-template-columns:repeat(3,minmax(0,1fr))}}
.mission:has(.live-stage.is-live) .agent.active::after { content:""; position:absolute; top:8px; right:8px; width:5px; height:5px; border-radius:50%; background:#7578ed; animation:working-pulse 2s ease-in-out infinite; }
@media(prefers-reduced-motion:reduce){.mission:has(.live-stage.is-live) .agent.active::after{animation:none}}

.budget-panel{margin:18px 0;padding:16px 20px;border:1px solid #e2e5ef;border-radius:14px;background:#fff;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.budget-panel p{font-size:12px;color:#667085;margin:5px 0}.budget-panel[hidden]{display:none}#budget-balances{display:flex;gap:28px;flex-wrap:wrap}.budget-provider{display:grid;gap:4px;font-size:14px}.budget-provider small{color:#667085;font-size:11px}.budget-note{flex-basis:100%}

#work-details[hidden]{display:none}
