:root {
  --bg: #040b10;
  --panel: #071118;
  --panel-2: #0a141d;
  --text: #eef4fa;
  --muted: #7f93a3;
  --line: rgba(107, 149, 181, 0.20);
  --blue: #18b7ff;
  --green: #45de6f;
  --yellow: #f2b94b;
  --red: #ff6f86;
  --purple: #7d8cff;
  --shadow: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #040b10;
}

.app-shell {
  width: min(1800px, 100%);
  margin: 0 auto;
  padding: 20px 18px 28px;
}

.panel {
  background: #071118;
  border: 1px solid rgba(75, 111, 138, 0.22);
  border-radius: 20px;
  box-shadow: none;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
}

.eyebrow {
  color: #c9cdfb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(1.7rem, 5vw, 3rem); margin-bottom: 8px; }
h2 { font-size: 1.05rem; margin-bottom: 0; }
.lede { color: var(--muted); margin-bottom: 0; line-height: 1.55; }
.legacy-compare-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.legacy-compare-nav .auth-link[aria-current="page"] { background: rgba(88, 101, 242, 0.18); color: #c9cdfb; border-color: rgba(88, 101, 242, 0.30); }

.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: max-content;
}

.badge, .pill, .status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}
.badge-live { background: rgba(59, 165, 93, 0.16); color: #93e3aa; }
.badge-muted { background: rgba(166, 173, 187, 0.15); color: #d5d9e2; }
.badge-fallback { background: rgba(250, 166, 26, 0.18); color: #ffd58a; }
.timestamp, .hint { color: var(--muted); font-size: 0.82rem; }

.beneficial-traits-panel, .etf-sleeve-panel, .etf-coverage-panel { padding: 20px 22px; margin-top: 24px; border-color: rgba(181, 124, 255, 0.34); }
.etf-sleeve-panel { border-color: rgba(67, 247, 166, 0.28); }
.etf-coverage-panel { border-color: rgba(124, 156, 255, 0.28); }
.etf-portfolio-mix { margin-top: 14px; }
.etf-mix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 14px; }
.etf-item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 12px; row-gap: 18px; margin-top: 18px; align-items: stretch; }
.etf-mix-card, .etf-item-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: rgba(255,255,255,.045); min-width: 0; }
.etf-item-card { min-height: 178px; display: flex; flex-direction: column; gap: 8px; }
.etf-mix-card strong, .etf-mix-card span, .etf-mix-card small, .etf-item-card small { display: block; overflow-wrap: anywhere; word-break: keep-all; }
.etf-mix-card span { color: #a4ffd0; font-size: 1.25rem; font-weight: 900; margin-top: 6px; }
.etf-mix-card small { color: var(--muted); font-size: .72rem; margin-top: 4px; }
.etf-policy-targets, .etf-actual-allocation { margin-top: 18px; }
.etf-policy-grid, .etf-actual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 10px; }
.etf-policy-card, .etf-actual-card { border: 1px dashed rgba(255,255,255,.18); border-radius: 14px; padding: 10px; background: rgba(255,255,255,.03); min-width: 0; }
.etf-actual-card { border-style: solid; border-color: rgba(67, 247, 166, .24); }
.etf-policy-card strong, .etf-policy-card span, .etf-actual-card strong, .etf-actual-card span { display: block; overflow-wrap: anywhere; word-break: keep-all; }
.etf-policy-card span { color: var(--muted); font-size: .82rem; margin-top: 5px; }
.etf-actual-card span { color: #a4ffd0; font-size: 1.05rem; font-weight: 850; margin-top: 5px; }
.etf-item-card small { color: var(--muted); margin-top: 0; }
.etf-block-explanation { color: #ffd3a3; font-size: .84rem; line-height: 1.45; margin: 0; }
.beneficial-gate-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.beneficial-gate-box div { background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.beneficial-gate-box strong, .beneficial-gate-box span { display: block; }
.beneficial-gate-box span { color: var(--muted); margin-top: 4px; word-break: break-word; }
.trait-score-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.trait-score-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: rgba(255,255,255,.045); }
.trait-score-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.trait-score-card small { color: var(--muted); display: block; margin-top: 8px; word-break: break-word; }
.trait-score-bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,.08); margin-top: 10px; overflow: hidden; }
.trait-score-bar span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.trait-score-watch .trait-score-bar span { background: var(--yellow); }
.trait-score-risk .trait-score-bar span { background: var(--red); }
.trait-score-muted .trait-score-bar span { background: var(--muted); }
.small-copy { font-size: .86rem; margin: 12px 0 0; }

