:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202d32;background:#f3f5f4;line-height:1.5;font-size:15px;--accent:#12634f;--muted:#53666b;--line:#d5dedb}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{min-height:44px;border:0;border-radius:8px;background:var(--accent);color:#fff;padding:10px 18px;font-weight:600;cursor:pointer}button:hover{background:#0c4c3c}button:disabled{opacity:.6;cursor:wait}button.quiet{color:var(--accent);background:transparent;padding:8px 12px}button.quiet:hover{background:#e4eeea}:focus-visible{outline:3px solid #137a9c;outline-offset:3px}::selection{background:#c1e7d7}input,textarea,select{width:100%;border:1px solid #93a5a0;border-radius:8px;padding:11px 12px;background:#fff;color:#202d32;caret-color:var(--accent)}textarea{resize:vertical;min-height:86px}input::placeholder,textarea::placeholder{color:#60716c}label{display:block;font-weight:600;margin-bottom:8px}a{color:var(--accent);text-underline-offset:3px;overflow-wrap:anywhere}h1,h2,h3,p{margin-top:0}h1{font-size:1.3rem;line-height:1.2;letter-spacing:-.025em;margin-bottom:12px}h2{font-size:1.25rem;line-height:1.3;margin-bottom:12px}h3{font-size:1.05rem;line-height:1.4;margin-bottom:8px}p{max-width:72ch}small,.muted{color:var(--muted)}[hidden]{display:none!important}.site-header{max-width:1280px;margin:auto;padding:16px 24px;display:flex;justify-content:space-between;align-items:center}.brand{font-size:1.2rem;font-weight:700;text-decoration:none;color:#202d32;letter-spacing:-.02em}.brand span{font-size:.75rem;letter-spacing:0;color:var(--muted);margin-left:8px;font-weight:400}main{max-width:1280px;margin:auto;padding:0 24px 24px}.request-panel{background:#fff;border-radius:10px;padding:18px 22px;margin-bottom:22px}.request-panel h1{margin-bottom:14px}.request-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;align-items:end}.request-form>label{grid-column:1/-1;font-size:.85rem;margin-bottom:5px}.request-form .form-bottom{margin:0}.request-form input{min-height:44px}.intro{color:var(--muted);margin-bottom:24px}.form-bottom{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-top:12px}.form-bottom p{font-size:.85rem;color:var(--muted);margin:0;max-width:52ch}.form-bottom button{flex-shrink:0}.workspace-grid{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.section-heading h2{margin:0}.history-item{display:block;width:100%;border-radius:0;text-align:left;background:transparent;color:#202d32;border-bottom:1px solid var(--line);font-weight:400;padding:12px 10px}.history-item:hover{background:#e8eeeb}.history-item[aria-current=true]{background:#dfebe5;box-shadow:inset 1px 0 var(--accent)}.history-query{display:block;font-weight:600;overflow-wrap:anywhere}.history-meta{display:block;font-size:.8rem;color:var(--muted);margin-top:5px}.result-panel{min-width:0}.empty{padding:28px 0;color:var(--muted)}.empty h2{color:#202d32}.result-heading{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}.result-heading h2{overflow-wrap:anywhere;font-size:1.3rem;margin-bottom:5px}.metadata{display:flex;gap:10px 18px;flex-wrap:wrap;color:var(--muted);font-size:.85rem;font-variant-numeric:tabular-nums}.badge{display:inline-block;padding:3px 9px;border-radius:5px;background:#e5ece9;color:#344c42;font-size:.8rem;font-weight:600}.badge.confirmed,.badge.completed{color:#15523a;background:#dceee2}.badge.failed,.badge.excluded,.badge.interrupted{color:#8e3025;background:#fae6e2}.badge.needs_evidence,.badge.running,.badge.queued{color:#795008;background:#faedce}.notice{padding:12px 14px;background:#e5eeea;border-radius:8px;margin:18px 0}.notice p:last-child{margin:0}.error{color:#a12c22;font-size:.9rem;margin:12px 0 0;overflow-wrap:anywhere}.error:empty{display:none}.candidate{padding:18px 0;border-top:1px solid var(--line)}.candidate-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.candidate-head .badge{flex-shrink:0;max-width:235px}.candidate-head h3{margin:0;overflow-wrap:anywhere}.candidate-id{color:var(--muted);font-size:.78rem;margin:2px 0 8px}.table-wrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:.85rem;text-align:left}th,td{padding:10px 10px 10px 0;border-bottom:1px solid #e2e8e5;vertical-align:top;overflow-wrap:anywhere}th{color:var(--muted);font-weight:600}td:first-child{min-width:125px}details{margin-top:16px}summary{cursor:pointer;color:var(--accent);font-weight:600;padding:10px 0;min-height:44px}.evidence{padding-left:20px;font-size:.85rem}.evidence li{margin:10px 0}.quote{display:block;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.limitations{padding-left:20px;color:var(--muted);font-size:.9rem}.feedback-panel{border-top:1px solid var(--line);padding-top:4px;margin-top:18px}.feedback-panel>summary{font-size:.9rem}.feedback-panel>p{font-size:.85rem}.feedback-panel select{max-width:310px;margin-bottom:16px}.feedback-panel button{margin-top:12px}.saved{color:#17603f;font-size:.9rem;margin-top:12px}.feedback-entry{padding:5px 0;border-bottom:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere}.login-panel{max-width:560px;margin:48px auto;background:#fff;padding:32px;border-radius:12px}.login-panel input{margin-bottom:16px}.login-panel p{color:var(--muted)}footer{max-width:1280px;margin:auto;padding:20px 32px 32px;font-size:.8rem;color:var(--muted)}.loading-line{height:3px;background:#dce8e2;overflow:hidden;margin:20px 0}.loading-line::after{content:"";display:block;width:35%;height:100%;background:var(--accent);animation:progress 2s ease-in-out infinite}@keyframes progress{from{transform:translateX(-100%)}to{transform:translateX(390%)}}@media(prefers-reduced-motion:reduce){.loading-line::after{animation:none;width:100%;opacity:.5}}@media(max-width:760px){.site-header{padding:16px 20px}main{padding:8px 20px 24px}.request-panel{padding:22px 20px;margin-bottom:24px}.workspace-grid{display:flex;flex-direction:column;gap:24px}.history-panel{order:2}.result-panel{order:1}.form-bottom{align-items:stretch;flex-direction:column;gap:16px}.form-bottom button{width:100%}.candidate-head{display:block}.candidate-head .badge{margin-bottom:8px}.login-panel{margin:24px auto;padding:24px}.history-item{padding:14px 10px}footer{padding:16px 20px 24px}}@media(max-width:380px){main{padding-left:12px;padding-right:12px}.request-panel{padding:20px 16px}th,td{font-size:.8rem}td:first-child{min-width:105px}}

