/* Side-by-side review, including the expanded workspace. */
.review-body{display:flex;align-items:stretch;gap:12px;min-width:0;min-height:0}.review-body>#photo-viewer{flex:1;min-width:0}.candidate-panel{flex:0 0 340px;width:340px;max-height:calc(68vh + 64px);overflow:auto;overscroll-behavior:contain;padding:14px}.diagnostic-head{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:-14px;padding:12px 0;background:var(--panel);z-index:1}.diagnostic-head h2{font-size:16px}.diagnostic-images{display:flex;gap:12px;padding:12px 0}.diagnostic-images figure{margin:0;flex:1;text-align:center}.diagnostic-images img{display:block;width:100%;height:144px;object-fit:contain;background:#f4f4f5;border-radius:12px}.diagnostic-images figcaption{font-size:11px;color:var(--muted);padding-top:6px}.diagnostic-result{display:grid;gap:5px;padding:12px;background:var(--panel2);border-radius:12px}.diagnostic-result strong{font-size:13px;line-height:1.4}.diagnostic-caption{color:var(--muted);font-size:11px;margin:14px 0;overflow-wrap:anywhere}.diagnostic-title{font-size:15px;margin-top:14px}.diagnostic-message{font-size:12px;margin:10px 0 14px}.candidate-list{display:grid;gap:9px}.candidate{border:1px solid var(--line);border-radius:12px;overflow:hidden}.candidate summary{display:flex;align-items:center;gap:8px;padding:10px;cursor:pointer;list-style:none}.candidate summary::-webkit-details-marker{display:none}.candidate summary:hover{background:var(--panel2)}.candidate-rank{font-size:11px;color:var(--muted)}.candidate summary img{width:32px;height:48px;object-fit:contain;background:#f4f4f5;border-radius:6px}.candidate-name{font-size:12px;flex:1;min-width:0;overflow-wrap:anywhere}.candidate-name small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.candidate-score{font-size:12px;font-variant-numeric:tabular-nums}.candidate-score.passes{color:var(--mint)}.candidate-values{border-top:1px solid var(--line);padding:10px}.candidate-values dl{display:grid;grid-template-columns:1fr auto;gap:7px;margin:0;font-size:11px}.candidate-values dt{color:var(--muted)}.candidate-values dd{margin:0;font-variant-numeric:tabular-nums}.candidate-formula{font-size:10px;margin:10px 0 0;color:var(--muted);line-height:1.5}.bbox.diagnostic-focus{stroke:var(--mint);stroke-width:4;stroke-dasharray:none;fill:color-mix(in srgb,var(--mint) 15%,transparent)}.review-workspace.expanded>.review-body{flex:1;min-height:0}.review-workspace.expanded .review-body>#photo-viewer{display:flex;flex-direction:column;min-height:0}.review-workspace.expanded .candidate-panel{height:100%;max-height:none}.review-workspace.expanded .review-body .image-scroll{flex:1;min-height:0;height:auto;max-height:none}.has-diagnostics .canvas-toolbar .filename{min-width:60px}
@media(max-width:1050px){.candidate-panel{flex-basis:290px;width:290px}}@media(max-width:800px){.review-body{flex-direction:column}.candidate-panel{width:100%;flex:auto;max-height:50vh}.review-workspace.expanded .candidate-panel{height:40%;max-height:40%;flex:none}.review-workspace.expanded .review-body>#photo-viewer{min-height:160px}.diagnostic-images img{height:90px}}
