/* Final text palette: dark body copy, red quantities and actionable statuses. */
:root{--ink:#111;--muted:#111;--readable-red:#b00020}
body{color:#111}
body :is(#app,#modal-root,.root-nav,.mobile-page-head,#toast),
body :is(#app,#modal-root,.root-nav,.mobile-page-head,#toast) *{color:#111!important}
body :is(#app,#modal-root) :is(input,textarea)::placeholder{color:#555!important;opacity:1}
body :is(#app,#modal-root) :is(input,select,textarea){caret-color:#111}
/* A pale surface keeps black type readable on formerly dark blue/red cards. */
body :is(#app,#modal-root) :is(.btn,.detail-primary,.delivery-arrival,.direction-selected button){background:#f2f2f2!important;border-color:#777!important;font-weight:600}
body :is(#app,#modal-root) :is(.btn,.detail-primary,.delivery-arrival,.direction-selected button):hover{background:#e8e8e8!important}
body :is(#app,#modal-root) .wallet-card{background:#fff!important;border:1px solid #dce2e6!important}
body :is(#app,#modal-root) .wallet-caption{opacity:1}
body :is(#app,#modal-root) .wallet-actions button{background:#fff!important;border-color:#8c8c8c!important}
body :is(#app,#modal-root) .gift-face{background:#fafafa!important;border:1px solid #dce2e6!important}
body :is(#app,#modal-root) :is(.product-ops .btn.red,.gift-entry){background:#f2f2f2!important}
body #toast{background:#fff!important;border:1px solid #777!important;box-shadow:0 4px 20px #0002}
/* Do not fade instructions or disabled labels into the page background. */
body :is(#app,#modal-root) :is(.af-note,.gift-note,.demo,.modal-note,.detail-footnote,.fix-form-note,.direction-footnote){opacity:1}
body :is(#app,#modal-root) :disabled{opacity:1!important;color:#555!important;background-color:#e8e8e8!important;cursor:not-allowed}
body :is(#app,#modal-root,.root-nav,.mobile-page-head) :is(
  [data-readable-number],.fix-number,.wallet-number,.product-price strong,
  .gift-face-value,.gift-face-value strong,.fix-withdraw-label,
  .receipt-quantities strong,.receipt-balance-table td b,
  .direction-overview b,.direction-node b,.af-summary b,.af-tag-overview b,.gift-stats b,.gift-stats strong,
  input[type="number"],input[inputmode="decimal"]
){color:var(--readable-red)!important;font-weight:600;font-variant-numeric:tabular-nums}
body :is(#app,#modal-root,.root-nav,.mobile-page-head) :is(
  [data-readable-important],.fix-error,.gift-inline-error,.af-error,.delivery-flow-error,[role="alert"],
  .gift-status[data-status="requested"],.gift-status[data-status="expired"],.gift-status[data-status="void"]
){color:var(--readable-red)!important;font-weight:600}
body :is(#app,#modal-root) :is(input[type="checkbox"],input[type="radio"]){accent-color:#333}
body :is(#app,#modal-root) .gift-time-progress{accent-color:var(--readable-red)}
body :is(#app,#modal-root) .gift-time-progress::-webkit-progress-value{background:var(--readable-red)}
body :is(#app,#modal-root) .gift-time-progress::-moz-progress-bar{background:var(--readable-red)}
body :is(#app,#modal-root,.root-nav) :is(button,a,input,select,textarea):focus-visible{outline-color:#111!important}
