/* Reversible surface experiment: white canvas with warm-gray neutral cards. */
:root{
  --paper:#fff;
  --card:#f7f2ec;
  --surface:#f7f2ec;
  --surface-muted:#f7f2ec;
  --today-ivory:#fff;
  --today-card:#f7f2ec;
}
body,.shell,.view,#today{background:#fff!important}

/* Keep the shared app header clean and white. The botanical artwork remains
   in the shared markup, while Today lets it continue into the translucent
   glance card below. */
.view>.sharedHeader{
  background:#fff!important;
  overflow:visible;
}
.view>.sharedHeader .todayBrand,
.view>.sharedHeader .todayHeaderActions{
  position:relative;
  z-index:2;
}
.view>.sharedHeader .todayBotanical{
  z-index:0!important;
  opacity:.42!important;
  object-fit:contain;
  object-position:right top;
  filter:none!important;
  mix-blend-mode:multiply;
  -webkit-mask-image:none;
  mask-image:none;
}
#today>.sharedHeader .todayBotanical{
  width:310px;
  right:-68px;
  bottom:-158px;
  opacity:.34!important;
}
.view:not(#today)>.sharedHeader .todayBotanical{
  width:286px;
  right:-66px;
  bottom:-148px;
  opacity:.3!important;
}
#today>.sharedHeader{
  min-height:104px!important;
  padding-top:7px!important;
}
#today .todayHeroPanel{background:transparent!important}
#today .todayGlance{
  background:rgba(244,226,225,.54)!important;
  -webkit-backdrop-filter:blur(1px);
  backdrop-filter:blur(1px);
}

/* Let the shared botanical branch remain visible through each route's first
   content surface without changing any of the inner cards or controls. */
#history .historyControls,
#reminders .reminderCapability,
#reminders .alertFilters,
#settingsContent>.settingsPrimaryRow .settingsRows,
#settingsContent>.settingsPrimaryRow .profileCompactCard,
#settingsContent>.settingsInfoPage>.settingsLegalBody{
  background:rgba(244,226,225,.58)!important;
  -webkit-backdrop-filter:blur(1px);
  backdrop-filter:blur(1px);
}
#journeyContent>.journeyShowcase{
  background:rgba(244,226,225,.58)!important;
  -webkit-backdrop-filter:blur(1px);
  backdrop-filter:blur(1px);
}
#journeyContent>.journeyReminderBar{
  background:rgba(244,226,225,.53)!important;
  -webkit-backdrop-filter:blur(1px);
  backdrop-filter:blur(1px);
}
#journeyContent>.journeyShowcase .journeyProgressBox{
  background:rgba(247,242,236,.53)!important;
  -webkit-backdrop-filter:blur(1px);
  backdrop-filter:blur(1px);
}
@media(max-width:365px){
  .view>.sharedHeader .todayBotanical{opacity:.36!important}
  #today>.sharedHeader .todayBotanical{width:274px;right:-64px;bottom:-142px;opacity:.3!important}
  .view:not(#today)>.sharedHeader .todayBotanical{width:258px;right:-62px;bottom:-134px;opacity:.27!important}
}
.card,
.todayQuickSection,.todayDigestSection,.todayPatternsSection,
.todayQuickGrid button,.todayPatternGrid button,
.todayDigestion,.todaySummaryRow,
.journeyProgressBox,.journeyActions,.doseCard,
.historyControls,.historyDateGroup,.historyCompactRow,.historySummaryList button,
.reminderList,.reminderCompactRow,.alertActivityPreview,.alertActivityList,
.settingsRows,.profilePrivacyCard,.goalTiles,.unitTiles,.aboutCompactCard,
.settingsInfoCard,.modalForm input,.modalForm select,.modalForm textarea{
  background:#f7f2ec!important;
}
.historyCompactRow:nth-child(even),.reminderCompactRow:nth-child(even),.settingLine:nth-child(even){background:#f1ebe5!important}
.todayGlance,.todayWeightCard,.todayNoteButton,.journeyShowcase,.journeyReminderBar,.reminderCapability,.alertFilters{background-color:#f4e2e1!important}
.nav{background:#FAF7F3!important}

/* Consistent rounded outer containers across all main pages. */
.todayWeightCard,.todayQuickSection,.todayDigestSection,.todayPatternsSection,
#journeyContent>.journeyShowcase,#journeyContent>.journeyActions,.doseCard,
.historyControls,.historyDateGroup,.historySummaryList,.historyEmptyState,
.reminderCapability,.reminderList,.alertActivityPreview,.alertActivityList,.alertFilters,
.profilePrivacyCard,.settingsRows,.goalTiles,.unitTiles,.aboutCompactCard,.settingsInfoCard{
  border-radius:22px!important;
  overflow:hidden;
}
#journeyContent>.journeyReminderBar{border-radius:18px!important}
