/* Reda 3.7 · Material 3 Expressive component system.
   Roles follow https://m3.material.io/styles/color, shape and elevation.
   Loaded after legacy styles. Scoped to the release shell; no API dependencies.
   Legacy aliases are retained because content renderers use both token families. */
html:root {
  --bg: #fdf8ff;
  --surface: #f5effa;
  --surface-high: #eee7f4;
  --ink: #201b27;
  --muted: #494453;
  --line: #ccc3d7;
  --accent: #6846a5;
  --on-accent: #ffffff;
  --soft: #eaddff;
  --on-soft: #281047;
  --secondary: #d5e8d1;
  --on-secondary: #233923;
  --tertiary: #ffdad0;
  --on-tertiary: #562012;
  --danger: #ba1a1a;
  --primary: var(--accent);
  --on-primary: var(--on-accent);
  --primary-container: var(--soft);
  --on-primary-container: var(--on-soft);
  --secondary-container: var(--secondary);
  --on-secondary-container: var(--on-secondary);
  --tertiary-container: var(--tertiary);
  --on-tertiary-container: var(--on-tertiary);
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f5effa;
  --surface-container: #eee7f4;
  --surface-container-high: #e8e1ee;
  --surface-container-highest: #e2dbe8;
  --on-surface: var(--ink);
  --on-surface-variant: var(--muted);
  --outline: #7b7287;
  --outline-variant: var(--line);
  --inverse-surface: #332e3b;
  --inverse-on-surface: #f8f0ff;
  --error: var(--danger);
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #410002;
  --surface-dim: #d8d4de;
  --surface-bright: #fdf8ff;
  --surface-variant: #e6e0ec;
  --surface-tint: #6846a5;
  --primary-fixed: #eaddff;
  --primary-fixed-dim: #d0bcff;
  --on-primary-fixed: #23005c;
  --on-primary-fixed-variant: #4f378a;
  --secondary-fixed: #d5e8d1;
  --secondary-fixed-dim: #b9ccb6;
  --tertiary-fixed: #ffdad0;
  --tertiary-fixed-dim: #ffb5a4;
  --shape-none: 0px;
  --shape-xs: 4px;
  --shape-sm: 8px;
  --shape-md: 12px;
  --shape-lg: 16px;
  --shape-lg-increased: 20px;
  --shape-xl: 28px;
  --shape-xxl: 48px;
  --shape-full: 999px;
  --elevation-1: 0 1px 2px #00000024, 0 1px 3px 1px #00000014;
  --elevation-2: 0 1px 2px #00000024, 0 2px 6px 2px #00000014;
  --elevation-3: 0 4px 8px 3px #00000024;
  --reda-desktop-canvas: 720px;
  --nav-height: 104px;
  --m3e-shape-l: 20px;
  --m3e-shape-xl: 28px;
  --m3e-shape-xxl: 40px;
  --reda-press: cubic-bezier(.42,1.67,.21,.9);
  --reda-effects: cubic-bezier(.31,.94,.34,1);
}
html:root[data-theme="dark"] {
  --bg: #15121c;
  --surface: #201c28;
  --surface-high: #2b2633;
  --ink: #eee5f6;
  --muted: #cbc1d7;
  --line: #4a4255;
  --accent: #d1bcff;
  --on-accent: #381c63;
  --soft: #503777;
  --on-soft: #eaddff;
  --secondary: #344d36;
  --on-secondary: #d5e8d1;
  --tertiary: #693b2d;
  --on-tertiary: #ffdad0;
  --danger: #ffb4ab;
  --surface-container-lowest: #100d15;
  --surface-container-low: #201c28;
  --surface-container: #27222f;
  --surface-container-high: #312b39;
  --surface-container-highest: #3c3544;
  --outline: #958b9f;
  --inverse-surface: #eee5f6;
  --inverse-on-surface: #332e3b;
  --on-error: #690005;
  --error-container: #93000a;
  --on-error-container: #ffdad6;
  --surface-dim: #100d15;
  --surface-bright: #3c3544;
  --surface-variant: #494453;
  --surface-tint: #d1bcff;
  --primary-fixed: #eaddff;
  --primary-fixed-dim: #d0bcff;
  --on-primary-fixed: #23005c;
  --on-primary-fixed-variant: #4f378a;
  --secondary-fixed: #d5e8d1;
  --secondary-fixed-dim: #b9ccb6;
  --tertiary-fixed: #ffdad0;
  --tertiary-fixed-dim: #ffb5a4;
}
body.reda-expressive {
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.reda-expressive .shell,
body.reda-expressive.ai-mode .shell,
body.reda-expressive.weather-mode .shell {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: min(100%, 720px) !important;
  inline-size: min(100%, 720px) !important;
  max-width: 720px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: calc(var(--safe-top) + 12px) 20px calc(var(--nav-height) + 24px + env(safe-area-inset-bottom)) !important;
}
.reda-expressive main, .reda-expressive .screen { min-width: 0; }
.reda-expressive .screen-header {
  gap: 16px;
  margin: 16px 0 24px;
  align-items: center;
}
.reda-expressive .screen-header > div { min-width: 0; }
.reda-expressive .screen-header h2 {
  margin: 4px 0 0;
  font-size: clamp(28px, 7vw, 36px) !important;
  line-height: 1.16 !important;
  font-weight: 650;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.reda-expressive .eyebrow { font-size: 11px; line-height: 1.4; letter-spacing: .1em; font-weight: 650; }
.reda-expressive .screen-copy { font-size: 15px; line-height: 1.6; color: var(--muted); }
.reda-expressive .topbar { height: 56px; margin: 0 0 18px; }
.reda-expressive .topbar-actions { gap: 4px; }
.reda-expressive .brand img { width: 88px; }
.reda-expressive :is(.icon-button, .back, .ai-icon, .dialog-close) {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  padding: 0;
  border: 0;
  border-radius: 50% !important;
  background-color: var(--surface-container-high) !important;
  color: var(--ink) !important;
  box-shadow: none;
}
.reda-expressive :is(button, input, textarea, select, a):focus-visible {
  outline: 3px solid var(--primary) !important;
  outline-offset: 3px;
}
.reda-expressive button {
  touch-action: manipulation;
  transition: border-radius 350ms var(--reda-press), background-color 150ms var(--reda-effects), color 150ms var(--reda-effects), transform 350ms var(--reda-press) !important;
}
.reda-expressive button:disabled { opacity: .45; cursor: not-allowed; }
.reda-expressive :is(.primary-action, .secondary-action, .text-button, .launch-tour-jump) {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: none !important;
}
.reda-expressive .primary-action { background: var(--primary) !important; color: var(--on-primary) !important; border: 0; }
.reda-expressive .secondary-action { background: var(--secondary-container) !important; color: var(--on-secondary-container) !important; border: 0; }
.reda-expressive :is(.text-button, .launch-tour-jump) { background: transparent !important; color: var(--primary) !important; border: 0; }
.reda-expressive :is(.primary-action, .secondary-action, .send, .icon-button, .ai-icon):active:not(:disabled) { border-radius: 16px !important; transform: scale(.96); }

/* Hero: one strong editorial moment, with decorations in their own lane. */
.reda-expressive [data-screen="home"] .reda-hero {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 286px !important;
  padding: 26px 24px 28px !important;
  margin: 0 0 12px !important;
  border: 0 !important;
  border-radius: 36px 36px 12px 36px !important;
  background: var(--primary-container) !important;
  color: var(--on-primary-container) !important;
  box-shadow: none !important;
  overflow: hidden;
}
.reda-expressive .reda-hero::before, .reda-expressive .reda-hero::after { display: none !important; }
.reda-expressive .reda-hero .home-title { position: relative; z-index: 2; max-width: none !important; margin: 0; }
.reda-expressive .reda-hero .home-title .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; color: inherit !important; }
.reda-expressive .release-badge { padding: 5px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 9px; letter-spacing: .045em; }
.reda-expressive .reda-hero .home-title h1 {
  max-width: calc(100% - 54px) !important;
  margin: 0 !important;
  font-size: clamp(40px, 11.5vw, 64px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
  font-weight: 650 !important;
  color: inherit !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.reda-expressive .reda-hero #name { display: block; }
.reda-expressive .reda-hero .home-title .lede { max-width: 30ch !important; margin: 18px 0 0 !important; padding-right: 12px; color: inherit !important; font-size: 14px !important; line-height: 1.5 !important; }
.reda-expressive .reda-hero .reda-shape { position: absolute; z-index: 1; pointer-events: none; opacity: 1 !important; }
.reda-expressive .reda-hero .shape-circle { width: 80px !important; height: 80px !important; right: -18px !important; top: 75px !important; background: var(--primary) !important; border-radius: 26% 74% 26% 74% !important; transform: rotate(-25deg) !important; }
.reda-expressive .reda-hero .shape-star { width: 52px !important; height: 52px !important; right: 10px !important; top: 171px !important; bottom: auto !important; background: var(--on-primary-container) !important; border-radius: 0 !important; clip-path: polygon(50% 0,61% 29%,85% 15%,71% 39%,100% 50%,71% 61%,85% 85%,61% 71%,50% 100%,39% 71%,15% 85%,29% 61%,0 50%,29% 39%,15% 15%,39% 29%) !important; }
.reda-expressive .reda-hero .shape-pill { display: none; }
.reda-expressive .great-bugfix-banner.launch-banner {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) 20px !important;
  gap: 12px !important;
  align-items: center;
  min-height: 84px !important;
  padding: 16px !important;
  margin: 0 0 24px !important;
  border: 0 !important;
  border-radius: 12px 28px 28px 28px !important;
  background: var(--secondary-container) !important;
  color: var(--on-secondary-container) !important;
  box-shadow: none !important;
}
.reda-expressive .great-bugfix-banner::after { display: none; }
.reda-expressive .great-bugfix-banner__spark { width: 40px !important; height: 40px !important; background: var(--on-secondary-container) !important; color: var(--secondary-container) !important; font-size: 24px; }
.reda-expressive .great-bugfix-banner__copy b { display: block; font-size: 16px !important; line-height: 1.35; color: inherit !important; }
.reda-expressive .great-bugfix-banner__copy small { display: block; margin-top: 4px; color: inherit !important; font-size: 12px !important; line-height: 1.5; opacity: 1; }
.reda-expressive .great-bugfix-banner__arrow { color: inherit !important; }
.reda-expressive .ask {
  margin: 0 0 16px !important;
  padding: 24px !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 32px !important;
  background: var(--tertiary-container) !important;
  color: var(--on-tertiary-container) !important;
  box-shadow: none !important;
}
.reda-expressive .ask::after, .reda-expressive .ask::before { display: none; }
.reda-expressive .ask-head { margin: 0 0 22px; gap: 8px; font-size: 12px; }
.reda-expressive .ask-head button { margin-left: auto; min-height: 36px; padding: 6px 12px; border-radius: 999px; color: inherit; background: transparent; }
.reda-expressive .ask h2 { margin: 0 0 12px; font-size: 32px !important; line-height: 1.12; font-weight: 650; letter-spacing: -.04em; color: inherit !important; }
.reda-expressive .ask textarea { min-height: 60px !important; border: 0 !important; padding: 8px 0 !important; background: transparent !important; color: inherit !important; font-size: 16px; }
.reda-expressive .ask textarea::placeholder { color: inherit; opacity: .8; }
.reda-expressive .ask .text-button { color: inherit !important; padding-inline: 0; }
.reda-expressive .send { width: 56px !important; height: 56px !important; flex: 0 0 56px; border: 0; border-radius: 20px !important; background: var(--primary) !important; color: var(--on-primary) !important; transform: none !important; }
.reda-expressive .ask .send { background: var(--on-tertiary-container) !important; color: var(--tertiary-container) !important; }
.reda-expressive .overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 20px 0 28px; }
.reda-expressive .metric { padding: 16px 10px !important; min-width: 0; border: 0 !important; border-radius: 8px !important; background: var(--surface-container) !important; box-shadow: none !important; }
.reda-expressive .metric:first-child { border-radius: 24px 8px 8px 24px !important; }
.reda-expressive .metric:last-child { border-radius: 8px 24px 24px 8px !important; }
.reda-expressive .metric strong { font-size: clamp(23px,6vw,32px) !important; line-height: 1.2; font-weight: 650; color: var(--primary); }
.reda-expressive .metric span, .reda-expressive .metric small { white-space: normal; overflow-wrap: anywhere; font-size: 11px; color: var(--muted); }
.reda-expressive .section-title h2 { font-size: 26px; letter-spacing: -.03em; }
.reda-expressive .section-title > span { display: none; }
.reda-expressive :is(.quick-grid, .home-widgets) { display: grid; grid-template-columns: 1fr !important; gap: 8px; }
.reda-expressive :is(.quick, .home-widget) { min-width: 0; padding: 18px !important; min-height: 88px; border: 0 !important; border-radius: 24px !important; background: var(--surface-container) !important; color: var(--ink) !important; box-shadow: none !important; }
.reda-expressive .quick.featured { background: var(--primary-container) !important; color: var(--on-primary-container) !important; }
.reda-expressive :is(.quick-icon, .widget-symbol) { width: 48px; height: 48px; display: grid; place-items: center; background: var(--secondary-container); color: var(--on-secondary-container); border-radius: 16px 24px 16px 24px !important; }

/* Connected button groups: square inactive choices, rounded selection. */
.reda-expressive :is(.switcher, .provider-tabs, .mode-picker, .theme-picker, .draw-options) { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; border: 0; background: transparent !important; }
.reda-expressive :is(.switcher, .provider-tabs, .mode-picker, .theme-picker, .draw-options) > button {
  min-height: 48px; min-width: 0; flex: 1 1 auto; padding: 12px 16px;
  border: 0 !important; border-radius: 12px !important;
  background: var(--surface-container-high) !important; color: var(--ink) !important;
  font-size: 14px; font-weight: 550; line-height: 1.4; white-space: normal;
}
.reda-expressive :is(.switcher, .provider-tabs, .mode-picker, .theme-picker, .draw-options) > button.active { border-radius: 999px !important; background: var(--primary-container) !important; color: var(--on-primary-container) !important; font-weight: 700; }
.reda-expressive :is(.switcher, .provider-tabs, .mode-picker, .theme-picker, .draw-options) > button.m3e-springing { border-radius: var(--m3e-radius) !important; transition: none !important; }
.reda-expressive :is(.settings-block, .profile-lines, .subscription-status, .subscription-access, .managed-panel) { padding: 22px !important; margin-block: 12px; border: 0 !important; border-radius: 28px !important; background: var(--surface-container-low) !important; color: var(--ink); box-shadow: none !important; }
.reda-expressive .settings-block h3 { margin: 0 0 16px; font-size: 22px; font-weight: 650; }
.reda-expressive :is(.settings-link, .model, .conversation-item, .activity-row, .notification-card, .task-row, .award, .managed-chat-card) { min-width: 0; border: 0 !important; border-radius: 16px !important; background: var(--surface-container-low) !important; color: var(--ink); box-shadow: none !important; }
.reda-expressive .settings-link { min-height: 64px; padding: 18px 20px !important; margin-block: 4px; text-align: left; line-height: 1.4; }
.reda-expressive .model { min-height: 84px; padding: 18px !important; gap: 14px; }
.reda-expressive .model.selected { background: var(--primary-container) !important; color: var(--on-primary-container); border-radius: 28px !important; }
.reda-expressive .model.selected small { color: inherit; }
.reda-expressive :is(.model-icon, .managed-chat-shape) { width: 48px; height: 48px; border-radius: 16px !important; background: var(--surface-container-high); }
.reda-expressive :is(.model, .settings-link) + :is(.model, .settings-link) { margin-top: 4px; }
.reda-expressive :is(input:not([type="checkbox"]):not([type="hidden"]), select, textarea:not(#prompt):not(#ai-input):not(#chat-input)) {
  min-width: 0; max-width: 100%; min-height: 52px; padding: 14px 16px;
  border: 1px solid var(--outline) !important; border-radius: 16px !important;
  background: var(--surface-container-highest) !important; color: var(--ink) !important;
  font-size: 16px !important; line-height: 1.5;
}
.reda-expressive input[type="checkbox"] { accent-color: var(--primary); }
.reda-expressive input::placeholder, .reda-expressive textarea::placeholder { color: var(--muted); opacity: 1; }
.reda-expressive .settings-block textarea { width: 100%; }

/* Collection: a hero action and a consistent two-column card gallery. */
.reda-expressive .cards-hub { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px; margin-top: 20px; }
.reda-expressive .hub-action { min-width: 0; min-height: 158px; padding: 22px 18px !important; align-items: start; border: 0 !important; border-radius: 28px !important; background: var(--surface-container) !important; color: var(--ink) !important; box-shadow: none !important; }
.reda-expressive .hub-action > span { width: 48px; height: 48px; border-radius: 16px 24px 16px 24px !important; background: var(--secondary-container); color: var(--on-secondary-container); }
.reda-expressive .hub-action b { font-size: 20px !important; line-height: 1.25; }
.reda-expressive .hub-action small { color: inherit; opacity: .85; font-size: 13px; line-height: 1.5; }
.reda-expressive .hub-draw { grid-column: 1 / -1; min-height: 186px; border-radius: 36px 36px 12px 36px !important; background: var(--primary-container) !important; color: var(--on-primary-container) !important; }
.reda-expressive .hub-draw b { font-size: 28px !important; max-width: 20ch; }
.reda-expressive .hub-draw > span { background: var(--primary); color: var(--on-primary); }
.reda-expressive .goroh-entry { grid-column: 1/-1; min-height: 128px; background: var(--tertiary-container) !important; color: var(--on-tertiary-container) !important; }
.reda-expressive .games-grid .mafia-entry { grid-column: 1 / -1; min-height: 128px; border-radius: 36px 36px 14px 36px !important; background: var(--inverse-surface) !important; color: var(--inverse-on-surface) !important; }
.reda-expressive .games-grid .mafia-entry > span { background: var(--primary); color: var(--on-primary); }
.reda-expressive .mafia-content { min-width: 0; }
.reda-expressive .card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px; }
.reda-expressive .collectible { min-width: 0; padding: 10px !important; border: 0 !important; border-radius: 24px !important; background: var(--surface-container) !important; color: var(--ink); box-shadow: none !important; }
.reda-expressive .card-photo { aspect-ratio: 3/4; height: auto !important; min-height: 0 !important; border-radius: 16px !important; background-color: var(--primary-container); background-size: cover; }
.reda-expressive .collectible b { font-size: 16px; line-height: 1.3; }
.reda-expressive .collectible > span:not(.card-photo) { min-width: 0; overflow-wrap: anywhere; }
.reda-expressive .collectible .rarity { background: var(--secondary-container); color: var(--on-secondary-container); border: 0; border-radius: 999px; padding: 4px 8px; font-size: 11px; }
.reda-expressive .profile-hero { border: 0 !important; border-radius: 36px !important; background: var(--primary-container) !important; color: var(--on-primary-container) !important; padding: 28px !important; box-shadow: none !important; }
.reda-expressive .profile-stat-grid { gap: 6px; }
.reda-expressive .profile-stat-grid > div { border: 0 !important; border-radius: 20px !important; background: var(--surface-container) !important; }
.reda-expressive .game-tile, .reda-expressive .game-card, .reda-expressive .plan-option { border: 1px solid var(--outline-variant) !important; border-radius: 24px !important; background: var(--surface-container) !important; color: var(--ink) !important; }
.reda-expressive .plan-option.selected { background: var(--primary-container) !important; border-color: var(--primary) !important; color: var(--on-primary-container) !important; border-radius: 32px 12px 32px 12px !important; }

/* AI, toolbars, modal sheets, snackbar and loading are part of the same system. */
.reda-expressive .ai-header { padding: 12px; border: 0; border-radius: 28px; background: var(--surface-container); }
.reda-expressive .ai-welcome { padding: 38px 24px !important; background: var(--primary-container) !important; color: var(--on-primary-container) !important; border-radius: 36px !important; box-shadow: none !important; }
.reda-expressive .ai-welcome h1 { font-size: clamp(36px,10vw,56px) !important; line-height: 1.08 !important; font-weight: 650; color: inherit !important; }
.reda-expressive .ai-welcome p { color: inherit !important; }
.reda-expressive :is(.ai-composer, .composer) { border-radius: 28px !important; border: 1px solid var(--outline-variant) !important; background: var(--surface-container-high) !important; color: var(--ink); box-shadow: 0 4px 16px #00000012 !important; }
.reda-expressive .ai-composer textarea, .reda-expressive .composer textarea { color: var(--ink) !important; background: transparent !important; font-size: 16px !important; }
.reda-expressive :is(.ai-drawer, .chat-model-menu) { background: var(--surface-container-low) !important; color: var(--ink); border-radius: 28px !important; }
.reda-expressive dialog { width: min(560px,calc(100% - 32px)) !important; max-width: 560px; max-height: calc(100dvh - 48px); padding: 28px !important; border: 0 !important; border-radius: 32px !important; background: var(--surface-container-high) !important; color: var(--ink); overflow-x: hidden; overflow-y: auto; box-shadow: 0 12px 40px #00000040; }
.reda-expressive dialog::backdrop { background: #17101f88; backdrop-filter: blur(4px); }
.reda-expressive .toast { left: 50% !important; right: auto !important; width: min(calc(100% - 32px),520px) !important; bottom: calc(112px + env(safe-area-inset-bottom)); transform: translateX(-50%) !important; padding: 16px 20px; border-radius: 16px !important; background: var(--inverse-surface) !important; color: var(--inverse-on-surface) !important; font-size: 14px; }
.reda-expressive .app-loading { background: var(--bg) !important; color: var(--ink); }
.reda-expressive .app-loading__shape { background: var(--primary-container); color: var(--primary); }
.reda-expressive .launch-tour-card { min-height: 340px; padding: 28px; border: 0; border-radius: 40px 40px 16px 40px; background: var(--primary-container); color: var(--on-primary-container); box-shadow: none; }
.reda-expressive .launch-tour-card h3 { font-size: clamp(28px,8vw,40px); line-height: 1.12; font-weight: 650; text-wrap: balance; }
.reda-expressive .launch-tour-card > p { color: inherit; }
.reda-expressive .launch-tour-mark { width: 76px; height: 76px; border-radius: 24px 40px 24px 40px; background: var(--primary); color: var(--on-primary); font-size: 38px; }
.reda-expressive .launch-tour-dots { align-items: center; }
.reda-expressive .launch-tour-dots i { background: var(--outline); }
.reda-expressive .launch-tour-dots i.active { background: var(--primary); }
.reda-expressive .launch-tour-actions { gap: 8px; }

/* Separate avatar from the selection pill. Its aspect ratio never morphs. */
.reda-expressive .nav {
  position: fixed !important;
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: center;
  left: 50% !important; right: auto !important;
  bottom: max(12px,env(safe-area-inset-bottom)) !important;
  width: min(calc(100% - 24px),560px) !important;
  height: 80px !important; min-height: 80px !important;
  padding: 8px !important;
  transform: translateX(-50%) !important;
  border: 1px solid var(--outline-variant) !important;
  border-radius: 32px !important;
  background: var(--surface-container) !important;
  box-shadow: 0 6px 24px #00000016 !important;
}
.reda-expressive .nav-item { display: grid; justify-items: center; align-content: center; gap: 4px; min-width: 0; min-height: 64px; padding: 0 2px; border: 0; background: transparent !important; color: var(--muted); }
.reda-expressive .nav-item > span { display: grid; place-items: center; width: 64px !important; height: 32px !important; border-radius: 999px !important; background-color: transparent !important; color: inherit; transform: none !important; }
.reda-expressive .nav-item.active > span { background-color: var(--secondary-container) !important; color: var(--on-secondary-container) !important; }
.reda-expressive .nav-item.active { color: var(--ink) !important; }
.reda-expressive .nav-item small { font-size: 11px !important; font-weight: 650; line-height: 16px; white-space: nowrap; }
.reda-expressive .nav-item .nav-profile-avatar { display: grid; place-items: center; width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 28px !important; flex: 0 0 28px !important; aspect-ratio: 1; border-radius: 50% !important; background-color: var(--primary-container) !important; background-size: cover !important; background-position: center !important; color: var(--on-primary-container); transform: none !important; }
.reda-expressive :is(.avatar, .profile-avatar) { aspect-ratio: 1; border-radius: 50% !important; background-size: cover !important; background-position: center !important; flex-shrink: 0; }

@media (hover:hover) {
  .reda-expressive button:hover:not(:disabled) { box-shadow: inset 0 0 0 999px color-mix(in srgb,currentColor 8%,transparent) !important; }
  .reda-expressive .collectible:hover { transform: translateY(-3px); }
}
@media (min-width: 740px) {
  .reda-expressive .shell { padding-top: calc(var(--safe-top) + 24px) !important; }
  .reda-expressive .home-widgets { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .reda-expressive .quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .reda-expressive .quick { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; text-align: left; }
  .reda-expressive .quick i { display: none; }
  .reda-expressive .card-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  .reda-expressive .composer, body.reda-expressive.ai-mode .chat-screen .composer { left: 50% !important; right: auto !important; width: min(calc(100% - 40px),680px) !important; transform: translateX(-50%) !important; }
}
/* ------------------------------------------------------------------ */
/* Official M3 type scale tokens (styles/typography/type-scale-tokens).*/
/* 15 baseline styles + emphasized variants (M3 Expressive update).    */
/* Brand typeface: Google Sans for display/headline, plain for body.   */
/* ------------------------------------------------------------------ */
.reda-expressive {
  --md-sys-typescale-display-large: 600 40px/1.05 var(--m3e-font-display);
  --md-sys-typescale-display-medium: 600 36px/1.12 var(--m3e-font-display);
  --md-sys-typescale-display-small: 600 32px/1.2 var(--m3e-font-display);
  --md-sys-typescale-display-large-emphasized: 700 40px/1.05 var(--m3e-font-display);
  --md-sys-typescale-headline-large: 650 32px/1.22 var(--m3e-font-display);
  --md-sys-typescale-headline-medium: 650 28px/1.25 var(--m3e-font-display);
  --md-sys-typescale-headline-small: 600 24px/1.3 var(--m3e-font-display);
  --md-sys-typescale-title-large: 600 22px/1.27 var(--m3e-font-display);
  --md-sys-typescale-title-medium: 600 16px/1.5 var(--m3e-font-text);
  --md-sys-typescale-title-small: 600 14px/1.43 var(--m3e-font-text);
  --md-sys-typescale-body-large: 400 16px/1.5 var(--m3e-font-text);
  --md-sys-typescale-body-medium: 400 14px/1.43 var(--m3e-font-text);
  --md-sys-typescale-body-small: 400 12px/1.33 var(--m3e-font-text);
  --md-sys-typescale-label-large: 550 14px/1.43 var(--m3e-font-text);
  --md-sys-typescale-label-medium: 550 12px/1.33 var(--m3e-font-text);
  --md-sys-typescale-label-small: 650 11px/1.45 var(--m3e-font-text);
  --md-sys-typescale-headline-large-emphasized: 700 32px/1.22 var(--m3e-font-display);
  --md-sys-typescale-headline-medium-emphasized: 700 28px/1.25 var(--m3e-font-display);
  --md-sys-typescale-title-medium-emphasized: 700 16px/1.5 var(--m3e-font-text);
}

/* Application: hero and page titles use emphasized display/headline. */
.reda-expressive .reda-hero .home-title h1 {
  font: var(--md-sys-typescale-display-large-emphasized) !important;
  letter-spacing: -.05em !important;
}
.reda-expressive .ai-welcome h1 { font: var(--md-sys-typescale-display-large-emphasized) !important; letter-spacing: -.05em !important; }
.reda-expressive .screen-header h2 { font: var(--md-sys-typescale-headline-large-emphasized) !important; letter-spacing: -.035em !important; }
.reda-expressive .reda-hero .home-title .eyebrow,
.reda-expressive .eyebrow { font: var(--md-sys-typescale-label-small) !important; letter-spacing: .1em !important; }
.reda-expressive .reda-hero .home-title .lede,
.reda-expressive .screen-copy { font: var(--md-sys-typescale-body-large) !important; }
.reda-expressive .ask h2 { font: var(--md-sys-typescale-headline-medium-emphasized) !important; letter-spacing: -.035em !important; }
.reda-expressive .section-title h2 { font: var(--md-sys-typescale-headline-small) !important; letter-spacing: -.03em !important; }
.reda-expressive .settings-block h3 { font: var(--md-sys-typescale-title-large) !important; letter-spacing: -.02em; }
.reda-expressive .metric strong { font: var(--md-sys-typescale-headline-medium-emphasized) !important; }
.reda-expressive .hub-action b { font: var(--md-sys-typescale-title-medium-emphasized) !important; }
.reda-expressive .quick b { font: var(--md-sys-typescale-title-medium) !important; }
.reda-expressive .quick small,
.reda-expressive .hub-action small { font: var(--md-sys-typescale-body-medium) !important; }

/* Fixed accent colors keep their value across light and dark themes */
/* (m3.material.io/styles/color/system · additional accent colors).  */
.reda-expressive {
  --md-sys-color-primary-fixed: #e9ddff;
  --md-sys-color-primary-fixed-dim: #bea1ff;
  --md-sys-color-on-primary-fixed: #250866;
  --md-sys-color-on-primary-fixed-variant: #54348c;
  --md-sys-color-secondary-fixed: #dce9d6;
  --md-sys-color-secondary-fixed-dim: #b0ccaa;
  --md-sys-color-tertiary-fixed: #ffdad0;
  --md-sys-color-tertiary-fixed-dim: #ffb4a1;
}
.reda-expressive .m3e-deco--tertiary path { fill: var(--md-sys-color-tertiary-fixed); }

/* State layers: hover 8%, focus 12%, pressed 12% (official values). */
@media (hover: hover) {
  .reda-expressive button:active:not(:disabled) { box-shadow: inset 0 0 0 999px color-mix(in srgb, currentColor 12%, transparent) !important; }
}

/* Contained loading indicator: the official variant sits inside a
   primary-container circle (components/loading-indicator). */
.reda-expressive .app-loading__shape.has-svg {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: var(--m3e-shape-full);
  background: var(--primary-container);
}
.reda-expressive .app-loading__shape.has-svg .m3e-loader-svg { width: 72px; height: 72px; }

/* Thinking indicator in chat: official loading indicator replaces the
   indeterminate square spinner everywhere a wait state appears. */
.reda-expressive .thinking-orb.has-svg { border: 0 !important; background: transparent !important; animation: none !important; width: 26px; height: 26px; }
.reda-expressive .thinking-orb.has-svg .m3e-loader-svg { width: 26px; height: 26px; animation: none !important; }

@media (max-width: 374px) {
  .reda-expressive .shell { padding-inline: 12px !important; }
  .reda-expressive .reda-hero .home-title h1 { font-size: 38px !important; }
  .reda-expressive .reda-hero .home-title .lede { max-width: 24ch !important; }
  .reda-expressive .nav-item > span { width: 56px !important; }
  .reda-expressive .hub-action { padding: 18px 14px !important; }
  .reda-expressive .hub-action b { font-size: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .reda-expressive *, .reda-expressive *::before, .reda-expressive *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ */
/* M3 Expressive shape system (m3e-shapes.js enhancements).           */
/* Decorative hero shapes, the morphing loading indicator, wavy       */
/* progress and the card-reveal burst follow the official library.    */
/* ------------------------------------------------------------------ */
.reda-expressive .m3e-shape-svg { display: block; width: 100%; height: 100%; }
.reda-expressive .m3e-deco { transform-origin: center; }
/* Once a CSS blob host receives a real Material shape, retire the blob. */
.reda-expressive .reda-hero .shape-circle.is-svg { width: 104px !important; height: 104px !important; right: -22px !important; top: 64px !important; background: transparent !important; border-radius: 0 !important; }
.reda-expressive .reda-hero .shape-star.is-svg { width: 64px !important; height: 64px !important; background: transparent !important; clip-path: none !important; border-radius: 0 !important; }
.reda-expressive .reda-hero .shape-pill.is-svg { display: block !important; width: 84px !important; height: 84px !important; right: 18px !important; top: auto !important; bottom: 16px !important; background: transparent !important; transform: none !important; animation: none !important; }
.reda-expressive .detail-art { position: relative; }
.reda-expressive .m3e-deco--primary path { fill: var(--primary); }
.reda-expressive .m3e-deco--ink path { fill: var(--on-primary-container); }
.reda-expressive .m3e-deco--tertiary path { fill: color-mix(in srgb, var(--tertiary) 78%, var(--on-primary-container)); }
.reda-expressive .m3e-deco--spin { animation: m3e-deco-spin 26s linear infinite; }
.reda-expressive .m3e-deco--drift { animation: m3e-deco-drift 7s ease-in-out infinite; }
.reda-expressive .shape-circle .m3e-deco--primary { animation: m3e-deco-drift 9s ease-in-out infinite reverse; }
@keyframes m3e-deco-spin { to { transform: rotate(360deg); } }
@keyframes m3e-deco-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(9deg); }
}

/* Loading indicator: the CSS square is replaced by a live morphing
   Material shape (fill-rule evenodd keeps the inner cutout). */
.reda-expressive .app-loading__shape { border: 0; background: transparent; animation: none; border-radius: 0; }
.reda-expressive .app-loading__shape .m3e-loader-svg { width: 76px; height: 76px; display: block; animation: m3e-loader-rotate 5.2s linear infinite; }
.reda-expressive .app-loading__shape .m3e-loader-svg path { fill: var(--primary); }
.reda-expressive .app-loading.has-error .app-loading__shape .m3e-loader-svg path { fill: var(--error); }
@keyframes m3e-loader-rotate { to { transform: rotate(360deg); } }

/* Wavy linear progress indicator (official indeterminate style). */
.reda-expressive .m3e-wavy {
  position: relative;
  display: block;
  height: 8px;
  margin: 18px auto 4px;
  width: min(220px, 60%);
  overflow: hidden;
}
.reda-expressive .m3e-wavy::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='8' viewBox='0 0 18 8'%3E%3Cpath d='M0 4Q4.5 0 9 4T18 4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 18px 8px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='8' viewBox='0 0 18 8'%3E%3Cpath d='M0 4Q4.5 0 9 4T18 4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 18px 8px;
  animation: m3e-wave-travel .8s linear infinite;
}
@keyframes m3e-wave-travel { to { -webkit-mask-position: -18px 0; mask-position: -18px 0; } }

/* Card reveal burst sits behind the freshly loaded art. */
.reda-expressive .m3e-burst {
  position: absolute;
  inset: -6%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
}
.reda-expressive .m3e-burst path { fill: var(--primary-container); }

/* Mafia: a safe UI shell until the game API lands in the Mini App.   */
.reda-expressive .mafia-stage {
  display: grid;
  gap: 8px;
  margin: 18px 0 4px;
  padding: 26px 22px;
  border-radius: 36px 36px 14px 36px;
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
  position: relative;
  overflow: hidden;
}
.reda-expressive .mafia-stage .m3e-stage-shape { position: absolute; right: -26px; top: -22px; width: 128px; height: 128px; opacity: .96; pointer-events: none; }
.reda-expressive .mafia-stage .m3e-stage-shape path { fill: var(--primary); opacity: .3; }
.reda-expressive .mafia-stage h3 { position: relative; z-index: 1; margin: 10px 0 0; font-size: clamp(30px, 9vw, 44px); line-height: 1.04; font-weight: 650; letter-spacing: -.04em; text-wrap: balance; }
.reda-expressive .mafia-stage > p { position: relative; z-index: 1; margin: 10px 0 0; max-width: 30ch; font-size: 14px; line-height: 1.55; opacity: .9; }
.reda-expressive .mafia-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 20px; }
.reda-expressive .mafia-role { min-width: 0; padding: 16px; border-radius: 22px; background: var(--surface-container); color: var(--ink); text-align: left; }
.reda-expressive .mafia-role .m3e-role-shape { display: block; width: 44px; height: 44px; margin-bottom: 12px; }
.reda-expressive .mafia-role .m3e-role-shape path { fill: var(--secondary-container); }
.reda-expressive .mafia-role[data-role="mafia"] .m3e-role-shape path { fill: var(--error-container); }
.reda-expressive .mafia-role[data-role="doctor"] .m3e-role-shape path { fill: var(--tertiary-container); }
.reda-expressive .mafia-role b { display: block; font-size: 16px; line-height: 1.3; }
.reda-expressive .mafia-role small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
@media (max-width: 340px) { .reda-expressive .mafia-roles { grid-template-columns: 1fr; } }

/* 3.7: official shape scale and tonal elevation instead of ad-hoc shadows. */
.reda-expressive .release-banner {
  color: var(--on-primary-container) !important;
  background: var(--primary-container) !important;
  border-radius: var(--shape-xl) !important;
  box-shadow: none !important;
}
.reda-expressive dialog { box-shadow: var(--elevation-3) !important; border-radius: var(--shape-xxl) !important; }
.reda-expressive .nav { box-shadow: var(--elevation-2) !important; border-radius: var(--shape-xxl) !important; }
.reda-expressive .toast { box-shadow: var(--elevation-3) !important; }
.reda-expressive :is(.primary-action, .send) { border-radius: var(--shape-lg-increased) !important; }
.reda-expressive :is(.metric, .collectible, .settings-link) { border-radius: var(--shape-lg) !important; }
.reda-expressive .cards-hub {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.reda-expressive .cards-hub .hub-draw { grid-column: 1 / -1; }
.reda-expressive .ai-composer, body.reda-expressive.ai-mode .composer {
  bottom: calc(96px + env(safe-area-inset-bottom)) !important;
}
.reda-expressive .ai-composer,
body.reda-expressive.ai-mode .composer,
body.ai-mode .composer {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  width: min(calc(100% - 32px), 680px) !important;
  transform: translateX(-50%) !important;
  z-index: 30 !important;
}
.reda-expressive .screen-header {
  position: static !important;
  top: auto !important;
}
.reda-expressive .kwami-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 20px;
  border-radius: var(--shape-xl);
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
}
.reda-expressive .kwami-choices { display: grid; gap: 8px; }

/* ------------------------------------------------------------------ */
/* M3 Expressive · full component layer (v3.8).                        */
/* Covers every screen widget that still fell back to legacy styles:  */
/* search fields, list rows, chips, switches, badges, progress,       */
/* widgets, hollis/weather/goroh cards, empty states, subscription.   */
/* ------------------------------------------------------------------ */

/* --- Search field: filled tonal, pill shape, leading icon ---------- */
.reda-expressive .search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border: 0 !important;
  border-radius: var(--shape-full) !important;
  background: var(--surface-container-high) !important;
  color: var(--ink);
  box-shadow: none !important;
}
.reda-expressive .search-field input {
  flex: 1;
  min-width: 0;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font: var(--md-sys-typescale-body-large) !important;
  color: inherit !important;
}
.reda-expressive .search-field svg,
.reda-expressive .search-field .search-icon { color: var(--muted); flex: 0 0 auto; }

/* --- List rows (activity, tasks, awards, conversations) ------------ */
.reda-expressive :is(.activity-list, .task-list, .shop-list) { display: grid; gap: 4px; }
.reda-expressive :is(.activity-row, .task-row, .award) {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 16px !important;
}
.reda-expressive :is(.activity-row, .task-row, .award):first-child { border-radius: 20px 20px 8px 8px !important; }
.reda-expressive :is(.activity-row, .task-row, .award):last-child { border-radius: 8px 8px 20px 20px !important; }
.reda-expressive :is(.activity-row, .task-row, .award):only-child { border-radius: 20px !important; }

/* --- Notification cards: M3 list item with leading icon ------------ */
.reda-expressive .notification-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px !important;
  margin-block: 4px;
  border-radius: 16px !important;
}
.reda-expressive .notification-card.unread {
  background: var(--secondary-container) !important;
  color: var(--on-secondary-container) !important;
}
.reda-expressive .notification-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px 20px 14px 20px;
  background: var(--surface-container-high);
  color: var(--primary);
  font-size: 20px;
}
.reda-expressive .notification-card.unread .notification-icon {
  background: var(--primary);
  color: var(--on-primary);
}
.reda-expressive .notification-content { min-width: 0; flex: 1; }
.reda-expressive .notification-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.reda-expressive .notification-heading b { font: var(--md-sys-typescale-title-medium-emphasized); overflow-wrap: anywhere; }
.reda-expressive .notification-heading small { color: var(--muted); font: var(--md-sys-typescale-body-small); }
.reda-expressive .notification-content p { margin: 6px 0 0; font: var(--md-sys-typescale-body-medium); overflow-wrap: anywhere; }
.reda-expressive .notification-actions { display: flex; gap: 8px; margin-top: 12px; }
.reda-expressive .notification-actions button { min-height: 40px; padding: 8px 20px; }
.reda-expressive .status { padding: 4px 10px; border-radius: var(--shape-full); font: var(--md-sys-typescale-label-medium); background: var(--surface-container-high); color: var(--muted); white-space: nowrap; }
.reda-expressive .status.pending { background: var(--tertiary-container); color: var(--on-tertiary-container); }
.reda-expressive :is(.status.accepted, .status.done, .status.open) { background: var(--secondary-container); color: var(--on-secondary-container); }
.reda-expressive :is(.status.declined, .status.expired) { background: var(--error-container); color: var(--on-error-container); }

