.hero-plan-preview { max-width: min(42rem, calc(100% - 1.5rem)); width: 42rem; max-height: calc(100% - 1.5rem); padding: clamp(1rem, 4vw, 1.65rem); border: 1px solid #d7e1df; border-radius: 1.15rem; color: #182638; background: white; }
.hero-plan-preview::backdrop { background: #18263899; }
.hero-plan-preview h2, .hero-plan-preview p { margin: 0 0 .65rem; }
.hero-file-name { overflow-wrap: anywhere; font-weight: 650; }
.hero-file-preview { min-height: 5rem; max-height: 53vh; overflow: auto; display: grid; justify-items: center; align-items: center; background: #f0f3f5; border-radius: .6rem; margin-bottom: 1rem; }
.hero-file-preview img, .hero-file-preview canvas { display: block; max-width: 100%; max-height: 53vh; object-fit: contain; }
.hero-file-preview p { padding: .75rem; text-align: center; margin: 0; }
.hero-preview-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-preview-actions button { min-height: 44px; border-radius: .65rem; padding: .55rem .95rem; font: 650 .95rem system-ui; cursor: pointer; }
#hero-file-continue { background: #214b36; border: 1px solid #214b36; color: white; }
#hero-file-cancel { background: white; border: 1px solid #b8c9c0; color: #214b36; }
.hero-preview-actions button:focus-visible { outline: 3px solid #8b6735; outline-offset: 2px; }
