:root {
  --sede-blue: #1f64b2;
  --sede-blue-dark: #123d6f;
  --sede-ink: #102b46;
  --sede-muted: #53697d;
  --sede-line: #dbe5ee;
  --sede-soft: #f5f8fb;
  --sede-warning-bg: #fff6d8;
  --sede-warning-border: #e3b341;
  --sede-green: #1f8a6a;
  --sede-surface: rgba(255, 255, 255, 0.88);
  --sede-shadow: 0 20px 48px rgba(21, 49, 77, 0.12);
}

* {
  box-sizing: border-box;
}

body.sede-public {
  margin: 0;
  background: linear-gradient(180deg, #f7fbff 0, #eef4f8 420px, #f7f9fb 100%);
  color: var(--sede-ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.sede-public a {
  color: #004aa8;
  text-decoration: none;
}

.sede-public a:hover,
.sede-public a:focus {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sede-shell {
  width: min(1216px, calc(100% - 52px));
  margin: 0 auto;
}

.sede-topbar {
  background: #0f3358;
  color: #fff;
}

.sede-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  font-size: 15px;
}

.sede-topbar a {
  min-width: 0;
  max-width: min(68vw, 720px);
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
}

.sede-hero {
  position: relative;
  height: 178px;
  overflow: hidden;
  background: #173a23;
}

.sede-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 31, 54, 0.46), rgba(8, 31, 54, 0.08) 54%, rgba(8, 31, 54, 0.32)),
    linear-gradient(180deg, rgba(8, 31, 54, 0), rgba(8, 31, 54, 0.34));
}

.sede-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  filter: saturate(0.95) contrast(1.03);
}

.sede-hero__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, calc(100% - 48px));
  z-index: 1;
  min-height: 64px;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(24px, 2.3vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  background: rgba(15, 35, 56, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
}

.sede-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(183, 197, 213, 0.75);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(21, 49, 77, 0.08);
  backdrop-filter: blur(12px);
}

.sede-nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 62px;
}

.sede-nav a,
.sede-nav__lang {
  color: #112b43;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.sede-nav a,
.sede-nav__trigger {
  position: relative;
  padding: 18px 0;
}

.sede-nav a.is-active::after,
.sede-nav__trigger.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: var(--sede-blue);
}

.sede-nav__item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.sede-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #112b43;
  font-weight: 700;
  text-decoration: none;
  cursor: default;
}

.sede-nav__trigger[href] {
  cursor: pointer;
}

.sede-nav__trigger::before {
  content: "";
  position: absolute;
  inset: 0 -10px;
}

.sede-nav__item > .sede-nav__trigger::after {
  display: none;
}

.sede-nav__chevron {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.sede-nav__item > .sede-nav__trigger.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--sede-blue);
  inset: auto 0 0;
}

.sede-nav__dropdown {
  position: absolute;
  z-index: 30;
  left: 0;
  top: 100%;
  display: none;
  min-width: 250px;
  padding: 10px 0;
  border: 1px solid var(--sede-line);
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(20, 40, 60, 0.16);
}

.sede-nav__dropdown--right {
  left: auto;
  right: 0;
  min-width: 150px;
}

.sede-nav__dropdown a {
  display: block;
  padding: 9px 16px;
  color: #112b43;
  font-weight: 400;
  text-decoration: none;
  white-space: normal;
}

.sede-nav__dropdown a::after {
  display: none;
}

.sede-nav__dropdown a:hover,
.sede-nav__dropdown a:focus {
  background: #eef4fb;
  color: var(--sede-blue-dark);
  text-decoration: underline;
}

.sede-nav__item:hover .sede-nav__dropdown,
.sede-nav__item:focus-within .sede-nav__dropdown {
  display: block;
}

.sede-nav__lang {
  margin-left: auto;
}

.sede-main {
  padding: 54px 0 58px;
}

.sede-notice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(31, 100, 178, 0.16);
  border-radius: 24px;
  background: var(--sede-surface);
  color: var(--sede-ink);
  box-shadow: var(--sede-shadow);
  backdrop-filter: blur(10px);
}

