:root {
  --ink: #182536;
  --muted: #63758b;
  --line: #d9e3ec;
  --soft: #f5f8fb;
  --panel: #ffffff;
  --brand: #4682b4;
  --brand-light: #8ec5ea;
  --brand-soft: #e8f3fb;
  --brand-dark: #122336;
  --brand-mid: #1c3148;
  --brand-panel: #24364d;
  --ok: #2e7d52;
  --warn: #9a6500;
  --risk: #b42318;
  --info: #27548a;
  --shadow: 0 18px 45px rgba(18, 35, 54, .12);
  --radius: 10px;
  --radius-sm: 7px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(70,130,180,.16), transparent 34rem),
    linear-gradient(180deg, #f7fafc 0%, #edf3f8 100%);
  line-height: 1.58;
}

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

.hero {
  color: #ffffff;
  padding: 34px 32px 30px;
  border-bottom: 4px solid var(--brand);
  background:
    linear-gradient(135deg, rgba(18,35,54,.98) 0%, rgba(28,49,72,.95) 52%, rgba(70,130,180,.82) 100%),
    url("imgs/fondo2.jpeg") center / cover no-repeat;
  box-shadow: 0 16px 45px rgba(18,35,54,.22);
}

.hero-inner,
.page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  display: block;
  max-height: 56px;
  max-width: 178px;
  object-fit: contain;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

.brand-system {
  text-align: right;
}

.brand-kicker {
  display: block;
  color: var(--brand-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.brand-name {
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin-top: 2px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.subtitle {
  max-width: 880px;
  margin: 16px 0 0;
  font-size: 18px;
  color: #d8e8f3;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta-nav {
  align-items: stretch;
}

.meta span,
.meta a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
}

.meta a {
  color: #ffffff;
  text-decoration: none;
  max-width: min(100%, 260px);
  text-align: center;
  justify-content: center;
  white-space: normal;
  line-height: 1.25;
}

.meta a:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.45);
}

.page {
  padding: 30px 0 58px;
}

.toc,
section {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(18,35,54,.06);
}

.toc {
  padding: 22px;
  margin-bottom: 24px;
}

.toc h2 {
  margin-top: 0;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.toc a {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 800;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  border: 1px solid transparent;
}

.toc a:hover {
  color: var(--brand);
  border-color: var(--brand-light);
  background: #ffffff;
}

.manual-nav {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 16px;
}

.manual-nav.bottom {
  justify-content: center;
  margin: 28px 0 0;
}

.manual-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--brand-dark);
  background: #ffffff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(18,35,54,.06);
}

.manual-nav a:hover {
  color: var(--brand);
  border-color: var(--brand-light);
}

section {
  padding: 26px;
  margin: 20px 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 25px;
  color: var(--brand-dark);
  letter-spacing: 0;
}

h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  color: #24364a;
}

p {
  margin: 0 0 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 6px;
  font-size: 14px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

th,
td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
}

th {
  background: var(--brand-mid);
  color: var(--brand-light);
  font-weight: 800;
}

tr:nth-child(even) td {
  background: #f8fbfd;
}

ul,
ol {
  margin-top: 8px;
  padding-left: 22px;
}

li {
  margin: 7px 0;
}

code {
  background: var(--brand-soft);
  color: var(--brand);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 90%;
}

.status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.ok,
.available {
  color: #ffffff;
  background: var(--ok);
}

.warn,
.depends {
  color: #ffffff;
  background: var(--warn);
}

.risk {
  color: #ffffff;
  background: var(--risk);
}

.info {
  color: #ffffff;
  background: var(--info);
}

.note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--brand-light);
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #1a3a5c;
}

.screen-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.screen-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 9px 24px rgba(18,35,54,.06);
}

.screen-box h3 {
  margin-top: 0;
  color: var(--brand-dark);
}

.index-section {
  padding: 28px;
}

.index-grid {
  align-items: stretch;
}

.index-grid .screen-box {
  padding: 18px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.index-grid .screen-box:hover {
  transform: translateY(-2px);
  border-color: var(--brand-light);
  box-shadow: 0 16px 34px rgba(18,35,54,.11);
}

.index-grid .screen-box h3 {
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.index-grid .screen-box p {
  margin: 0;
}

.index-link {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: color .15s ease, background .15s ease, border-color .15s ease, padding-left .15s ease;
}

.index-link::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.index-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: #c9dfef;
  padding-left: 14px;
}

.menu-index-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.menu-index-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-card-title {
  display: grid;
  grid-template-columns: 40px max-content;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.menu-card-title::after {
  content: "";
  grid-column: 2;
  width: calc(100% + 34px);
  height: 1px;
  background: var(--line);
}

.menu-card-title img {
  grid-column: 1;
  grid-row: 1;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  image-rendering: auto;
}

.index-grid .screen-box .menu-card-title h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 1.15;
}

.item-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-right: 9px;
  object-fit: contain;
}

