:root { color-scheme: light dark; font-family: system-ui, sans-serif; }
body { margin: 0 auto; max-width: 60rem; padding: 1rem; }
header { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
h1 { font-size: 1.25rem; margin: 0 1rem 0 0; }
.spacer { flex: 1; }
button, input { font: inherit; padding: .4rem .8rem; }
nav button[aria-pressed="true"] { font-weight: 600; border-bottom: 3px solid Highlight; }
dialog { width: min(32rem, 90vw); }
label { display: block; margin-bottom: .75rem; }
label input { display: block; width: 100%; box-sizing: border-box; margin-top: .25rem; }
menu { display: flex; justify-content: flex-end; gap: .5rem; padding: 0; }
nav { display: flex; flex-wrap: wrap; gap: .25rem; }
button { min-height: 2.75rem; }
#outputs-grid, .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); gap: 1rem; }
figure { margin: 0; min-width: 0; }
figure img, figure video, .live { max-width: 100%; width: 100%; height: auto; }
figcaption { overflow-wrap: anywhere; }
textarea, select, input[type="file"] { display: block; width: 100%; box-sizing: border-box; margin-top: .25rem; font: inherit; padding: .4rem; }
label.check input { display: inline; width: auto; }
details { margin-bottom: .75rem; }
summary { padding: .6rem 0; cursor: pointer; }
progress { width: 100%; }
.job-status, .prompt-used { white-space: pre-wrap; overflow-wrap: anywhere; }
.past { display: block; width: 100%; text-align: left; margin-bottom: .25rem; overflow-wrap: anywhere; }
#outputs-status { white-space: pre-wrap; }
#vast-list { list-style: none; padding: 0; }
#vast-list li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid GrayText; }
#vast-list li span { flex: 1; min-width: 16rem; white-space: pre-wrap; }
#status, #test-result, #vast-status { white-space: pre-wrap; min-height: 1.2em; }
