:root{--background:#f6f7f9;--foreground:#172033;--muted:#667085;--line:#d9dee7;--panel:#ffffff;--panel-soft:#f8fafc;--ink:#111827;--blue:#2563eb;--blue-soft:#dbeafe;--amber:#b45309;--amber-soft:#fef3c7;--red:#b91c1c;--red-soft:#fee2e2;--green:#15803d;--green-soft:#dcfce7}*{box-sizing:border-box}body,html{margin:0;min-height:100%}body{background:var(--background);color:var(--foreground);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}button,textarea{border:1px solid var(--line)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,p{margin:0}h1{font-size:2rem;line-height:1.1}h1,h2{color:var(--ink)}h2{font-size:1.25rem;line-height:1.2}h3{color:var(--ink);font-size:1rem;line-height:1.3}.consoleShell{display:grid;grid-gap:18px;gap:18px;min-height:100vh;padding:24px}.appHeader,.buttonRow,.caseHeader,.compactItem,.headerActions,.queueHeader,.statusStrip,.toggleLabel{align-items:center;display:flex;gap:12px}.appHeader{justify-content:space-between}.caseHeader p,.caseListItem em,.caseListItem small,.compactItem span,.detailBlock p,.emptyState p,.headerCopy,.queueHeader p,.statusStrip{color:var(--muted)}.eyebrow{color:var(--blue);font-size:.74rem;font-weight:850;letter-spacing:0;margin-bottom:6px;text-transform:uppercase}.headerCopy{margin-top:8px;max-width:660px}.headerActions{justify-content:flex-end}.modePill,.riskPill,.statusStrip span{border-radius:999px;font-size:.78rem;font-weight:850;padding:8px 10px}.modePill.fixture{background:var(--blue-soft);color:var(--blue)}.modePill.api{background:var(--green-soft);color:var(--green)}.toggleLabel{color:var(--muted);font-size:.86rem;font-weight:750}.toggleLabel input{accent-color:var(--blue)}.statusStrip{background:var(--panel);border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;padding:12px}.statusStrip span{background:var(--panel-soft)}.reviewLayout{align-items:start;display:grid;grid-gap:18px;gap:18px;grid-template-columns:minmax(280px,360px) minmax(0,1fr)}.answerCard,.decisionCard,.emptyState,.errorBanner,.moreDetails,.queuePanel,.reviewPanel,.simpleCard{background:var(--panel);border:1px solid var(--line);border-radius:8px}.errorBanner{background:#fff7ed;border-color:#fed7aa;display:grid;grid-gap:6px;gap:6px;padding:12px}.errorBanner strong{color:var(--ink)}.errorBanner span{color:#9a3412;overflow-wrap:anywhere}.queuePanel{display:grid;grid-gap:14px;gap:14px;max-height:calc(100vh - 170px);overflow:auto;padding:16px;position:-webkit-sticky;position:sticky;top:16px}.queueHeader{justify-content:space-between}.textButton{background:transparent;border:0;color:var(--blue);font-weight:850;padding:8px 0}.caseList{display:grid;grid-gap:8px;gap:8px}.caseListItem{align-items:center;background:var(--panel-soft);border-radius:8px;color:inherit;display:grid;grid-gap:10px;gap:10px;grid-template-columns:10px minmax(0,1fr) auto;min-height:70px;padding:12px;text-align:left}.caseListItem.active{background:#eff6ff;border-color:var(--blue)}.caseListItem span:not(.statusDot){display:grid;grid-gap:4px;gap:4px;min-width:0}.caseListItem small,.caseListItem strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.caseListItem em{font-size:.78rem;font-style:normal;font-weight:800}.statusDot{border-radius:999px;height:10px;width:10px}.statusDot.executing,.statusDot.open{background:var(--blue)}.statusDot.pending_approval{background:var(--amber)}.statusDot.resolved{background:var(--green)}.statusDot.failed{background:var(--red)}.statusDot.canceled{background:var(--muted)}.reviewPanel{display:grid;grid-gap:16px;gap:16px;padding:18px}.caseHeader{border-bottom:1px solid var(--line);justify-content:space-between;padding-bottom:16px}.riskPill.low{background:var(--green-soft);color:var(--green)}.riskPill.medium{background:var(--amber-soft);color:var(--amber)}.riskPill.high{background:var(--red-soft);color:var(--red)}.answerGrid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.answerCard{display:grid;grid-gap:8px;gap:8px;padding:14px}.answerCard span{color:var(--muted);font-size:.8rem;font-weight:850}.answerCard strong{color:var(--ink);font-size:.95rem;line-height:1.4}.decisionCard,.moreDetails,.simpleCard{display:grid;grid-gap:12px;gap:12px;padding:14px}.factsList{display:grid;grid-gap:8px 16px;gap:8px 16px;grid-template-columns:minmax(130px,.35fr) minmax(0,1fr);margin:0}.factsList dt{color:var(--muted);font-size:.82rem;font-weight:800}.factsList dd{color:var(--ink);font-size:.9rem;font-weight:750;margin:0;overflow-wrap:anywhere}.policyNote{background:#f8fbff;border:1px solid #bfdbfe;border-radius:8px;display:grid;grid-gap:6px;gap:6px;padding:12px}.policyNote strong{color:var(--ink)}.policyNote span{color:var(--foreground);line-height:1.45}textarea{background:var(--panel-soft);border-radius:8px;color:var(--ink);line-height:1.45;min-height:84px;padding:12px;resize:vertical;width:100%}.messageBox{min-height:120px}.decisionCard label{color:var(--muted);display:grid;font-size:.84rem;font-weight:800;grid-gap:8px;gap:8px}.buttonRow{flex-wrap:wrap}.buttonRow button,.detailBlock button{align-items:center;background:var(--ink);border-color:var(--ink);border-radius:8px;color:#ffffff;display:inline-flex;font-weight:850;justify-content:center;min-height:42px;padding:0 16px}.buttonRow button:hover,.detailBlock button:hover{background:var(--blue);border-color:var(--blue)}.buttonRow .dangerButton{background:var(--red);border-color:var(--red)}.actionMessage{border-radius:8px;font-weight:800;padding:10px 12px}.actionMessage.idle{background:var(--blue-soft);color:var(--blue)}.actionMessage.success{background:var(--green-soft);color:var(--green)}.actionMessage.error{background:var(--red-soft);color:var(--red)}.moreDetails summary{color:var(--ink);cursor:pointer;font-weight:850}.detailsGrid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}.detailBlock{background:var(--panel-soft);border:1px solid var(--line);border-radius:8px;display:grid;grid-gap:10px;gap:10px;padding:12px}.compactList{display:grid;grid-gap:8px;gap:8px}.compactItem{justify-content:space-between}.compactItem span,.compactItem strong{font-size:.86rem}.emptyState{display:grid;grid-gap:8px;gap:8px;min-height:180px;padding:18px;place-content:center;text-align:center}@media (max-width:1050px){.answerGrid,.detailsGrid,.reviewLayout{grid-template-columns:1fr}.queuePanel{max-height:none;position:static}}@media (max-width:720px){.consoleShell{padding:16px}.appHeader,.caseHeader,.headerActions{align-items:stretch;flex-direction:column}.caseListItem{grid-template-columns:10px minmax(0,1fr)}.caseListItem em{grid-column:2}.factsList{grid-template-columns:1fr}.buttonRow button,.detailBlock button{width:100%}}