/* AtticusBeta v6.9.25
   Final modal + code-copy icon readability pass.
   Visual only: no layout or behavior changes. */

/* Code-block copy control: icon must be exactly as light/readable as the Copy label. */
body .app .stage .code-card .code-copy-button,
body .app .stage :is(.message,.response-content,.focus-response,.thread-messages) .code-card .code-copy-button {
  color: #F4E8D4 !important;
  -webkit-text-fill-color: #F4E8D4 !important;
}
body .app .stage .code-card .code-copy-button svg,
body .app .stage .code-card .code-copy-button svg *,
body .app .stage :is(.message,.response-content,.focus-response,.thread-messages) .code-card .code-copy-button svg,
body .app .stage :is(.message,.response-content,.focus-response,.thread-messages) .code-card .code-copy-button svg * {
  color: #F4E8D4 !important;
  stroke: #F4E8D4 !important;
  opacity: 1 !important;
}

/* All standard dark modals: never allow dark copy on the dark panel. */
body .modal .modal-panel,
body .app .modal .modal-panel {
  color: #F4E8D4 !important;
}
body .modal .modal-panel :is(.modal-title,h1,h2,h3,h4,h5,h6),
body .app .modal .modal-panel :is(.modal-title,h1,h2,h3,h4,h5,h6) {
  color: #FFF8ED !important;
  -webkit-text-fill-color: #FFF8ED !important;
  opacity: 1 !important;
}
body .modal .modal-panel :is(.modal-copy,.modal-body p,.modal-body small,.modal-body strong,.modal-body em,.modal-list li),
body .app .modal .modal-panel :is(.modal-copy,.modal-body p,.modal-body small,.modal-body strong,.modal-body em,.modal-list li) {
  color: #E8DDCB !important;
  -webkit-text-fill-color: #E8DDCB !important;
  opacity: 1 !important;
}
body .modal .modal-panel .modal-list li::before,
body .app .modal .modal-panel .modal-list li::before {
  color: #D47B47 !important;
  -webkit-text-fill-color: #D47B47 !important;
  opacity: 1 !important;
}

/* Neutral modal action on the dark modal stays light-on-dark. */
body .modal .modal-panel .modal-btn:not(.primary):not(.danger),
body .app .modal .modal-panel .modal-btn:not(.primary):not(.danger) {
  color: #F4E8D4 !important;
  -webkit-text-fill-color: #F4E8D4 !important;
  border-color: rgba(244,232,212,.26) !important;
}
