/* Page setup dialog — a modal, not a docked panel, because it is opened occasionally and would otherwise compete with the inspector for the left rail. */ .a4-page-setup-overlay { position: fixed; inset: 0; background: var(--backdrop); display: flex; align-items: center; justify-content: center; z-index: 1100; } .a4-page-setup { background: var(--surface); border-radius: 8px; width: 340px; max-height: 85vh; display: flex; flex-direction: column; box-shadow: var(--shadow-overlay); } .a4-page-setup-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border); } .a4-page-setup-header h2 { margin: 0; font-size: var(--fs-lg); color: var(--text); } .a4-page-setup-close { border: none; background: none; font-size: var(--fs-2xl); line-height: 1; color: var(--text-muted); cursor: pointer; } .a4-page-setup-close:hover { color: var(--text); } .a4-page-setup-body { padding: var(--space-2) var(--space-5) var(--space-5); overflow-y: auto; } .a4-page-setup-dims, .a4-page-setup-hint { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-1-5); line-height: 1.4; } .a4-page-setup-dims { color: var(--accent); }