.sheet-photo { margin-top: 16px; padding: 24px; border: 1px solid var(--line, #e9ece6); border-radius: 16px; background: var(--surface, #fff); min-width: 0; }
.sheet-photo[hidden] { display: none; }
.sheet-photo h3 { margin-top: 0; }
.sheet-photo-layout { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 1.7fr); gap: 24px; align-items: start; }
.sheet-photo figure { margin: 0; position: sticky; top: 16px; }
.sheet-photo img { display: block; width: 100%; max-height: 75vh; object-fit: contain; border: 1px solid #e9ece6; border-radius: 8px; background: #f6f7f2; }
.sheet-photo figcaption { margin-top: 8px; color: #6f7d76; font-size: 13px; }
.sheet-photo-editor { min-width: 0; }
.sheet-photo-field input { box-sizing: border-box; }
.sheet-photo-fields { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.sheet-photo-field { display: flex; flex-direction: column; gap: 6px; min-width: 80px; flex: 1 1 90px; font-size: 13px; }
.sheet-photo input:not([type="checkbox"]), .sheet-photo select { width: 100%; min-width: 65px; padding: 8px; border: 1px solid #d8ded8; border-radius: 8px; background: #fff; color: #25332d; font: inherit; }
.sheet-photo input[type="checkbox"] { width: 20px; height: 20px; accent-color: #366f5d; }
.sheet-photo-table-wrap { max-height: 60vh; overflow: auto; margin: 16px 0; border: 1px solid #e9ece6; border-radius: 8px; }
.sheet-photo-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sheet-photo-table th { position: sticky; top: 0; z-index: 1; background: #f6f7f2; font-weight: 600; }
.sheet-photo-table th, .sheet-photo-table td { padding: 8px; border-bottom: 1px solid #e9ece6; text-align: start; vertical-align: middle; }
.sheet-photo-table td:first-child input { min-width: 48px; }
.sheet-photo-table .needs-correction { background: #f7f0d9; }
.sheet-photo-table .button { white-space: nowrap; }
.sheet-photo-bar-actions, .sheet-photo-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sheet-photo-bar-actions .sheet-photo-field { flex: 0 1 160px; }
.sheet-photo-review { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 14px; }
.sheet-photo summary { cursor: pointer; padding: 10px 0; font-weight: 600; }
.sheet-photo details[open] { padding-bottom: 8px; }
@media (max-width: 760px) {
  .sheet-photo:has(details[open]) figure { position: sticky; top: 0; z-index: 1; background: var(--surface, #fff); }
  .sheet-photo:has(details[open]) img { max-height: 25vh; }
}
.sheet-photo-actions { margin-top: 16px; }
.sheet-photo-warnings { margin: 16px 0; padding: 12px 12px 12px 28px; border-radius: 8px; background: #f7f0d9; }
.sheet-photo-status { color: #366f5d; line-height: 1.5; }
.sheet-photo :focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
@media (max-width: 760px) { .sheet-photo { padding: 16px; } .sheet-photo-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; } .sheet-photo figure { position: static; } .sheet-photo img { max-height: 45vh; } }
