/* Screen-only missing bell surfaces. No image, QR, print, auth or layout changes.
   Authored separately from deferred PR #463. Uses the existing tonal palette. */
@media screen {
  /* 1. Stock/comment attachment editor and preview controls. */
  html[data-oreumup-theme="dark"] body #postDetailModal :is(
    .board-photo-manage,.board-photo-composer,.board-photo-controls,
    .board-photo-status,.board-photo-compose-grid,.board-photo-compose-item,
    .stock-reply-compose,.detail-reply .board-photo-gallery
  ) {
    background-color:var(--fu-card,#20332a)!important;
    color:var(--fu-ink,#fff)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  html[data-oreumup-theme="dark"] body #postDetailModal :is(
    .board-photo-add,.board-photo-save,.board-photo-retry button,
    .board-photo-composer button:not(.quick-submit)
  ):not(:disabled) {
    background-color:var(--fu-select,#1c392a)!important;
    color:var(--fu-ink,#fff)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  html[data-oreumup-theme="dark"] body #postDetailModal :is(
    .board-photo-add,.board-photo-save,.board-photo-retry button
  ):is(:hover,:focus-visible) {
    background-color:var(--fu-hover,#2a4035)!important;
  }
  html[data-oreumup-theme="dark"] body #postDetailModal .board-photo-status {
    color:var(--fu-muted,#d8e4db)!important;
  }
  /* 2. The exact photo counter on stock-list rows comes from authorized image metadata. */
  html[data-oreumup-theme="dark"] body :is(#stockList,#inventoryBoardList)
    .board-stock-list-photo-count,
  html[data-oreumup-theme="dark"] body #recentStockRows .board-stock-list-photo-count {
    background-color:var(--fu-select,#1c392a)!important;
    color:var(--fu-green,#76dcac)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  /* 3. Quote: editor only. Printable paper, business cards and previews keep their colors. */
  html[data-oreumup-theme="dark"] body #homeQuickModal :is(
    .home-qt-head,.home-qt-body,.hqt-quote-connect,.hqt-quote-connected,
    .hqt-quote-output-options,.hqt-quote-wrap,.hqt-quote-customer,
    .hqt-customer-card,.hqt-customer-entry,.hqt-customer-list,
    .hqt-card-tools,.hqt-seller-tip,.hqt-note,.hqt-warn,
    .hqt-form,.hqt-quote-table th,.hqt-quote-table td
  ) {
    background-color:var(--fu-card,#20332a)!important;
    color:var(--fu-ink,#fff)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  html[data-oreumup-theme="dark"] body #homeQuickModal :is(
    .hqt-field>span,.hqt-quote-connect strong,.hqt-quote-connected strong,
    .hqt-customer-card strong,.hqt-quote-table th
  ) { color:var(--fu-ink,#fff)!important; }
  html[data-oreumup-theme="dark"] body #homeQuickModal :is(
    .hqt-seller-tip,.hqt-status,.hqt-note,.hqt-quote-connect small,
    .hqt-quote-connected small
  ) { color:var(--fu-muted,#d8e4db)!important; }
  html[data-oreumup-theme="dark"] body #homeQuickModal
    :is(.hqt-secondary,.hqt-card-tools button:not(.primary)):not(:disabled) {
    background-color:var(--fu-card,#20332a)!important;
    color:var(--fu-ink,#fff)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  /* 4. My Collection. Existing buttons' disabled and active behavior is untouched. */
  html[data-oreumup-theme="dark"] body #plusModal :is(
    .modal-head,.plus-card,.plus-scroll,.plus-create,.plus-empty,
    .plus-folder-list,.plus-folder,.plus-library,.plus-library-head,
    .plus-lib-item,.plus-custom,.plus-custom-row
  ) {
    background-color:var(--fu-card,#20332a)!important;
    color:var(--fu-ink,#fff)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  html[data-oreumup-theme="dark"] body #plusModal :is(
    .plus-folder-list:empty,.plus-empty,.plus-permission-note,
    .plus-lib-copy small,.plus-library-head small
  ) { color:var(--fu-muted,#d8e4db)!important; }
  html[data-oreumup-theme="dark"] body #plusModal :is(
    .plus-create button,.plus-custom button,.plus-lib-item button,
    .plus-folder button
  ):disabled {
    background-color:var(--fu-hover,#2a4035)!important;
    color:var(--fu-muted,#d8e4db)!important;
  }
  /* 5. Shortcut 1 and 2 header and recommendation controls. */
  html[data-oreumup-theme="dark"] body #shortcutModal :is(
    .shortcut-dialog,.shortcut-head,.shortcut-section,.shortcut-examples,
    .shortcut-example,.shortcut-internal,.shortcut-field
  ) {
    background-color:var(--fu-card,#20332a)!important;
    color:var(--fu-ink,#fff)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  html[data-oreumup-theme="dark"] body #shortcutModal :is(
    .shortcut-close,.shortcut-section-label,.shortcut-head h3
  ) {
    background-color:var(--fu-card,#20332a)!important;
    color:var(--fu-ink,#fff)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  html[data-oreumup-theme="dark"] body #shortcutModal
    .shortcut-example:is(:hover,:focus-visible) {
    background-color:var(--fu-hover,#2a4035)!important;
  }
  /* 7. Dedicated Special Tools shell, using the SAME saved device tone.
     Does not target the separate ChatGPT website or printable quote templates. */
  html[data-oreumup-dark-page="special"][data-oreumup-theme="dark"],
  html[data-oreumup-dark-page="special"][data-oreumup-theme="dark"] body {
    background:var(--fu-page,#192820)!important;
    color:var(--fu-ink,#fff)!important;
  }
  html[data-oreumup-dark-page="special"][data-oreumup-theme="dark"] body :is(
    .top,.hero,.privacy,.mobile-notice,.tool,.quick-section,.quick-dialog,
    .quick-btn,.quote-connect,.quick-free,.chip,.membertag,.status,
    .calc-tabs,.calc-tab,.quick-field input,.quick-field textarea,
    .quick-field select,.store-demo-tip
  ) {
    background:var(--fu-card,#20332a)!important;
    color:var(--fu-ink,#fff)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  html[data-oreumup-dark-page="special"][data-oreumup-theme="dark"] body :is(
    .brand h1,.hero h2,.hero h2 em,.hero p,.sectionhead h3,
    .tool h4,.tool .desc,.tool .copy,.quick-head h3,
    .quick-modal-head h3,.quick-field>span,.quick-btn strong
  ) { color:var(--fu-ink,#fff)!important; }
  html[data-oreumup-dark-page="special"][data-oreumup-theme="dark"] body :is(
    .brand p,.crumb,.privacy,.sectionhead p,.quick-head p,
    .quick-btn small,.tool .desc,.quick-modal-head p,.footnote
  ) { color:var(--fu-muted,#d8e4db)!important; }
  html[data-oreumup-dark-page="special"][data-oreumup-theme="dark"] body :is(
    .back,.closex,.quick-close,.calc-tab:not(.active)
  ) {
    background-color:var(--fu-card,#20332a)!important;
    color:var(--fu-ink,#fff)!important;
    border-color:var(--fu-border,#496457)!important;
  }
  html[data-oreumup-dark-page="special"][data-oreumup-theme="dark"] body
    :is(.tool,.quick-btn):is(:hover,:focus-within) {
    background-color:var(--fu-hover,#2a4035)!important;
    border-color:var(--fu-green,#76dcac)!important;
  }
  html[data-oreumup-dark-page="special"][data-oreumup-theme="dark"] body
    :is(.quick-field input,.quick-field textarea)::placeholder {
    color:var(--fu-muted,#d8e4db)!important;
  }
}
