.photo-review-image {margin:0 0 .5rem;}
.photo-frame {display:flex;justify-content:center;align-items:center;overflow:hidden;min-height:96px;background:#ebe8da;border:1px solid #d5cdb8;border-radius:5px;}
.photo-frame canvas {display:block;width:auto;height:auto;max-height:350px;max-width:100%;object-fit:contain;}
.photo-review-image figcaption {margin:.4rem 0 0;color:#4b5b50;font:normal 14px/1.45 var(--sans);}
.photo-crop-controls,.photo-consent,.photo-alternate {margin:12px 0;border:1px solid #d7ceb7;background:#fcfaf0;border-radius:4px;padding:12px 14px;min-width:0;}
.photo-crop-controls legend,.photo-consent legend {padding:0 5px 0 1px;color:#274b3b;font:650 16px/1.25 var(--sans);}
.photo-crop-controls p,.photo-consent p {margin:3px 0 10px;color:#42574a;font:400 15px/1.4 var(--sans);}
.photo-edges {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;}
.photo-edge {display:flex;min-width:0;flex-direction:column;justify-content:center;min-height:64px;color:#293f33;font:600 14px/1.3 var(--sans);}
.photo-edge span {display:flex;justify-content:space-between;align-items:baseline;}
.photo-edge output {color:#4f5f51;font-size:13px;font-weight:400;}
.photo-edge input[type=range] {appearance:auto;width:100%;min-width:0;min-height:44px;margin:0;box-shadow:none;padding:0;background:transparent;accent-color:#285641;}
.photo-check {display:flex;align-items:center;gap:9px;min-height:44px;color:#263f30;font:500 15px/1.4 var(--sans);}
.photo-check input,.cand input[type=checkbox] {accent-color:#285641;width:19px;height:19px;min-height:0;flex:none;}
.photo-consent .actions {margin:3px 0 0;}
#review-panel button {min-height:44px;line-height:1.3;}
#review-panel .actions {align-items:center;}
#review-panel .cand {display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:4px;}
#review-panel .cand>label:first-child {display:grid;place-items:center;min-height:44px;margin:0;}
#review-panel .cand input[type=text] {min-width:0;width:100%;min-height:44px;}
#review-panel .copyline {white-space:pre-wrap;overflow-wrap:anywhere;}
.photo-frame+figcaption:empty {display:none;}
@media(max-width:420px){.photo-frame canvas{max-height:270px}.photo-edges{column-gap:12px}.photo-crop-controls,.photo-consent,.photo-alternate{padding:9px 10px}.photo-actions{gap:.3rem .8rem;}}

