/* [project]/apps/web/src/app/globals.css [app-client] (css) */
:root {
  --ink: #1a1f2b;
  --ink-soft: #4a5263;
  --paper: #fff;
  --paper-soft: #f4f6f9;
  --line: #d3d8e0;
  --primary: #1f63c9;
  --primary-ink: #fff;
  --success: #1b7f3b;
  --warning: #9a4a00;
  --danger: #da291c;
  --info-bg: #e8f1fb;
  --warning-bg: #fff4e5;
  --danger-bg: #fdecea;
  --success-bg: #e8f5ec;
  --focus: #c27803;
  --radius: 6px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --row-h: 44px;
  --rm-navy-950: #04101f;
  --rm-navy-800: #0b3d66;
  --rm-blue: #1f63c9;
  --rm-red: #da291c;
  --rm-yellow: #ffc61e;
  --rm-gold: #e8a21c;
  --rm-gold-ink: #96650f;
  --rm-mist: #e9f0fa;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper-soft);
  margin: 0;
  line-height: 1.45;
}

h1, h2, h3 {
  margin: 0 0 .5rem;
  line-height: 1.2;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.2rem;
}

h3 {
  font-size: 1.05rem;
}

a {
  color: var(--primary);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.sr-only {
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

.shell {
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  display: grid;
}

.shell__nav {
  background: var(--paper);
  border-right: 1px solid var(--line);
  padding: 1rem;
}

.shell__nav h2 {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  margin-top: 1rem;
  font-size: .8rem;
}

.shell__nav a {
  border-radius: var(--radius);
  color: var(--ink);
  padding: .5rem .6rem;
  text-decoration: none;
  display: block;
}

.shell__nav a[aria-current="page"] {
  background: var(--info-bg);
  font-weight: 600;
}

.shell__main {
  max-width: 1400px;
  padding: 1.25rem 1.5rem;
}

.brand {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.synthetic-banner {
  background: var(--warning-bg);
  color: var(--warning);
  border-radius: var(--radius);
  border: 1px solid #f0c48a;
  margin-bottom: 1rem;
  padding: .35rem .75rem;
  font-size: .85rem;
}

.page-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
}

.toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: .75rem 0;
  display: flex;
}

.muted {
  color: var(--ink-soft);
}

.mono {
  font-family: var(--mono);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  display: grid;
}

.grid-kpi {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
  display: grid;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.card h3 {
  margin-bottom: .25rem;
}

.btn {
  font: inherit;
  border-radius: var(--radius);
  border: 1px solid var(--primary);
  background: var(--primary);
  min-height: 40px;
  color: var(--primary-ink);
  cursor: pointer;
  padding: .4rem .9rem;
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.btn--secondary {
  background: var(--paper);
  color: var(--primary);
}

.btn--danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.btn--warning {
  background: var(--warning);
  border-color: var(--warning);
  color: #fff;
}

.btn--success {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: none;
}

.btn--small {
  min-height: 32px;
  padding: .2rem .6rem;
  font-size: .9rem;
}

kbd {
  font-family: var(--mono);
  border: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--ink);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0 .35em;
  font-size: .8em;
}

.field {
  flex-direction: column;
  gap: .25rem;
  margin-bottom: .75rem;
  display: flex;
}

.field label {
  font-weight: 600;
}

.field input, .field select, .field textarea {
  font: inherit;
  border: 1px solid var(--ink-soft);
  border-radius: var(--radius);
  background: var(--paper);
  min-height: 40px;
  color: var(--ink);
  padding: .4rem .6rem;
}

.field textarea {
  min-height: 88px;
}

.field__hint {
  color: var(--ink-soft);
  font-size: .875rem;
}

.field__error {
  color: var(--danger);
  font-size: .9rem;
  font-weight: 600;
}

.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  border-width: 2px;
}

.notice {
  border-radius: var(--radius);
  border: 1px solid;
  margin: .75rem 0;
  padding: .75rem 1rem;
}

.notice--info {
  background: var(--info-bg);
  color: #0b3a70;
  border-color: #9cc0ea;
}

.notice--warning {
  background: var(--warning-bg);
  color: #6b3300;
  border-color: #f0c48a;
}

.notice--danger {
  background: var(--danger-bg);
  color: #7a1a14;
  border-color: #f3a9a3;
}

.notice--success {
  background: var(--success-bg);
  color: #12522a;
  border-color: #9ed4ad;
}

.state {
  text-align: center;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1rem;
}

.state h2 {
  margin-bottom: .5rem;
  font-size: 1.1rem;
}

.chart-title, figure .card h2, figure h2 {
  font-size: 1.05rem;
}

.badge {
  white-space: nowrap;
  border: 1px solid;
  border-radius: 999px;
  padding: .1rem .5rem;
  font-size: .8rem;
  font-weight: 600;
  display: inline-block;
}

.badge--pendiente {
  background: var(--info-bg);
  color: #0b3a70;
  border-color: #9cc0ea;
}

.badge--verificado, .badge--cumplida, .badge--listo, .badge--activo, .badge--vigente {
  background: var(--success-bg);
  color: #12522a;
  border-color: #9ed4ad;
}

.badge--observado, .badge--en_riesgo, .badge--media, .badge--en_proceso, .badge--pendiente_segunda_aprobacion {
  background: var(--warning-bg);
  color: #6b3300;
  border-color: #f0c48a;
}

.badge--rechazado, .badge--baja, .badge--alta, .badge--fallido, .badge--revoked, .badge--inactivo {
  background: var(--danger-bg);
  color: #7a1a14;
  border-color: #f3a9a3;
}

.badge--neutral, .badge--baja_sev, .badge--en_progreso, .badge--borrador, .badge--archivada {
  background: var(--paper-soft);
  border-color: var(--line);
  color: var(--ink-soft);
}

.context-header {
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin-bottom: 1rem;
  padding: .5rem .75rem;
  font-size: .9rem;
  display: flex;
}

.context-header strong {
  color: var(--ink);
}

.kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem 1rem;
}

