/* ScreenUsage feedback branding — 30 October 2026.
   Keep selectors shallow so Fider upgrades are easier to accommodate. */
@font-face {
  font-family: 'ScreenUsage Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('https://screenusage.app/assets/_vinext_fonts/nunito-sans-d841bc025490/nunito-sans-9ad6ba43.woff2') format('woff2');
}
body[data-theme='light'] {
  --su-background: #f7fbff;
  --su-surface: #ffffff;
  --su-mint: #e6f7f0;
  --su-text: #172033;
  --su-muted: #526174;
  --su-border: #d8e7e2;
  --su-accent: #11866a;
  --su-accent-hover: #0d6b55;
  --su-link: #0d785e;
  --su-on-accent: #ffffff;
}
body[data-theme='dark'] {
  --su-background: #111e22;
  --su-surface: #192a2e;
  --su-mint: #1b3934;
  --su-text: #edf6f2;
  --su-muted: #b2c9c3;
  --su-border: #354b47;
  --su-accent: #65dbb4;
  --su-accent-hover: #8be6c8;
  --su-link: #7be2bf;
  --su-on-accent: #102b24;
}
body[data-theme] {
  --primary-color: var(--su-accent);
  --primary-color-light: var(--su-mint);
  --primary-color-dark: var(--su-accent-hover);
  --colors-gray-100: var(--su-background);
  --colors-gray-200: var(--su-border);
  --colors-gray-300: var(--su-border);
  --colors-gray-400: var(--su-muted);
  --colors-gray-500: var(--su-muted);
  --colors-gray-600: var(--su-muted);
  --colors-gray-700: var(--su-muted);
  --colors-gray-800: var(--su-text);
  --colors-gray-900: var(--su-text);
  --colors-white: var(--su-surface);
  --colors-black: var(--su-text);
  background: var(--su-background);
  color: var(--su-text);
  font-family: 'ScreenUsage Nunito Sans', 'Nunito Sans', system-ui, sans-serif;
}
button, input, textarea, select { font-family: inherit; }
a { color: var(--su-link); }
.c-menu {
  background: var(--su-surface);
  border-bottom: 1px solid var(--su-border);
}
.c-header__brand { color: var(--su-text); }
.c-header__brand .text-header { font-weight: 850; letter-spacing: -0.035em; }
.c-header__nav-link { color: var(--su-muted); }
.c-header__nav-link--active {
  color: var(--su-link);
  border-color: var(--su-accent);
}
.c-header__nav-link[href='/roadmap'] { display: none !important; }
.c-button--primary {
  background: var(--su-accent) !important;
  border-color: var(--su-accent) !important;
  color: var(--su-on-accent) !important;
  border-radius: 999px;
  font-weight: 800;
}
.c-button--primary:hover {
  background: var(--su-accent-hover) !important;
  border-color: var(--su-accent-hover) !important;
}
.p-home__welcome-title {
  color: var(--su-text);
  font-size: 2.25rem;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.p-home__welcome-body { color: var(--su-muted); line-height: 1.65; }
.p-home__add-idea-btn {
  background: var(--su-mint);
  color: var(--su-text);
  border: 1px solid var(--su-border);
  border-radius: 18px;
  box-shadow: none;
  font-weight: 750;
}
.p-home__add-idea-btn:hover { border-color: var(--su-accent); }
.p-home__add-idea-icon { color: var(--su-link); }
.c-posts-container__post {
  background: var(--su-surface);
  color: var(--su-text);
  border: 1px solid var(--su-border);
  border-radius: 20px;
  box-shadow: none;
}
.c-posts-container__post:hover { border-color: var(--su-accent); }
.c-posts-container__post-title { color: var(--su-text); font-weight: 800; }
.c-posts-container__postdescription { color: var(--su-muted); }
.c-posts-container__post-votes { color: var(--su-link); }
.c-input {
  background: var(--su-surface);
  color: var(--su-text);
  border-color: var(--su-border);
}
.c-input::placeholder { color: var(--su-muted); opacity: 1; }
:focus-visible { outline: 2px solid var(--su-accent); outline-offset: 3px; }

/* Fider scopes home and theme rules more strongly than shared components. */
body[data-theme] #root { background: var(--su-background); }
body[data-theme] #p-home .p-home__welcome-title {
  color: var(--su-text); font-weight: 850; letter-spacing: -0.04em;
}
body[data-theme] #p-home .p-home__add-idea-btn {
  background: var(--su-mint); color: var(--su-text);
  border-color: var(--su-border); font-weight: 750; box-shadow: none;
}
body[data-theme] #p-home .p-home__add-idea-btn:hover { border-color: var(--su-accent); }
body[data-theme] #p-home .p-home__add-idea-icon { color: var(--su-link); }
body[data-theme] .c-posts-container__post { background: var(--su-surface); }
body[data-theme] #c-header .c-header__nav-link { color: var(--su-muted); }
body[data-theme] #c-header .c-header__nav-link--active { color: var(--su-link); }
body[data-theme] .c-vote-counter__button {
  background: var(--su-mint); color: var(--su-link); border-color: var(--su-border);
}
body[data-theme] .c-vote-counter__icon { color: var(--su-link); }
body[data-theme] .c-vote-counter__button--voted { border-color: var(--su-accent); }