.summary-grid, .mission-grid, .overview-grid, .content-grid, .bottom-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.summary-grid { grid-template-columns: repeat(4, 1fr); }
.realtime-greeting-panel { padding: 20px 22px; margin-top: 16px; border-color: rgba(124, 140, 255, 0.34); }
.realtime-greeting-panel .section-head { margin-bottom: 14px; }
.realtime-profile-card { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; }
.realtime-profile-image { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255,255,255,0.22); box-shadow: 0 10px 26px rgba(0,0,0,0.28); flex: 0 0 auto; }
.realtime-profile-copy { min-width: 0; flex: 1; }
.realtime-profile-name { font-weight: 900; font-size: 1.08rem; color: var(--text); margin-bottom: 3px; }
.realtime-profile-role { color: #c9cdfb; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 8px; }
.realtime-greeting-long { color: var(--text); line-height: 1.7; white-space: pre-line; margin-bottom: 12px; overflow-wrap: anywhere; }
.realtime-greeting-panel .mission-tags span { background: rgba(124, 140, 255, 0.12); border-color: rgba(124, 140, 255, 0.26); }
.mission-grid { grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr); }
.overview-grid { grid-template-columns: 1fr 1fr; }
.content-grid { grid-template-columns: 1fr; align-items: start; }
.bottom-grid { grid-template-columns: 1fr 1fr; }
.overview-panel, .overview-panel .section-head, .overview-panel h3, .overview-panel .bullet-list, .overview-panel .muted-copy, .overview-panel .mission-tags {
  min-width: 0;
  max-width: 100%;
}
.overview-panel h3, .overview-panel li, .overview-panel .muted-copy, .overview-panel .mission-tags span {
  overflow-wrap: anywhere;
}

.stat-card { padding: 18px; position: relative; overflow: hidden; }
.stat-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  opacity: 0.18;
}
.accent-blue::after { background: var(--blue); }
.accent-green::after { background: var(--green); }
.accent-yellow::after { background: var(--yellow); }
.accent-red::after { background: var(--red); }
.stat-label, .task-meta, .empty { color: var(--muted); }
.stat-card strong { display: block; font-size: 2.25rem; margin: 8px 0; }
.stat-card small { color: var(--muted); }