.sede-home-intro {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.sede-home-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e9f3ff;
  color: var(--sede-blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sede-home-lead {
  max-width: 760px;
  color: #415a72;
  font-size: 18px;
}

.sede-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sede-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #bfd0df;
  border-radius: 999px;
  background: #fff;
  color: var(--sede-blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.sede-button-link,
.sede-button-link:visited {
  color: var(--sede-blue-dark);
}

.sede-button-link--primary,
.sede-button-link.sede-button-link--primary,
.sede-button-link.sede-button-link--primary:visited {
  border-color: var(--sede-blue);
  background: var(--sede-blue);
  color: #fff;
}

.sede-button-link.sede-button-link--primary:hover,
.sede-button-link.sede-button-link--primary:focus {
  color: #fff;
}

.sede-button-link:hover,
.sede-button-link:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(21, 49, 77, 0.14);
  text-decoration: none;
}

.sede-home-intro__panel {
  display: grid;
  gap: 10px;
}

.sede-home-intro__panel a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  padding: 14px 16px;
  border: 1px solid #d7e4ef;
  border-radius: 16px;
  background: #f8fbfd;
  text-decoration: none;
}

.sede-home-intro__panel a:hover,
.sede-home-intro__panel a:focus {
  border-color: #9fc2e0;
  background: #eff7ff;
}

.sede-home-intro__panel span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #e0f0ff;
  color: var(--sede-blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.sede-home-intro__panel strong {
  color: var(--sede-ink);
}

.sede-home-intro__panel small {
  color: var(--sede-muted);
}

.sede-notice__icon {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  color: #b28a00;
  border: 10px solid #b28a00;
  border-top-width: 18px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.sede-notice h1 {
  max-width: 860px;
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0;
  line-height: 1.02;
}

.sede-notice p {
  max-width: 980px;
  margin: 8px 0 0;
}

.sede-date {
  margin: 18px 0 26px;
  text-align: right;
  color: var(--sede-muted);
  font-size: 14px;
}

.sede-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 42px;
}

.sede-feature-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 32px;
}

.sede-feature {
  display: grid;
  gap: 12px;
  min-height: 164px;
  padding: 22px;
  border: 1px solid rgba(31, 100, 178, 0.16);
  border-radius: 20px;
  color: var(--sede-ink);
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 49, 77, 0.08);
  font-size: 19px;
  text-decoration: none;
}

.sede-feature,
.sede-feature:visited,
.sede-feature:hover,
.sede-feature:focus,
.sede-feature:hover *,
.sede-feature:focus *,
.sede-feature * {
  text-decoration: none !important;
}

.sede-feature:visited {
  color: var(--sede-ink);
}

.sede-feature:hover,
.sede-feature:focus {
  transform: translateY(-2px);
  border-color: rgba(31, 100, 178, 0.38);
  box-shadow: 0 18px 42px rgba(21, 49, 77, 0.13);
  text-decoration: none;
}

.sede-feature__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e9f3ff;
  color: var(--sede-blue-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.sede-feature strong {
  color: var(--sede-ink);
  line-height: 1.15;
  text-decoration: none;
}

.sede-feature small {
  color: var(--sede-muted);
  font-size: 14px;
  text-decoration: none;
}

.sede-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.9fr);
  gap: 28px;
}

.sede-section {
  margin-bottom: 56px;
}

.sede-page-heading {
  margin-bottom: 34px;
}

