/* Hub-only design tokens; operational applications retain their own UI. */
.portal, .hub-topbar { display: none; }
.portal-mode .portal { display: block; }
.portal-mode .hero, .portal-mode .steps, .portal-mode #briefingForm,
.portal-mode .mission-context, .portal-mode .maintenance-outage,
.portal-mode .briefops-topbar { display: none !important; }
.portal-mode { color-scheme: light; --bg: #f5f5f7; --surface: #fff; --surface-2: #f0f2f5; --line: #d8dce2; --text: #1d1d1f; --muted: #626873; --mint: #0069d9; --mint-dark: #e9f2ff; --danger: #b42318; color: var(--text); background: #f5f5f7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.portal-mode .app { width: min(1200px, 100%); padding: 0 40px 24px; }
.portal-mode .hub-splash { background: #f5f5f7; }
.portal-mode .hub-splash-logo { filter: none; }
.portal-mode .hub-splash-caption { color: #66798f; }
.portal-mode .hub-topbar { display: flex; align-items: center; justify-content: space-between; height: 88px; border-bottom: 1px solid #dfe2e8; gap: 20px; }
.hub-identity { display: flex; align-items: center; }
.hub-identity img { width: 158px; height: 64px; object-fit: contain; }
.hub-topbar-label { color: #696e77; font-size: 13px; letter-spacing: .03em; }
.hub-account { display: flex; gap: 8px; align-items: center; padding: 10px 15px; border: 1px solid #dfe2e8; background: #fff; border-radius: 24px; color: #333942; font-size: 13px; cursor: pointer; max-width: 40%; }
.hub-account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-account svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.portal-heading { text-align: center; padding: 68px 0 64px; }
.portal-kicker { color: #697381; font-size: 11px; font-weight: 650; letter-spacing: .22em; margin: 0 0 20px; }
.portal-heading h1 { color: #1d1d1f; font-size: clamp(36px, 5vw, 62px); line-height: 1.09; letter-spacing: -.055em; font-weight: 700; margin: 0 0 22px; }
.portal-heading h1 em { font-style: normal; color: #0875d8; }
.portal-heading > p:last-child { color: #6b7079; font-size: 17px; line-height: 1.6; margin: 0; }
.portal-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 0 2px 18px; }
.portal-section-heading h2 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.portal-section-heading > span { color: #747982; font-size: 13px; }
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.portal-card { display: flex; flex-direction: column; position: relative; color: #1d1d1f; text-decoration: none; border: 1px solid #e5e7ec; border-radius: 26px; background: #fff; padding: 25px 30px 0; box-shadow: 0 4px 16px #243c5a04; transition: transform .2s, box-shadow .2s, border-color .2s; }
.portal-card:hover { transform: translateY(-3px); border-color: #c4d5e8; box-shadow: 0 14px 38px #243c5a0c; }
.portal-card:focus-visible, .hub-topbar a:focus-visible, .hub-account:focus-visible { outline: 3px solid #007aff; outline-offset: 5px; }
.portal-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #707986; font-size: 10px; font-weight: 600; letter-spacing: .09em; min-height: 28px; }
.portal-arrow { width: 28px; height: 28px; display: grid; place-items: center; color: #848c99; font-size: 20px; font-weight: 400; letter-spacing: 0; }
.portal-access { font-size: 10px; letter-spacing: 0; font-weight: 500; border-radius: 20px; background: #f2f4f7; color: #626c7a; padding: 6px 9px; white-space: nowrap; }
.portal-art { height: 156px; display: flex; align-items: center; justify-content: center; margin: 10px 0 12px; }
.portal-art img { width: 208px; height: 150px; object-fit: contain; }
.portal-rally .portal-art img { width: 225px; }
.portal-tablet-art { flex-direction: column; gap: 6px; }
.portal-tablet-art img { height: 130px; width: 100px; }
.portal-tablet-art > span { color: #626c7a; font-size: 10px; letter-spacing: .06em; }
.portal-ddl-art img { width: min(320px, 100%); height: auto; max-height: 130px; }
.portal-card-copy h2 { font-size: 25px; font-weight: 650; letter-spacing: -.035em; margin: 0 0 10px; }
.portal-card-copy p { color: #6a707a; font-size: 14px; line-height: 1.65; margin: 0; max-width: 400px; }
.portal-card-copy { flex: 1; padding-bottom: 24px; }
.portal-card-bottom { border-top: 1px solid #eceef2; padding: 19px 0; display: flex; justify-content: space-between; align-items: center; color: #006bd7; font-size: 13px; font-weight: 600; gap: 12px; }
.portal-card-bottom > span:last-child { font-size: 20px; font-weight: 400; }
.portal-tablets[data-restricted="true"] .portal-card-bottom { color: #6a707a; }
.hub-access-note { color: #757b85; font-size: 12px; text-align: center; margin: 25px 0 42px; line-height: 1.6; }
.portal-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #dfe2e8; padding: 24px 0 8px; gap: 18px; color: #787e88; font-size: 11px; }
.portal-footer > span:first-child { color: #424b57; font-weight: 600; }
.portal-footer p { margin: 0; }
.portal-mode dialog { background: #fff; color: #1d1d1f; border-color: #e0e4eb; }
.portal-mode dialog::backdrop { background: #23354b55; backdrop-filter: blur(8px); }
.portal-mode dialog input { color: #1d1d1f; background: #f7f8fa; border-color: #cbd2db; }
.portal-mode dialog .primary { background: #0071e3; color: white; }
.portal-mode dialog .dialog-close { color: #596473; }
.portal-mode dialog label { color: #596473; }
@media (max-width: 760px) {
  .portal-mode .app { padding: 0 22px 22px; }
  .portal-mode .hub-topbar { height: 76px; gap: 12px; }
  .hub-topbar-label { display: none; }
  .hub-identity img { width: 135px; height: 56px; }
  .hub-account { max-width: 52%; font-size: 12px; padding: 9px 12px; }
  .portal-heading { padding: 46px 0 40px; }
  .portal-heading > p:last-child { font-size: 14px; }
  .portal-heading > p:last-child br { display: none; }
  .portal-section-heading > span { display: none; }
  .portal-grid { grid-template-columns: 1fr; gap: 16px; }
  .portal-card { padding: 20px 23px 0; border-radius: 22px; }
  .portal-art { height: 130px; }
  .portal-art img { height: 130px; }
  .portal-tablet-art img { height: 107px; }
  .portal-ddl-art img { height: auto; }
  .portal-footer { flex-wrap: wrap; }
  .portal-footer > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .portal-card { transition: none; } .portal-card:hover { transform: none; } }
