/* Shared action shape. Playback controls, markers and status chips keep their own geometry. */
:root{--button-radius:8px}
body :is(.button,.study-button,.back-link,.appearance-toggle,.beta-feedback-link,.feedback-reaction,.feedback-shot-steppers button,.study-theme-options button,.tour-visual button),
body :is(.ve-toolbar,.ve-panel,.ve-launcher) button,
body input[type=file]::file-selector-button{
 border-radius:var(--button-radius)!important;
}
/* Back navigation uses .button.small; only placement belongs to the page. */
.editor-workspace .editor-back-link{margin-bottom:14px}

/* Keep small desktop actions comfortably tappable on phones and touch screens. */
@media(max-width:600px),(pointer:coarse){
 body :is(a.button,button.button,.appearance-toggle,.study-button){min-height:44px!important;box-sizing:border-box}
 body input[type=file]::file-selector-button{min-height:44px}
}
