/* Variables de color, base del documento y estructura general (barra lateral y página). */

:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --soft: #f7f9fc;
  --soft-blue: #eef2fa;
  --text: #12172a;
  --muted: #5b6577;
  --line: #e3e7ef;
  --blue: #3355d8;
  --blue-dark: #24409e;
  --teal: #0f766e;
  --green: #0f8a6c;
  --orange: #b5790a;
  --red: #c23b3b;
  --purple: #6d28d9;
  --slate: #334155;
  --sidebar-bg: #101b34;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 24px rgba(16, 24, 40, .05);
  --shadow-soft: 0 1px 2px rgba(16, 24, 40, .05);
  --radius: 14px;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Schibsted Grotesk", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.app {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
}

.sidebar {
  width: 288px;
  flex: 0 0 288px;
  background: var(--sidebar-bg, #0c1a3a);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 28px 0;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.sidebar-brand-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.sidebar-brand-sub {
  font-size: 12px;
  color: #9db2e0;
  margin-top: 3px;
  font-weight: 600;
}


.page {
  flex: 1 1 auto;
  min-width: 0;
  /* Antes tope de 1440px sin centrar: en pantallas anchas dejaba un hueco
     vacío pegado a la derecha. Se sube el tope y se centra, así en la
     mayoría de las pantallas usa todo el ancho disponible y solo en
     monitores muy anchos (ultrawide) deja aire parejo a los dos lados. */
  max-width: 1800px;
  margin: 0 auto;
  padding: 30px 38px 64px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