/* --- Badge (bell counter) ------------------------------------------ */
.reda-expressive .badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: var(--shape-full);
  background: var(--error);
  color: var(--on-error);
  font: var(--md-sys-typescale-label-small);
  font-size: 11px;
  pointer-events: none;
}
.reda-expressive .icon-button { position: relative; }

/* --- Chips / filter pills ------------------------------------------ */
.reda-expressive :is(.chip, .filter-chip) {
  min-height: 36px;
  padding: 6px 16px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--shape-sm) !important;
  background: transparent;
  color: var(--ink);
  font: var(--md-sys-typescale-label-large);
}
.reda-expressive :is(.chip, .filter-chip).active,
.reda-expressive :is(.chip, .filter-chip).selected {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  border-color: transparent;
  border-radius: var(--shape-full) !important;
}

/* --- Switch (mailing toggle, broadcast prefs) ----------------------- */
.reda-expressive .switch {
  position: relative;
  width: 52px;
  height: 32px;
  flex: 0 0 52px;
  border: 2px solid var(--outline);
  border-radius: var(--shape-full);
  background: var(--surface-container-highest);
  transition: background-color 200ms var(--reda-effects), border-color 200ms var(--reda-effects);
}
.reda-expressive .switch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--outline);
  transform: translateY(-50%);
  transition: left 200ms var(--reda-press), width 200ms var(--reda-press), height 200ms var(--reda-press), background-color 200ms var(--reda-effects);
}
.reda-expressive .switch.on,
.reda-expressive .switch[aria-checked="true"] {
  background: var(--primary);
  border-color: var(--primary);
}
.reda-expressive .switch.on::after,
.reda-expressive .switch[aria-checked="true"]::after {
  left: 28px;
  width: 24px;
  height: 24px;
  background: var(--on-primary);
}

