/* ========================================
   VARIÁVEIS CSS - Tema escuro profissional
   ======================================== */
  :root {
    --bg: #232628;
    --panel: #1f2223;
    --accent: #e0482f;
    --accent-2: #ff7a3c;
    --card: #2b2e2f;
    --muted: #cbd5e1;
    --light: #f5f6f7;

    --input-bg: #e8f0fe;
    --input-text: #111111;
    --input-border: rgba(0, 0, 0, 0.1);
    --input-focus-border: var(--accent-2);
    --input-focus-shadow: rgba(255, 122, 60, 0.3);
    --input-disabled-bg: #cccccc;
  }

  #conicoRefGroup.invalid {
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 6px;
  }
  #conicoRefError {
    color: var(--accent);
  }
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html,
  body {
    height: 100%;
    font-family: "Roboto", Arial, sans-serif;
    background: var(--bg);
    color: var(--light);
  }
  .muted {
    color: var(--muted);
    font-size: 12px;
  }
  

  /* Preserve the page position while a modal or drawer is in use. */
  html:has(:is(dialog[open], .dxf-modal-backdrop:not([hidden]), .planify-export-preview, .quote-history-backdrop:not([hidden]), .profile-drawer-backdrop:not([hidden]), body.planify-3d-open)) {
    overflow: hidden;
    overscroll-behavior: none;
    scrollbar-gutter: stable;
  }
