#imageReliefPanel{border:1px solid #3c6775;background:#10263c;border-radius:12px;margin:18px 0;padding:13px 16px;color:#d8edf2}#imageReliefPanel summary{font-weight:700;cursor:pointer;min-height:42px;line-height:1.5}#imageReliefPanel p{font-size:.85rem;color:#bbd2dc;line-height:1.5}#imageReliefPanel .image-relief-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}#imageReliefPanel .image-relief-fields label{font-size:.84rem;color:#d1e9ed;display:flex;flex-direction:column;gap:6px}#imageReliefPanel :is(input,select){min-height:44px;width:100%;background:#0e1e31;color:#eaf8f9;padding:8px;border:1px solid #537d8b;border-radius:8px}#imageReliefPanel #imageReliefPreview{width:100%;max-height:370px;aspect-ratio:2/1;display:block;background:#0b1726;border:1px solid #35596c;border-radius:9px;margin-top:14px}#imageReliefPanel #imageReliefPreview[hidden]{display:none}#imageReliefPanel .image-relief-status{color:#a9eedc;min-height:24px}@media(max-width:510px){#imageReliefPanel .image-relief-fields{grid-template-columns:1fr}}

/* Phase 1A.16 — discoverable Image-to-3D workflow, no custom styling leaks. */
#imageToSketch .image-workflow-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
#imageToSketch .image-workflow-choice button{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;min-height:62px;padding:10px 14px;background:#15283e;color:#d9eaf1;border:1px solid #42667a;border-radius:11px;cursor:pointer;font:inherit;font-weight:700}
#imageToSketch .image-workflow-choice button small{display:block;flex-basis:100%;font-size:.77rem;font-weight:400;color:#b8d1df}
#imageToSketch .image-workflow-choice button.active{background:#14584f;border-color:#68ddc7;color:#fff}
#imageToSketch .image-workflow-choice button:focus-visible{outline:3px solid #8de4d7;outline-offset:2px}
#imageToSketch #imageReliefPanel[hidden],#imageToSketch #imagePasteZone[hidden],#imageToSketch #image2DExports[hidden],#imageToSketch #image2DVectorRepair[hidden]{display:none!important}
#imageToSketch #imageReliefPanel{margin:0;min-width:0}
#imageToSketch #imageReliefPanel .image-relief-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
#imageToSketch #imageReliefPanel h3{font-size:1.05rem;margin:0}
#imageToSketch #imageReliefPanel .image-3d-safety{color:#d3ba92;margin-top:12px}
#imageToSketch #imageReliefPanel .pocket-actions{display:flex;flex-wrap:wrap;gap:8px}
#imageToSketch #imageReliefPanel .pocket-actions button{min-height:44px}
@media(max-width:550px){#imageToSketch .image-workflow-choice{grid-template-columns:1fr}#imageToSketch #imageReliefPanel .image-relief-heading .offline-pill{font-size:.72rem}}

/* Phase 1A.16: source-vs-relief comparison, accessible before generation. */
#imageToSketch .image-3d-compare{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px;margin:14px 0}
#imageToSketch .image-3d-input,#imageToSketch .image-3d-output{min-width:0;border:1px solid #355a6a;border-radius:10px;padding:10px;background:#0b192b}
#imageToSketch .image-3d-compare strong{display:block;margin-bottom:8px;font-size:.88rem}
#imageToSketch .image-3d-input canvas{display:block;width:100%;height:170px;object-fit:contain;background:#f0f0f0;border-radius:7px}
#imageToSketch .image-3d-input p{font-size:.75rem;color:#acc2cf;margin:6px 0 0}
#imageToSketch .image-3d-viewer{min-height:170px;display:flex;align-items:center;justify-content:center;overflow:hidden}
#imageToSketch .image-3d-viewer #imageReliefPreview{margin:0;width:100%;height:180px;aspect-ratio:unset;max-height:none}
#imageToSketch #image3DPlaceholder{font-size:.85rem;text-align:center;padding:15px;color:#c3dbe2}
#imageToSketch #image3DPlaceholder[hidden]{display:none}
@media(max-width:950px){#imageToSketch .image-3d-compare{grid-template-columns:1fr}}
