/* Compact photo cards; the enlarged editor keeps the same equipment and fields. */
.tc-photo-groups{display:grid;gap:16px;margin:16px 0;min-width:0}.tc-photo-group{border:1px solid #bfd7e8;border-radius:14px;padding:12px;background:#fff;min-width:0}.tc-photo-group>header{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}.tc-photo-group>header strong{overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px}.tc-photo-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:12px}.tc-photo-device{display:grid;grid-template-columns:minmax(100px,150px) minmax(0,1fr);align-items:start;gap:14px;border:1px solid #ccdae8;border-radius:12px;padding:12px;min-width:0;background:#f8fbfe}.tc-photo-device[data-state=ready]{border-color:#7cbaa0;background:#f2faf6}.tc-photo-device[data-state=omitted]{opacity:.7}.tc-photo-preview{display:block;box-sizing:border-box;width:100%;border:1px solid #aac4db;border-radius:9px;padding:5px;background:white;color:#155888;cursor:zoom-in;overflow:hidden;font:inherit}.tc-photo-preview canvas,.tc-photo-preview img{display:block;width:100%;height:110px;object-fit:contain}.tc-photo-preview span{display:block;font-size:13px;padding:7px 0}.tc-photo-data{min-width:0;overflow-wrap:anywhere;font-size:15px}.tc-photo-data p{margin:7px 0}.tc-photo-data .tc-photo-state{font-size:14px;font-weight:700;color:#875218}.tc-photo-device[data-state=ready] .tc-photo-state{color:#186342}.tc-photo-data small{display:block;font-size:13px;margin:8px 0}.tc-photo-data .button{padding:10px;font-size:14px;min-height:44px;white-space:normal}.tc-batch-actions{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;flex-wrap:wrap;gap:10px;background:#fff;padding:12px;border:1px solid #b8d3e7;border-radius:12px;box-shadow:0 -4px 12px #123d5910;margin-top:14px}.tc-batch-summary{margin:0;flex:1 1 150px;font-weight:700}.tc-batch-actions button{min-height:46px;white-space:normal}.tc-batch-actions button:disabled{cursor:not-allowed;opacity:.55}
.ic-label-review .ic-label-fields .ic-label-message{padding:0;min-height:0;font-size:14px}.ic-label-review .ic-label-fields select{width:100%;box-sizing:border-box;white-space:normal}.ic-label-review .ic-label-photo{position:sticky;top:10px;align-self:start}.ic-label-review .ic-label-stage{max-height:58dvh}.ic-label-review .ic-label-fields button{min-height:46px}
@media(max-width:650px){.tc-photo-cards{grid-template-columns:minmax(0,1fr)}.tc-photo-device{grid-template-columns:105px minmax(0,1fr);gap:10px;padding:10px}.tc-photo-data{font-size:14px}.tc-photo-data .button{width:100%}.tc-batch-actions{position:static;display:grid;grid-template-columns:minmax(0,1fr)}.tc-batch-actions button{width:100%}.ic-label-review .ic-label-photo{position:static}.ic-label-review .ic-label-stage{max-height:calc(var(--ic-viewport-height,100dvh) * .32)}}
@media(max-width:359px){.tc-photo-device{grid-template-columns:90px minmax(0,1fr);gap:8px}}

.ic-label-review .ic-label-fields [data-action=save-photo-equipment]{background:#0867b6;color:#fff;border-color:#0867b6;font-weight:700;min-height:50px}.ic-label-review .ic-label-fields [data-action=save-photo-equipment]:disabled{opacity:.6;cursor:wait}
@media(max-width:650px){
 .ic-label-review .ic-label-photo{position:sticky;top:0;z-index:1;background:#f8fafc;padding-bottom:8px}
 .ic-label-review .ic-label-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .ic-label-review .ic-label-actions button{font-size:12px!important;padding:5px;line-height:1.2;overflow-wrap:anywhere}
 .ic-label-review footer{position:static}
 .ic-mobile-keyboard .ic-label-review .ic-label-stage{min-height:70px;max-height:calc(var(--ic-viewport-height,100dvh) * .28)}
}
