/* Agent Log Event Checker -- page-specific styles. Reuses the brand variables from main.css. Status colours are always paired with a text badge (PASS/WARN/FAIL), never colour alone, so the result is readable without colour vision. No inline styles. */ :root { --ok: #3fb950; --warn: #d29922; --bad: #f85149; } #checker { padding: 60px 0 90px; background: radial-gradient(circle at top, #1c2128 0%, var(--bg-deep) 100%); } #checker .inner { max-width: 1180px; } .chk-head { text-align: center; margin-bottom: 2.5rem; } .chk-head h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 1rem; } .chk-head h1 span { color: var(--brand-blue); } .chk-head p { max-width: 760px; margin: 0 auto; color: var(--text-primary); } .chk-head .privacy { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.75rem; } .chk-layout { display: flex; gap: 2rem; align-items: stretch; } .chk-input, .chk-output { flex: 1; min-width: 0; } /* --- Input panel --- */ .chk-toolbar { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; } .btn-secondary { background: none; border: 1px solid var(--border-subtle); color: var(--text-primary); font: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.55rem 1.1rem; border-radius: 4px; cursor: pointer; } .btn-secondary:hover { border-color: var(--brand-blue); color: var(--brand-blue); } .btn-primary { background: var(--brand-blue); border: 1px solid var(--brand-blue); color: var(--bg-deep); font: inherit; font-size: 0.85rem; font-weight: 700; padding: 0.55rem 1.3rem; border-radius: 4px; cursor: pointer; } .btn-primary:hover { box-shadow: 0 0 20px var(--brand-glow); } #event-input { width: 100%; min-height: 460px; resize: vertical; background: var(--bg-deep); border: 1px solid var(--border-subtle); border-radius: 4px; color: var(--text-primary); font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.82rem; line-height: 1.6; padding: 1rem; } #event-input:focus { outline: none; border-color: var(--brand-blue); } /* --- Output panel --- */ .chk-output { background: var(--bg-lift); border: 1px solid var(--border-subtle); border-radius: 4px; padding: 1.25rem; overflow-y: auto; max-height: 620px; } .notice { color: var(--text-muted); font-size: 0.9rem; padding: 1rem 0; } .notice.bad { color: var(--bad); } .summary { border-radius: 4px; padding: 0.9rem 1rem; margin-bottom: 1.25rem; } .summary-verdict { margin: 0 0 0.25rem; font-weight: 700; color: var(--text-primary); } .summary-counts { margin: 0; font-size: 0.82rem; color: var(--text-muted); } .summary-ok { border-left: 3px solid var(--ok); background: rgba(63, 185, 80, 0.08); } .summary-warn { border-left: 3px solid var(--warn); background: rgba(210, 153, 34, 0.08); } .summary-bad { border-left: 3px solid var(--bad); background: rgba(248, 81, 73, 0.08); } .rslt-section { margin-bottom: 1.5rem; } .grp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; } .grp-head h3 { font-size: 0.95rem; margin: 0; } .grp-count { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; } .grp-ok h3 { color: var(--ok); } .grp-warn h3 { color: var(--warn); } .grp-bad h3 { color: var(--bad); } .grp-cost { font-size: 0.78rem; color: var(--text-muted); margin: 0.2rem 0 0.7rem; } .rslt-list { list-style: none; margin: 0; padding: 0; } .row { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; padding: 0.35rem 0; border-bottom: 1px solid rgba(48, 54, 61, 0.5); } .row:last-child { border-bottom: none; } .badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; padding: 0.12rem 0.4rem; border-radius: 3px; flex-shrink: 0; } .badge-ok { background: rgba(63, 185, 80, 0.15); color: var(--ok); } .badge-warn { background: rgba(210, 153, 34, 0.15); color: var(--warn); } .badge-bad { background: rgba(248, 81, 73, 0.15); color: var(--bad); } .rslt-key { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.78rem; color: var(--text-primary); } .row-ok .rslt-key { color: var(--text-muted); } .rslt-why { font-size: 0.76rem; color: var(--text-muted); flex: 1 1 100%; padding-left: 2.6rem; } .deriv-wrap { border: 1px solid var(--border-subtle); border-radius: 4px; padding: 1rem; margin-bottom: 1.25rem; } .rslt-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; margin: 0.75rem 0 0; } .rslt-note a { color: var(--brand-blue); } .rslt-note a:hover { text-decoration: underline; } .kit-note { border-top: 1px solid var(--border-subtle); padding-top: 0.9rem; } .chk-footnote { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 2rem; } .chk-footnote a { color: var(--brand-blue); } .chk-footnote a:hover { text-decoration: underline; } /* Stack the two panels before they get too narrow to read. The validator page learned this the hard way: a side-by-side code panel is unusable under ~900px. */ @media screen and (max-width: 900px) { .chk-layout { flex-direction: column; } #event-input { min-height: 260px; } .chk-output { max-height: none; } } @media screen and (max-width: 480px) { .chk-head h1 { font-size: 1.8rem; } .rslt-why { padding-left: 0; } }