/* --- Home widgets (streak, spark, weather) -------------------------- */
.reda-expressive :is(.streak-widget, .spark-widget, .weather-widget) {
  border: 0 !important;
  border-radius: 24px !important;
  background: var(--surface-container) !important;
  color: var(--ink);
  box-shadow: none !important;
  padding: 18px !important;
}
.reda-expressive .streak-widget { background: var(--tertiary-container) !important; color: var(--on-tertiary-container) !important; }

/* --- Hollis cards ---------------------------------------------------- */
.reda-expressive .hollis-card {
  border: 0 !important;
  border-radius: 28px !important;
  background: var(--surface-container) !important;
  color: var(--ink);
  box-shadow: none !important;
  padding: 20px !important;
}
.reda-expressive .hollis-card-title { font: var(--md-sys-typescale-title-large); letter-spacing: -.02em; }
.reda-expressive .hollis-stat {
  border-radius: 16px !important;
  background: var(--surface-container-high) !important;
  padding: 14px !important;
}

/* --- Empty states ----------------------------------------------------- */
.reda-expressive .empty-list {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 48px 24px;
  text-align: center;
  border-radius: 28px;
  background: var(--surface-container-low);
}
.reda-expressive .empty-list .empty-symbol {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px 28px 18px 28px;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  font-size: 26px;
}
.reda-expressive .empty-list h3 { margin: 8px 0 0; font: var(--md-sys-typescale-title-large); }
.reda-expressive .empty-list p { margin: 0; color: var(--muted); font: var(--md-sys-typescale-body-medium); }


/* --- Subscription / plans --------------------------------------------- */
.reda-expressive .subscription-content { display: grid; gap: 12px; }
.reda-expressive .plan-option { padding: 20px !important; transition: border-radius 350ms var(--reda-press), background-color 150ms var(--reda-effects); }

/* --- Stack form / inputs in settings ---------------------------------- */
.reda-expressive .stack-form { display: grid; gap: 12px; }

/* --- Hints ------------------------------------------------------------ */
.reda-expressive .hint { color: var(--muted); font: var(--md-sys-typescale-body-small); }

/* --- Progress (loading bar fallback) ----------------------------------- */
.reda-expressive .progress,
.reda-expressive progress {
  height: 8px;
  border-radius: var(--shape-full);
  background: var(--surface-container-highest);
  overflow: hidden;
}
.reda-expressive .progress > i,
.reda-expressive progress::-webkit-progress-value {
  background: var(--primary);
  border-radius: var(--shape-full);
}

/* --- Divider ------------------------------------------------------------ */
.reda-expressive hr {
  border: 0;
  height: 1px;
  background: var(--outline-variant);
  margin: 16px 0;
}
