/* MLV V20 · Post-Seal C10 R14 R10 · Exact 11-Observation Visual Closure
   Fresh post-R14-R9 production re-audit only.
   Presentation/geometry ownership only. No diagnostic score/status suppression,
   no hidden warnings, no booking/payment/commission/payout/refund/MLV Credit logic,
   no Hotel pricing logic and no Legal/PDF behavior.
   Home LCP/FCP media, preload, fetch priority and performance thresholds are untouched.
*/

/* 1 · System & Updates · Emerald Concierge · Light
   The remaining generic span is the circular status icon. Its legacy semantic
   foreground sat on a pale mixed surface. Give the icon an explicit accessible
   surface/foreground pair; keep the installed-version inverse tile and ordinary
   light-surface labels explicit as well. */
html[data-app-theme="emerald-concierge"][data-theme="light"] body.system-updates-page .admin-main.system-updates-main .system-status-icon{
  background:#173027!important;
  background-color:#173027!important;
  border-color:#315d4c!important;
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.system-updates-page .admin-main.system-updates-main .system-status-card.is-bad .system-status-icon{
  background:#6f3028!important;
  background-color:#6f3028!important;
  border-color:#6f3028!important;
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.system-updates-page .admin-main.system-updates-main :is(.system-form label>span,.system-hero-badge>span,.system-check-card>span,.system-section-title>span,.system-step,.system-file-mark,.backup-type){
  color:#2b1b05!important;
  -webkit-text-fill-color:#2b1b05!important;
  opacity:1!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.system-updates-page .admin-main.system-updates-main .system-installed-version{
  background:#173027!important;
  background-color:#173027!important;
  border-color:#315d4c!important;
  color:#fffdf8!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.system-updates-page .admin-main.system-updates-main .system-installed-version :is(span,small,strong){
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.system-updates-page .admin-main.system-updates-main :is(button,a.button,a.system-primary-action,.button-gold,.button-dark,.button-danger,[role="button"]) :is(span,small,strong,b,em){
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
}

/* 2 · Branding + 11 · External Itinerary Editor · Emerald Concierge · Light
   The fresh clipping rows are native file inputs. Their UA overflow resolves to
   hidden/clip even when the surrounding grid is healthy. Keep the controls inside
   their columns, allow their native content box to remain visible/reachable and
   remove the diagnostic clipping condition without hiding or deleting any field. */
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page .admin-main.branding-admin :is(.branding-editor,.branding-section,.package-editor,.logo-upload-grid,.hero-editor-grid,.editor-grid,.homepage-copy-grid) > *,
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page.studio-page .admin-main :is(form,.editor-grid,.page-card,.external-page-card,.package-editor) > *{
  min-width:0!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page .admin-main.branding-admin input[type="file"],
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page.studio-page .admin-main input[type="file"]{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
}
/* Ordinary one-line text controls remain horizontally reachable, not clipped. */
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page .admin-main.branding-admin input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="color"]),
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page.studio-page .admin-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="color"]){
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}

/* 3–7 · Diagnostics · Emerald Concierge · Light
   The five fresh contrast rows all belong to the light Diagnostics workspace:
   warning severity pill plus ordinary strong/small/p/summary copy. Use one dark
   readable copy owner for the workspace, then restore semantic inverse badges. */
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page .admin-main.health-center :is(strong,small,p,summary){
  color:#2b1b05!important;
  -webkit-text-fill-color:#2b1b05!important;
  opacity:1!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page .admin-main.health-center p.eyebrow{
  color:#5a3a0a!important;
  -webkit-text-fill-color:#5a3a0a!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page .admin-main.health-center .health-severity.severity-warning{
  background:#6b4708!important;
  background-color:#6b4708!important;
  border-color:#6b4708!important;
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page .admin-main.health-center :is(.health-severity.severity-critical,.health-severity.severity-error,.diag-v1611-release-badge){
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page .admin-main.health-center .diag-v1611-release-badge{
  background:#173027!important;
  background-color:#173027!important;
  border-color:#315d4c!important;
}
html[data-app-theme="emerald-concierge"][data-theme="light"] body.admin-page .admin-main.health-center :is(button,a.button,[role="button"]) :is(strong,small,span,b,em){
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}

/* 8–10 · Public Home · Current MLV · Light
   The remaining generic small/span/eyebrow rows are surface ownership conflicts.
   Keep ordinary light-page copy dark, then explicitly restore the two real dark
   surfaces: Hero and Booking intro. Photo cards/buttons retain their own owners. */
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) main :is(.journey-platform,.category-section>.section-heading,.experience-section>.section-heading,.home-hotels-section>.section-heading,.featured-reviews>.section-heading,.home-hotel-body,.booking-form,.homepage-about,.homepage-proof,.review-grid) :is(small,span),
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) main :is(.journey-platform,.category-section>.section-heading,.experience-section>.section-heading,.home-hotels-section>.section-heading,.featured-reviews>.section-heading,.home-hotel-body,.booking-form,.homepage-about,.homepage-proof) p.eyebrow{
  color:#493109!important;
  -webkit-text-fill-color:#493109!important;
  opacity:1!important;
}
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) .hero-v4 .hero-copy>p.eyebrow,
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) .booking-intro>p.eyebrow{
  color:#f2d99e!important;
  -webkit-text-fill-color:#f2d99e!important;
  opacity:1!important;
}
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) .hero-v4 .hero-copy :is(.text-link>span,.trust-row>span),
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) .booking-intro :is(.progress-list li:not(.active):not(.complete)>span,.progress-list small,.support-card small){
  color:#e2d9cc!important;
  -webkit-text-fill-color:#e2d9cc!important;
  opacity:1!important;
}
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) .booking-intro .progress-list :is(li.active,li.complete)>span{
  background:#c5a15a!important;
  background-color:#c5a15a!important;
  border-color:#c5a15a!important;
  color:#17140f!important;
  -webkit-text-fill-color:#17140f!important;
  opacity:1!important;
}
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) .site-header .brand :is(span,small),
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) .site-header .client-account-link span{
  color:#493126!important;
  -webkit-text-fill-color:#493126!important;
  opacity:1!important;
}
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) .site-header .theme-toggle>small[data-theme-label]{
  background:#17140f!important;
  background-color:#17140f!important;
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
}
/* Preserve image/inverse controls after ordinary light-copy ownership. */
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) :is(.category-card,.button-dark,.button-gold,.header-cta) :is(small,span,strong,em){
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
}
html[data-app-theme="current-mlv"][data-theme="light"] body:not(.admin-page):not(.account-page) .category-card>span :is(small,strong,em){
  color:#fffdf8!important;
  -webkit-text-fill-color:#fffdf8!important;
  opacity:1!important;
}
