/* Brand palette inherited from ../style.css: --black, --white, --muted, --blood, --line. */
#courtyard-review-dialog{width:min(1120px,96vw);max-width:1120px;max-height:94dvh;padding:0;background:var(--black);color:var(--white);border:1px solid #777;border-radius:14px;overflow:auto}#courtyard-review-dialog *{box-sizing:border-box}#courtyard-review-dialog button{min-height:42px;cursor:pointer}#courtyard-review-dialog button:focus-visible,#courtyard-review-dialog input:focus-visible{outline:3px solid var(--white);outline-offset:3px}#courtyard-review-dialog button:disabled{opacity:.45;cursor:default}.cr-header{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;background:#161616}.cr-header h2{font-size:clamp(22px,3vw,32px);margin:6px 0}.cr-header .close{position:static!important;flex-shrink:0}.cr-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px;padding:20px}.cr-screen{position:relative;aspect-ratio:4/3;background:#080808;overflow:hidden;border-radius:8px}.cr-screen video,.cr-screen img{width:100%;height:100%;object-fit:contain}.cr-label{position:absolute;top:10px;left:10px;padding:5px 8px;color:#fff;background:#090909e8;font-size:10px;letter-spacing:.1em;pointer-events:none}.cr-gap{position:absolute;inset:0;display:grid;align-content:center;text-align:center;background:#080808;color:var(--muted);letter-spacing:.12em}.cr-gap small{margin-top:12px;letter-spacing:normal}.cr-gap[hidden],.cr-static[hidden]{display:none}.cr-caption{display:grid;gap:4px;min-height:75px;padding:12px 3px;line-height:1.4;font-size:14px}.cr-caption strong{color:var(--white)}.cr-transport{display:flex;flex-wrap:wrap;gap:6px}.cr-transport button{background:#191919;border:1px solid #777;color:#fff;padding:6px 10px;border-radius:6px}.cr-scrub{flex:1 0 100%;font-size:11px;color:var(--muted);display:grid;margin:7px 0}.cr-scrub input{width:100%;accent-color:var(--blood);min-height:30px}.cr-shots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:8px 0}.cr-shots button{padding:0;overflow:hidden;border:2px solid #777;border-radius:6px;background:#161616;color:white;display:grid}.cr-shots img{width:100%;aspect-ratio:4/3;object-fit:cover}.cr-shots span{padding:5px 2px;font-size:12px}.cr-shots button[aria-pressed=true]{border-color:var(--white);background:#8e0707}.cr-keep{width:100%;margin-top:4px}.cr-note{font-size:12px!important;line-height:1.45;color:var(--muted);margin:9px 0!important}.cr-compare{display:flex;flex-direction:column;gap:12px}.cr-compare .overline{font-size:10px}.cr-clock{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;background:#181818;border:1px solid #777;border-radius:9px}.cr-clock span{font-size:13px;max-width:130px}.cr-clock strong{font:600 38px ui-monospace,monospace;color:var(--white)}.cr-source-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cr-source-buttons button,.cr-source button,.cr-adjust button,.cr-footer>button:not(.primary){background:#191919;color:var(--white);border:1px solid #777;border-radius:6px;padding:8px;font-size:12px}.cr-source-buttons .is-inspected{border-color:var(--white)}.cr-source{border-left:3px solid var(--blood);padding:12px;background:#161616;font-size:13px}.cr-source p{font-size:13px;line-height:1.5;margin:8px 0}.cr-estimate{font-size:12px;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin-top:4px}.cr-estimate output{font:600 26px ui-monospace,monospace;color:var(--white)}.cr-estimate input{grid-column:1/-1;width:100%;accent-color:var(--blood);min-height:32px}.cr-adjust{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:6px}.cr-status{font-size:12px!important;line-height:1.4;min-height:32px;margin:0!important;color:var(--muted)}.cr-support{border-top:1px solid var(--line);padding-top:10px;display:grid;gap:8px}.cr-support h3{font-size:15px;margin:0 0 4px}.cr-support button{text-align:left;background:#181818;border:1px solid #777;border-radius:8px;color:var(--white);padding:10px;font-size:13px;display:grid;gap:4px}.cr-support button small{font-size:12px;font-weight:normal;color:var(--muted)}.cr-support button[aria-pressed=true]{border:2px solid var(--white);background:#8e0707}.cr-footer{position:sticky;bottom:0;z-index:2;padding:12px 20px;background:#090909f5;border-top:1px solid #777;display:flex;align-items:center;gap:10px;box-shadow:0 -6px 22px #0004}.cr-footer p{flex:1;font-size:13px;line-height:1.4;margin:0}.cr-footer button{flex-shrink:0;font-size:13px}.cr-finding{margin:20px;padding:20px;border:1px solid var(--blood);border-radius:8px;background:#161616}.cr-finding h3{margin:8px 0;font-size:23px}.cr-finding p{font-size:14px;line-height:1.6}.cr-finding:focus{outline:2px solid var(--white)}
@media(max-width:720px){.cr-grid{grid-template-columns:1fr;padding:12px;gap:20px}.cr-header{padding:14px}.cr-compare{gap:10px}.cr-footer{flex-wrap:wrap;padding:10px 12px}.cr-footer p{flex:1 0 100%;font-size:12px}.cr-footer button{flex:1}.cr-shots img{max-height:85px}.cr-screen{max-height:50dvh}.cr-finding{margin:12px}.cr-caption{min-height:65px}}@media(prefers-reduced-motion:reduce){#courtyard-review-dialog *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Shared button styles use full-width primaries; this toolbar is deliberately compact. */
#courtyard-review-dialog .cr-footer{flex-wrap:wrap;gap:10px;overflow-wrap:anywhere}
#courtyard-review-dialog .cr-footer p{flex:1 1 260px;min-width:0;max-width:100%}
#courtyard-review-dialog .cr-footer button{width:auto;min-width:0;max-width:100%;flex:0 1 auto;white-space:normal;padding:10px 16px;margin:0}
#courtyard-review-dialog .cr-grid>*{min-width:0}
#courtyard-review-dialog .cr-label[hidden]{display:none}
@media(max-width:720px){#courtyard-review-dialog .cr-footer p{flex-basis:100%}#courtyard-review-dialog .cr-footer button{flex:1 1 130px}}
/* Keep transport controls visible on a typical laptop without cropping the evidence. */
#courtyard-review-dialog .cr-screen{height:min(40dvh,360px);aspect-ratio:auto}
@media(max-width:720px){#courtyard-review-dialog .cr-screen{height:min(42dvh,340px)}}
