#preview { background:#bdb39e; border-radius:6px; padding:clamp(8px,2vw,20px); min-height:120px; }
#preview svg { display:block; width:100%; max-height:320px; height:auto; }
.actions { display:flex; flex-wrap:wrap; gap:.55rem; }

#print-sheet { display:none; }
@media print {
    html,body { padding:0!important; margin:0!important; background:white!important; }
    body > :not(#print-sheet) { display:none!important; }
    #print-sheet { display:block!important; text-align:center; }
    #print-sheet svg { display:block; margin:0 auto; max-width:none; max-height:none; }
}
@media(max-width:680px){.workspace>.preview{grid-row:1;}}

:root[data-theme="light"] #preview { background:#ede2cd; }
#info { color:var(--text-2); }
/* 밝은 테마: 공용 입력 칸의 어두운 바탕(#0f0f13)이 밝은 테마에서도 남아 글자가 안 보이던 것, 강조색 단추 위 글자 */
:root[data-theme="light"] :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),select,textarea){background:#fff;color:var(--text)}
:root[data-theme="light"] button.primary{color:#fff}
