:root { color-scheme: light; --ink: #17211b; --muted: #647069; --line: #dce3df; --paper: #f6f8f5; --green: #286447; --red: #9b3b3b; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 ui-sans-serif, system-ui, sans-serif; }
a { color: var(--green); text-decoration: none; } a:hover { text-decoration: underline; }
header { height: 64px; padding: 0 max(24px, calc((100vw - 1040px)/2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: white; }
.brand { color: var(--ink); font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
main { width: min(1040px, calc(100% - 32px)); margin: 38px auto 80px; }
h1, h2, p { margin-top: 0; } h1 { font-size: 28px; letter-spacing: -.035em; margin-bottom: 4px; } h2 { font-size: 19px; line-height: 1.35; margin: 3px 0 6px; }
button, input, select, textarea { font: inherit; }
button { border: 0; border-radius: 7px; padding: 8px 13px; color: white; background: var(--green); cursor: pointer; font-weight: 650; }
button.quiet, .button-link.quiet { color: var(--ink); background: #edf1ee; } button.reject { background: var(--red); } button.shortlist, button.prepare { background: var(--green); }
.intro { display: flex; align-items: end; justify-content: space-between; margin-bottom: 24px; } .intro p, .meta, .muted, .cost { color: var(--muted); }
.filters { display: flex; align-items: end; gap: 8px; } label { display: grid; gap: 5px; font-weight: 650; } input, select { border: 1px solid #bac5bf; border-radius: 7px; padding: 9px 10px; background: white; }
.candidate, .login-card, .empty, .review-card { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 3px 14px rgb(30 50 39 / 4%); }
.notice { margin-bottom: 16px; padding: 12px 16px; border: 1px solid #a8cdb7; border-radius: 8px; background: #e8f5ed; color: #174f35; }
.candidate { margin-bottom: 16px; } .candidate-head { display: flex; justify-content: space-between; gap: 16px; } .repo { text-transform: uppercase; letter-spacing: .05em; font-size: 12px; font-weight: 800; }
.score { min-width: 82px; min-height: 76px; display: grid; place-items: center; align-content: center; border-radius: 9px; background: #edf6f0; color: var(--green); } .score strong { font-size: 25px; line-height: 1; } .score span, .score small { font-size: 11px; color: var(--muted); }
.pill { display: inline-block; padding: 1px 7px; border-radius: 20px; background: #edf1ee; font-size: 12px; } .pill.shortlisted { color: #165b3b; background: #dcefe3; } .pill.rejected { color: #8a3030; background: #f7dddd; }
details { border-top: 1px solid var(--line); padding: 12px 0; } summary { color: var(--muted); cursor: pointer; }
dl { margin: 0; } .components, .metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; } .components div, .metrics div { padding: 8px; background: var(--paper); border-radius: 6px; } dt { color: var(--muted); font-size: 11px; text-transform: uppercase; } dd { margin: 0; font-weight: 750; }
.classification { border-top: 1px solid var(--line); padding-top: 15px; } .ai-verdict { display: flex; gap: 12px; } .ai-verdict strong { white-space: nowrap; } .risks, .cost { margin: 10px 0 0; font-size: 13px; }
.actions { display: flex; gap: 8px; margin-top: 18px; } .login-card { max-width: 400px; margin: 10vh auto; } .login-card form { display: grid; gap: 14px; } .error { color: var(--red); }
.button-link { display: inline-flex; align-items: center; border-radius: 7px; padding: 8px 13px; font-weight: 650; }
.review-card { margin-bottom: 16px; } .review-card h2 { margin-bottom: 12px; }
.draft-form { display: grid; gap: 14px; } textarea { width: 100%; border: 1px solid #bac5bf; border-radius: 7px; padding: 10px; background: white; resize: vertical; }
.diff, .pr-body { overflow: auto; max-height: 70vh; padding: 16px; border-radius: 8px; background: #17211b; color: #e9f1ec; white-space: pre-wrap; word-break: break-word; }
.send-card { border-color: #d4a252; background: #fffaf0; } .send-form { display: flex; align-items: end; gap: 10px; } button.send { background: #8a4b12; }
.pill.preparing { color: #755a12; background: #fff0bd; } .pill.ready { color: #165b3b; background: #dcefe3; } .pill.failed, .pill.stale { color: #8a3030; background: #f7dddd; } .pill.sent { color: #224d7a; background: #dceafa; }
@media (max-width: 700px) { .intro { align-items: start; flex-direction: column; gap: 16px; } .components, .metrics { grid-template-columns: repeat(2, 1fr); } .candidate { padding: 18px; } .ai-verdict { flex-direction: column; gap: 3px; } }
