@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/branding/SchibstedGrotesk-Bold-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Semantic aliases come from the supplied Foxo design system, including dark mode. */
html:root {
  --font-sans: var(--fx-font-text);
  --font-mono: var(--fx-font-mono);
  --radius: var(--fx-r-md);
  font-family: var(--fx-font-text);
}
html:root:not([data-foxo-platform]) {
  --background: var(--fx-ground);
  --dialog: var(--fx-surface-raised);
  --foreground: var(--fx-ink);
  --card: var(--fx-surface);
  --card-foreground: var(--fx-ink);
  --popover: var(--fx-surface-raised);
  --popover-foreground: var(--fx-ink);
  --primary: var(--fx-action);
  --primary-foreground: var(--fx-on-action);
  --primary-hover: var(--fx-action-hover);
  --primary-disabled: var(--fx-action-tint);
  --secondary: var(--fx-surface-sunken);
  --secondary-foreground: var(--fx-ink);
  --muted: var(--fx-surface-sunken);
  --muted-foreground: var(--fx-muted);
  --faint-foreground: var(--fx-faint);
  --accent: var(--fx-action-tint);
  --accent-foreground: var(--fx-ink);
  --destructive: var(--fx-red);
  --destructive-fill: var(--fx-red);
  --destructive-foreground: #fff;
  --border: var(--fx-border);
  --input: var(--fx-border-strong);
  --ring: var(--fx-focus);
  --sidebar: var(--fx-surface);
  --sidebar-foreground: var(--fx-ink);
  --sidebar-border: var(--fx-border);
  --sidebar-accent: var(--fx-action-tint);
  --sidebar-accent-foreground: var(--fx-action);
  --link: var(--fx-link);
  --success: var(--fx-green);
  --warning: var(--fx-amber);
  --status-working: var(--fx-action);
  --unread: var(--fx-action);
}
html:root[data-foxo-platform] {
  --bg: var(--fx-ground);
  --surface: var(--fx-surface);
  --ink: var(--fx-ink);
  --muted: var(--fx-muted);
  --line: var(--fx-border);
  --nav: var(--fx-surface-sunken);
  --good: var(--fx-green);
  --good-bg: var(--fx-green-tint);
  --warn: var(--fx-amber);
  --warn-bg: var(--fx-amber-tint);
  --bad: var(--fx-red);
  --bad-bg: var(--fx-red-tint);
  --focus: var(--fx-focus);
  background: var(--fx-ground);
  color: var(--fx-ink);
}
[data-foxo-platform] h1,
[data-foxo-platform] h2,
[data-rakazo-surface="auth"] h1 {
  font-family: var(--fx-font-display);
  font-weight: var(--fx-weight-display);
  letter-spacing: var(--fx-track-display);
  line-height: var(--fx-lh-snug);
}
[data-foxo-platform] h1 { font-size: var(--fx-fs-2xl); }
[data-foxo-platform] .brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fx-sp-2);
  padding-top: var(--fx-sp-2);
}
[data-foxo-platform] .brand small { margin: 0; }
[data-foxo-platform] .brand [data-foxo-wordmark] { width: 128px; }
.foxo-wordmark { display: block; width: 100%; height: auto; color: var(--fx-ink); }
.foxo-logo-accent { fill: var(--fx-action); }
[data-foxo-platform] .button:not(.secondary) {
  background: var(--fx-action);
  border-color: var(--fx-action);
  color: var(--fx-on-action);
}
[data-foxo-platform] .button:not(.secondary):hover {
  background: var(--fx-action-hover);
  border-color: var(--fx-action-hover);
  filter: none;
}
[data-foxo-platform] .button.secondary:hover { background: var(--fx-surface-sunken); filter: none; }
[data-foxo-platform] .nav.active { color: var(--fx-action); background: var(--fx-action-tint); }
[data-foxo-platform] input,
[data-foxo-platform] select { border-color: var(--fx-border-strong); }
[data-foxo-platform] dialog { background: var(--fx-surface-raised); box-shadow: var(--fx-shadow-3); }
[data-foxo-platform] dialog::backdrop { background: var(--fx-scrim); }
[data-rakazo-surface="auth"] { background: var(--fx-ground); color: var(--fx-ink); }
[data-rakazo-surface="auth"] form {
  padding: var(--fx-sp-10);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-r-lg);
  background: var(--fx-surface);
  box-shadow: var(--fx-shadow-1);
}
[data-rakazo-surface="auth"] [data-foxo-wordmark] {
  display: block;
  width: 184px;
  height: auto;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  margin: var(--fx-sp-2) var(--fx-sp-8) 0;
}
[data-rakazo-surface="auth"] [data-foxo-wordmark] > span { display: none; }
[data-rakazo-surface="auth"] h1 { font-size: var(--fx-fs-2xl); margin-top: var(--fx-sp-8); margin-bottom: var(--fx-sp-8); }
[data-rakazo-surface="auth"] input { background: var(--fx-surface); border-color: var(--fx-border-strong); }
[data-rakazo-surface="auth"] a { color: var(--fx-link); }
::selection { background: var(--fx-selection); }
@media (max-width: 600px) {
  [data-rakazo-surface="auth"] form { padding: var(--fx-sp-8) var(--fx-sp-6); }
  [data-rakazo-surface="auth"] h1 { font-size: var(--fx-fs-xl); }
  [data-rakazo-surface="auth"] [data-foxo-wordmark] { width: 160px; }
  [data-foxo-platform] .brand { padding: 0; }
  [data-foxo-platform] .brand small { display: none; }
  [data-foxo-platform] .brand [data-foxo-wordmark] { width: 104px; }
}
/* Official Agrizy asset from agrizy.in, displayed intact on its dark brand field. */
.agrizy-official-logo{display:block;width:100%;height:auto;object-fit:contain}
[data-rakazo-surface="auth"] [data-foxo-wordmark]{width:184px;padding:20px 24px;background:#14583e;border-radius:10px;margin:8px auto 0;height:auto}
[data-rakazo-surface="auth"] [data-foxo-wordmark]>svg{display:none}
[data-foxo-platform] .brand [data-foxo-wordmark]{background:#14583e;padding:12px 18px;border-radius:8px;width:140px}
.agrizy-home{display:block;background:#14583e;padding:7px 11px;border-radius:6px;width:82px;flex-shrink:0;margin-right:8px}
[data-state="collapsed"] .agrizy-home{width:52px;padding:6px;margin:0}
html:root{--fx-action:#14583e;--fx-action-hover:#0e452f;--fx-action-tint:#e4f1e8;--fx-link:#14583e;--fx-focus:#75bc4c}

.agrizy-shell-header{flex-wrap:wrap}.agrizy-native-menu{flex-basis:100%;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:14px;border-top:1px solid #dce5df;padding-top:10px}.agrizy-native-menu a{font-size:12px;color:#14583e;text-decoration:none;padding:6px 7px;border-radius:4px}.agrizy-native-menu a:hover{background:#e4f1e8}[data-state="collapsed"] .agrizy-native-menu{display:none}

/* Bot conversations live on the Bots page; the native sidebar is navigation only. */
[data-testid="bots-sidebar"] .gtm-hidden-roster{display:none!important}
[data-testid="bots-sidebar"] [data-testid="sidebar-search-trigger"],
[data-testid="bots-sidebar"] [data-activity-mode]{display:none!important}
.agrizy-shell-header{margin-bottom:auto}.agrizy-native-menu{grid-template-columns:1fr;gap:5px}.agrizy-native-menu a{font-size:14px;padding:10px 12px}.agrizy-native-menu a.active{background:#e4f1e8;font-weight:600}
