:root {
  --bg: #050a08;
  --surface: #0b1210;
  --surface-2: #101a16;
  --line: #203029;
  --text: #f2f7f4;
  --muted: #a1b1a8;
  --green: #7dff72;
  --green-2: #26d96f;
  --amber: #ffcb6b;
  --red: #ff6b79;
  --blue: #78a8ff;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 75% -15%, rgba(42, 217, 111, .12), transparent 34%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
button, textarea, select { font: inherit; }
button { color: inherit; }
button, summary, select { min-height: 44px; }
button:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #c9ff8f; outline-offset: 3px; }
button:disabled { opacity: .48; cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 20; width: 250px; padding: 24px 16px;
  display: flex; flex-direction: column; background: rgba(7, 13, 10, .94);
  border-right: 1px solid var(--line); backdrop-filter: blur(16px);
}
.brand { display: flex; gap: 12px; align-items: center; padding: 0 8px 24px; color: inherit; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  color: #061008; background: var(--green); font-size: 13px; font-weight: 900; box-shadow: 0 0 30px rgba(125,255,114,.18);
}
.brand span:last-child, .owner-chip div, .safety-card div { display: grid; gap: 2px; }
.brand small, .owner-chip small, .safety-card small { color: var(--muted); font-size: 11px; }
nav { display: grid; gap: 4px; overflow-y: auto; }
.nav-link {
  width: 100%; display: flex; gap: 12px; align-items: center; padding: 11px 12px;
  color: #a8b7af; border: 0; border-radius: 10px; background: transparent; cursor: pointer; text-align: left;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: #121d18; }
.nav-link.active { box-shadow: inset 2px 0 var(--green); }
.nav-icon { width: 21px; color: var(--green); text-align: center; }
.safety-card { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid #24462f; border-radius: 12px; background: rgba(38,217,111,.06); font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
main { margin-left: 250px; padding: 0 32px calc(110px + env(safe-area-inset-bottom)); }
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 21px; }
h2 { margin-bottom: 9px; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.035em; }
h3 { margin-bottom: 0; font-size: 16px; }
.eyebrow { margin-bottom: 5px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.top-actions, .owner-chip, .panel-heading, .section-heading, .dialog-heading, .dialog-actions { display: flex; align-items: center; gap: 12px; }
.owner-chip { padding-left: 8px; }
.owner-chip > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #192720; font-size: 11px; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.notification-button { position: relative; }
.notification-count { position: absolute; top: -5px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 10px; color: #071008; background: var(--green); font-size: 9px; font-weight: 900; }
.notice { margin: 18px 0; padding: 12px 15px; border-radius: 10px; font-size: 12px; }
.notice.success { color: #caffe0; border: 1px solid #225e36; background: rgba(38,217,111,.06); }
.notice.warning { color: #ffe4ad; border: 1px solid #705a2d; background: rgba(255,203,107,.07); }
.view { display: none; animation: enter .2s ease; }
.view.active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(4px); } }
.hero-panel {
  position: relative; overflow: hidden; min-height: 210px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  border: 1px solid #24442f; border-radius: 24px; background: linear-gradient(135deg, #101b15, #07100c);
}
.hero-panel::after { content: ""; position: absolute; width: 250px; height: 250px; right: 8%; border: 1px solid rgba(125,255,114,.12); border-radius: 50%; box-shadow: 0 0 80px rgba(125,255,114,.08), inset 0 0 80px rgba(125,255,114,.04); }
.hero-panel p:last-child { max-width: 650px; margin-bottom: 0; color: #a7b8af; line-height: 1.6; }
.hero-score { position: relative; z-index: 1; min-width: 125px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border: 8px solid #1d3a27; border-top-color: var(--green); border-radius: 50%; background: #09110d; }
.hero-score span { max-width: 130px; font-size: 15px; font-weight: 850; line-height: 1.25; text-align: center; }
.hero-score small { color: var(--muted); }
.metric-grid { margin: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-card, .panel, .agent-card, .hermes-card, .fix-card, .prompt-card, .model-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16,26,22,.95), rgba(9,15,12,.95)); }
.metric-card { padding: 18px; }
.metric-card .metric-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.metric-card strong { display: block; margin: 13px 0 3px; font-size: 27px; }
.metric-card small { color: var(--muted); }
.metric-change.up { color: var(--green); } .metric-change.down { color: var(--red); }
.two-column { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.panel { padding: 20px; }
.panel-heading, .section-heading { justify-content: space-between; }
.section-heading { margin: 30px 0 20px; }
.panel-heading { margin-bottom: 18px; }
.panel-heading small { color: var(--muted); }
.pill, .thresholds span { display: inline-flex; max-width: 100%; padding: 5px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; white-space: normal; }
.pill.green { color: var(--green); border-color: #2a5938; background: rgba(38,217,111,.06); }
.pill.amber { color: var(--amber); border-color: #5e4b2a; }
.pipeline { display: grid; gap: 15px; }
.pipeline-row { display: grid; grid-template-columns: 120px 1fr 28px; gap: 12px; align-items: center; font-size: 12px; }
.progress { height: 7px; overflow: hidden; border-radius: 10px; background: #1d2822; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-2), var(--green)); }
.stack { display: grid; gap: 10px; }
.queue-row { padding: 12px; display: flex; gap: 11px; border: 1px solid var(--line); border-radius: 12px; background: #0c1511; }
.queue-index { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #17241d; color: var(--green); font-size: 10px; }
.queue-row p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.queue-copy { min-width: 0; }
.queue-copy strong { display: inline-block; margin-right: 7px; }
.queue-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.text-button, .filter { padding: 0; border: 0; color: var(--green); background: transparent; cursor: pointer; font-size: 11px; }
.agent-grid, .hermes-grid, .model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.agent-card, .hermes-card, .model-card, .fix-card, .prompt-card { padding: 18px; }
.agent-head, .card-actions, .score-row, .risk-row, .fix-head, .prompt-head, .model-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.agent-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #17271f; color: var(--green); font-size: 12px; font-weight: 800; }
.agent-title { margin-right: auto; }
.agent-title strong { display: block; line-height: 1.25; }
.agent-title span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.agent-title small, .agent-task, .card-meta, .fix-card p, .prompt-card p, .model-card p { color: var(--muted); font-size: 11px; }
.agent-task { min-height: 34px; margin: 18px 0; line-height: 1.5; }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.status-badge { text-transform: lowercase; }
.status-mock, .status-attention, .status-stale { color: var(--amber); border-color: #705a2d; }
.status-unavailable, .status-failed, .status-blocked { color: var(--red); border-color: #70404a; }
.status-real, .status-healthy, .status-ready { color: var(--green); border-color: #2a6238; }
.status-disabled, .status-publishing-disabled { color: #c9b4ff; border-color: #51406f; }
.status-unknown { color: var(--muted); }
.technical-grid { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 7px 14px; font-size: 10px; }
.technical-grid dt { color: var(--muted); }
.technical-grid dd { margin: 0; overflow-wrap: anywhere; }
.agent-status-row { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.agent-status-row small { color: var(--muted); font-size: 10px; }
.agent-details { display: grid; gap: 7px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.integration-badge { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.integration-badge.real { color: var(--green); border-color: #2a5938; background: rgba(38,217,111,.08); }
.integration-badge.mock { color: var(--amber); border-color: #5e4b2a; background: rgba(255,188,80,.07); }
.integration-badge.unavailable { color: var(--red); border-color: #78404a; background: rgba(255,107,121,.07); }
.agent-card.integration-unavailable { border-color: #542f36; }
.agent-loading { grid-column: 1 / -1; color: var(--muted); }
.card-actions { justify-content: flex-start; flex-wrap: wrap; }
.secondary-button, .primary-button, .danger-button, .action-button {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: #121e18; cursor: pointer; font-size: 11px; font-weight: 700;
}
.primary-button { color: #071008; border-color: var(--green); background: var(--green); }
.danger-button { color: white; border-color: #79313a; background: #9e3744; }
.action-button.approve { color: var(--green); border-color: #285b38; }
.action-button.reject { color: var(--red); border-color: #5f2b32; }
.action-button.rewrite { color: var(--amber); border-color: #5d4a29; }
.thresholds { display: flex; gap: 6px; }
.filter-row { margin-bottom: 14px; display: flex; gap: 8px; }
.filter { padding: 8px 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; }
.filter.active { color: var(--green); border-color: #285b38; background: rgba(38,217,111,.06); }
.hermes-card h3 { margin: 12px 0 8px; line-height: 1.4; }
.hermes-grid .hermes-state { grid-column: 1 / -1; }
.hermes-state { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(12,19,16,.65); }
.hermes-state h3 { margin: 14px 0 7px; }
.hermes-state p { margin: 0; color: var(--muted); }
.item-heading { display: flex; justify-content: space-between; gap: 14px; }
.item-identity { min-width: 0; }
.item-identity h3 { overflow-wrap: anywhere; }
.item-status { display: grid; justify-items: end; align-content: start; gap: 8px; text-align: right; }
.item-status time, .source-summary, .decision-reason { color: var(--muted); font-size: 10px; }
.source-summary { margin: 4px 0 12px; display: flex; flex-wrap: wrap; gap: 7px 15px; color: #c3d1c9; overflow-wrap: anywhere; }
.decision-reason { min-height: 32px; line-height: 1.5; }
.audit-details { margin-top: 14px; border-top: 1px solid var(--line); }
.audit-details summary { padding-top: 12px; color: var(--green); cursor: pointer; font-size: 10px; }
.audit-details pre { max-height: 280px; overflow: auto; padding: 12px; border-radius: 9px; color: #adc0b6; background: #050806; font-size: 9px; white-space: pre-wrap; overflow-wrap: anywhere; }
.source { padding: 10px; border-radius: 9px; background: #0a110e; color: #adc0b6; font-size: 10px; overflow-wrap: anywhere; }
.score-row { margin: 16px 0; }
.score { flex: 1; padding: 9px; border: 1px solid var(--line); border-radius: 10px; }
.score small { display: block; color: var(--muted); font-size: 9px; }
.score strong { font-size: 17px; }
.score.fail strong { color: var(--red); }
.threshold-note, .control-note { color: var(--muted); font-size: 10px; line-height: 1.5; }
.review-sections { display: grid; gap: 5px; margin-top: 12px; }
.review-detail { border-top: 1px solid var(--line); }
.review-detail summary { padding: 8px 0; color: #cde5d5; cursor: pointer; font-size: 11px; }
.review-detail pre { max-height: 280px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: #c4d1c9; font-size: 9px; }
.skeleton-list { display: grid; gap: 12px; }
.skeleton-list div { height: 190px; border-radius: 14px; background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200%; animation: skeleton 1.4s infinite linear; }
@keyframes skeleton { to { background-position: -200% 0; } }
.honest-state { min-height: 130px; }
.honest-state h3 { margin-top: 12px; }
.text-card { width: 100%; color: inherit; border: 0; text-align: left; cursor: pointer; }
.block-meta { display: block; margin-top: 4px; color: var(--muted); white-space: normal; }
.risk-row { margin-bottom: 14px; justify-content: flex-start; color: var(--muted); font-size: 10px; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 12px; }
.kanban-column { padding: 12px; border-radius: 14px; background: rgba(12,19,16,.8); }
.kanban-title { margin-bottom: 12px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.task-card { margin-bottom: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.task-card p { margin: 0 0 12px; font-size: 12px; line-height: 1.45; }
.task-card footer { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.fix-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.fix-card h3, .prompt-card h3 { margin: 7px 0; }
.risk-low { color: var(--green); } .risk-medium { color: var(--amber); } .risk-high { color: var(--red); }
.chart { height: 220px; display: flex; gap: 10px; align-items: end; padding-top: 20px; border-bottom: 1px solid var(--line); }
.chart-bar { flex: 1; position: relative; min-width: 16px; border-radius: 7px 7px 0 0; background: linear-gradient(var(--green), #1a6b38); }
.chart-bar span { position: absolute; bottom: -22px; width: 100%; text-align: center; color: var(--muted); font-size: 9px; }
.cost-row { margin-bottom: 16px; }
.cost-meta { margin-bottom: 6px; display: flex; justify-content: space-between; font-size: 11px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }
th { color: var(--muted); font-weight: 600; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: normal; overflow-wrap: anywhere; }
.prompt-list { display: grid; gap: 12px; }
.prompt-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.model-grid { grid-template-columns: repeat(2, 1fr); }
.usage { margin: 16px 0; }
.log-console { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #050806; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.log-row { display: grid; grid-template-columns: 155px 72px 100px 1fr; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #121a16; color: #a9baaf; font-size: 10px; }
.log-level-info { color: var(--blue); } .log-level-warn { color: var(--amber); } .log-level-error { color: var(--red); }
.log-filters, .log-pagination { margin: 12px 0; display: flex; gap: 12px; align-items: end; }
.log-filters label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
select { padding: 8px; color: var(--text); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.log-pagination { justify-content: flex-end; }
.log-empty { padding: 20px; color: var(--muted); }
.log-payload summary { margin: 7px 0; color: var(--green); cursor: pointer; }
.log-payload pre { max-height: 260px; overflow: auto; white-space: pre-wrap; }
.command-fab { position: fixed; z-index: 15; right: 24px; bottom: calc(18px + env(safe-area-inset-bottom)); min-height: 48px; padding: 12px 17px; display: flex; gap: 8px; align-items: center; border: 1px solid #396b43; border-radius: 99px; color: #071008; background: var(--green); box-shadow: 0 12px 40px rgba(0,0,0,.4); cursor: pointer; font-weight: 800; }
dialog { width: min(650px, calc(100% - 24px)); padding: 0; color: var(--text); border: 1px solid var(--line); border-radius: 20px; background: #0a110e; box-shadow: 0 30px 100px #000; }
dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(3px); }
.dialog-card { padding: 22px; }
.dialog-card.compact { max-width: 430px; margin: auto; text-align: center; }
.dialog-heading, .dialog-actions { justify-content: space-between; }
.recipient-tabs { margin: 18px 0; display: flex; gap: 6px; }
.recipient-tabs button { flex: 1; padding: 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; }
.recipient-tabs button.active { color: var(--green); border-color: #2a5c38; background: rgba(38,217,111,.06); }
.chat-history { min-height: 120px; padding: 14px; border-radius: 12px; background: #060b08; }
.chat-message p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.capability-list { display: grid; gap: 8px; margin: 18px 0; }
.capability-list p { margin: 0; padding: 11px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 10px; }
.capability-list span { color: var(--muted); font-size: 11px; }
.command-input, #reasonField { display: grid; gap: 7px; margin: 14px 0; color: var(--muted); font-size: 11px; text-align: left; }
textarea { width: 100%; min-height: 80px; resize: vertical; padding: 12px; color: var(--text); border: 1px solid var(--line); border-radius: 10px; outline: none; background: #070d0a; }
textarea:focus { border-color: #3c7549; }
.dialog-actions small { color: var(--muted); }
.risk-icon { width: 48px; height: 48px; margin: 0 auto 15px; display: grid; place-items: center; border: 1px solid #78404a; border-radius: 50%; color: var(--red); background: rgba(255,107,121,.08); font-weight: 900; }
.toast-region { position: fixed; z-index: 50; right: 20px; bottom: 82px; display: grid; gap: 8px; }
.toast { max-width: 330px; padding: 12px 15px; border: 1px solid #2c5a38; border-radius: 10px; background: #101c16; box-shadow: 0 10px 40px #000; font-size: 11px; animation: enter .2s ease; }
.mobile-only { display: none; }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-grid, .hermes-grid { grid-template-columns: repeat(2, 1fr); }
  .two-column { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 20px 0 50px #000; }
  .sidebar.open { transform: translateX(0); }
  main { margin-left: 0; padding: env(safe-area-inset-top) 14px calc(130px + env(safe-area-inset-bottom)); }
  .mobile-only { display: grid; place-items: center; }
  .topbar { min-height: 72px; }
  .topbar > div:nth-child(2) { margin-right: auto; }
  .owner-chip div { display: none; }
  .hero-panel { min-height: auto; padding: 24px 20px; }
  .hero-score { min-width: 95px; }
  .hero-panel::after { display: none; }
  .agent-grid, .hermes-grid, .model-grid { grid-template-columns: 1fr; }
  .fix-card, .prompt-card { grid-template-columns: 1fr; }
  .log-row { grid-template-columns: 64px 55px 1fr; }
  .log-row span:nth-child(3) { display: none; }
  .kanban { grid-template-columns: 1fr; overflow-x: visible; }
  .table-wrap { overflow-x: visible; }
  .table-wrap table, .table-wrap thead, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .table-wrap tr { margin-bottom: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .table-wrap td { display: grid; grid-template-columns: minmax(82px, 34%) 1fr; gap: 10px; padding: 8px; border-bottom: 1px solid var(--line); }
  .table-wrap td:last-child { border-bottom: 0; }
  .table-wrap td::before { content: attr(data-label); color: var(--muted); font-weight: 700; }
  time, .block-meta, .card-meta { overflow-wrap: anywhere; word-break: break-word; }
}
@media (max-width: 500px) {
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-card { padding: 14px; }
  .metric-card strong { font-size: 22px; }
  .hero-panel { display: block; }
  .hero-score { width: 90px; margin-top: 20px; }
  .section-heading { align-items: flex-start; }
  .thresholds { display: grid; }
  .command-fab { position: static; width: calc(100% - 28px - env(safe-area-inset-left) - env(safe-area-inset-right)); margin: 18px calc(14px + env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)); justify-content: center; }
  .dialog-actions { align-items: stretch; flex-direction: column; }
  .item-heading { display: grid; }
  .item-status { justify-items: start; text-align: left; }
  .score-row { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 390px) {
  .metric-grid { grid-template-columns: 1fr; }
  .hero-score { width: 100%; }
  .filter-row, .log-filters { align-items: stretch; flex-direction: column; }
  .card-actions { display: grid; grid-template-columns: 1fr 1fr; }
  main { padding-left: calc(12px + env(safe-area-inset-left)); padding-right: calc(12px + env(safe-area-inset-right)); padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
  .command-fab { max-width: calc(100vw - 28px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
}
@media (orientation: landscape) and (max-height: 520px) {
  dialog { max-height: 90vh; overflow: auto; }
  .sidebar { overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Mobile priority queue: prevent task ID, decision and title overlap */
@media (max-width: 500px) {
  #priorityQueue .queue-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    padding: 16px;
    text-align: left;
    align-items: start;
    overflow: hidden;
  }

  #priorityQueue .queue-index,
  #priorityQueue .queue-copy {
    display: block;
    width: 100%;
    min-width: 0;
  }

  #priorityQueue .queue-index {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #priorityQueue .queue-copy strong,
  #priorityQueue .queue-copy span,
  #priorityQueue .queue-copy small {
    display: block;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #priorityQueue .queue-copy {
    line-height: 1.35;
  }

  #priorityQueue .queue-copy small {
    margin-top: 8px;
  }
}
