
#main{max-width:none;margin:0;padding:0 clamp(10px,2vw,32px) 24px;line-height:1.55}
.hmi-preview{box-sizing:border-box;height:calc(100vh - var(--rack-top));height:calc(100dvh - var(--rack-top));display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:4px;padding:8px 0}
.hmi-preview h1{font-size:clamp(18px,2vw,26px);margin:0}
.hmi-preview p,.hmi-preview figure{margin:0}
.hmi-preview figure{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0}
.hmi-preview figure a{display:block;min-height:0}
.hmi-preview img{display:block;width:100%;height:100%;object-fit:contain}
.hmi-preview figcaption{text-align:center;font-size:12px}
#main>p,#main>h2{max-width:75rem;margin-inline:auto}
