#idw [hidden]{display:none!important} .idw-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start} .idw-controls,.idw-preview{min-width:0} .idw-controls label{display:block;margin:12px 0} .idw-controls select,.idw-controls input:not([type=checkbox]),.idw-controls textarea{width:100%;max-width:100%;box-sizing:border-box;min-height:42px} #idw canvas,#idw img,#idw video{display:block;max-width:100%;height:auto;margin:8px auto} #idw .btn{white-space:normal;margin:4px 2px;max-width:100%} #idw p{overflow-wrap:anywhere} .idw-preview{position:sticky;top:8px} .idw-preview canvas,.idw-preview img{max-height:55vh;width:auto} @media(max-width:800px){.idw-layout{display:flex;flex-direction:column} .idw-controls,.idw-preview{width:100%} .idw-preview{order:-1;position:static} .idw-preview canvas,.idw-preview img{max-height:35vh}} @media(max-width:800px){.idw-preview{position:sticky;top:0;z-index:2;background:var(--card,#fff);padding:6px 0;max-height:35vh;box-sizing:border-box} .idw-preview p{font-size:12px;line-height:16px;margin:4px 0} .idw-preview canvas,.idw-preview img,.idw-preview video{max-height:calc(35vh - 85px);width:auto}} #idw-canvas{touch-action:none;cursor:crosshair} #idw-cards{display:flex;flex-wrap:wrap} #idw-cards button[aria-pressed=true]{background:#215c84;color:white}