/* Find My Page product UI, not a brand proposal.
   FMP-1r profile themes. Gigi (Nov 19, spec-addendum-v2): "no conflict, not reviewed".
   Shipped by FMP-9r (copied from Uma's FMP-1r folder; only this comment changed). The app maps paid-stub to ink.
   Apply only on .public-shell or .preview-frame (the owner's public page
   and the editor preview). Do not set these classes on <body> if that would
   recolour the site header or sample banner.

   Each class sets the same --color-* tokens. Fixed values only. No custom
   CSS, no colour picker, no web fonts.

   Default for new pages: paper (same colours as the product UI in makeover.css).
   Existing stored value paid-stub should be mapped to ink (Perry, migration 006).
*/

.theme-paper {
  --color-bg: #F3F0E8;
  --color-surface: #FFFCF6;
  --color-ink: #1A1814;
  --color-muted: #4A453C;
  --color-border: #5A554C;
  --color-accent: #1540A0;
  --color-accent-hover: #123585;
  --color-on-accent: #FFFFFF;
  --color-error: #8B1515;
  --color-error-bg: #F8E8E4;
  --color-stub-bg: #EDE6D6;
  --color-stub-ink: #4A3C1A;
  --color-stub-border: #8A7437;
  --color-focus: #1540A0;
  --color-disabled-bg: #E4DFD4;
  --color-disabled-ink: #4A453C;
  --color-avatar: #3D3A34;
  --color-on-avatar: #FFFFFF;
}

.theme-fog {
  --color-bg: #E8EEF2;
  --color-surface: #FFFFFF;
  --color-ink: #171E24;
  --color-muted: #3C4952;
  --color-border: #4E5B64;
  --color-accent: #0E4F7A;
  --color-accent-hover: #0B3F62;
  --color-on-accent: #FFFFFF;
  --color-error: #8B1515;
  --color-error-bg: #F8E8E4;
  --color-stub-bg: #D9E3EA;
  --color-stub-ink: #243038;
  --color-stub-border: #5A6A74;
  --color-focus: #0E4F7A;
  --color-disabled-bg: #D5DEE4;
  --color-disabled-ink: #3C4952;
  --color-avatar: #3C4952;
  --color-on-avatar: #FFFFFF;
}

.theme-clay {
  --color-bg: #F3E6D8;
  --color-surface: #FFF8F1;
  --color-ink: #2A1C14;
  --color-muted: #5A4032;
  --color-border: #6A5040;
  --color-accent: #8B2E12;
  --color-accent-hover: #72240E;
  --color-on-accent: #FFFFFF;
  --color-error: #8B1515;
  --color-error-bg: #F8E4DC;
  --color-stub-bg: #E8D2BE;
  --color-stub-ink: #4A2C1A;
  --color-stub-border: #8A5A38;
  --color-focus: #8B2E12;
  --color-disabled-bg: #E6D4C4;
  --color-disabled-ink: #5A4032;
  --color-avatar: #5A4032;
  --color-on-avatar: #FFF8F1;
}

.theme-ink {
  --color-bg: #161513;
  --color-surface: #26231F;
  --color-ink: #F4F0E8;
  --color-muted: #C9C3B6;
  --color-border: #8A857A;
  --color-accent: #E2C57A;
  --color-accent-hover: #F0D899;
  --color-on-accent: #1A1814;
  --color-error: #F0B4B4;
  --color-error-bg: #3A2A2A;
  --color-stub-bg: #2E2A24;
  --color-stub-ink: #E8DFD0;
  --color-stub-border: #A89870;
  --color-focus: #E2C57A;
  --color-disabled-bg: #2C2A26;
  --color-disabled-ink: #C9C3B6;
  --color-avatar: #F4F0E8;
  --color-on-avatar: #161513;
}

.theme-moss {
  --color-bg: #142018;
  --color-surface: #1E2E22;
  --color-ink: #E8F0E6;
  --color-muted: #C0D0C0;
  --color-border: #7A8F7C;
  --color-accent: #C5D9A0;
  --color-accent-hover: #D8E8B8;
  --color-on-accent: #142018;
  --color-error: #F0B4B4;
  --color-error-bg: #2A3328;
  --color-stub-bg: #243328;
  --color-stub-ink: #E0ECD8;
  --color-stub-border: #8AA070;
  --color-focus: #C5D9A0;
  --color-disabled-bg: #243328;
  --color-disabled-ink: #C0D0C0;
  --color-avatar: #E8F0E6;
  --color-on-avatar: #142018;
}

.theme-lake {
  --color-bg: #0F1C2E;
  --color-surface: #173048;
  --color-ink: #E8EEF6;
  --color-muted: #C0CBD8;
  --color-border: #7A8BA0;
  --color-accent: #9EC4F0;
  --color-accent-hover: #C0D8F8;
  --color-on-accent: #0F1C2E;
  --color-error: #F0B4B4;
  --color-error-bg: #2A2438;
  --color-stub-bg: #1A2A40;
  --color-stub-ink: #E0E8F4;
  --color-stub-border: #7A98B8;
  --color-focus: #9EC4F0;
  --color-disabled-bg: #1A2A40;
  --color-disabled-ink: #C0CBD8;
  --color-avatar: #E8EEF6;
  --color-on-avatar: #0F1C2E;
}

/* Preview frames and public shells inherit the token-driven rules already
   in styles.css / app.css / makeover.css (background, text, links, badges). */
.public-shell,
.preview-frame .public-shell {
  background-color: var(--color-bg);
  color: var(--color-ink);
}