.sede-page-heading p {
  margin: 0 0 8px;
  color: var(--sede-muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sede-page-heading h1 {
  margin: 0;
  color: var(--sede-ink);
  font-size: 40px;
  line-height: 1.1;
}

.sede-page-heading span {
  display: block;
  margin-top: 8px;
  color: var(--sede-muted);
}

.sede-section--nested {
  margin-top: 54px;
}

.sede-section h2 {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sede-line);
  color: var(--sede-ink);
  font-size: 28px;
  line-height: 1.15;
}

.sede-card {
  border: 1px solid var(--sede-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(21, 49, 77, 0.07);
}

.sede-card--lined {
  padding: 34px 32px;
}

.sede-card--plain {
  padding: 28px 32px;
  min-height: 160px;
}

.sede-card h3 {
  margin: 0 0 24px;
  color: var(--sede-ink);
  font-size: 20px;
  text-transform: uppercase;
}

.sede-info-card {
  display: grid;
  gap: 26px;
}

.sede-info-card h3 {
  margin-bottom: 0;
}

.sede-info-card__intro {
  margin: 0;
  max-width: 760px;
  color: #31506a;
  font-size: 19px;
  line-height: 1.55;
}

.sede-info-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sede-info-highlights article {
  min-height: 126px;
  padding: 16px;
  border: 1px solid #d5e2ed;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fcff 0%, #eef7ff 100%);
}

.sede-info-highlights span,
.sede-info-highlights strong,
.sede-info-highlights small {
  display: block;
}

.sede-info-highlights span {
  color: var(--sede-blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sede-info-highlights strong {
  margin-top: 10px;
  color: var(--sede-ink);
  font-size: 21px;
  line-height: 1.1;
}

.sede-info-highlights small {
  margin-top: 8px;
  color: var(--sede-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.sede-info-sections {
  display: grid;
  gap: 14px;
}

.sede-info-sections article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  background: #f8fbfd;
}

.sede-info-sections article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e9f3ff;
  color: var(--sede-blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.sede-info-sections h4 {
  margin: 0 0 8px;
  color: var(--sede-ink);
  font-size: 19px;
}

.sede-info-sections p {
  margin: 0;
  color: #31506a;
}

.sede-info-pending {
  padding: 18px 20px;
  border: 1px solid #e7c873;
  border-radius: 16px;
  background: #fff9e8;
}

.sede-info-pending strong {
  display: block;
  margin-bottom: 10px;
  color: #735500;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.sede-info-pending ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sede-info-pending li {
  padding: 6px 10px;
  border: 1px solid #ead893;
  border-radius: 999px;
  background: #fffefa;
  color: #4d3b05;
  font-size: 14px;
  font-weight: 800;
}

.sede-link-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sede-link-list--stars li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--sede-green);
  vertical-align: middle;
}

.sede-procedure-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sede-procedure-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--sede-line);
}

.sede-procedure-list li:first-child {
  padding-top: 0;
}

.sede-procedure-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sede-procedure-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
  text-transform: none;
}

.sede-procedure-list p {
  margin: 0 0 14px;
  color: var(--sede-muted);
}

.sede-procedure-list dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  font-size: 14px;
}

.sede-procedure-list dt {
  font-weight: 800;
}

.sede-procedure-list dd {
  margin: 0;
}

.sede-action {
  align-self: center;
  display: inline-flex;
  justify-content: center;
  min-width: 140px;
  padding: 10px 14px;
  border: 2px solid var(--sede-blue);
  border-radius: 999px;
  color: var(--sede-blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.sede-action:hover,
.sede-action:focus {
  background: #e9f3ff;
  text-decoration: none;
}

.sede-card__footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--sede-line);
}

.sede-card__footer--single {
  grid-template-columns: 1fr;
}

.sede-muted {
  color: var(--sede-muted);
}

.sede-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  background: #fff;
}

.sede-icon-grid a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 14px 10px;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  background: #f8fbfd;
  text-align: center;
  text-decoration: none;
}

.sede-icon-grid a:hover,
.sede-icon-grid a:focus {
  border-color: #9fc2e0;
  background: #eff7ff;
}