.diagnostics{border-top:1px solid var(--line);padding-top:6px;margin-top:10px}.candidate-detail{margin-left:12px;padding-left:12px;border-left:1px solid var(--line)}.candidate-detail>summary{font-size:.9rem;font-weight:400;overflow-wrap:anywhere}.candidate-detail .candidate{border-top:0;padding-top:12px}
.catalog-policy{padding-top:0;margin-top:8px}.catalog-policy>summary{font-size:.85rem;padding:6px 0;min-height:36px}.catalog-policy>p{margin-top:12px}.category-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:4px;max-height:250px;overflow:auto;margin:12px 0 20px}.category-option{text-align:left;background:transparent;color:#202d32;border:1px solid transparent;font-weight:400;border-radius:4px;padding:10px 12px;overflow-wrap:anywhere}.category-option:hover,.category-option[aria-pressed=true]{background:#e4eeea;border-color:var(--line)}.category-option>span,.category-option>small{display:block}.category-option>small{font-size:.75rem;margin-top:2px}.category-profile:not(:empty){border-top:1px solid var(--line);padding-top:20px}.category-profile h3{margin-bottom:4px}.policy-group{margin-top:20px}.policy-group h4{font-size:.95rem;margin:0 0 8px}.policy-group ul{padding-left:20px;margin:0}.policy-group li{margin:12px 0;font-size:.9rem}.policy-review{display:inline-block;font-size:.75rem;color:#795008;background:#faedce;margin-left:8px;padding:2px 6px;border-radius:4px}.catalog-policy .property-reason{display:block;max-width:72ch}.catalog-policy #policy-status{font-size:.85rem}

.supported-category{font-weight:600;color:var(--accent);margin-bottom:12px}.property-importance,.property-reason{display:block;margin-top:5px;font-size:.75rem;line-height:1.45;min-width:140px}.property-importance{font-weight:600;color:#344c42}.property-reason{color:var(--muted)}.importance-explanation{margin:22px 0}.importance-explanation p{font-size:.9rem;margin-bottom:8px}.difference-summary{color:#795008;background:#faedce;padding:7px 10px;margin:6px 0;border-radius:5px;font-size:.82rem;max-width:none}.difference-summary ul{padding-left:18px;margin:6px 0 0}

/* The comparison stays compact; evidence and detailed checks open in place. */
.target-category{font-size:.85rem;color:var(--muted);margin:0 0 5px}.target-facts{font-size:.9rem;margin:0;max-width:none}.run-info,.run-explanation{margin:0}.run-info>summary,.run-explanation>summary{font-size:.8rem;font-weight:400;min-height:36px;padding:6px 0}.run-info .metadata{padding-bottom:8px}.run-explanation{margin-bottom:8px}.run-explanation .notice{margin:0 0 12px}.match-summary{font-size:.85rem;margin:0 0 6px;max-width:none}.candidate-note{font-size:.8rem;margin:6px 0}.candidate-warning{font-size:.82rem;color:#795008;margin:6px 0}.candidate-reasons{margin:0}.candidate-reasons>summary{font-size:.85rem;font-weight:500}.candidate-reasons>p{margin-top:10px}.candidate-reasons[open]{padding-bottom:10px}.pair-feedback{margin-top:3px}.pair-feedback fieldset{border:0;padding:0;margin:0;min-width:0}.pair-feedback legend{font-size:.8rem;color:var(--muted);margin-bottom:4px;padding:0}.rating-choices{display:flex;flex-wrap:wrap;gap:6px}.rating-option{display:flex;align-items:center;min-height:40px;gap:7px;font-size:.82rem;font-weight:500;border:1px solid var(--line);border-radius:6px;padding:7px 10px;margin:0;cursor:pointer}.rating-option:has(input:checked){border-color:var(--accent);background:#e4eeea;color:#124b3d}.rating-option:has(input:disabled){opacity:.65;cursor:wait}.rating-option input{width:15px;height:15px;margin:0;accent-color:var(--accent)}.comment-details{margin:0}.comment-details>summary{font-size:.82rem;font-weight:400}.comment-details label{font-size:.85rem}.comment-details textarea{min-height:72px;font-size:.9rem}.feedback-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.feedback-actions button{padding:7px 12px;font-size:.82rem;min-height:40px}.feedback-actions .saved,.feedback-actions .error{font-size:.8rem;margin:0}.pair-saved:not(:empty){margin-top:10px}.pair-saved>small{font-size:.75rem}.pair-saved .feedback-entry{border:0;font-size:.85rem}.feedback-entry p{margin:3px 0 0}.pair-saved details{margin:0}.pair-saved summary{font-size:.8rem;font-weight:400}.history-panel>details{margin:0}.history-panel>details>summary{color:#202d32;font-size:1rem}.history-panel #refresh{font-size:.8rem}.importance-explanation{margin:0 0 12px}.importance-explanation summary{font-size:.85rem}.result-panel>h2{font-size:1.1rem;margin:16px 0 5px}.result-panel>p.muted{font-size:.8rem;margin-bottom:12px}table{min-width:540px}th:nth-child(2),td:nth-child(2),th:nth-child(3),td:nth-child(3){width:25%}.table-wrap{scrollbar-color:#93a5a0 #f3f5f4}
@media(max-width:760px){.site-header{padding:12px 16px}main{padding:0 16px 20px}.request-panel{padding:16px;margin-bottom:14px}.request-panel h1{font-size:1.2rem;margin-bottom:12px}.request-form{grid-template-columns:minmax(0,1fr);gap:8px}.request-form>label{margin:0}.request-form .form-bottom{gap:0}.workspace-grid{gap:14px}.history-panel{order:0}.result-panel{order:1}.history-panel>details{border-bottom:1px solid var(--line);padding-bottom:4px}.history-panel>details[open] #history{max-height:250px;overflow:auto}.history-panel>details>summary{font-size:.9rem}.candidate-head{display:block}.candidate-head .badge{margin:7px 0 0;max-width:none}.candidate-head h3{font-size:1rem}.candidate{padding:15px 0}.result-heading{margin-bottom:12px;padding-bottom:10px}.result-heading h2{font-size:1.2rem}.rating-option{min-height:44px;padding:7px 9px}.feedback-actions button{min-height:44px}.pair-feedback legend{font-size:.82rem}.target-facts{font-size:.82rem}.login-panel{padding:24px}.catalog-policy>summary{min-height:44px}.candidate-reasons>summary{min-height:44px}.candidate-detail{margin-left:0;padding-left:8px}footer{padding:14px 16px 20px}}
@media(max-width:380px){main{padding-left:12px;padding-right:12px}.request-panel{padding:14px 12px}.rating-choices{gap:5px}.rating-option{font-size:.8rem;padding:6px 7px;gap:5px}}

/* Dense review view: the pair is the row; explanations open when needed. */
.request-panel{padding:12px 16px;margin-bottom:16px}.request-form{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.request-form>label{grid-column:auto;margin:0;font-size:.85rem;white-space:nowrap}.request-form .form-bottom{margin:0}.request-form #submit-run{min-height:44px}.catalog-policy{margin-top:20px;border-top:1px solid var(--line);padding-top:5px}.result-heading{margin-bottom:10px;padding-bottom:10px}.result-heading h2{font-size:1.2rem;line-height:1.25;margin-bottom:4px}.target-category{font-size:.8rem;margin-bottom:3px}.target-facts{font-size:.82rem;line-height:1.4}.result-panel>h2{display:inline-block;font-size:1rem;margin:4px 12px 8px 0}.result-panel>p.result-limit{display:inline;font-size:.8rem}.candidate{padding:12px 0}.candidate-head h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.96rem;line-height:1.4}.candidate-head .badge{font-size:.72rem;white-space:nowrap;max-width:none;padding:3px 6px}.candidate-id{font-size:.75rem;margin:3px 0 4px}.difference-summary{font-size:.78rem;line-height:1.4;padding:5px 8px;margin:4px 0}.candidate-warning{font-size:.78rem;margin:4px 0}.candidate-tools{display:flex;align-items:flex-start;gap:0 20px;flex-wrap:wrap}.candidate-tools>details{margin:0;min-width:0}.candidate-tools>details>summary{min-height:40px;padding:8px 0;font-size:.8rem;line-height:1.5;font-weight:500}.candidate-tools>details[open]{flex-basis:100%}.candidate-full-name{font-size:.9rem;font-weight:600;margin:6px 0 10px}.pair-feedback form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:8px 0}.pair-feedback fieldset{grid-column:1/-1}.pair-comment{min-width:0}.pair-comment>label{font-size:.8rem;margin-bottom:4px}.pair-comment textarea{font-size:.85rem;min-height:64px;padding:8px 10px}.pair-feedback .feedback-actions{align-self:end;max-width:190px}.pair-saved:not(:empty){margin-top:3px}.pair-feedback .rating-option{min-height:40px}.pair-feedback .saved{font-size:.75rem}.notice{font-size:.85rem;margin:8px 0 12px}.notice p{margin-bottom:6px}
@media(max-width:760px){.site-header{padding:10px 16px}.request-panel{padding:10px 12px;margin-bottom:8px}.request-form{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}.request-form>label{grid-column:1/-1;font-size:.8rem}.request-form .form-bottom{width:auto}.request-form #submit-run{width:auto;padding:9px 12px}.request-form input{padding:10px;min-width:0;font-size:.9rem}.workspace-grid{gap:8px}.history-panel>details{padding-bottom:0}.history-panel>details>summary{min-height:40px;padding:8px 0}.candidate-head .badge{margin:4px 0 0;font-size:.7rem}.candidate-head h3{font-size:.92rem;line-height:1.35}.candidate{padding:10px 0}.candidate-tools{gap:0 16px}.candidate-tools>details>summary{min-height:44px;font-size:.78rem;padding:10px 0}.result-heading h2{font-size:1.08rem}.target-facts{font-size:.78rem}.result-heading{padding-bottom:8px;margin-bottom:6px}.result-panel>h2{margin-bottom:6px}.result-panel>p.result-limit{display:block;font-size:.76rem;margin:0 0 5px}.pair-feedback form{grid-template-columns:minmax(0,1fr)}.pair-feedback fieldset{grid-column:auto}.pair-feedback .feedback-actions{max-width:none}.pair-feedback .rating-option{min-height:44px}.pair-comment textarea{min-height:64px}.catalog-policy{margin-top:12px}}