.board-panel, .mission-panel, .gate-panel, .overview-panel, .side-stack > .panel, .bottom-grid > .panel, .schema-panel { padding: 18px; }
.side-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.section-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.mission-copy strong, .overview-panel h3 { font-size: 1.05rem; }
.mission-copy p, .muted-copy { color: var(--muted); line-height: 1.55; margin: 8px 0 0; }
.mission-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mission-tags span { padding: 7px 10px; border-radius: 999px; background: rgba(88, 101, 242, 0.16); color: #c9cdfb; font-size: 0.78rem; font-weight: 800; }
.compact-tags span { background: rgba(181, 124, 255, 0.14); color: #dec9ff; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr); gap: 16px; margin-top: 18px; }
.auth-panel { padding: 18px; }
.auth-link, .auth-button { display: inline-flex; align-items: center; color: var(--text); border-radius: 999px; padding: 8px 11px; font-weight: 800; text-decoration: none; font: inherit; cursor: pointer; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); }
.auth-button { color: #c9cdfb; }
[hidden] { display: none !important; }
.gate-list, .bullet-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.55; }
.gate-list li, .bullet-list li { margin: 7px 0; }
.safe-pill { background: rgba(59, 165, 93, 0.16); color: #93e3aa; }
.neutral-pill { background: rgba(88, 101, 242, 0.16); color: #c9cdfb; }


.board-panel { overflow-x: auto; }
.columns { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); min-width: 1160px; gap: 10px; }
.column {
  min-height: 250px;
  padding: 12px;
  background: rgba(15, 17, 23, 0.48);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.column-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 900; }
.column-count { color: var(--muted); font-size: 0.85rem; }

.task-card {
  position: relative;
  overflow: hidden;
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(31, 35, 48, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.task-card.blocked { border-color: rgba(237, 66, 69, 0.55); }
.task-card.agent-learning-card {
  padding: 14px;
  border-color: rgba(181, 124, 255, 0.48);
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.14), rgba(181, 124, 255, 0.06)),
    rgba(31, 35, 48, 0.95);
}
.task-card.agent-learning-card::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  min-width: 138px;
  background-image: linear-gradient(90deg, rgba(31,35,48,0.62), rgba(31,35,48,0.22)), var(--persona-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: saturate(1.08) contrast(1.02);
  pointer-events: none;
}
.task-card.agent-learning-card > * { position: relative; z-index: 1; }
.task-heading { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.task-heading.approval-heading { align-items: center; margin-bottom: 8px; }
.approval-profile {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(135deg, #c9cdfb, #b57cff);
  box-shadow: 0 5px 14px rgba(0,0,0,0.22);
}
.approval-profile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.35);
}
.task-card.persona-seoa { border-color: rgba(116, 218, 255, 0.50); }
.task-card.persona-yerin { border-color: rgba(250, 166, 26, 0.52); }
.task-card.persona-chaerin, .task-card.persona-team { border-color: rgba(181, 124, 255, 0.52); }
.task-title { flex: 1 1 auto; min-width: 0; font-weight: 850; line-height: 1.4; margin-bottom: 8px; overflow-wrap: break-word; word-break: keep-all; }
.approval-heading .task-title { margin-bottom: 0; }
@media (max-width: 640px) {
  .task-card.agent-learning-card::after {
    display: block;
    width: 52%;
    min-width: 138px;
    opacity: 0.21;
    background-image: linear-gradient(90deg, rgba(31,35,48,0.64), rgba(31,35,48,0.24)), var(--persona-bg);
  }
  .task-card.agent-learning-card { padding: 14px; }
  .approval-profile { width: 26px; height: 26px; }
}

.task-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.78rem; min-width: 0; }
.task-meta > span { min-width: 0; }
.task-id {
  color: #c9cdfb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  display: inline-block;
  max-width: min(100%, 15ch);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.status-chip.todo { background: rgba(166, 173, 187, 0.14); color: #d6d9e0; }
.status-chip.in_progress { background: rgba(88, 101, 242, 0.18); color: #bfc5ff; }
.status-chip.review { background: rgba(250, 166, 26, 0.18); color: #ffd58a; }
.status-chip.blocked { background: rgba(237, 66, 69, 0.18); color: #ffb2b4; }
.status-chip.done { background: rgba(59, 165, 93, 0.18); color: #9ce2b1; }
.pill { background: rgba(237, 66, 69, 0.16); color: #ffb9bb; }

.assignee-row, .compact-item, .feed-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.assignee-row:first-child, .compact-item:first-child, .feed-item:first-child { border-top: 0; padding-top: 0; }
.assignee-top { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 850; }
.bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--purple)); }
.metric-line { margin-top: 7px; color: var(--muted); font-size: 0.8rem; }

.compact-item strong, .feed-item strong { display: block; margin-bottom: 5px; }
.reason { color: #ffb9bb; font-size: 0.85rem; line-height: 1.45; }
.task-feed { display: grid; }
.next-actions { padding-left: 22px; margin: 0; }
.next-actions li { padding: 9px 0; line-height: 1.5; border-top: 1px solid var(--line); }
.next-actions li:first-child { border-top: 0; padding-top: 0; }

.schema-panel { margin-top: 16px; }
.schema-panel summary { cursor: pointer; font-weight: 850; }
pre {
  overflow-x: auto;
  padding: 14px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 12px;
  color: #d7dcff;
}
.footer-note { color: var(--muted); font-size: 0.82rem; text-align: center; padding: 18px 8px 4px; }


.task-result-summary {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(147, 227, 170, 0.24);
  border-radius: 12px;
  background: rgba(59, 165, 93, 0.08);
}
.task-result-summary h4 { margin: 0 0 8px; font-size: 0.9rem; color: #93e3aa; }
.task-result-summary p { margin: 0 0 10px; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.task-result-summary table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.task-result-summary th, .task-result-summary td { border-top: 1px solid rgba(255,255,255,0.08); padding: 6px 4px; vertical-align: top; text-align: left; }
.task-result-summary th { width: 34%; color: #c9cdfb; font-weight: 800; }
.result-holds { display: grid; gap: 5px; margin-top: 8px; color: var(--muted); font-size: 0.75rem; }
.result-holds span { color: #f2f3f5; font-weight: 800; }
@media (max-width: 900px) {
  .auth-grid, .summary-grid, .mission-grid, .overview-grid, .content-grid, .bottom-grid { grid-template-columns: 1fr; }
  .auth-panel { min-width: 0; width: 100%; }
  .auth-panel .section-head { align-items: flex-start; flex-wrap: wrap; }
  .auth-panel .section-head h2 { min-width: max-content; }
  .auth-panel .pill { white-space: normal; text-align: center; }
  .side-stack { grid-template-columns: 1fr; }
  .hero { flex-direction: column; }
  .hero-meta { align-items: flex-start; min-width: 0; }
}

@media (max-width: 560px) {
  .app-shell { padding: 12px; }
  .hero, .auth-panel, .board-panel, .mission-panel, .gate-panel, .overview-panel, .side-stack > .panel, .bottom-grid > .panel, .schema-panel { border-radius: 18px; padding: 15px; }
  .summary-grid { gap: 10px; }
  .stat-card strong { font-size: 1.9rem; }
}

.approval-summary { color: #c9cdfb; font-size: 0.82rem; margin: 8px 0 0; line-height: 1.45; }
.approval-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.approval-actions button { border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; color: var(--text); background: rgba(88, 101, 242, 0.20); font-weight: 850; cursor: pointer; }
.approval-actions button[data-decision="held"] { background: rgba(250, 166, 26, 0.18); }
.approval-actions button[data-decision="rejected"] { background: rgba(237, 66, 69, 0.18); }
.approval-actions button:disabled { opacity: 0.55; cursor: wait; }
.approval-decision-complete { margin-top: 10px; display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 10px; background: rgba(59, 165, 93, 0.16); color: #93e3aa; font-size: 0.78rem; font-weight: 800; }


.approval-title-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  text-align: left;
  padding: 3px 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(201, 205, 251, 0.24);
  text-decoration: underline dotted rgba(185, 242, 255, 0.45);
  text-underline-offset: 4px;
}
.approval-title-button:hover,
.approval-title-button:focus-visible {
  color: #cfe8ff;
  outline: none;
  text-decoration-color: #cfe8ff;
}
body.approval-tooltip-open { overflow: hidden; }
.approval-tooltip-popover[hidden] { display: none; }
.approval-tooltip-popover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(10px);
}
.approval-tooltip-dialog {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(185, 242, 255, 0.24);
  background: rgba(15, 17, 23, 0.98);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.56);
}
.approval-tooltip-dialog h3 { margin: 0 36px 12px 0; font-size: 1rem; line-height: 1.35; }
.approval-tooltip-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: var(--text);
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.approval-tooltip-body { display: grid; gap: 10px; }
.approval-tooltip-body div { display: grid; grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr); gap: 10px; line-height: 1.5; padding-top: 10px; border-top: 1px solid var(--line); }
.approval-tooltip-body div:first-child { border-top: 0; padding-top: 0; }
.approval-tooltip-body strong { color: #f2f3f5; font-size: 0.82rem; }
.approval-tooltip-body span { color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.compact-title-button { display: block; width: 100%; margin-bottom: 5px; }
@media (max-width: 560px) {
  .approval-tooltip-dialog { padding: 18px; }
  .approval-tooltip-body div { grid-template-columns: 1fr; gap: 4px; }
}


.benchmark-panel { padding: 18px; margin-top: 16px; }
.benchmark-chart-wrap { margin-top: 14px; width: 100%; overflow-x: auto; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; background: rgba(15,17,23,0.28); }
.benchmark-line-chart { display: block; width: 100%; min-width: 620px; height: auto; }
.benchmark-results-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 14px; }
.benchmark-result-row { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(31,35,48,0.72); display: grid; gap: 5px; }
.benchmark-result-row strong { color: #f2f3f5; overflow-wrap: anywhere; }
.benchmark-result-row span { color: #c9cdfb; font-size: 0.82rem; font-weight: 800; }
.benchmark-result-row small { color: var(--muted); overflow-wrap: anywhere; }


.benchmark-link-panel { padding: 18px; margin-top: 16px; border-color: rgba(124, 140, 255, 0.28); }
.benchmark-link-panel .auth-link { background: rgba(124, 140, 255, 0.18); border-color: rgba(124, 140, 255, 0.34); }

.etf-coverage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.etf-coverage-card { border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 14px; padding: 12px; background: rgba(15, 23, 42, 0.46); }
.etf-coverage-card .pill { margin-left: 6px; }

.etf-score-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 10px 0; }
.etf-score-breakdown div { border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 10px; padding: 7px 8px; background: rgba(15, 23, 42, 0.34); }
.etf-score-breakdown dt { color: var(--muted); font-size: 0.72rem; font-weight: 800; margin-bottom: 3px; }
.etf-score-breakdown dd { margin: 0; font-size: 0.9rem; font-weight: 900; color: #f2f3f5; }


.agent-bus-post-v1-panel { padding: 18px; margin-top: 16px; border-color: rgba(96, 165, 250, 0.22); }
.agent-bus-post-v1-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.agent-bus-post-v1-card { border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 14px; padding: 12px; background: rgba(15, 23, 42, 0.32); }
.agent-bus-post-v1-card span { display: block; color: var(--muted); font-size: 0.78rem; margin-bottom: 4px; }
.agent-bus-post-v1-card strong { display: block; font-size: 1.1rem; word-break: keep-all; }
.agent-bus-post-v1-card small { display: block; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.agent-bus-panel { padding: 18px; margin-top: 16px; border-color: rgba(67, 247, 166, 0.20); }
.agent-bus-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.agent-bus-metric { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: rgba(15, 23, 42, 0.42); min-width: 0; }
.agent-bus-metric span { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.agent-bus-metric strong { display: block; margin-top: 4px; font-size: 1.45rem; overflow-wrap: anywhere; }
.agent-bus-check { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 6px 10px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; background: rgba(15, 23, 42, 0.42); }
.agent-bus-check strong { overflow-wrap: anywhere; }
.agent-bus-check span { font-size: 0.75rem; font-weight: 900; }
.agent-bus-check small { grid-column: 1 / -1; color: var(--muted); overflow-wrap: anywhere; }
.agent-bus-check.safe { border-color: rgba(67, 247, 166, 0.22); }
.agent-bus-check.danger { border-color: rgba(237, 66, 69, 0.28); }