.sede-icon-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e9f3ff;
  color: var(--sede-blue-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.sede-icon-grid strong {
  color: var(--sede-ink);
  font-size: 14px;
  line-height: 1.2;
}

.sede-cert-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.sede-cert-panel__identity {
  padding: 14px;
  border: 1px solid #cbd9e6;
  background: #fff9df;
  box-shadow: 0 12px 26px rgba(21, 49, 77, 0.08);
}

.sede-cert-panel__identity span,
.sede-cert-panel__identity small {
  display: block;
}

.sede-cert-panel__identity span {
  margin-bottom: 6px;
  color: #7a5b07;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.sede-cert-panel__identity strong {
  display: block;
  color: var(--sede-ink);
  font-size: 16px;
  line-height: 1.25;
}

.sede-cert-panel__identity small {
  margin-top: 4px;
  color: #31506a;
  font-size: 13px;
}

.sede-cert-panel__nav {
  display: grid;
  gap: 10px;
}

.sede-cert-panel__nav a {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: center;
  gap: 12px;
  padding: 11px 12px 11px 14px;
  border: 1px solid #d7e0e8;
  background: #f2f3f4;
  color: #174d8a;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(21, 49, 77, 0.05);
}

.sede-cert-panel__nav a:hover,
.sede-cert-panel__nav a:focus {
  border-color: #9fc2df;
  background: #eaf4fc;
}

.sede-cert-panel__nav span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.sede-cert-panel__nav strong {
  color: #174d8a;
  font-size: 19px;
  line-height: 1.1;
}

.sede-cert-panel__nav small {
  color: #285c77;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
}

.sede-cert-panel__nav i {
  width: 52px;
  height: 52px;
  justify-self: end;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf3fb;
  color: #2f86c5;
  font-size: 32px;
}

.sede-cert-panel__logout {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd9e6;
  background: #fff;
  color: var(--sede-blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.sede-cert-panel__logout:hover,
.sede-cert-panel__logout:focus {
  background: #eef6ff;
  text-decoration: underline;
}

.sede-announcements {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.sede-announcements article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  background: #f8fbfd;
}

.sede-announcements time {
  display: grid;
  width: 42px;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  color: var(--sede-blue);
  font-weight: 800;
}

.sede-announcements time span {
  padding: 6px 2px 0;
  background: #fff;
  font-size: 21px;
}

.sede-announcements time small {
  order: -1;
  padding: 2px;
  background: var(--sede-blue);
  color: #fff;
  font-size: 13px;
}

.sede-announcements p {
  margin: 6px 0 0;
  color: #21384e;
}

.sede-alert {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid var(--sede-warning-border);
  background: var(--sede-warning-bg);
}

.sede-alert--success {
  border-color: #83be7d;
  background: #edf9ec;
  color: #245d2e;
}

.sede-form {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.sede-form label {
  color: var(--sede-ink);
  font-weight: 800;
}

.sede-form__inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.sede-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #b7c5d5;
  color: var(--sede-ink);
  font: inherit;
}

.sede-button {
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--sede-blue);
  background: var(--sede-blue);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sede-button:hover,
.sede-button:focus {
  background: var(--sede-blue-dark);
}

.sede-data-list {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 10px 18px;
  margin: 20px 0;
}

.sede-data-list dt {
  font-weight: 800;
}

.sede-data-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.sede-transparency-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
  padding: 28px 30px;
  border: 1px solid #cfdce8;
  background: #edf5fb;
}

.sede-transparency-hero h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.sede-transparency-hero p {
  max-width: 820px;
  margin: 0;
  color: #314a63;
}

.sede-transparency-grid,
.sede-guide-grid,
.sede-guide-steps,
.sede-guide-timeline,
.sede-guide-usecases {
  display: grid;
  gap: 18px;
}

.sede-transparency-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sede-transparency-card,
.sede-guide-card,
.sede-guide-steps article,
.sede-guide-timeline article,
.sede-guide-usecases article,
.sede-document-viewer__meta {
  border: 1px solid var(--sede-line);
  background: #fff;
  box-shadow: 0 14px 32px rgba(21, 49, 77, 0.08);
}

.sede-transparency-card {
  position: relative;
  min-height: 248px;
  padding: 24px;
}

.sede-transparency-card__count {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e7f1fb;
  color: var(--sede-blue-dark);
  font-weight: 900;
}

.sede-transparency-card h3,
.sede-guide-card h2,
.sede-guide-steps h3 {
  margin: 0 0 10px;
}

.sede-transparency-card h3 {
  max-width: calc(100% - 48px);
  font-size: 19px;
}

.sede-transparency-card p,
.sede-guide-card p,
.sede-guide-steps p {
  margin: 0 0 14px;
  color: var(--sede-muted);
}

.sede-transparency-card ul,
.sede-guide-card ul {
  margin: 0;
  padding-left: 18px;
}

.sede-transparency-card li,
.sede-guide-card li {
  margin: 6px 0;
}

.sede-empty-state {
  display: grid;
  gap: 6px;
  padding: 18px 0;
}

.sede-empty-state strong {
  font-size: 20px;
}

.sede-empty-state span {
  color: var(--sede-muted);
}

.sede-mailbox {
  display: grid;
  gap: 18px;
}

.sede-mailbox__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.sede-mailbox__header h3,
.sede-mailbox__header p {
  margin: 0;
}

.sede-mailbox__header p {
  margin-top: 8px;
  color: var(--sede-muted);
}

.sede-mailbox__stamp {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: #e8f5ed;
  color: #0c6542;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sede-mailbox__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sede-mailbox__summary div {
  padding: 14px;
  border: 1px solid #d5e2ed;
  background: #f7fbff;
}

.sede-mailbox__summary strong,
.sede-mailbox__summary span {
  display: block;
}

.sede-mailbox__summary strong {
  color: var(--sede-blue-dark);
  font-size: 30px;
  line-height: 1;
}

.sede-mailbox__summary span {
  margin-top: 6px;
  color: var(--sede-muted);
  font-weight: 800;
}

.sede-mailbox__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sede-mailbox__toolbar button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #cbd9e6;
  border-radius: 999px;
  background: #fff;
  color: #31506a;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.sede-mailbox__empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 190px;
  padding: 26px;
  border: 1px dashed #b8d0e5;
  background: linear-gradient(180deg, #f8fcff 0%, #eef7ff 100%);
  text-align: center;
}

.sede-mailbox__empty i {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: #e4f1ff;
  color: #2f86c5;
  font-size: 34px;
}

.sede-mailbox__empty strong {
  color: var(--sede-ink);
  font-size: 22px;
}

.sede-mailbox__empty span {
  max-width: 520px;
  color: var(--sede-muted);
}

.sede-guide-page .sede-page-heading {
  margin-bottom: 26px;
}

.sede-guide-hero {
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}

.sede-guide-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border: 1px solid #c8d9e6;
  background: linear-gradient(135deg, #eef8f0 0%, #edf7fb 58%, #fff8df 100%);
  box-shadow: 0 18px 42px rgba(21, 49, 77, 0.1);
}

.sede-guide-hero__copy > span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 10px;
  background: #dff2e4;
  color: #155a35;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sede-guide-hero__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 43px);
  line-height: 1.08;
}

.sede-guide-hero__copy p {
  margin: 0;
  color: #334f64;
  font-size: 18px;
}

.sede-guide-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sede-guide-hero__actions a,
.sede-guide-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 2px solid var(--sede-blue);
  background: var(--sede-blue);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.sede-guide-hero__actions a + a,
.sede-guide-card--private a {
  border-color: #1f8a6a;
  background: #1f8a6a;
}

.sede-guide-figure {
  margin: 0;
  border: 1px solid #d4e1eb;
  background: transparent;
  box-shadow: 0 18px 42px rgba(21, 49, 77, 0.1);
  line-height: 0;
}

.sede-guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sede-guide-figure--wide {
  margin-bottom: 24px;
}

.sede-guide-figure--wide img {
  aspect-ratio: auto;
}

.sede-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 38px;
}