.kpi__label {
  color: var(--ink-soft);
  font-size: .85rem;
}

.kpi__value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.kpi__delta {
  font-size: .9rem;
}

table.data {
  border-collapse: collapse;
  background: var(--paper);
  width: 100%;
}

table.data th, table.data td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  padding: .5rem .6rem;
}

table.data th {
  background: var(--paper-soft);
  position: sticky;
  top: 0;
}

table.data td.num, table.data th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.vtable {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.vtable__head, .vtable__row {
  min-height: var(--row-h);
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: .5rem;
  padding: 0 .6rem;
  display: grid;
}

.vtable__head {
  background: var(--paper-soft);
  font-size: .9rem;
  font-weight: 600;
}

.vtable__viewport {
  position: relative;
  overflow: auto;
}

.vtable__row {
  position: absolute;
  left: 0;
  right: 0;
}

.vtable__row[aria-selected="true"] {
  background: var(--info-bg);
}

.vtable__row[data-cursor="true"] {
  box-shadow: inset 4px 0 0 var(--primary);
}

.vtable__row:focus-visible {
  outline-offset: -3px;
}

.vtable__row .cell {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: calc(100% - 2rem);
  max-width: 560px;
  color: var(--ink);
  padding: 1.25rem;
}

dialog::backdrop {
  background: #1418218c;
}

dialog h2 {
  margin-bottom: .75rem;
}

.dialog__actions {
  justify-content: flex-end;
  gap: .5rem;
  margin-top: 1rem;
  display: flex;
}

.chart {
  width: 100%;
  height: auto;
  font-size: 12px;
}

.chart text {
  fill: var(--ink);
}

.chart .axis {
  stroke: var(--line);
}

.legend {
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: .5rem 0;
  font-size: .85rem;
  display: flex;
}

.legend__swatch {
  border: 1px solid var(--ink-soft);
  vertical-align: -2px;
  width: 14px;
  height: 14px;
  margin-right: .3rem;
  display: inline-block;
}

.map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef3f8;
  height: 520px;
}

.crumbs {
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin: .5rem 0;
  display: flex;
}

.crumbs button {
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  background: none;
  border: none;
  padding: .25rem;
  text-decoration: underline;
}

.shortcuts {
  columns: 2;
  column-gap: 2rem;
}