.index-link:has(.item-icon)::before {
  display: none;
}

.index-link-pending {
  color: #6b7c8a;
  background: #f7fafc;
  cursor: default;
  font-weight: 650;
}

.index-link-pending::after {
  content: "Pendiente";
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e8eef3;
  color: #617180;
  font-size: 11px;
  font-weight: 800;
}

.index-link-pending:hover {
  color: #6b7c8a;
  background: #f7fafc;
  border-color: transparent;
  padding-left: 10px;
}

.index-related {
  display: grid;
  gap: 4px;
  margin: -2px 0 8px 26px;
  padding: 4px 0 7px 12px;
  border-left: 2px solid #d7e6f0;
}

.index-related a {
  color: #4e6678;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  transition: color .15s ease, transform .15s ease;
}

.index-related a:hover {
  color: var(--brand);
  transform: translateX(2px);
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.req-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 9px 24px rgba(18,35,54,.06);
}

.req-card h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 18px;
}

.req-label {
  display: block;
  margin: 12px 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.req-card figure {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.req-card figure img {
  width: 70%;
  max-width: 380px;
  min-width: 220px;
  margin: 0 auto;
  border: 0;
  background: transparent;
}

.req-card figcaption {
  font-size: 12px;
}

.example {
  background: #fffdf5;
  border: 1px solid #e8d99a;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0 0;
}

.example strong {
  color: #6f4e00;
}

figure {
  margin: 18px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18,35,54,.08);
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c8d3df;
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: zoom-in;
}

figure img.image-natural {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

figure img.login {
  width: 30%;
  min-width: 280px;
  margin: 0 auto;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.flow-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 9px 24px rgba(18,35,54,.06);
}

.flow-card strong {
  display: block;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.footer {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  margin: 28px 0 0;
}

.footer strong {
  color: var(--brand-dark);
}

.image-zoom-open {
  overflow: hidden;
}

.image-zoom {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: rgba(3, 20, 32, .92);
}

.image-zoom.is-open {
  display: grid;
  grid-template-rows: auto 1fr;
}

.image-zoom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  color: #ffffff;
  background: rgba(18,35,54,.96);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.image-zoom-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-zoom-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.image-zoom-actions button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: rgba(255,255,255,.12);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.image-zoom-actions button:hover {
  background: rgba(255,255,255,.2);
}

.image-zoom-stage {
  overflow: auto;
  padding: 18px;
  -webkit-overflow-scrolling: touch;
}

.image-zoom-stage img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  background: #ffffff;
  transition: width .12s ease;
}

.zoomable-image {
  position: relative;
}

.zoomable-image::after {
  content: "Tocar para ampliar";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(18,35,54,.8);
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.cover-body {
  min-height: 100vh;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(18,35,54,.96), rgba(28,49,72,.82) 54%, rgba(70,130,180,.56)),
    url("imgs/fondo1.png") center / cover no-repeat fixed;
}

.cover-shell {
  width: min(1120px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 30px 0 26px;
}

.cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cover-main {
  flex: 1;
  display: grid;
  align-content: center;
  width: min(100%, 820px);
  margin: 48px auto;
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(18,35,54,.92), rgba(18,35,54,.72)),
    url("imgs/fondo2.jpeg") center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  backdrop-filter: blur(3px);
}

.cover-kicker {
  margin: 0 0 16px;
  color: var(--brand-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cover-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(46px, 7vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.cover-subtitle {
  max-width: 700px;
  margin: 24px 0 0;
  color: #e5f1f8;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.cover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cover-meta span {
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 13px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
}

.cover-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cover-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.38);
  color: #ffffff;
  background: rgba(255,255,255,.11);
  text-decoration: none;
  font-weight: 800;
}

.cover-links a:hover {
  background: rgba(255,255,255,.2);
}

.cover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #d5e8f4;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.22);
  padding-top: 16px;
}

@media (max-width: 720px) {
  .hero {
    padding: 28px 18px 26px;
  }

  .hero-inner,
  .page {
    width: min(100% - 28px, 1180px);
  }

  .brand-strip {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .brand-system {
    text-align: right;
  }

  .brand-block {
    gap: 8px;
  }

  .brand-logo {
    max-height: 42px;
    max-width: 112px;
    padding: 5px 7px;
  }

  .brand-kicker {
    font-size: 9px;
  }

  .brand-name {
    font-size: 12px;
  }

  .subtitle {
    font-size: 16px;
  }

  section,
  .toc {
    padding: 20px;
  }

  figure img.login {
    width: 70%;
    min-width: 0;
  }

  .cover-shell {
    width: min(100% - 28px, 1120px);
    padding-top: 22px;
  }

  .cover-main {
    margin: 34px 0;
    padding: 28px 22px;
  }

  .cover-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-zoom-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-zoom-title {
    white-space: normal;
  }

  .image-zoom-actions {
    width: 100%;
  }

  .image-zoom-actions button {
    flex: 1;
  }
}

@media (max-width: 430px) {
  .brand-strip {
    gap: 8px;
  }

  .brand-logo {
    max-height: 38px;
    max-width: 96px;
  }

  .cover-top {
    gap: 10px;
  }

  .screen-map,
  .flow,
  .req-grid {
    grid-template-columns: 1fr;
  }
}

.portal-body {
  min-height: 100vh;
  margin: 0;
  color: #173148;
  background: #f4f7f9;
}

.portal-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.portal-hero {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(6,45,69,.96), rgba(15,91,130,.84)),
    url("imgs/fondo2.jpeg") center / cover no-repeat;
  border-bottom: 5px solid #8fc5df;
}

.portal-brand,
.portal-system,
.portal-actions,
.portal-section-heading,
.portal-footer .portal-shell {
  display: flex;
  align-items: center;
}

.portal-brand {
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
}

.portal-system {
  gap: 12px;
  text-align: right;
}

.portal-brand-logo {
  width: auto;
  height: 52px;
  border-radius: 8px;
}

.portal-brand-kicker {
  display: block;
  color: #bfe5f5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-system strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 17px;
}

.portal-intro {
  max-width: 790px;
  padding: 72px 0 78px;
}

.portal-kicker,
.portal-label {
  margin: 0;
  color: #338bb3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portal-intro .portal-kicker {
  color: #c7eaf8;
}

.portal-intro h1 {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

.portal-intro p:not(.portal-kicker) {
  max-width: 740px;
  margin: 22px 0 0;
  color: #edf7fb;
  font-size: 21px;
  line-height: 1.5;
}

.portal-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.portal-actions a,
.portal-summary a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.portal-actions a:hover,
.portal-summary a:hover {
  transform: translateY(-2px);
}

.portal-primary {
  color: #0b5278;
  background: #ffffff;
}

.portal-secondary {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.1);
}

.portal-content {
  padding: 46px 0 50px;
}

.portal-section-heading {
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 22px;
}

.portal-section-heading h2,
.portal-summary h2 {
  margin: 6px 0 0;
  color: #123c58;
  font-size: 28px;
  letter-spacing: 0;
}

.portal-section-heading > p {
  max-width: 470px;
  margin: 0;
  color: #5b6f7f;
  line-height: 1.55;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 14px;
}

.portal-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  color: #173148;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #d9e4eb;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18,49,72,.06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.portal-card:hover {
  transform: translateY(-3px);
  border-color: #8fc5df;
  box-shadow: 0 15px 30px rgba(18,49,72,.12);
}

.portal-card img,
.portal-card-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.portal-card-icon-text {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #1479a8;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.portal-card-index {
  color: #ffffff;
  background: #0f5b82;
  border-color: #0f5b82;
}

.portal-card strong,
.portal-card small {
  display: block;
}

.portal-card strong {
  font-size: 16px;
}

.portal-card small {
  margin-top: 5px;
  color: #687b89;
  font-size: 13px;
  line-height: 1.35;
}

.portal-card-index small {
  color: #d8edf7;
}

.portal-summary {
  margin-top: 34px;
  padding: 24px;
  background: #e7f2f7;
  border-left: 4px solid #2688b5;
}

.portal-summary p:not(.portal-label) {
  max-width: 850px;
  margin: 12px 0 18px;
  color: #4e6678;
  line-height: 1.6;
}

.portal-summary a {
  color: #ffffff;
  background: #0f5b82;
}

.portal-footer {
  color: #d8edf7;
  background: #0b3852;
}

.portal-footer .portal-shell {
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  font-size: 13px;
}

@media (max-width: 680px) {
  .portal-shell {
    width: min(100% - 28px, 1120px);
  }

  .portal-brand-logo {
    height: 42px;
  }

  .portal-intro {
    padding: 54px 0 58px;
  }

  .portal-intro h1 {
    font-size: 52px;
  }

  .portal-intro p:not(.portal-kicker) {
    font-size: 18px;
  }

  .portal-section-heading,
  .portal-footer .portal-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-footer .portal-shell {
    justify-content: center;
    padding: 16px 0;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .hero {
    border-bottom-color: var(--brand);
    box-shadow: none;
  }

  .toc,
  section {
    break-inside: avoid;
    box-shadow: none;
  }
}