.sede-guide-card {
  padding: 28px;
}

.sede-guide-card > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--sede-blue-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sede-guide-card--private > span {
  color: #14634e;
}

.sede-guide-card a {
  margin-top: 16px;
}

.sede-guide-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sede-guide-timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: guide-step;
}

.sede-guide-steps article,
.sede-guide-timeline article,
.sede-guide-usecases article {
  padding: 22px;
}

.sede-guide-steps strong,
.sede-guide-timeline strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  background: var(--sede-blue);
  color: #fff;
  font-size: 18px;
}

.sede-guide-timeline strong {
  background: #1f8a6a;
}

.sede-guide-usecases {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sede-guide-usecases h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.sede-guide-usecases p {
  margin: 0;
  color: var(--sede-muted);
}

.sede-guide-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  gap: 22px;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid #c8d9e6;
  background: #f2f8f4;
}

.sede-guide-help h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.sede-guide-help p,
.sede-guide-help ul {
  margin: 0;
}

.sede-guide-help ul {
  padding-left: 18px;
}

.sede-guide-help li {
  margin: 8px 0;
}

.sede-document-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}

.sede-document-viewer__panel {
  min-height: 520px;
  padding: 32px;
  border: 1px solid #cfdce8;
  background: #e8eef4;
}

.sede-document-viewer__paper {
  min-height: 456px;
  padding: 42px;
  border: 1px solid #d6dee8;
  background: #fff;
  box-shadow: 0 18px 42px rgba(21, 49, 77, 0.14);
}

.sede-document-viewer__badge {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 42px;
  margin-bottom: 42px;
  background: #c7362f;
  color: #fff;
  font-weight: 900;
}

