* { box-sizing: border-box }
html { color-scheme: light }
[hidden] { display: none !important }
body { margin: 0; color: #172538; background: #fff; font-family: Inter, "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif }
.portal-shell { width: 100%; isolation: isolate }
.portal-stage {
  --columns: 24;
  --row-unit: .95rem;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  grid-template-rows: repeat(var(--rows, 1), var(--row-unit));
  grid-auto-rows: var(--row-unit);
  width: min(100%, 88rem);
  margin-inline: auto;
  isolation: isolate;
}
.portal-stage[data-layout="mobile"] { --row-unit: 1rem; width: 94% }
.portal-editing .portal-stage {
  background-image: linear-gradient(to right, #b5c8e5 0, #b5c8e5 .055rem, transparent .055rem),
    linear-gradient(to bottom, #d2deee 0, #d2deee .055rem, transparent .055rem);
  background-size: calc(100% / var(--columns)) var(--row-unit);
  background-color: #fbfdff;
  outline: .07rem solid #b5c8e5;
}
.portal-item { font-size: var(--widget-font,1rem); position: relative; display: block; min-width: 0; min-height: 0; color: inherit; line-height: 1.4 }
.portal-surface { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; white-space: pre-wrap; overflow-wrap: anywhere; border: 0 solid transparent; border-radius: inherit; color: inherit; text-decoration: none }
.portal-text { margin: 0; font: inherit; text-align: inherit }
.portal-media { display: block; width: 100%; height: 100%; min-height: 0; border: 0; border-radius: inherit; object-fit: fill }
.portal-card { flex-direction: row; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem }
.portal-card-name { color: inherit; text-decoration: none; flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center }
.portal-card-cover { width: 25%; height: 100%; object-fit: fill }
.portal-card-button { background: #eff5fd; border: .0625rem solid #ccdcf3; color: #244979; display: inline-flex; align-items: center; justify-content: center; border-radius: .4rem; font-size: .78em; min-height: 2.5em; padding: .4em .7em; text-decoration: none }
.portal-item a:focus-visible, .portal-item:focus-visible { outline: .18rem solid #2865df; outline-offset: .12rem }
.portal-item a:hover { filter: brightness(.96) }
.portal-empty-media { display: grid; place-items: center; height: 100%; border: .0625rem dashed #a6b8d6; border-radius: inherit; background: #f0f4fa; color: #455a7d }
.portal-message { margin: min(18vh, 7rem) auto; padding: 2rem; max-width: 38rem; line-height: 1.6 }
.portal-message a { color: #165cb2 }
.portal-editing .portal-surface { pointer-events: none }
.portal-item.is-current .portal-surface { outline: .15rem solid #315baf; outline-offset: -.15rem }
.portal-dialog { width: min(94vw, 52rem); max-height: 90dvh; margin: auto; border: .0625rem solid #d7dfe8; border-radius: .85rem; padding: 1rem; background: #fff; overflow: auto; overscroll-behavior: contain }
.portal-dialog::backdrop { background: rgb(17 27 43 / .58) }
.portal-dialog-editing { position: static; width: 100%; max-height: none; margin: 0 }
.portal-stage[data-layout="mobile"] .portal-item { font-size: min(var(--widget-font,1rem),1.35rem) }
.portal-item[data-rule] .portal-surface { height: .08rem; align-self: center }
.portal-region { overflow: auto; overscroll-behavior-x: contain; min-width: 0; border-radius: .6rem }
.portal-region-grid { min-inline-size: 53rem; margin-inline: 0 }
.portal-video { background-size: cover; background-position: center; }

.portal-video { background-color: #142348; }
.portal-play { background: transparent; cursor: pointer; display: grid; place-items: center; }
.portal-play::after { content: '▶'; color: white; font-size: 1.5rem; background: #e52a28; padding: .55rem 1.25rem; border-radius: .85rem; line-height: 1; }
.portal-play:focus-visible { outline: .17rem solid #5986f7; outline-offset: .12rem; }
.portal-region-grid [data-table-label] { position: sticky; inset-inline-start: 0; align-self: stretch; z-index: 3; width: min(100%,9.5rem); background-color: #f9fbff; padding-inline: .3rem; box-shadow: .14rem 0 .28rem #24375f25; }
.portal-region-grid [data-table-label]:nth-child(4) { background-color: #1b335a; }
/* Shared portal palette and restrained framing for authored elements. */
body { color: #18314b; }
.portal-shell {
  background-image: radial-gradient(ellipse at 50% 0, #f0f6ff 0, transparent 38rem),
    linear-gradient(180deg, #f9fbfe 0, transparent 60rem);
}
.portal-editing { background-image: none; }
.portal-stage { width: min(97%, 88rem); }
.portal-stage[data-layout="mobile"] { width: 92%; }
.portal-item :is(h1,h2,h3,h4).portal-text { line-height: 1.19; letter-spacing: -.035em; text-wrap: balance; }
.portal-item .portal-text { word-break: keep-all; overflow-wrap: anywhere; }
.portal-item[data-look="panel"] > .portal-surface {
  background-image: linear-gradient(145deg, #ffffff6e, transparent 82%);
  box-shadow: 0 .45rem 1.6rem #15325309;
}
.portal-item[data-look="media"] > .portal-surface {
  box-shadow: 0 .65rem 1.95rem #182e4f15;
  overflow: hidden;
}
.portal-item[data-look="footer"] > .portal-surface { background-image: linear-gradient(110deg, #122d4c, transparent 72%); border-radius: 0; }
.portal-item[data-look="partner"] .portal-surface { opacity: .9; }
.portal-item[data-look="navigation"] .portal-surface,
.portal-item[data-look="utility"] .portal-surface {
  box-shadow: 0 0 0 .06rem #e1e9f2, 0 .18rem .65rem #152c480b;
  background: #fff;
}
.portal-item[data-look="navigation"] a,
.portal-item[data-look="utility"] a,
.portal-item[data-look="partner"] a,
.portal-item[data-look="tab"] [role="button"],
.portal-button { transition: color .16s, background-color .16s, box-shadow .16s, opacity .16s; }
.portal-item[data-look="navigation"] a:hover,
.portal-item[data-look="utility"] a:hover,
.portal-card:focus-within { box-shadow: 0 0 0 .11rem #7ba9ce, 0 .4rem 1.05rem #26476b1a; }
.portal-item[data-look="partner"] a:hover { opacity: 1; }
.portal-item[data-look="tab"] .portal-surface {
  border-radius: .65rem;
  background-color: #eef4fa;
  color: #294c6c;
  font-weight: 640;
}
.portal-item[data-look="tab"].is-current .portal-surface {
  background-color: #153753 !important;
  color: #fff;
  outline: none;
  box-shadow: 0 .19rem .62rem #173a5933;
}
.portal-item[data-look="tab"]:hover .portal-surface { box-shadow: inset 0 0 0 .08rem #4e7fa3; }
.portal-card-button {
  background-color: #ecf4fa;
  border-color: #d4e4f2;
  color: #124c73;
  border-radius: .5rem;
}
.portal-stage[data-layout="mobile"] .portal-item[data-look="partner"] img { border-radius: .3rem; }
.portal-stage[data-layout="mobile"] .portal-card { flex-direction: column; align-items: stretch; justify-content: center; gap: .3rem; padding: .55rem; }
.portal-stage[data-layout="mobile"] .portal-card-name { align-self: auto; justify-content: center; min-height: 1.5rem; }
.portal-stage[data-layout="mobile"] .portal-card-button { min-height: 2rem; }
@media(prefers-reduced-motion:reduce) {
  .portal-item a,.portal-item .portal-button { transition: none; }
}
