/* BRODLIN TOOL WIDTH: one width for every tool open screen (Denis, 13.11.2026).
   Computer: content 1120px (like Text Grabber), centred. Phone: full width minus 16px on each side.
   Change the numbers ONLY here. Crop editor (after a file is open) is not affected: it stays 100%. */
:root { --brodlin-tool-width: 1120px; --brodlin-tool-gutter: 16px; }

/* outer box of each tool: content width + the same side fields */
html body :is(#brodlin-convert-root, #brodlin-crop[data-design-step="1"], #brodlin-merge, #brodlin-compress, .wrap:has(> .blocks-grid .brodlin-ai-text)) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: calc(var(--brodlin-tool-width) + 2 * var(--brodlin-tool-gutter)) !important;
  margin-inline: auto !important;
  padding-inline: var(--brodlin-tool-gutter) !important;
}
/* inner boxes take the full content width (no extra side fields). PDF Editor: only its open screen block, never the editor shell (editors stay 100%) */
html body :is(#brodlin-convert-convert-view, #brodlin-convert-catalog-view, .brodlin-pdf-editor-entry) {
  max-width: none !important;
  width: auto !important;
  margin-inline: 0 !important;
}