.sede-document-viewer__paper h2 {
  max-width: 640px;
  margin: 0 0 14px;
  font-size: 30px;
}

.sede-document-viewer__paper p,
.sede-document-viewer__paper span {
  max-width: 640px;
  color: var(--sede-muted);
}

.sede-document-viewer__meta {
  padding: 24px;
}

.sede-document-viewer__meta h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.sede-footer {
  border-top: 1px solid #d7e0e8;
  background: #e9eef2;
}

.sede-footer__inner {
  padding: 26px 0 0;
}

.sede-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.15fr 1.35fr;
  gap: 28px;
}

.sede-footer h3 {
  margin: 0 0 10px;
  color: var(--sede-ink);
  font-size: 16px;
  font-weight: 900;
}

.sede-footer__subheading {
  margin-top: 18px !important;
}

.sede-footer a {
  display: block;
  width: fit-content;
  margin: 0 0 7px;
  color: #003f7d;
  font-size: 15px;
  line-height: 1.25;
  text-decoration: none;
}

.sede-footer p {
  margin: 0 0 8px;
  color: #31506a;
  font-size: 14px;
  line-height: 1.35;
}

.sede-footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.sede-footer-social span {
  color: #31506a;
  font-size: 14px;
  font-weight: 900;
}

.sede-footer .sede-footer-social a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 5px;
  background: #2f86c5;
  color: #fff;
  font-size: 14px;
}

.sede-footer-community p {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.sede-footer-community i {
  margin-top: 2px;
  color: #2f86c5;
  font-size: 13px;
}

.sede-footer-community p a {
  margin: 0;
}

.sede-footer a:visited {
  color: #003f7d;
}

.sede-footer a:hover,
.sede-footer a:focus {
  color: var(--sede-blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.sede-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 24px;
  padding: 12px 0;
  border-top: 1px solid #d0d9e1;
  color: #53697d;
  font-size: 13px;
}

.sede-footer__bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sede-footer .sede-footer__bottom a {
  display: inline;
  margin: 0;
  font-size: 13px;
}

.sede-cert-error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 18px;
  background:
    radial-gradient(circle at 16% 12%, rgba(111, 190, 122, 0.22), transparent 30%),
    linear-gradient(135deg, #eaf5fb 0%, #f8fbf4 52%, #e3f2e8 100%);
  color: #063f6f;
}

.sede-cert-error-card {
  width: min(980px, 100%);
  padding: 42px;
  border: 1px solid rgba(24, 108, 155, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(16, 63, 111, 0.16);
}

.sede-cert-error-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  gap: 26px;
  align-items: center;
}

.sede-cert-error-code {
  margin: 0;
  color: #1f7eb9;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 0.95;
}

.sede-cert-error-header h1 {
  max-width: 560px;
  margin: 8px 0 0;
  color: #092f57;
  font-size: clamp(30px, 4.3vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.sede-cert-error-brand {
  justify-self: end;
  max-width: 260px;
  padding: 10px 14px;
  border: 1px solid rgba(47, 136, 65, 0.24);
  border-radius: 999px;
  background: #edf8ee;
  color: #246d37;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
}

.sede-cert-error-rule {
  height: 4px;
  margin: 18px 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f7eb9 0%, #37a95a 72%, #f5bd3b 100%);
}

.sede-cert-error-copy {
  max-width: 760px;
  color: #234b6f;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.38;
}

.sede-cert-error-copy p {
  margin: 0 0 16px;
}

.sede-cert-error-help {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr);
  gap: 22px;
  align-items: stretch;
  margin: 28px 0 34px;
}

.sede-cert-error-figure {
  min-height: 268px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 126, 185, 0.18);
  border-radius: 20px;
  background: #e8f5fb;
}

.sede-cert-error-figure img {
  width: 100%;
  height: 100%;
  min-height: 268px;
  display: block;
  object-fit: cover;
}

.sede-cert-error-steps {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(55, 169, 90, 0.22);
  border-radius: 20px;
  background: linear-gradient(180deg, #f1fbf4 0%, #ffffff 100%);
  color: #143d62;
}

.sede-cert-error-steps span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e0f1ff;
  color: #0d67a7;
  font-weight: 900;
}

.sede-cert-error-steps strong {
  color: #092f57;
  font-size: 19px;
  line-height: 1.15;
}

.sede-cert-error-steps p {
  margin: 0 0 14px;
  color: #496780;
  font-size: 15px;
  line-height: 1.35;
}

.sede-cert-error-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, auto);
  gap: 24px;
  padding-top: 28px;
  border-top: 2px solid #cfe3f1;
  color: #234b6f;
  font-size: 18px;
}

