/* STICKS ERP contrast audit SAFE v1. Presentation only; preserve semantic status colors. */
:root { --sticks-surface:#1c1c20; --sticks-raised:#29292f; --sticks-text:#f3f4f6; --sticks-secondary:#c5c9d1; --sticks-border:#484a53; }
body .view .card :is(.quick-settlement-facts,.quick-settlement-preview,.contract-persist-safe-v32,.contract-memo-safe-v32),
body .view :is(.enrollment-group-safe-v27,.enrollment-history-safe-v28) :is(.item,section),
body .view :is(.enrollment-group-safe-v27,.enrollment-history-safe-v28) [style*="background: rgb(255"],
body .view :is(.enrollment-group-safe-v27,.enrollment-history-safe-v28) [style*="background:#fff"],
body .view :is(.enrollment-group-safe-v27,.enrollment-history-safe-v28) [style*="background: #fff"] {
  background:var(--sticks-raised)!important;color:var(--sticks-text)!important;border-color:var(--sticks-border)!important;
}
body .view :is(.enrollment-group-safe-v27,.enrollment-history-safe-v28) :is(.item,section) :is(span,small,p,div,b,strong) {color:inherit}
body .view :is(.enrollment-group-safe-v27,.enrollment-history-safe-v28) :is(.muted,.meta,small) {color:var(--sticks-secondary)!important}
#enrollmentEditOverlaySafeV27 .enrollment-edit-sheet-safe-v27 {
 background:var(--sticks-surface)!important;color:var(--sticks-text)!important;
}
#enrollmentEditOverlaySafeV27 .enrollment-edit-sheet-safe-v27 :is(h1,h2,h3,h4,b,strong,span,p,div) {color:inherit}
#enrollmentEditOverlaySafeV27 .enrollment-edit-sheet-safe-v27 :is(label,.muted,.eyebrow,small) {color:var(--sticks-secondary)!important}
#enrollmentEditOverlaySafeV27 .enrollment-edit-sheet-safe-v27 :is(input,select,textarea) {background:var(--sticks-raised)!important;color:var(--sticks-text)!important;border-color:var(--sticks-border)!important;opacity:1}
#enrollmentEditOverlaySafeV27 .enrollment-edit-sheet-safe-v27 :is(input,textarea)::placeholder {color:#aeb5c0}
body .view :is(.service-guide,.service-instructions,.service-help,.service-summary,.service-info) {background:var(--sticks-raised)!important;color:var(--sticks-text)!important;border-color:var(--sticks-border)!important}
body .view :is(.service-guide,.service-instructions,.service-help,.service-summary,.service-info) :is(p,span,small,b,strong,li) {color:inherit}
/* Generic pale inline panels inside cards, excluding controls and semantic badges. */
body .view .card :is(div,section,article)[style*="background: rgb(255, 255, 255)"],
body .view .card :is(div,section,article)[style*="background-color: rgb(255, 255, 255)"],
body .view .card :is(div,section,article)[style*="background:#fff"],
body .view .card :is(div,section,article)[style*="background: #fff"] {background:var(--sticks-raised)!important;color:var(--sticks-text)!important;border-color:var(--sticks-border)!important}
body .view .card :is(div,section,article)[style*="background: rgb(255, 255, 255)"] :is(span,p,b,strong,small),
body .view .card :is(div,section,article)[style*="background:#fff"] :is(span,p,b,strong,small) {color:inherit}

/* v2: actual dynamically rendered classes verified in app/app.js */
#view-detail .registration-contract-safe-v28,
#view-detail .registration-empty-safe-v28,
#view-detail .service-calendar-guide-safe-v40 {
 background:#252b33!important;color:#f3f5f8!important;border:1px solid #46505c!important;
}
#view-detail .registration-contract-safe-v28 > span,
#view-detail .registration-contract-safe-v28 > span > b,
#view-detail .registration-empty-safe-v28 p,
#view-detail .registration-empty-safe-v28 p b,
#view-detail .service-calendar-guide-safe-v40 > b,
#view-detail .service-calendar-guide-safe-v40 > span {
 color:#f3f5f8!important;opacity:1!important;
}
#view-detail .registration-empty-safe-v28 p.muted {color:#c6ced8!important}
#view-detail .registration-contract-safe-v28 > span {display:block}
#view-detail .registration-contract-safe-v28 > span + span {border-top:1px solid #46505c}
#view-detail .enrollment-history-safe-v28 > summary {color:#cbd5e1!important}
#view-detail .service-calendar-guide-safe-v40 > span {display:block}
