:root {
  color-scheme: light;
  --ink: #162226;
  --muted: #637278;
  --faint: #8d999c;
  --line: #e4e9e7;
  --paper: #f6f8f6;
  --white: #fff;
  --green: #126b53;
  --green-dark: #0c503e;
  --mint: #e5f3ed;
  --amber: #9a5b0b;
  --amber-bg: #fff3df;
  --red: #a53b35;
  --shadow: 0 10px 30px rgba(25, 50, 42, .055);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { min-height: 100vh; }
.topbar { height: 68px; background: var(--white); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 76px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 15px; text-decoration: none; letter-spacing: -.025em; }
.brand-mark { height: 29px; width: 29px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 9px; font: 800 15px sans-serif; }
.brand-light { color: var(--muted); font-weight: 500; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.freshness { font-size: 12px; color: var(--muted); }
.refresh-picker { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.refresh-picker select { max-width: 92px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 22px 7px 8px; color: var(--green-dark); background: var(--mint); font-size: 11px; font-weight: 700; }
.operator-picker { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.operator-picker select { max-width: 110px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 24px 7px 9px; color: var(--ink); background: var(--white); font-size: 11px; }
.theme-toggle { min-height: 35px; padding: 7px 10px; gap: 6px; font-size: 11px; }
main { width: min(1170px, calc(100% - 40px)); margin: 0 auto; padding: 46px 0 36px; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 9px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -.035em; }
h1 { margin-bottom: 7px; font-size: clamp(27px, 4vw, 38px); line-height: 1.12; font-weight: 800; }
.intro-copy { margin: 0; font-size: 14px; color: var(--muted); }
.headline { color: var(--green); font-size: 13px; font-weight: 700; padding: 11px 14px; border-radius: 999px; background: var(--mint); white-space: nowrap; margin-bottom: 2px; }
.loading-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: #699f87; border-radius: 50%; animation: pulse 1.3s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.stage-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 20px; }
.stage-tile { min-height: 78px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.stage-number { font: 800 22px sans-serif; line-height: 1; }
.stage-label { color: var(--muted); font-size: 11px; font-weight: 600; }
.stage-alert { border-color: #f3d7aa; background: #fffaf1; }
.stage-alert .stage-number { color: var(--amber); }
.agent-panel { padding: 16px 18px; margin-bottom: 20px; }
.agent-panel .panel-hint { margin-bottom: 11px; }
.activity-count { background: var(--mint); color: var(--green-dark); }
.agent-list { display: grid; gap: 7px; }
.activity-empty { padding: 12px 13px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 11px; }
.agent-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, .7fr) auto; align-items: center; gap: 13px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.agent-summary { display: flex; align-items: center; gap: 10px; min-width: 0; }
.agent-state { flex: none; padding: 5px 7px; border-radius: 6px; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.state-running { background: var(--mint); color: var(--green-dark); }
.state-claim { background: var(--amber-bg); color: var(--amber); }
.agent-claim { border-style: dashed; }
.state-stale { background: var(--amber-bg); color: var(--amber); }
.agent-identity { display: grid; gap: 3px; min-width: 0; }
.agent-identity strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.agent-identity span, .agent-freshness { color: var(--muted); font-size: 10px; line-height: 1.4; }
.agent-identity .agent-machine { color: var(--ink); font-weight: 600; }
.agent-focus { display: grid; gap: 3px; min-width: 0; }
.agent-focus a, .agent-focus > span:first-child { overflow: hidden; color: var(--green-dark); font-size: 11px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.agent-focus a:hover { text-decoration: underline; }
.agent-card-id { color: var(--faint); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.agent-freshness { text-align: right; white-space: nowrap; }
.agent-map-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 14px; min-height: 154px; margin: -5px 0 18px; padding: 11px 18px 9px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(115deg, rgba(18, 107, 83, .055), transparent 42%), var(--white); box-shadow: var(--shadow); }
.agent-map-heading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.agent-map-title { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.agent-map-title > span:not(.live-indicator) { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.agent-map-title strong { overflow: hidden; color: var(--green-dark); font-size: 12px; text-overflow: ellipsis; }
.orchestrator-status { min-width: 0; margin-left: auto; overflow: hidden; color: var(--muted); font-size: 11px; font-weight: 600; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.orchestrator-status.orchestrator-running { color: var(--green-dark); }
.live-indicator { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--mint); animation: live-glow 2.2s ease-in-out infinite; }
.agent-details-toggle { justify-self: end; min-height: 31px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.agent-details-toggle:hover { border-color: var(--green); color: var(--green-dark); }
.agent-details-toggle[hidden] { display: none; }
.agent-map-viewport { grid-column: 1 / -1; width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.agent-map { display: block; width: 100%; min-width: 650px; height: 110px; overflow: visible; }
.flow-track { stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.flow-stage circle { fill: var(--white); stroke: #82928b; stroke-width: 2.5; transition: fill .25s, stroke .25s, r .25s; }
.flow-unassigned circle { stroke-dasharray: 3 2; }
.flow-stage text { fill: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-anchor: middle; }
.flow-unassigned text { font-size: 9px; letter-spacing: .05em; }
.flow-stage.has-agent circle { fill: var(--mint); stroke: var(--green); r: 11px; }
.flow-stage.stage-stale circle { fill: var(--amber-bg); stroke: var(--amber); }
.flow-stage.stage-claim circle { fill: var(--amber-bg); stroke: var(--amber); stroke-dasharray: 3 2; }
.flow-blocked circle { stroke: var(--amber); }
.agent-marker { transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.agent-marker circle { fill: var(--green); stroke: var(--white); stroke-width: 3; filter: drop-shadow(0 3px 5px rgba(10, 32, 24, .24)); }
.agent-marker text { fill: #fff; font-size: 10px; font-weight: 800; text-anchor: middle; pointer-events: none; }
.agent-marker.marker-running circle { animation: marker-breathe 1.8s ease-in-out infinite; }
.agent-marker.marker-stale circle { fill: var(--amber); }
.agent-marker.marker-claim circle { fill: var(--amber); stroke-dasharray: 2 2; }
.agent-details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 7px; padding: 9px 0 2px; border-top: 1px solid var(--line); }
.agent-details[hidden] { display: none; }
.agent-detail-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; background: var(--paper); }
.agent-detail-dot { font-size: 12px; text-align: center; }
.dot-running { color: var(--green); }
.dot-stale, .dot-claim { color: var(--amber); }
.agent-detail-copy { display: grid; gap: 3px; min-width: 0; }
.agent-detail-copy strong, .agent-detail-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-detail-copy strong { color: var(--ink); font-size: 11px; }
.agent-detail-copy span, .agent-detail-age { color: var(--muted); font-size: 10px; }
.agent-detail-copy .agent-runner { overflow: hidden; color: var(--faint); font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.agent-claim-explanation { color: var(--amber) !important; }
.agent-detail-age { white-space: nowrap; }
@keyframes marker-breathe { 50% { transform: scale(1.12); stroke-width: 4; } }
@keyframes live-glow { 50% { box-shadow: 0 0 0 6px transparent; } }
.workspace { display: grid; grid-template-columns: minmax(340px, .92fr) minmax(440px, 1.5fr); gap: 18px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.attention-panel { padding: 21px 18px 17px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; }
.panel-heading .eyebrow { margin-bottom: 5px; }
h2 { margin-bottom: 0; font-size: 20px; }
.count-pill { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--amber-bg); color: var(--amber); font-size: 13px; font-weight: 800; }
.panel-hint { color: var(--muted); font-size: 12px; margin: 8px 0 15px; }
.attention-list { display: grid; gap: 8px; }
.attention-card { width: 100%; display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; padding: 12px 11px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; transition: border-color .15s, background .15s, transform .15s; }
.attention-card:hover { border-color: #9cc7b3; transform: translateY(-1px); }
.attention-card.selected { border-color: var(--green); background: #f2f8f5; box-shadow: inset 3px 0 0 var(--green); }
.attention-rank { color: #9aa5a3; font: 700 11px sans-serif; }
.attention-text { display: grid; gap: 5px; min-width: 0; }
.attention-title { font-size: 12px; line-height: 1.35; font-weight: 700; }
.attention-subtitle { color: var(--muted); font-size: 10px; line-height: 1.3; }
.impact-badge { padding: 6px 8px; background: var(--mint); color: var(--green-dark); font-size: 10px; border-radius: 7px; white-space: nowrap; font-weight: 700; }
.impact-none { color: var(--muted); background: #f1f3f2; }
.detail-panel { min-height: 400px; padding: 23px; }
.detail-empty { min-height: 350px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 32px; }
.detail-empty h2 { margin: 14px 0 7px; }
.detail-empty p { max-width: 320px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.empty-icon, .preview-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 20px; font-weight: 700; }
.empty-state { min-height: 155px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.5; padding: 18px; }
.empty-check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 18px; }
.empty-state strong { color: var(--ink); font-size: 13px; }
.detail-loading, .detail-error { min-height: 350px; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.detail-error { color: var(--red); }
.detail-top { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.detail-heading { min-width: 0; }
.detail-heading .eyebrow { margin-bottom: 7px; }
.detail-heading h2 { font-size: 20px; line-height: 1.3; margin-bottom: 7px; }
.detail-meta { color: var(--muted); font-size: 11px; }
.button { border: 0; border-radius: 9px; min-height: 39px; padding: 9px 13px; font-weight: 700; font-size: 12px; transition: background .15s, transform .15s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .55; }
.button-primary { color: white; background: var(--green); }
.button-primary:hover:not(:disabled) { background: var(--green-dark); }
.button-danger { color: white; background: var(--red); }
.accepted-gap-box .eyebrow { color: var(--amber); }
.accepted-gap-preview { background: #fff8ee; border-color: #ead8bb; }
.accepted-gap-preview .preview-icon { background: var(--amber-bg); color: var(--amber); }
.direct-cta { width: 100%; white-space: normal; text-align: center; line-height: 1.35; }
.button-quiet { color: #39524b; background: #f0f4f1; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.button-quiet:hover:not(:disabled) { background: #e4ede8; }
.trello-link { flex: none; font-size: 11px; }
.decision-context, .decision-ask { padding: 17px 0; border-bottom: 1px solid var(--line); }
.decision-context h3, .decision-ask h3 { margin: 0 0 7px; font-size: 13px; letter-spacing: -.015em; }
.decision-context h3:not(:first-child) { margin-top: 13px; }
.plain-text, .ask-reason { color: #39484a; font-size: 12px; line-height: 1.6; white-space: pre-wrap; margin: 0; }
.stale-card-notice { padding: 10px 12px; border: 1px solid #ead9a9; border-radius: 9px; background: #fff9e9; color: #725719; font-size: 12px; line-height: 1.45; }
.ask-reason { margin-bottom: 11px; }
.required-action { display: flex; gap: 9px; align-items: start; padding: 11px 12px; background: var(--amber-bg); border-radius: 9px; color: #70420b; font-size: 12px; line-height: 1.45; font-weight: 700; }
.required-icon { flex: none; color: var(--amber); font-size: 16px; line-height: 1; }
.boundary-note { color: var(--muted); font-size: 10px; margin: 10px 0 0; }
.action-box { padding: 17px 0; border-bottom: 1px solid var(--line); }
.action-box.accepted-gap-box { padding: 16px; border: 1px solid #ead8bb; border-radius: 12px; background: #fffaf2; margin-top: 16px; }
.action-box .eyebrow { margin-bottom: 6px; }
.action-box h3 { font-size: 15px; margin: 0 0 6px; }
.action-box > .plain-text { margin-bottom: 13px; }
.action-box form { display: grid; gap: 11px; }
.form-field { display: grid; gap: 6px; }
.form-label { color: #354448; font-size: 11px; font-weight: 700; }
.form-hint { color: var(--faint); font-size: 10px; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #d9e1dd; border-radius: 8px; padding: 10px 11px; background: white; color: var(--ink); font-size: 12px; outline: none; }
.form-field textarea { resize: vertical; line-height: 1.5; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(18, 107, 83, .1); }
.preview-box { margin-top: 17px; padding: 17px; background: #f2f8f5; border: 1px solid #cae1d4; border-radius: 12px; }
.preview-icon { width: 31px; height: 31px; font-size: 16px; margin-bottom: 10px; }
.preview-box h3 { font-size: 14px; margin: 0 0 5px; }
.preview-box p { color: #40554d; font-size: 12px; line-height: 1.55; margin: 0 0 13px; }
.preview-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; padding: 13px 15px; background: #edf2ef; border-radius: 11px; color: var(--muted); font-size: 11px; }
.status-copy { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #6caa89; }
.capacity { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.capacity-divider { color: #aab5b0; }
footer { width: min(1170px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 23px; color: #899591; font-size: 10px; text-align: center; }
footer code { font-size: inherit; }
.toast { position: fixed; right: 22px; bottom: 22px; max-width: min(420px, calc(100vw - 44px)); padding: 12px 16px; border: 1px solid #cfdfd5; border-radius: 10px; background: #f2f8f5; color: var(--green-dark); font-size: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast.error { color: #812b27; border-color: #e7cac8; background: #fff4f2; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e5ecea;
  --muted: #a8b6b2;
  --faint: #879591;
  --line: #35423f;
  --paper: #131918;
  --white: #1d2624;
  --green: #55ae8c;
  --green-dark: #a1dfc2;
  --mint: #243a32;
  --amber: #ffd778;
  --amber-bg: #382b17;
  --red: #a9423d;
  --shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

:root[data-theme="dark"] .stage-alert { border-color: #62502e; background: #282319; }
:root[data-theme="dark"] .attention-card { background: var(--white); }
:root[data-theme="dark"] .attention-card:hover { border-color: #5b9c80; }
:root[data-theme="dark"] .attention-card.selected { background: #24352f; }
:root[data-theme="dark"] .attention-rank { color: #82918c; }
:root[data-theme="dark"] .impact-none { color: var(--muted); background: #2a3331; }
:root[data-theme="dark"] .state-claim { background: #2a3331; color: #bdc9c5; }
:root[data-theme="dark"] .agent-row { background: var(--white); }
:root[data-theme="dark"] .agent-map-panel { background: linear-gradient(115deg, rgba(85, 174, 140, .09), transparent 42%), var(--white); }
:root[data-theme="dark"] .flow-stage circle { fill: var(--white); stroke: #82928b; }
:root[data-theme="dark"] .flow-stage.has-agent circle { fill: #243a32; stroke: #63b493; }
:root[data-theme="dark"] .agent-marker circle { stroke: #1c2623; }
:root[data-theme="dark"] .agent-marker.marker-stale text,
:root[data-theme="dark"] .agent-marker.marker-claim text { fill: #30230f; }
:root[data-theme="dark"] .count-pill { border: 1px solid #725624; }
:root[data-theme="dark"] .agent-detail-row { background: #202a27; }
:root[data-theme="dark"] .agent-details-toggle { border-color: var(--line); color: var(--muted); }
:root[data-theme="dark"] .button-quiet { color: #c4d4ce; background: #2a3632; }
:root[data-theme="dark"] .button-quiet:hover:not(:disabled) { background: #35443e; }
:root[data-theme="dark"] .plain-text,
:root[data-theme="dark"] .ask-reason { color: #c6d1ce; }
:root[data-theme="dark"] .stale-card-notice { border-color: #665532; background: #302a1c; color: #e7d29a; }
:root[data-theme="dark"] .required-action { color: #f0d08a; }
:root[data-theme="dark"] .form-label { color: #d0d9d6; }
:root[data-theme="dark"] .form-field input,
:root[data-theme="dark"] .form-field textarea { border-color: #3b4945; background: #17201e; color: var(--ink); }
:root[data-theme="dark"] .form-field input:focus,
:root[data-theme="dark"] .form-field textarea:focus { border-color: #55ae8c; }
:root[data-theme="dark"] .accepted-gap-box { border-color: #5b4a2b; background: #27231b; }
:root[data-theme="dark"] .accepted-gap-preview { background: #2b251b; border-color: #5b4a2b; }
:root[data-theme="dark"] .preview-box { background: #20312a; border-color: #375346; }
:root[data-theme="dark"] .preview-box p { color: #c2d2ca; }
:root[data-theme="dark"] .accepted-gap-preview .preview-icon { background: #3b301d; color: #f1c26b; }
:root[data-theme="dark"] .status-row { background: #202a27; }
:root[data-theme="dark"] .capacity-divider { color: #65736e; }
:root[data-theme="dark"] footer { color: #87938f; }
:root[data-theme="dark"] .toast { border-color: #365444; background: #20342b; }
:root[data-theme="dark"] .toast.error { color: #ffc0b8; border-color: #70413b; background: #382421; }

@media (max-width: 850px) {
  main { padding-top: 32px; }
  .workspace { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; }
  .detail-panel { padding: 18px; }
  .stage-strip { gap: 7px; }
  .stage-tile { padding: 10px; min-height: 69px; }
  .agent-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; }
  .agent-focus { grid-column: 1; padding-left: 56px; }
  .agent-freshness { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 680px) {
  .topbar { height: 58px; padding: 0 12px; }
  .freshness { display: none; }
  .refresh-picker span { display: none; }
  .refresh-picker select { max-width: 68px; padding: 7px 14px 7px 4px; font-size: 10px; }
  .operator-picker span { display: none; }
  .operator-picker select { max-width: 75px; padding: 7px 15px 7px 5px; }
  .theme-toggle { padding: 7px 8px; }
  .theme-toggle #theme-label { display: none; }
  .top-actions { gap: 6px; }
  main { width: calc(100% - 28px); padding: 29px 0; }
  .intro { display: block; margin-bottom: 20px; }
  .headline { display: inline-block; margin-top: 14px; }
  .stage-strip { grid-template-columns: repeat(3, 1fr); }
  .stage-tile { min-height: 61px; }
  .workspace { grid-template-columns: 1fr; }
  .attention-panel { padding: 17px 13px; }
  .attention-card { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 7px; padding: 11px 8px; }
  .agent-panel { padding: 16px 13px; }
  .agent-map-panel { gap: 4px 8px; min-height: 0; padding: 10px 11px 7px; }
  .agent-map-heading { flex-wrap: wrap; }
  .orchestrator-status { order: 3; width: 100%; margin-left: 16px; text-align: left; }
  .agent-map { height: 94px; }
  .detail-panel { min-height: 300px; padding: 17px; }
  .detail-empty, .detail-loading, .detail-error { min-height: 260px; }
  .detail-top { display: block; }
  .trello-link { margin-top: 11px; }
  .status-row { align-items: start; flex-direction: column; }
  footer { width: calc(100% - 28px); line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  .loading-dot, .live-indicator, .agent-marker.marker-running circle { animation: none; }
  .agent-marker { transition: none; }
}