.sede-cert-error-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #092f57;
  font-size: 30px;
  font-weight: 900;
}

.sede-cert-error-footer span,
.sede-cert-error-footer a {
  display: block;
}

.sede-cert-error-footer a {
  color: #0d67a7;
  font-weight: 800;
  text-align: right;
  text-decoration: none;
}

.sede-cert-error-footer a:hover {
  text-decoration: underline;
}

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

  .sede-hero {
    height: 152px;
  }

  .sede-nav__inner {
    gap: 18px;
    overflow-x: auto;
  }

  .sede-notice,
  .sede-feature-grid,
  .sede-grid {
    grid-template-columns: 1fr;
  }

  .sede-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .sede-home-intro {
    margin-top: -22px;
  }

  .sede-notice__icon {
    width: 76px;
    height: 76px;
    border-width: 7px;
    border-top-width: 14px;
    font-size: 28px;
  }

  .sede-feature {
    min-height: 132px;
    font-size: 18px;
  }

  .sede-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sede-transparency-hero,
  .sede-document-viewer,
  .sede-guide-hero,
  .sede-guide-help {
    grid-template-columns: 1fr;
  }

  .sede-transparency-grid,
  .sede-info-highlights,
  .sede-guide-steps,
  .sede-guide-timeline,
  .sede-guide-usecases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sede-document-viewer__panel {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .sede-topbar__inner {
    min-height: 34px;
  }

  .sede-hero {
    height: 132px;
  }

  .sede-hero__brand {
    width: calc(100% - 28px);
    min-height: 54px;
    padding: 10px 16px;
    font-size: 20px;
  }

  .sede-main {
    padding-top: 34px;
  }

  .sede-notice,
  .sede-card--lined,
  .sede-card--plain,
  .sede-icon-grid,
  .sede-announcements {
    padding: 22px 18px;
  }

  .sede-section h2 {
    font-size: 26px;
  }

  .sede-card__footer,
  .sede-icon-grid,
  .sede-info-highlights,
  .sede-info-sections article,
  .sede-announcements article,
  .sede-procedure-list li {
    grid-template-columns: 1fr;
  }

  .sede-cert-panel__nav a {
    grid-template-columns: minmax(0, 1fr) 48px;
    min-height: 62px;
  }

  .sede-cert-panel__nav strong {
    font-size: 17px;
  }

  .sede-cert-panel__nav i {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .sede-action {
    width: 100%;
  }

  .sede-home-intro {
    margin-top: -14px;
  }

  .sede-home-actions {
    display: grid;
  }

  .sede-button-link {
    width: 100%;
  }

  .sede-form__inline,
  .sede-data-list,
  .sede-footer__grid,
  .sede-transparency-grid,
  .sede-guide-grid,
  .sede-guide-steps,
  .sede-guide-timeline,
  .sede-guide-usecases {
    grid-template-columns: 1fr;
  }

  .sede-transparency-hero,
  .sede-info-sections article,
  .sede-guide-hero__copy,
  .sede-guide-card,
  .sede-guide-help,
  .sede-document-viewer__panel,
  .sede-document-viewer__paper,
  .sede-document-viewer__meta {
    padding: 22px 18px;
  }

  .sede-guide-hero__copy h2 {
    font-size: 28px;
  }

  .sede-guide-figure--wide img {
    aspect-ratio: auto;
  }

  .sede-cert-error-card {
    padding: 34px 26px;
    border-radius: 18px;
  }

  .sede-cert-error-header,
  .sede-cert-error-footer {
    grid-template-columns: 1fr;
  }

  .sede-cert-error-brand,
  .sede-cert-error-footer a {
    justify-self: start;
    text-align: left;
  }

  .sede-cert-error-copy {
    font-size: 18px;
  }

  .sede-cert-error-help {
    grid-template-columns: 1fr;
  }

  .sede-cert-error-figure,
  .sede-cert-error-figure img {
    min-height: 210px;
  }

  .sede-cert-error-footer strong {
    font-size: 28px;
  }
}
