/* PSD viewer additions on top of /image-converter/styles.css */
.drop { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stage { margin-top: 10px; border: 1px solid var(--border); border-radius: 8px; overflow: auto; max-height: 75vh; text-align: center;
  background-color: #fff; background-image: linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(-45deg, #ddd 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ddd 75%), linear-gradient(-45deg, transparent 75%, #ddd 75%);
  background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.stage canvas { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.note.warn { color: var(--warn); }
.note.good { color: var(--good); }
.note.bad { color: var(--bad); }
.notes { margin: 8px 0 0; padding-left: 18px; font-size: 12px; color: var(--warn); }
.layers { list-style: none; margin: 10px 0 0; padding: 0; max-height: 60vh; overflow: auto; border: 1px solid var(--border); border-radius: 8px; }
.layer { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px calc(10px + var(--depth, 0) * 18px); border-bottom: 1px solid var(--border); min-height: 44px; }
.layer:last-child { border-bottom: 0; }
.layer.group .lname { font-weight: 650; }
.layer input[type="checkbox"] { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.thumb { width: 40px; height: 40px; object-fit: contain; flex: none; background: #fff; border-radius: 4px; }
.lcol { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lname { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lmeta { font-size: 11px; color: var(--muted); }
