
:root {
  --ink: #192c3a;
  --muted: #687985;
  --line: #dce5e8;
  --paper: #ffffff;
  --canvas: #f4f7f7;
  --navy: #0e2c3b;
  --teal: #087d79;
  --teal-dark: #076b68;
  --mint: #dff4ed;
  --amber: #b86110;
  --amber-bg: #fff3df;
  --red: #ad3e3e;
  --red-bg: #fff0ee;
  --green: #19725a;
  --shadow: 0 12px 28px rgba(20, 47, 59, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--navy); color: #eaf3f4; padding: 24px 14px 18px; display: flex; flex-direction: column; z-index: 4; }
.brand-row { display: flex; align-items: center; gap: 12px; padding: 0 10px 25px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #17a29a; font-weight: 900; letter-spacing: -1px; color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.brand-row strong { display: block; font-size: 17px; letter-spacing: -.2px; }
.brand-row span { display: block; margin-top: 3px; color: #9cb3bc; font-size: 11px; }
.sidebar nav { display: grid; gap: 4px; }
.nav-item { border: 0; color: #b8cbd1; background: transparent; min-height: 42px; border-radius: 8px; padding: 0 11px; display: flex; align-items: center; gap: 10px; font-size: 13px; text-align: left; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.08); }
.nav-icon { color: #6fd0c8; font-size: 18px; width: 18px; }
.count { margin-left: auto; border-radius: 10px; background: #214756; min-width: 24px; padding: 2px 7px; font-size: 11px; text-align: center; }
.sidebar-section-label { color: #7996a1; font-size: 10px; font-weight: 800; letter-spacing: 1.1px; padding: 28px 10px 10px; }
.case-list { display: grid; gap: 5px; }
.case-item { width: 100%; min-height: 58px; color: #b8cbd1; border: 1px solid transparent; background: transparent; border-radius: 9px; padding: 8px; display: grid; grid-template-columns: 8px 1fr auto; gap: 9px; align-items: start; text-align: left; }
.case-item:hover, .case-item.selected { color: white; border-color: rgba(91, 200, 192, .32); background: rgba(30, 100, 105, .28); }
.case-item strong { font-size: 11px; letter-spacing: .3px; }
.case-item small { display: block; margin-top: 4px; color: #91abb4; font-size: 11px; line-height: 1.25; }
.score { color: #d2e2e5; font-size: 11px; font-weight: 700; }
.risk-dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 5px; background: #e4a34b; }
.risk-low { background: #59c8a9; }.risk-high { background: #ee716f; }
.synthetic-note { margin-top: auto; padding: 12px 10px; display: flex; gap: 9px; align-items: center; color: #84d7c9; border-top: 1px solid rgba(255,255,255,.08); }
.synthetic-note > span { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #3e7c80; border-radius: 50%; }
.synthetic-note strong, .synthetic-note small { display: block; }.synthetic-note strong { font-size: 11px; }.synthetic-note small { color: #829ba4; margin-top: 2px; font-size: 9px; }
.workspace { min-width: 0; }
.topbar { height: 62px; padding: 0 30px; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; }.breadcrumb span { color: var(--muted); }.breadcrumb b { color: #b2bec3; }.breadcrumb strong { font-size: 12px; }
.top-actions { display: flex; align-items: center; gap: 12px; }.policy-pill { padding: 6px 10px; border: 1px solid #cfe0df; background: #f2faf7; color: #3c706b; border-radius: 20px; font-size: 10px; font-weight: 700; }
.ghost-button { border: 0; background: transparent; color: #546872; padding: 8px; font-size: 11px; font-weight: 650; }
.case-header { min-height: 114px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 32px 18px; background: var(--paper); }
.eyebrow-row { display: flex; align-items: center; gap: 10px; color: #798891; font-size: 9px; font-weight: 700; letter-spacing: .55px; }
.status-chip { padding: 4px 7px; border-radius: 4px; color: #925000; background: #fff0d4; }.status-ready { color: #17624f; background: #e1f3ed; }.status-new { color: #3d6471; background: #e7f0f3; }
.case-header h1 { margin: 9px 0 4px; font-size: 24px; letter-spacing: -.55px; line-height: 1.15; }
.case-header p { margin: 0; color: var(--muted); font-size: 11px; }
.header-score { min-width: 112px; border-left: 1px solid var(--line); padding-left: 22px; }.header-score span, .header-score small { display: block; color: var(--muted); font-size: 9px; }.header-score strong { display: block; font-size: 27px; color: #a25315; margin: 3px 0; }
.goal-strip { min-height: 64px; margin: 0 32px; padding: 10px 12px 10px 17px; border: 1px solid #bdded8; background: linear-gradient(90deg, #edf9f5, #f8fbfa); border-radius: 8px; display: flex; align-items: center; gap: 13px; box-shadow: 0 3px 12px rgba(26, 112, 101, .05); }
.goal-icon { width: 32px; height: 32px; border: 1px solid #8fc9c0; border-radius: 50%; display: grid; place-items: center; color: var(--teal); font-size: 18px; }.goal-strip > div:nth-child(2) { flex: 1; }.goal-strip span { display: block; color: #50827d; font-size: 8px; font-weight: 800; letter-spacing: .9px; }.goal-strip strong { display: block; margin-top: 4px; font-size: 11px; font-weight: 650; }
.primary-button, .secondary-button, .icon-button { min-height: 34px; border-radius: 6px; padding: 0 13px; border: 1px solid transparent; font-size: 10px; font-weight: 750; white-space: nowrap; }
.primary-button { background: var(--teal); color: white; box-shadow: 0 3px 7px rgba(8,125,121,.18); }.primary-button:hover { background: var(--teal-dark); }.primary-button span { display: inline; margin-left: 8px; color: inherit; font-size: 13px; }.primary-button.full { width: 100%; margin-top: 12px; min-height: 38px; }
.primary-button:disabled, .secondary-button:disabled { cursor: not-allowed; opacity: .45; }
.secondary-button { background: white; color: #3f5b66; border-color: #cbd8dc; }.secondary-button:hover { border-color: #7ca5aa; color: var(--teal); }
.icon-button { background: #f4f7f7; color: #4b626c; border-color: #d9e2e5; }
.view-tabs { height: 48px; margin: 7px 32px 0; border-bottom: 1px solid var(--line); display: flex; align-items: end; gap: 24px; }
.view-tabs button { height: 42px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #7b8a91; font-size: 10px; font-weight: 750; }.view-tabs button.active { color: var(--teal); border-bottom-color: var(--teal); }.tab-dot { display: inline-block; width: 5px; height: 5px; margin-left: 5px; border-radius: 50%; background: #e28b34; }
.review-grid { padding: 16px 32px 30px; display: grid; grid-template-columns: minmax(330px, .78fr) minmax(470px, 1.22fr); gap: 14px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); overflow: hidden; }
.timeline-panel, .decision-panel { min-height: 585px; }.panel-heading { min-height: 64px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; }.panel-heading h2 { margin: 3px 0 0; font-size: 14px; }.kicker, .panel-heading .kicker { color: #61807f; font-size: 8px; font-weight: 850; letter-spacing: 1px; }.bounded { color: #60767e; background: #edf3f4; border-radius: 12px; padding: 5px 8px; font-size: 8px; font-weight: 700; }
.empty-state, .packet-placeholder, .eval-empty { padding: 80px 40px; text-align: center; color: var(--muted); }.empty-glyph { margin: auto; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #c7d9dc; border-radius: 50%; color: var(--teal); font-size: 25px; }.empty-state h3 { color: var(--ink); margin: 15px 0 7px; font-size: 14px; }.empty-state p { margin: 0 auto 18px; max-width: 330px; font-size: 10px; line-height: 1.6; }
.trace-list { padding: 12px 15px 16px; }.trace-item { display: grid; grid-template-columns: 27px 1fr; min-height: 78px; }.trace-rail { position: relative; }.trace-rail::after { content: ""; position: absolute; left: 10px; top: 28px; bottom: -2px; width: 1px; background: #d8e4e5; }.trace-item:last-child .trace-rail::after { display: none; }.trace-rail span { position: relative; z-index: 1; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #ddf1ea; border: 1px solid #acd7ca; color: var(--green); font-size: 9px; font-weight: 900; }.trace-item.blocked .trace-rail span { background: var(--red-bg); border-color: #efb9b3; color: var(--red); }.trace-item.skipped .trace-rail span { background: #eff3f4; border-color: #d3dfe2; color: #7c8b91; }
.trace-body { padding: 1px 0 13px 5px; border-bottom: 1px solid #eef2f3; }.trace-body > div { display: flex; align-items: center; gap: 7px; }.trace-body strong { font-size: 10px; }.trace-body code { color: #3e7771; background: #edf6f3; border-radius: 3px; padding: 2px 5px; font: 8px ui-monospace, monospace; }.trace-body time { margin-left: auto; color: #9aa7ad; font-size: 8px; }.trace-body p { margin: 6px 0 5px; color: #50636c; font-size: 9px; line-height: 1.4; }.trace-body small { color: #9aa7ad; font: 7px ui-monospace, monospace; }
.decision-panel { display: flex; flex-direction: column; }.packet-placeholder span { color: #789095; font-size: 8px; font-weight: 800; letter-spacing: 1px; }.paper-lines { width: 72px; height: 88px; margin: 20px auto; border: 1px solid #c9d5d8; border-radius: 4px; background: repeating-linear-gradient(to bottom, white 0 13px, #e9eff0 14px 15px); box-shadow: 4px 4px 0 #eef2f2; }.packet-placeholder p { font-size: 10px; }
.decision-hero { min-height: 92px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; color: #385d59; background: #e8f6f1; border-bottom: 1px solid #badfd3; }.decision-hero.disposition-request_evidence { color: #80520d; background: var(--amber-bg); border-color: #f0d5a4; }.decision-hero.disposition-escalate { color: #813d35; background: var(--red-bg); border-color: #edc4be; }.decision-hero span { font-size: 8px; font-weight: 850; letter-spacing: 1px; }.decision-hero h2 { margin: 4px 0 2px; color: currentColor; font-size: 22px; letter-spacing: -.5px; }.decision-hero p { margin: 0; font-size: 8px; }.confidence { text-align: right; padding-left: 17px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 25%, transparent); }.confidence strong { display: block; font-size: 20px; }.confidence span { display: block; font-size: 8px; letter-spacing: 0; }
.packet-scroll { max-height: 520px; overflow-y: auto; }.packet-section { padding: 14px 18px; border-bottom: 1px solid #edf1f2; }.packet-section h3 { margin: 0 0 7px; font-size: 10px; }.packet-section h3 span { float: right; color: #819198; font-size: 8px; font-weight: 600; }.packet-section > p { margin: 0; color: #4c6069; font-size: 9px; line-height: 1.6; }
.citation-list { display: grid; gap: 5px; }.citation { border: 1px solid #dce5e7; border-radius: 5px; background: #fafcfc; }.citation summary { list-style: none; min-height: 34px; padding: 7px 9px; display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 7px; cursor: pointer; }.citation summary::-webkit-details-marker { display: none; }.citation summary span { color: var(--teal); font: 8px ui-monospace, monospace; font-weight: 800; }.citation summary strong { font-size: 9px; }.citation summary b { color: #8a9aa0; }.citation p { margin: 0; padding: 0 9px 6px; color: #465d66; font-size: 9px; line-height: 1.5; }.citation small { display: block; padding: 0 9px 8px; color: #7d8d93; font-size: 8px; }
.objection { margin: 10px 18px; border: 1px solid #efd8b3; background: #fff8eb; border-radius: 6px; padding: 10px; }.objection.resolved { border-color: #cfe4dc; background: #f3faf7; }.objection span { display: block; color: var(--amber); font-size: 7px; font-weight: 850; letter-spacing: .8px; }.objection.resolved span { color: var(--green); }.objection strong { display: block; margin-top: 4px; font-size: 9px; line-height: 1.4; }.objection p { margin: 5px 0 0; color: #75634c; font-size: 8px; }
.missing > div { padding: 5px 0; color: #654a2a; font-size: 9px; text-transform: capitalize; }.missing > div span { margin-right: 7px; color: var(--amber); }.narrative { background: #fafcfc; }.narrative h3 span { float: none; margin-left: 5px; padding: 2px 5px; background: #e9f2f1; border-radius: 3px; color: #4c7773; }.evidence div { display: flex; flex-wrap: wrap; gap: 5px; }.evidence div span { padding: 4px 6px; border-radius: 4px; background: #eef4f4; color: #5c7078; font: 7px ui-monospace, monospace; }.next-action { margin: 12px 18px 18px; padding: 11px; border-left: 3px solid var(--teal); background: #f0f7f5; }.next-action span { color: var(--teal); font-size: 7px; font-weight: 850; letter-spacing: .8px; }.next-action p { margin: 5px 0 0; font-size: 9px; line-height: 1.4; }
.review-footer { margin-top: auto; padding: 10px 12px; border-top: 1px solid var(--line); background: #fafcfc; }.review-footer label { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; color: #61747c; font-size: 8px; font-weight: 750; }.review-footer input { width: 100%; height: 29px; border: 1px solid #d2dde0; border-radius: 5px; padding: 0 8px; color: var(--ink); font-size: 9px; outline: none; }.review-controls { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 8px; }.review-controls select { height: 34px; max-width: 94px; border: 1px solid #cbd8dc; border-radius: 6px; background: white; color: #566a72; font-size: 8px; }
.evaluation-view, .proposal-view { padding: 22px 32px 40px; }.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }.section-title-row h2 { margin: 5px 0 4px; font-size: 20px; letter-spacing: -.4px; }.section-title-row p { margin: 0; color: var(--muted); font-size: 10px; }.eval-empty { border: 1px dashed #bdcdd1; border-radius: 9px; background: rgba(255,255,255,.5); }.eval-empty strong { color: var(--ink); }.eval-empty p { margin: 7px auto 16px; max-width: 520px; font-size: 10px; line-height: 1.5; }
.metric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }.metric-grid > div { min-height: 140px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); display: flex; flex-direction: column; }.metric-grid span { color: #657981; font-size: 9px; font-weight: 700; }.metric-grid strong { margin: auto 0 5px; font-size: 26px; color: var(--teal); letter-spacing: -1px; }.metric-grid small { color: #87969c; font-size: 8px; }.measurement-note { margin-top: 14px; padding: 13px 16px; border: 1px solid #c7dfd9; border-radius: 7px; background: #f2faf7; display: flex; gap: 10px; align-items: center; color: #356b60; }.measurement-note p { margin: 0; font-size: 9px; line-height: 1.5; }
.approval-badge { border: 1px solid #e4c68f; color: #8a5c13; background: #fff6e6; border-radius: 20px; padding: 8px 12px; font-size: 9px; font-weight: 750; }.proposal-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; }.diff-card, .replay-card { padding: 17px; }.diff-card h3, .replay-card h3 { margin: 0 0 14px; font-size: 12px; }.version-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 7px; }.version-row span { padding: 6px; border-radius: 4px; background: #eef3f4; color: #64767e; font-size: 8px; font-weight: 750; }.diff-line { display: grid; grid-template-columns: 20px 1fr; gap: 5px; padding: 11px 9px; margin-top: 5px; border-radius: 5px; font-size: 9px; line-height: 1.5; }.diff-line p { margin: 0; }.diff-line.removed { background: #fff1ef; color: #873f3a; }.diff-line.added { background: #eaf7f1; color: #266555; }.diff-card > small { display: block; margin-top: 12px; color: #87969b; font-size: 8px; }.replay-number { padding: 12px 0 15px; border-bottom: 1px solid var(--line); }.replay-number strong { font-size: 30px; color: var(--teal); }.replay-number span { margin-left: 7px; color: var(--muted); font-size: 9px; }.replay-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #edf1f2; font-size: 9px; }.replay-card > p { margin: 12px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }.approval-gate { margin-top: 14px; padding: 15px; border: 1px solid #c9d9dc; border-radius: 8px; background: white; display: grid; grid-template-columns: 38px 1fr auto auto; align-items: center; gap: 11px; box-shadow: var(--shadow); }.gate-icon { width: 35px; height: 35px; border: 1px solid #93c4bd; border-radius: 50%; display: grid; place-items: center; color: var(--teal); }.approval-gate span { color: var(--teal); font-size: 7px; font-weight: 850; letter-spacing: .8px; }.approval-gate strong { display: block; margin: 3px 0; font-size: 11px; }.approval-gate p { margin: 0; color: var(--muted); font-size: 8px; }.feedback-record { margin: 12px 2px; color: #75868d; font-size: 8px; }
.approval-badge.state-approved { border-color: #aed9ca; color: var(--green); background: #eef9f5; }.approval-badge.state-rejected { border-color: #ebc1bb; color: var(--red); background: var(--red-bg); }
.toast { position: fixed; top: 17px; left: 50%; transform: translateX(-50%); z-index: 20; padding: 10px 15px; border: 1px solid #a9d1c9; border-radius: 7px; background: #f2fffa; color: #266a5d; box-shadow: 0 8px 22px rgba(20,60,57,.15); font-size: 10px; font-weight: 750; }
@media (max-width: 1050px) { .app-shell { grid-template-columns: 210px minmax(0, 1fr); }.review-grid { grid-template-columns: 1fr; }.timeline-panel { min-height: auto; }.metric-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 740px) { .app-shell { display: block; }.sidebar { position: static; width: 100%; height: auto; padding-bottom: 12px; }.sidebar nav { grid-template-columns: repeat(3, 1fr); }.case-list { grid-template-columns: repeat(3, 1fr); }.synthetic-note { margin-top: 14px; }.topbar, .case-header { padding-left: 18px; padding-right: 18px; }.goal-strip, .view-tabs { margin-left: 18px; margin-right: 18px; }.review-grid, .evaluation-view, .proposal-view { padding-left: 18px; padding-right: 18px; }.case-header { align-items: start; }.header-score { display: none; }.goal-strip { align-items: flex-start; flex-wrap: wrap; }.goal-strip .primary-button { width: 100%; }.review-footer label { grid-template-columns: 1fr; }.review-controls { flex-wrap: wrap; }.metric-grid { grid-template-columns: 1fr 1fr; }.proposal-grid { grid-template-columns: 1fr; }.approval-gate { grid-template-columns: 38px 1fr; }.approval-gate button { grid-column: span 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* --- Live agent activity feed (Phase 2) --- */
.replay-toggle { display: flex; align-items: center; gap: 5px; color: #546872; font-size: 10px; font-weight: 650; }
.replay-toggle input { accent-color: var(--teal); }
.run-badge { border-radius: 12px; padding: 5px 9px; font-size: 8px; font-weight: 800; letter-spacing: .5px; }
.run-badge.live { color: var(--green); background: #e3f6ee; border: 1px solid #a9dcc9; }
.run-badge.replay { color: #6a4bb0; background: #efeafc; border: 1px solid #cfc1ee; }
.activity-list { padding: 12px 14px 16px; max-height: 560px; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; }
.activity-cursor { color: #7f9aa0; font-size: 9px; padding: 4px 2px; }
.blink { animation: cfblink 1s steps(2, start) infinite; color: var(--teal); }
@keyframes cfblink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.act-role { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 8px; border-radius: 6px; background: #eef4f5; border: 1px solid #dbe7e8; }
.act-role-icon { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #6fd0c8; font-size: 11px; }
.act-role strong { font-size: 10px; } .act-role em { color: var(--muted); font-size: 8px; font-style: normal; margin-left: auto; }
.act-thinking { padding: 3px 10px 3px 12px; border-left: 2px solid #d7e3e5; } .act-thinking p { margin: 0; color: #55686f; font-size: 9px; line-height: 1.5; white-space: pre-wrap; }
.act-tool { display: flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 6px; background: #fafcfc; border: 1px solid #e2eb2c; border-color: #e2ebec; flex-wrap: wrap; }
.act-tool.running { border-color: #cfe3e1; background: #f4faf9; } .act-tool.blocked { border-color: #efc4be; background: var(--red-bg); }
.act-tool-badge { color: #3e7771; background: #dff0ec; border-radius: 3px; padding: 2px 5px; font: 7px ui-monospace, monospace; font-weight: 800; }
.act-tool code { color: #2f6f68; font: 9px ui-monospace, monospace; font-weight: 700; }
.act-tool-args { color: #8496a3; font: 8px ui-monospace, monospace; }
.act-tool-result { margin-left: auto; color: #47635e; font-size: 8px; font-weight: 650; } .act-tool-result.pending { color: #a4b4b9; font-style: italic; }
.act-objection { padding: 9px 11px; border-radius: 6px; background: #fff8eb; border: 1px solid #efd8b3; }
.act-objection.sev-high { background: var(--red-bg); border-color: #efb9b3; }
.act-objection span { color: var(--amber); font-size: 7px; font-weight: 850; letter-spacing: .6px; } .act-objection.sev-high span { color: var(--red); }
.act-objection strong { display: block; margin-top: 4px; font-size: 9px; line-height: 1.4; } .act-objection p { margin: 4px 0 0; color: #75634c; font-size: 8px; }
.act-approval { padding: 9px 11px; border-radius: 6px; background: #f1f9f6; border: 1px solid #c3e3d7; } .act-approval span { color: var(--green); font-size: 7px; font-weight: 850; letter-spacing: .6px; } .act-approval p { margin: 4px 0 0; color: #4b6b62; font-size: 8px; line-height: 1.4; }
.act-revision { padding: 8px 11px; border-radius: 6px; background: #eef3fb; border: 1px solid #c8d6ee; } .act-revision span { color: #4a5fa0; font-size: 7px; font-weight: 850; letter-spacing: .6px; } .act-revision p { margin: 4px 0 0; color: #5a6478; font-size: 8px; }
.act-guardrail { padding: 8px 11px; border-radius: 6px; background: #eef4f5; border: 1px solid #d3e0e2; } .act-guardrail.fail { background: var(--red-bg); border-color: #efb9b3; } .act-guardrail span { color: #4a6d68; font-size: 7px; font-weight: 850; letter-spacing: .6px; } .act-guardrail.fail span { color: var(--red); } .act-guardrail p { margin: 4px 0 0; color: #566a6c; font-size: 8px; line-height: 1.4; }
.act-failure { padding: 9px 11px; border-radius: 6px; background: var(--red-bg); border: 1px solid #efb9b3; } .act-failure span { color: var(--red); font-size: 7px; font-weight: 850; } .act-failure p { margin: 4px 0 0; color: #7a463f; font-size: 8px; line-height: 1.4; }
.failure-state span { color: var(--red); } .fail-glyph { margin: 18px auto; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #efb9b3; border-radius: 50%; color: var(--red); font-size: 22px; }
.audit-mini { display: flex; flex-direction: column; gap: 3px; } .audit-mini > div { display: flex; align-items: center; gap: 8px; } .audit-mini code { color: #3e7771; background: #edf6f3; border-radius: 3px; padding: 1px 5px; font: 7px ui-monospace, monospace; } .audit-mini small { color: #9aa7ad; font: 7px ui-monospace, monospace; } .audit-note { display: block; margin-top: 4px; }
.percase-table { margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.percase-row { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr .6fr .8fr; align-items: center; padding: 7px 12px; font-size: 9px; border-bottom: 1px solid #eef2f3; }
.percase-head { background: #f3f7f7; color: #61807f; font-weight: 800; font-size: 8px; letter-spacing: .5px; }
.percase-row.miss { background: #fff6f4; } .percase-row span:last-child { font-weight: 800; } .percase-row.pass span:last-child { color: var(--green); } .percase-row.miss span:last-child { color: var(--red); }
