/* Shared spacing and surfaces for the light and dark workspaces. */
.exam-builder{padding-bottom:24px}
.builder-actions{bottom:14px;margin-top:22px;padding:14px 18px;border:1px solid var(--line);border-radius:10px;background:var(--paper);box-shadow:0 6px 24px #00000012;min-height:64px}
.builder-ready{min-width:0;line-height:1.6;padding-right:12px}
.builder-actions>.button{flex-shrink:0;min-height:34px;border-radius:7px;padding:8px 12px}
.builder-auto-footer{padding:3px 4px}
.builder-group-row{border-radius:10px;padding:15px 16px}
.builder-group-heading{margin-bottom:13px}
.builder-group-heading button{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;line-height:1}
.builder-group-heading button:hover{background:var(--wash);color:var(--ink)}
.builder-presets{gap:12px}
.builder-preset{border-radius:10px}
.dialog-footer{border-radius:0 0 12px 12px;padding:16px 24px}
.editor-footer{padding-left:14px;padding-right:14px;gap:14px;line-height:1.5}
.library-panel>.pager{padding:10px 12px;gap:10px}
.library-panel>.pager button{min-width:30px;min-height:28px;border-radius:6px}
.compile-feedback .compile-error-summary{border-radius:9px;padding:14px 18px}
.library-import-actions .button,.save-changes-actions .button{min-height:34px;border-radius:7px}
@media(max-width:1100px){.builder-actions{padding:12px 14px;gap:8px}.builder-ready{padding-right:4px}}
@media(max-width:850px){.builder-actions{bottom:10px;gap:10px}.builder-ready{flex-basis:100%}.builder-actions>.button{flex:1}.exam-builder{padding-bottom:20px}}
.settings-pdf-dialog{width:min(1100px,92vw);height:90vh;max-height:90vh;padding:0;overflow:hidden;border-radius:12px}.settings-pdf-dialog>header{height:46px;display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-bottom:1px solid var(--border)}.settings-pdf-dialog iframe{border:0;width:100%;height:calc(100% - 46px);display:block}.workbench-settings .vm-latex-editor-host{min-height:260px}.vm-latex-editor-host{position:relative}
.outline-pages{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px;background:var(--surface,#151515);border:1px solid var(--line,#333);border-radius:8px;margin-bottom:8px}.outline-pages button{padding:3px 8px;border-radius:5px}.outline-pages span{font-size:11px;color:var(--muted)}
