/* Reda Mini App · Material Web theme.
   Tokens follow https://github.com/material-components/material-web/tree/main/docs/theming
   and the v0.192 defaults in tokens/versions/v0_192.
   Loaded last so every screen reads --md-sys-* instead of one-off values. */
@font-face {
  font-family: "Reda Google Sans";
  src: url("/assets/google-sans-full/static/GoogleSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Reda Google Sans";
  src: url("/assets/google-sans-full/static/GoogleSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Reda Google Sans";
  src: url("/assets/google-sans-full/static/GoogleSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html:root {
  --md-ref-typeface-brand: "Reda Google Sans", Roboto, system-ui, sans-serif;
  --md-ref-typeface-plain: "Reda Google Sans", Roboto, system-ui, sans-serif;
  --md-ref-typeface-weight-regular: 400;
  --md-ref-typeface-weight-medium: 500;
  --md-ref-typeface-weight-bold: 700;

  --md-sys-typescale-display-large-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-display-large-size: 57px;
  --md-sys-typescale-display-large-line-height: 64px;
  --md-sys-typescale-display-large-weight: 400;
  --md-sys-typescale-display-medium-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-display-medium-size: 45px;
  --md-sys-typescale-display-medium-line-height: 52px;
  --md-sys-typescale-display-medium-weight: 400;
  --md-sys-typescale-display-small-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-display-small-size: 36px;
  --md-sys-typescale-display-small-line-height: 44px;
  --md-sys-typescale-display-small-weight: 400;
  --md-sys-typescale-headline-large-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-large-size: 32px;
  --md-sys-typescale-headline-large-line-height: 40px;
  --md-sys-typescale-headline-large-weight: 400;
  --md-sys-typescale-headline-medium-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-medium-size: 28px;
  --md-sys-typescale-headline-medium-line-height: 36px;
  --md-sys-typescale-headline-medium-weight: 400;
  --md-sys-typescale-headline-small-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-small-size: 24px;
  --md-sys-typescale-headline-small-line-height: 32px;
  --md-sys-typescale-headline-small-weight: 400;
  --md-sys-typescale-title-large-font: var(--md-ref-typeface-brand);
  --md-sys-typescale-title-large-size: 22px;
  --md-sys-typescale-title-large-line-height: 28px;
  --md-sys-typescale-title-large-weight: 400;
  --md-sys-typescale-title-medium-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-title-medium-size: 16px;
  --md-sys-typescale-title-medium-line-height: 24px;
  --md-sys-typescale-title-medium-weight: var(--md-ref-typeface-weight-medium);
  --md-sys-typescale-title-small-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-title-small-size: 14px;
  --md-sys-typescale-title-small-line-height: 20px;
  --md-sys-typescale-title-small-weight: var(--md-ref-typeface-weight-medium);
  --md-sys-typescale-body-large-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-body-large-size: 16px;
  --md-sys-typescale-body-large-line-height: 24px;
  --md-sys-typescale-body-large-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-body-medium-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-body-medium-size: 14px;
  --md-sys-typescale-body-medium-line-height: 20px;
  --md-sys-typescale-body-medium-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-body-small-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-body-small-size: 12px;
  --md-sys-typescale-body-small-line-height: 16px;
  --md-sys-typescale-body-small-weight: var(--md-ref-typeface-weight-regular);
  --md-sys-typescale-label-large-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-label-large-size: 14px;
  --md-sys-typescale-label-large-line-height: 20px;
  --md-sys-typescale-label-large-weight: var(--md-ref-typeface-weight-medium);
  --md-sys-typescale-label-medium-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-label-medium-size: 12px;
  --md-sys-typescale-label-medium-line-height: 16px;
  --md-sys-typescale-label-medium-weight: var(--md-ref-typeface-weight-medium);
  --md-sys-typescale-label-small-font: var(--md-ref-typeface-plain);
  --md-sys-typescale-label-small-size: 11px;
  --md-sys-typescale-label-small-line-height: 16px;
  --md-sys-typescale-label-small-weight: var(--md-ref-typeface-weight-medium);

  /* Baseline M3 shape scale (v0.192). Expressive corners live on the components. */
  --md-sys-shape-corner-none: 0px;
  --md-sys-shape-corner-extra-small: 4px;
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-full: 9999px;

  /* Expressive shape set used by Reda surfaces. */
  --md-sys-shape-corner-large-increased: 20px;
  --md-sys-shape-corner-extra-large-increased: 32px;
  --md-sys-shape-corner-extra-extra-large: 48px;

  --md-filled-button-container-height: 40px;
  --md-filled-button-container-shape: var(--md-sys-shape-corner-full);
  --md-outlined-button-container-shape: var(--md-sys-shape-corner-full);
  --md-text-button-container-shape: var(--md-sys-shape-corner-full);
  --md-icon-button-container-shape: var(--md-sys-shape-corner-full);
  --md-fab-container-shape: var(--md-sys-shape-corner-large);

  color-scheme: light;
}

/* Light scheme. Roles from docs/theming/color.md. */
html:root,
html:root[data-theme="light"] {
  --md-sys-color-primary: #6750a4;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #eaddff;
  --md-sys-color-on-primary-container: #21005d;
  --md-sys-color-secondary: #625b71;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #e8def8;
  --md-sys-color-on-secondary-container: #1d192b;
  --md-sys-color-tertiary: #7d5260;
  --md-sys-color-on-tertiary: #ffffff;
  --md-sys-color-tertiary-container: #ffd8e4;
  --md-sys-color-on-tertiary-container: #31111d;
  --md-sys-color-error: #b3261e;
  --md-sys-color-on-error: #ffffff;
  --md-sys-color-error-container: #f9dedc;
  --md-sys-color-on-error-container: #410e0b;
  --md-sys-color-background: #fef7ff;
  --md-sys-color-on-background: #1d1b20;
  --md-sys-color-surface: #fef7ff;
  --md-sys-color-on-surface: #1d1b20;
  --md-sys-color-surface-variant: #e7e0ec;
  --md-sys-color-on-surface-variant: #49454f;
  --md-sys-color-surface-bright: #fef7ff;
  --md-sys-color-surface-dim: #ded8e1;
  --md-sys-color-surface-container-lowest: #ffffff;
  --md-sys-color-surface-container-low: #f7f2fa;
  --md-sys-color-surface-container: #f3edf7;
  --md-sys-color-surface-container-high: #ece6f0;
  --md-sys-color-surface-container-highest: #e6e0e9;
  --md-sys-color-outline: #79747e;
  --md-sys-color-outline-variant: #cac4d0;
  --md-sys-color-inverse-surface: #322f35;
  --md-sys-color-inverse-on-surface: #f5eff7;
  --md-sys-color-inverse-primary: #d0bcff;
  --md-sys-color-scrim: #000000;
  --md-sys-color-shadow: #000000;
}

html:root[data-theme="dark"] {
  color-scheme: dark;
  --md-sys-color-primary: #d0bcff;
  --md-sys-color-on-primary: #381e72;
  --md-sys-color-primary-container: #4f378b;
  --md-sys-color-on-primary-container: #eaddff;
  --md-sys-color-secondary: #ccc2dc;
  --md-sys-color-on-secondary: #332d41;
  --md-sys-color-secondary-container: #4a4458;
  --md-sys-color-on-secondary-container: #e8def8;
  --md-sys-color-tertiary: #efb8c8;
  --md-sys-color-on-tertiary: #492532;
  --md-sys-color-tertiary-container: #633b48;
  --md-sys-color-on-tertiary-container: #ffd8e4;
  --md-sys-color-error: #f2b8b5;
  --md-sys-color-on-error: #601410;
  --md-sys-color-error-container: #8c1d18;
  --md-sys-color-on-error-container: #f9dedc;
  --md-sys-color-background: #141218;
  --md-sys-color-on-background: #e6e0e9;
  --md-sys-color-surface: #141218;
  --md-sys-color-on-surface: #e6e0e9;
  --md-sys-color-surface-variant: #49454f;
  --md-sys-color-on-surface-variant: #cac4d0;
  --md-sys-color-surface-bright: #3b383e;
  --md-sys-color-surface-dim: #141218;
  --md-sys-color-surface-container-lowest: #0f0d13;
  --md-sys-color-surface-container-low: #1d1b20;
  --md-sys-color-surface-container: #211f26;
  --md-sys-color-surface-container-high: #2b2930;
  --md-sys-color-surface-container-highest: #36343b;
  --md-sys-color-outline: #938f99;
  --md-sys-color-outline-variant: #49454f;
  --md-sys-color-inverse-surface: #e6e0e9;
  --md-sys-color-inverse-on-surface: #322f35;
  --md-sys-color-inverse-primary: #6750a4;
}

/* Bridge the existing Reda aliases onto the official scheme. */
html:root {
  --bg: var(--md-sys-color-background);
  --surface: var(--md-sys-color-surface-container-low);
  --surface-high: var(--md-sys-color-surface-container-high);
  --ink: var(--md-sys-color-on-surface);
  --muted: var(--md-sys-color-on-surface-variant);
  --line: var(--md-sys-color-outline-variant);
  --accent: var(--md-sys-color-primary);
  --on-accent: var(--md-sys-color-on-primary);
  --soft: var(--md-sys-color-primary-container);
  --on-soft: var(--md-sys-color-on-primary-container);
  --secondary: var(--md-sys-color-secondary-container);
  --on-secondary: var(--md-sys-color-on-secondary-container);
  --tertiary: var(--md-sys-color-tertiary-container);
  --on-tertiary: var(--md-sys-color-on-tertiary-container);
  --danger: var(--md-sys-color-error);
  --primary: var(--md-sys-color-primary);
  --on-primary: var(--md-sys-color-on-primary);
  --primary-container: var(--md-sys-color-primary-container);
  --on-primary-container: var(--md-sys-color-on-primary-container);
  --secondary-container: var(--md-sys-color-secondary-container);
  --on-secondary-container: var(--md-sys-color-on-secondary-container);
  --tertiary-container: var(--md-sys-color-tertiary-container);
  --on-tertiary-container: var(--md-sys-color-on-tertiary-container);
  --surface-container-lowest: var(--md-sys-color-surface-container-lowest);
  --surface-container-low: var(--md-sys-color-surface-container-low);
  --surface-container: var(--md-sys-color-surface-container);
  --surface-container-high: var(--md-sys-color-surface-container-high);
  --surface-container-highest: var(--md-sys-color-surface-container-highest);
  --on-surface: var(--md-sys-color-on-surface);
  --on-surface-variant: var(--md-sys-color-on-surface-variant);
  --outline: var(--md-sys-color-outline);
  --outline-variant: var(--md-sys-color-outline-variant);
  --inverse-surface: var(--md-sys-color-inverse-surface);
  --inverse-on-surface: var(--md-sys-color-inverse-on-surface);
  --error: var(--md-sys-color-error);
  --on-error: var(--md-sys-color-on-error);
  --error-container: var(--md-sys-color-error-container);
  --on-error-container: var(--md-sys-color-on-error-container);
  --surface-dim: var(--md-sys-color-surface-dim);
  --surface-bright: var(--md-sys-color-surface-bright);
  --surface-variant: var(--md-sys-color-surface-variant);
  --surface-tint: var(--md-sys-color-primary);
  --shape-none: var(--md-sys-shape-corner-none);
  --shape-xs: var(--md-sys-shape-corner-extra-small);
  --shape-sm: var(--md-sys-shape-corner-small);
  --shape-md: var(--md-sys-shape-corner-medium);
  --shape-lg: var(--md-sys-shape-corner-large);
  --shape-lg-increased: var(--md-sys-shape-corner-large-increased);
  --shape-xl: var(--md-sys-shape-corner-extra-large);
  --shape-xxl: var(--md-sys-shape-corner-extra-extra-large);
  --shape-full: var(--md-sys-shape-corner-full);
}

body.reda-expressive {
  background: var(--md-sys-color-background);
  color: var(--md-sys-color-on-background);
  font-family: var(--md-ref-typeface-plain);
  font-size: var(--md-sys-typescale-body-large-size);
  font-weight: var(--md-sys-typescale-body-large-weight);
  line-height: var(--md-sys-typescale-body-large-line-height);
}

.md-typescale-display-large,
.reda-expressive .reda-hero .home-title h1 {
  font-family: var(--md-sys-typescale-display-large-font) !important;
  font-size: var(--md-sys-typescale-display-large-size) !important;
  font-weight: var(--md-sys-typescale-display-large-weight) !important;
  line-height: var(--md-sys-typescale-display-large-line-height) !important;
  letter-spacing: -0.25px !important;
}
.md-typescale-display-medium,
.reda-expressive .ai-welcome h1 {
  font-family: var(--md-sys-typescale-display-medium-font) !important;
  font-size: var(--md-sys-typescale-display-medium-size) !important;
  font-weight: var(--md-sys-typescale-display-medium-weight) !important;
  line-height: var(--md-sys-typescale-display-medium-line-height) !important;
  letter-spacing: 0 !important;
}
.md-typescale-headline-large,
.reda-expressive .screen-header h2 {
  font-family: var(--md-sys-typescale-headline-large-font) !important;
  font-size: var(--md-sys-typescale-headline-large-size) !important;
  font-weight: var(--md-sys-typescale-headline-large-weight) !important;
  line-height: var(--md-sys-typescale-headline-large-line-height) !important;
  letter-spacing: 0 !important;
}
.md-typescale-headline-medium,
.reda-expressive .ask h2 {
  font-family: var(--md-sys-typescale-headline-medium-font) !important;
  font-size: var(--md-sys-typescale-headline-medium-size) !important;
  font-weight: var(--md-sys-typescale-headline-medium-weight) !important;
  line-height: var(--md-sys-typescale-headline-medium-line-height) !important;
  letter-spacing: 0 !important;
}
.md-typescale-headline-small,
.reda-expressive .section-title h2 {
  font-family: var(--md-sys-typescale-headline-small-font) !important;
  font-size: var(--md-sys-typescale-headline-small-size) !important;
  font-weight: var(--md-sys-typescale-headline-small-weight) !important;
  line-height: var(--md-sys-typescale-headline-small-line-height) !important;
  letter-spacing: 0 !important;
}
.md-typescale-title-large,
.reda-expressive .settings-block h3 {
  font-family: var(--md-sys-typescale-title-large-font) !important;
  font-size: var(--md-sys-typescale-title-large-size) !important;
  font-weight: var(--md-sys-typescale-title-large-weight) !important;
  line-height: var(--md-sys-typescale-title-large-line-height) !important;
  letter-spacing: 0 !important;
}
.md-typescale-title-medium,
.reda-expressive .quick b,
.reda-expressive .hub-action b {
  font-family: var(--md-sys-typescale-title-medium-font) !important;
  font-size: var(--md-sys-typescale-title-medium-size) !important;
  font-weight: var(--md-sys-typescale-title-medium-weight) !important;
  line-height: var(--md-sys-typescale-title-medium-line-height) !important;
  letter-spacing: 0.15px !important;
}
.md-typescale-body-large,
.reda-expressive .screen-copy,
.reda-expressive .reda-hero .home-title .lede {
  font-family: var(--md-sys-typescale-body-large-font) !important;
  font-size: var(--md-sys-typescale-body-large-size) !important;
  font-weight: var(--md-sys-typescale-body-large-weight) !important;
  line-height: var(--md-sys-typescale-body-large-line-height) !important;
  letter-spacing: 0.5px !important;
}
.md-typescale-body-medium,
.reda-expressive .quick small,
.reda-expressive .hub-action small {
  font-family: var(--md-sys-typescale-body-medium-font) !important;
  font-size: var(--md-sys-typescale-body-medium-size) !important;
  font-weight: var(--md-sys-typescale-body-medium-weight) !important;
  line-height: var(--md-sys-typescale-body-medium-line-height) !important;
  letter-spacing: 0.25px !important;
}
.md-typescale-label-large,
.reda-expressive :is(.primary-action, .secondary-action, .text-button) {
  font-family: var(--md-sys-typescale-label-large-font) !important;
  font-size: var(--md-sys-typescale-label-large-size) !important;
  font-weight: var(--md-sys-typescale-label-large-weight) !important;
  line-height: var(--md-sys-typescale-label-large-line-height) !important;
  letter-spacing: 0.1px !important;
}
.md-typescale-label-small,
.reda-expressive .eyebrow,
.reda-expressive .reda-hero .home-title .eyebrow {
  font-family: var(--md-sys-typescale-label-small-font) !important;
  font-size: var(--md-sys-typescale-label-small-size) !important;
  font-weight: var(--md-sys-typescale-label-small-weight) !important;
  line-height: var(--md-sys-typescale-label-small-line-height) !important;
  letter-spacing: 0.5px !important;
}

/* Expressive surfaces. One radius scale, even padding, no mixed shadows. */
.reda-expressive .shell {
  background: transparent;
}
.reda-expressive [data-screen="home"] .reda-hero {
  min-height: 0 !important;
  margin: 0 0 16px !important;
  padding: 28px 24px 32px !important;
  border-radius: var(--md-sys-shape-corner-extra-extra-large) var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-extra-large) var(--md-sys-shape-corner-extra-large) !important;
  background: var(--md-sys-color-primary-container) !important;
  color: var(--md-sys-color-on-primary-container) !important;
}
.reda-expressive .reda-hero .home-title h1 {
  max-width: none !important;
}
.reda-expressive .great-bugfix-banner.launch-banner {
  margin: 0 0 16px !important;
  padding: 16px 20px !important;
  border-radius: var(--md-sys-shape-corner-extra-large) !important;
  background: var(--md-sys-color-secondary-container) !important;
  color: var(--md-sys-color-on-secondary-container) !important;
}
.reda-expressive .ask {
  margin: 0 0 16px !important;
  padding: 24px !important;
  border-radius: var(--md-sys-shape-corner-extra-large-increased) !important;
  background: var(--md-sys-color-tertiary-container) !important;
  color: var(--md-sys-color-on-tertiary-container) !important;
}
.reda-expressive .ask h2,
.reda-expressive .ask textarea,
.reda-expressive .ask .text-button {
  color: inherit !important;
}
.reda-expressive .overview {
  gap: 12px;
  margin: 16px 0 24px;
}
.reda-expressive .metric,
.reda-expressive .metric:first-child,
.reda-expressive .metric:last-child {
  padding: 16px !important;
  border-radius: var(--md-sys-shape-corner-large) !important;
  background: var(--md-sys-color-surface-container) !important;
  color: var(--md-sys-color-on-surface) !important;
}
.reda-expressive .metric strong {
  color: var(--md-sys-color-primary);
  font-family: var(--md-sys-typescale-headline-small-font) !important;
  font-size: var(--md-sys-typescale-headline-small-size) !important;
  font-weight: var(--md-ref-typeface-weight-bold) !important;
  line-height: var(--md-sys-typescale-headline-small-line-height) !important;
}
.reda-expressive :is(.quick, .home-widget) {
  padding: 16px !important;
  border-radius: var(--md-sys-shape-corner-extra-large) !important;
  background: var(--md-sys-color-surface-container-low) !important;
  color: var(--md-sys-color-on-surface) !important;
}
.reda-expressive .quick.featured {
  background: var(--md-sys-color-primary-container) !important;
  color: var(--md-sys-color-on-primary-container) !important;
}
.reda-expressive :is(.quick-icon, .widget-symbol) {
  border-radius: var(--md-sys-shape-corner-large) !important;
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}
.reda-expressive :is(.primary-action, .secondary-action, .text-button, .launch-tour-jump) {
  min-height: 40px;
  padding: 10px 24px;
  border-radius: var(--md-filled-button-container-shape) !important;
}
.reda-expressive .primary-action {
  background: var(--md-sys-color-primary) !important;
  color: var(--md-sys-color-on-primary) !important;
}
.reda-expressive .secondary-action {
  background: var(--md-sys-color-secondary-container) !important;
  color: var(--md-sys-color-on-secondary-container) !important;
}
.reda-expressive .send {
  width: 56px !important;
  height: 56px !important;
  border-radius: var(--md-fab-container-shape) !important;
  background: var(--md-sys-color-primary-container) !important;
  color: var(--md-sys-color-on-primary-container) !important;
}
.reda-expressive :is(.icon-button, .back, .ai-icon, .dialog-close) {
  border-radius: var(--md-icon-button-container-shape) !important;
  background: var(--md-sys-color-surface-container-high) !important;
  color: var(--md-sys-color-on-surface) !important;
}
.reda-expressive :is(.settings-block, .profile-lines, .subscription-status, .subscription-access, .managed-panel) {
  padding: 16px !important;
  border-radius: var(--md-sys-shape-corner-extra-large) !important;
  background: var(--md-sys-color-surface-container-low) !important;
}
.reda-expressive :is(.settings-link, .model, .conversation-item, .activity-row, .notification-card, .task-row, .award, .managed-chat-card) {
  border-radius: var(--md-sys-shape-corner-large) !important;
  background: var(--md-sys-color-surface-container) !important;
}
.reda-expressive .hub-action {
  border-radius: var(--md-sys-shape-corner-extra-large) !important;
  background: var(--md-sys-color-surface-container) !important;
  color: var(--md-sys-color-on-surface) !important;
}
.reda-expressive .hub-draw {
  border-radius: var(--md-sys-shape-corner-extra-extra-large) var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-extra-large) var(--md-sys-shape-corner-extra-large) !important;
  background: var(--md-sys-color-primary-container) !important;
  color: var(--md-sys-color-on-primary-container) !important;
}
.reda-expressive .collectible {
  border-radius: var(--md-sys-shape-corner-extra-large) !important;
  background: var(--md-sys-color-surface-container-low) !important;
}
.reda-expressive .card-photo {
  border-radius: var(--md-sys-shape-corner-large) !important;
}
.reda-expressive .profile-hero,
.reda-expressive .ai-welcome,
.reda-expressive .launch-tour-card {
  border-radius: var(--md-sys-shape-corner-extra-extra-large) !important;
  background: var(--md-sys-color-primary-container) !important;
  color: var(--md-sys-color-on-primary-container) !important;
}
.reda-expressive .nav {
  height: 80px !important;
  padding: 8px !important;
  border: 0 !important;
  border-radius: var(--md-sys-shape-corner-extra-extra-large) !important;
  background: color-mix(in srgb, var(--md-sys-color-surface-container) 92%, transparent) !important;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--md-sys-color-shadow) 30%, transparent), 0 2px 6px 2px color-mix(in srgb, var(--md-sys-color-shadow) 15%, transparent) !important;
  backdrop-filter: blur(16px);
}
.reda-expressive .nav-item.active > span {
  background: var(--md-sys-color-secondary-container) !important;
  color: var(--md-sys-color-on-secondary-container) !important;
  border-radius: var(--md-sys-shape-corner-full) !important;
}
.reda-expressive dialog {
  border-radius: var(--md-sys-shape-corner-extra-large) !important;
  background: var(--md-sys-color-surface-container-high) !important;
  color: var(--md-sys-color-on-surface) !important;
}
.reda-expressive .toast {
  border-radius: var(--md-sys-shape-corner-extra-small) !important;
  background: var(--md-sys-color-inverse-surface) !important;
  color: var(--md-sys-color-inverse-on-surface) !important;
}
.reda-expressive :is(.ai-composer, .composer) {
  border-radius: var(--md-sys-shape-corner-extra-large) !important;
  border: 1px solid var(--md-sys-color-outline-variant) !important;
  background: var(--md-sys-color-surface-container-high) !important;
  color: var(--md-sys-color-on-surface) !important;
}
.reda-expressive :is(input:not([type="checkbox"]):not([type="hidden"]), select, textarea:not(#prompt):not(#ai-input):not(#chat-input)) {
  border-radius: var(--md-sys-shape-corner-extra-small) !important;
  border: 1px solid var(--md-sys-color-outline) !important;
  background: var(--md-sys-color-surface-container-highest) !important;
  color: var(--md-sys-color-on-surface) !important;
}
.reda-expressive :is(.switcher, .provider-tabs, .mode-picker, .theme-picker, .draw-options) > button {
  border-radius: var(--md-sys-shape-corner-full) !important;
  background: var(--md-sys-color-surface-container-high) !important;
  color: var(--md-sys-color-on-surface) !important;
}
.reda-expressive :is(.switcher, .provider-tabs, .mode-picker, .theme-picker, .draw-options) > button.active {
  background: var(--md-sys-color-secondary-container) !important;
  color: var(--md-sys-color-on-secondary-container) !important;
}

@media (max-width: 420px) {
  .md-typescale-display-large,
  .reda-expressive .reda-hero .home-title h1 {
    font-size: 40px !important;
    line-height: 48px !important;
  }
  .md-typescale-display-medium,
  .reda-expressive .ai-welcome h1 {
    font-size: 36px !important;
    line-height: 44px !important;
  }
}
