/* Backstage-inspired neutral palette, isolated to this browser's owner preference. */
html:root[data-dsc-theme=dark]{--dsc-bg:#080808;--dsc-surface:#161616;--dsc-line:#3b3b3b;--dsc-text:#f5f5f5;--dsc-muted:#b7b7b7;--dsc-gold:#eee;--gold:#eee;--gold2:#d4d4d4;--bg:#080808;--text:#f5f5f5;--muted:#b7b7b7;--line:#3b3b3b;--panel:#161616;--accent:#eee;color-scheme:dark;background:#080808}
html:root[data-dsc-theme=dark] body,html:root[data-dsc-theme=dark] .portalShell.role-owner.dscOwnerRefresh,html:root[data-dsc-theme=dark] .portalWorkspace{background:#080808!important;color:#f5f5f5!important}
html:root[data-dsc-theme=dark] :is(.portalSidebar,.appTopbar,.bottom,.bottomIn,.cleanLogin,.dsBootFast){background:#0c0c0c!important;color:#eee!important;border-color:#333!important}
html:root[data-dsc-theme=dark] :is(.cleanLoginCard,.modal,.dscAppearance,.dscHouseCard,.dscOwnerActionList,.dscOwnerMetrics>button,.dscOwnerInviteNote,.dscOwnerPlan,.ownerPanel,.financeHouseCard,.peopleHero,.peopleRow,.peopleSummary>button,.v7OwnerDay,.v7OwnerSlot,.v7OwnerMenuStatus,.v1012OwnerBulk,.v1014OwnerSaveBar,.v1047MenuEditorToolbar,.v1047GeneratorChoice,.v1047NewMealNote,.v1047HouseStatus,.v1042OwnerServiceCard,.v1039TimeCard,.v1061CampusTax,.v1049AdjustmentPanel,.dscOneTimePending,.v1017InvoiceHero,.v1018CadenceBox,.v1017InvoiceRow,.dscOneTimePendingRow,.v10652AdjustmentHouse,.v10652AdjustmentStats>div,.v1047HouseStatusGrid>article,.dscRecipeCard,.v1047MealEditor,.v1052MealPickerCard){background:#161616!important;background-image:none!important;border-color:#3b3b3b!important;color:#eee!important;box-shadow:none!important}
html:root[data-dsc-theme=dark] :is(.dscOwnerRefresh,.cleanLogin,.modal,.dscOwnerPageBody) :is(h1,h2,h3,h4,b,strong,label,legend){color:#f2f2f2!important}
html:root[data-dsc-theme=dark] :is(.dscOwnerRefresh,.cleanLogin,.modal,.dscOwnerPageBody) :is(p,small,.eyebrow,.dscOwnerKicker,.dscOwnerMetrics span,.dscHouseNote,.dscOwnerAction small,.dscOwnerAction>svg){color:#b7b7b7!important}
html:root[data-dsc-theme=dark] :is(.dscOwnerRefresh,.cleanLogin,.modal,.bottomIn) :is(button,.btn),html:root[data-dsc-theme=dark] .cleanLoginBack{background:#222!important;background-image:none!important;color:#eee!important;border-color:#505050!important;box-shadow:none!important}
html:root[data-dsc-theme=dark] :is(.dscOwnerRefresh,.cleanLogin,.modal) :is(button,.btn):hover:not(:disabled){background:#303030!important;border-color:#777!important}
html:root[data-dsc-theme=dark] :is(.dscOwnerRefresh,.cleanLogin,.modal,.bottomIn) :is(.primary,.active,[aria-pressed=true],.recommended){background:#eee!important;background-image:none!important;color:#111!important;border-color:#eee!important}
html:root[data-dsc-theme=dark] :is(.dscOwnerRefresh,.cleanLogin,.modal,.bottomIn) :is(.primary,.active,[aria-pressed=true],.recommended) :is(span,b,strong,small,i,svg){color:#111!important}
html:root[data-dsc-theme=dark] :is(.dscOwnerRefresh,.cleanLogin,.modal) .primary:hover:not(:disabled){background:#d4d4d4!important;color:#080808!important}
html:root[data-dsc-theme=dark] :is(.dscOwnerRefresh,.cleanLogin,.modal) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#0c0c0c!important;color:#f5f5f5!important;border-color:#555!important;box-shadow:none!important}
html:root[data-dsc-theme=dark] :is(input,textarea)::placeholder{color:#9f9f9f!important;opacity:1}
html:root[data-dsc-theme=dark] :is(input[type=checkbox],input[type=radio]){accent-color:#eee}
html:root[data-dsc-theme=dark] :is(.sideContext,.dscOwnerAction>i,.dscPersonalBadge,.dscServiceChoices label,.v7OwnerDay>header,.v7OwnerSlotActions,.v1012OwnerSlotActions){background:#202020!important;border-color:#3b3b3b!important;color:#ddd!important}
html:root[data-dsc-theme=dark] :is(.sideLink,.dscOwnerTextLink,.dscOwnerSection>header button,.dscOwnerInviteNote button,.loginHelp button){color:#ddd!important}
html:root[data-dsc-theme=dark] :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #fff!important;outline-offset:3px!important}
html:root[data-dsc-theme=dark] :is(button,input,select,textarea):disabled{opacity:.48!important;cursor:not-allowed!important}
html:root[data-dsc-theme=dark] .modalBg{background:#000b!important}
html:root[data-dsc-theme=dark] .toast{background:#eee!important;color:#111!important;border-color:#aaa!important}
html:root[data-dsc-theme=dark] .dscOwnerPlan .dscOwnerTextLink{background:none!important;color:#ddd!important}
html:root[data-dsc-theme=dark] .dscOwnerAction{border-bottom-color:#3b3b3b!important}
html:root[data-dsc-theme=dark] :is(.dscHouseStatus.active,.accessStatus.on,.v7Status.submitted,.v10InvoiceStatus.paid){background:#153322!important;color:#c0ebce!important;border-color:#34553d!important}
html:root[data-dsc-theme=dark] :is(.dscHouseStatus.inactive,.accessStatus.off){background:#303030!important;color:#ddd!important;border-color:#555!important}
html:root[data-dsc-theme=dark] :is(.error,.dscMemberErrorText,#dsc-add-house-message,#dsc-house-status-message){color:#ffc4bb!important}
html:root[data-dsc-theme=dark] .dscAppearanceChoices button[aria-pressed=true]{background:#292929!important;color:#fff!important;border-color:#ddd!important}
html:root[data-dsc-theme=dark] .dscAppearanceChoices button[aria-pressed=true] :is(b,small,span){color:#eee!important}
html:root[data-dsc-theme=dark] .dscThemePreview.original{background:#10151b!important;border-color:#536071!important}
html:root[data-dsc-theme=dark] .dscThemePreview.original b{background:#d6b674!important}
html:root[data-dsc-theme=dark] .appContent{background:none!important}
html:root[data-dsc-theme=dark] :is(.dscWeeklyTools,.v1031PrintPanel,.v1031PrintRow,.v1047MenuGenerator,.v1064CompactWeekPicker,.v1047GeneratorStats>div,.v1052OwnerPickMeal,.v1047MealItem,.v1047MealCostLine,.v1052MealPickCard,.v1017BillingRule,.v1018BillingCadence){background:#161616!important;background-image:none!important;color:#eee!important;border-color:#444!important}
html:root[data-dsc-theme=dark] .dscWeeklyTools>summary{color:#eee!important;border-color:#444!important}
html:root[data-dsc-theme=dark] :is(.dscReadOnlyNotice,.v1064CompactWeekPicker>div){background:#202020!important;background-image:none!important;border-color:#444!important;color:#ccc!important}
html:root[data-dsc-theme=dark] #app :is(.quickBox,.v1017BillingBadge,.financeKpis>div){background:#161616!important;background-image:none!important;border-color:#444!important;box-shadow:none!important}
html:root[data-dsc-theme=dark] :is(.v1017BillingBadge,.moneyInput,.internalMargin)>span{color:#b7b7b7!important}

html:root[data-dsc-theme=dark] #app :is(.v1049AdjustmentKpis>div,.v1049AdjustmentSnapshot,.v1039OwnerToday,.v1039OwnerMobileMenu,.v1036OwnerLibrary,.dashboardCommand,.card,.portalCard,.dashboardKpis>div,.financeKpis>div){background:#161616!important;background-image:none!important;border-color:#444!important;box-shadow:none!important}
html:root[data-dsc-theme=dark] .v1036OwnerLibrary :is(i,small,em){color:#b7b7b7!important;background-color:transparent!important;border-color:#444!important}
html:root[data-dsc-theme=dark] #app .sideLink.active,html:root[data-dsc-theme=dark] #app .sideLink.active :is(i,span){background:#eee!important;color:#111!important;border-color:#eee!important}
