/* MLV V20 · Post-Seal C11 R11
   Fresh runtime visual closure from the 2026-08-31 11:31+ live observatory batch.
   Presentation only. No diagnostics suppression, booking/payment/commission mutation,
   payout/refund/MLV Credit behavior, schema change, or SEO ownership change. */

/* --------------------------------------------------------------------------
   1) ADMIN · MIDNIGHT-ROYAL LIGHT
   The live recorder proved the historical #a87624 / #fffdf8 family at 3.91:1,
   plus #766b5d / #f5ead8 at 4.38:1. R11 owns those exact semantic families with
   accessible darker equivalents while preserving the existing gold visual intent.
   -------------------------------------------------------------------------- */
html[data-app-theme="midnight-royal"][data-theme="light"] body.admin-page{
  --r11-admin-gold:#8a5a1b;
  --r11-admin-gold-deep:#754b14;
  --r11-admin-muted:#6f6457;
}
html[data-app-theme="midnight-royal"][data-theme="light"] body.admin-page
:is(.mlv-notification-badge,.button.button-gold,a.button.button-gold,button.button.button-gold,.system-primary-action){
  background:#8a5a1b!important;
  background-color:#8a5a1b!important;
  border-color:#8a5a1b!important;
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-app-theme="midnight-royal"][data-theme="light"] body.admin-page
:is(.mlv-notification-badge,.button.button-gold,a.button.button-gold,button.button.button-gold,.system-primary-action)
:is(span,strong,small,b,em,i){
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-app-theme="midnight-royal"][data-theme="light"] body.admin-page
.admin-main :is(p.eyebrow,summary){
  color:#80500f!important;
  -webkit-text-fill-color:#80500f!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-app-theme="midnight-royal"][data-theme="light"] body.admin-page
.admin-main small{
  color:#6f6457!important;
  -webkit-text-fill-color:#6f6457!important;
  opacity:1!important;
  text-shadow:none!important;
}
/* Re-assert inverse descendants after the general small-text correction. */
html[data-app-theme="midnight-royal"][data-theme="light"] body.admin-page
.admin-main :is(.mlv-notification-badge,.button.button-gold,a.button.button-gold,button.button.button-gold,.system-primary-action,.button-dark,.button-danger)
:is(span,strong,small,b,em,i){
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
}
/* Legal Studio's current disabled/neutral row-link evidence used a gray canvas. */
html[data-app-theme="midnight-royal"][data-theme="light"] body.admin-page
.admin-main button.row-link{
  color:#5f420f!important;
  -webkit-text-fill-color:#5f420f!important;
  opacity:1!important;
  text-shadow:none!important;
}

/* --------------------------------------------------------------------------
   2) PUBLIC DOCUMENT VERIFICATION · OBSIDIAN/AUTO
   R10's body-class selector did not own the actually rendered live surface.
   R11 scopes by the verification action/footer DOM itself, so the route can keep
   its current body class and AUTO mode without another theme painter winning.
   -------------------------------------------------------------------------- */
html[data-app-theme="obsidian-glass"] body:has(.verify-actions){
  color:#1d1914!important;
}
html[data-app-theme="obsidian-glass"] body:has(.verify-actions) .verify-actions{
  background:#454139!important;
  background-color:#454139!important;
  border-color:#675f54!important;
  color:#fffdf8!important;
}
html[data-app-theme="obsidian-glass"] body:has(.verify-actions) .verify-actions
:is(span,strong,small,b,em){
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-app-theme="obsidian-glass"] body:has(.verify-actions)
:is(a.button.button-gold,button.button.button-gold,.button-gold){
  background:#8a5a1b!important;
  background-color:#8a5a1b!important;
  border-color:#8a5a1b!important;
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
}
html[data-app-theme="obsidian-glass"] body:has(.verify-actions)
:is(a.button.button-gold,button.button.button-gold,.button-gold) :is(span,strong,small,b,em){
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
}
html[data-app-theme="obsidian-glass"] body:has(.verify-actions)
:is(a.button.button-dark,button.button.button-dark,.button-dark){
  background:#211e1a!important;
  background-color:#211e1a!important;
  border-color:#5b5348!important;
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
}
html[data-app-theme="obsidian-glass"] body:has(.verify-actions)
:is(a.button.button-dark,button.button.button-dark,.button-dark) :is(span,strong,small,b,em){
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
}
html[data-app-theme="obsidian-glass"] body:has(.verify-actions) .verify-footer-note{
  color:#d8cdbf!important;
  -webkit-text-fill-color:#d8cdbf!important;
  opacity:1!important;
  text-shadow:none!important;
}