.shortcuts li {
  break-inside: avoid;
  margin-bottom: .35rem;
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .shell__nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.radar-source {
  margin: .25rem 0;
  font-size: .85rem;
}

.radar-evidence {
  margin: .25rem 0;
  padding-left: 1.1rem;
  font-size: .85rem;
}

.radar-card + .radar-card {
  margin-top: .75rem;
}

.map-attribution {
  margin: .25rem 0 .75rem;
  font-size: .8rem;
}

.login-scene {
  z-index: 0;
  background: var(--rm-navy-950);
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.login-scene__gradient {
  background: radial-gradient(1400px 900px at 50% 118%, #1f63c947, transparent 55%),
    linear-gradient(180deg, #000 0%, var(--rm-navy-950) 46%, var(--rm-navy-800) 100%);
  position: absolute;
  inset: 0;
}

.login-scene__map {
  opacity: .9;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.login-scene__earth {
  fill: #050c16;
}

.login-scene__limb {
  fill: none;
  stroke: url("#rm-limb-glow");
  stroke-width: 6px;
  opacity: .85;
}

.login-scene__atmosphere {
  fill: url("#rm-atmosphere");
}

.login-scene__cloud {
  fill: var(--rm-mist);
  opacity: .16;
}

.login-scene__isthmus {
  fill: var(--rm-mist);
  opacity: .22;
}

.login-scene__photo {
  object-fit: cover;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity .6s;
  position: absolute;
  inset: 0;
}

.login-scene__vignette {
  background: radial-gradient(1200px 700px at 50% 100%, #0208108c, #0000 65%);
  position: absolute;
  inset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .login-scene__photo {
    transition: none;
  }
}

.login-page {
  z-index: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  min-height: 100dvh;
  padding: 2.5rem 1.25rem;
  display: flex;
  position: relative;
}

.login {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #fffffff7;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 2rem 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px #020a1673, inset 0 2px #fff6;
}

.login:before {
  content: "";
  background: linear-gradient(180deg, var(--rm-red) 0 33%, var(--rm-yellow) 33% 66%, var(--rm-blue) 66% 100%);
  width: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .login {
    background: #fff;
  }
}

.login__brand {
  margin: 0 0 .35rem;
}

.login__lead {
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
  font-size: .95rem;
}

.brand-mark {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.brand-mark__logo, .brand-mark__logo-file {
  flex: none;
  width: min(340px, 80vw);
  height: auto;
}

.brand-mark__logo-file {
  object-fit: contain;
}

.brand-mark__text {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.brand-mark__title {
  color: var(--ink);
  letter-spacing: -.01em;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-mark__system {
  font-family: var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-size: .72rem;
}

.login__divider {
  color: var(--ink-soft);
  align-items: center;
  gap: .75rem;
  margin: 1.1rem 0;
  font-size: .85rem;
  display: flex;
}

.login__divider:before, .login__divider:after {
  content: "";
  background: var(--line);
  flex: 1;
  height: 1px;
}

.ms-login {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.ms-login__button {
  font: inherit;
  background: var(--paper);
  width: 100%;
  min-height: 44px;
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid #6b7280;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  padding: .5rem 1rem;
  font-weight: 600;
  display: flex;
}

.ms-login__button:hover {
  background: var(--paper-soft);
}

.ms-login__button[aria-disabled="true"] {
  opacity: .6;
  cursor: not-allowed;
}

.ms-login__hint {
  color: var(--ink-soft);
  margin: 0;
  font-size: .85rem;
}

.login-footer {
  z-index: 1;
  text-align: center;
  color: var(--rm-mist);
  border-radius: var(--radius);
  background: #04101fad;
  border: 1px solid #ffffff1f;
  max-width: 560px;
  padding: .6rem 1rem;
  position: relative;
}

.login-footer p {
  margin: .15rem 0;
  font-size: .85rem;
}

.login-footer__note {
  opacity: .85;
  font-size: .78rem;
}

@media (max-width: 480px) {
  .login {
    padding: 1.5rem 1.25rem 1.4rem;
  }

  .brand-mark__title {
    font-size: .95rem;
  }
}

/*# sourceMappingURL=apps_web_src_app_globals_1wvyn-h.css.map*/