/* Richer inventory item preview */
.drawer-empty-state {
    padding: 10px 12px;
    border: 1px dashed var(--border-soft);
    border-radius: 8px;
    background: #0b1220;
}
.drawer-spec-list {
    display: grid;
    gap: 8px;
}
.drawer-spec-row {
    padding: 10px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 9px;
    background: #0b1220;
}
.drawer-spec-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
}
.drawer-spec-label { color: var(--muted); }
.drawer-spec-value { font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.drawer-spec-description { margin-top: 5px; color: var(--muted-2); font-size: 12px; line-height: 1.45; }
.drawer-spec-source { margin-top: 6px; font-size: 12px; color: var(--muted); }
.drawer-spec-source a { text-decoration: none; }
.drawer-spec-source a:hover { text-decoration: underline; }
.drawer-missing-parameters {
    margin-top: 16px;
    border: 1px solid var(--border-soft);
    border-radius: 9px;
    background: #0b1220;
}
.drawer-missing-parameters > summary {
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 700;
}
.drawer-missing-help { padding: 0 12px 8px; }
.drawer-missing-list { display: grid; gap: 1px; border-top: 1px solid var(--border-soft); }
.drawer-missing-row { padding: 9px 12px; background: rgba(15, 23, 42, 0.35); }
.ai-edit-actions { justify-content: flex-end; flex-wrap: wrap; }

@media (max-width: 640px) {
    .drawer-spec-heading { grid-template-columns: 1fr; gap: 3px; }
    .drawer-spec-value { text-align: left; }
}

.drawer-provisional-identification {
    white-space: pre-wrap;
    padding: .8rem 1rem;
    border: 1px solid var(--border-color, #d9dee7);
    border-radius: .6rem;
    background: var(--surface-muted, #f7f8fa);
    line-height: 1.45;
}


.photo-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.photo-card-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border-soft);
}

.photo-delete-help { margin-top: 12px; }

