/* Phase 6D: additive, theme-compatible scientific comparisons. */
.p6d-form {display:flex;gap:1rem;align-items:end;flex-wrap:wrap;padding:1.2rem;margin:1rem 0}
.p6d-form label {display:flex;flex:1 1 210px;flex-direction:column;gap:.4rem;min-width:0}
.p6d-form select,.p6d-form input {width:100%;min-width:0}
.p6d-note {font-size:.92rem;line-height:1.65;color:var(--muted,var(--text-secondary,#586576))}
.p6d-gallery,.p6d-views {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.3rem 0}
.p6d-gallery img {display:block;width:100%;height:auto;max-height:450px;object-fit:contain;border:1px solid var(--line,#ced6de);background:white;border-radius:8px}
.p6d-dl {display:grid;grid-template-columns:minmax(120px,200px) 1fr;gap:.8rem 1rem}
.p6d-dl dt {font-weight:650;color:var(--muted,var(--text-secondary,#586576))}
.p6d-dl dd {margin:0;min-width:0;overflow-wrap:anywhere}
.p6d-hash {font:0.85rem ui-monospace,monospace;overflow-wrap:anywhere}
.p6d-viewer {position:relative;width:100%;min-height:310px;height:350px;background:var(--viewer-bg,#f5f7f9);border-radius:12px;margin:.8rem 0;border:1px solid var(--line,#ced6de)}
.p6d-viewer-status {color:var(--muted,var(--text-secondary,#586576));font-size:.85rem;line-height:1.5}
.p6d-pre {white-space:pre-wrap;overflow-wrap:anywhere;font-size:.75rem}
@media(max-width:800px){.p6d-gallery,.p6d-views{grid-template-columns:1fr}.p6d-dl{grid-template-columns:1fr}.p6d-viewer{height:310px}}
