:root {
  color-scheme: light;
  --ink: #2f261d;
  --ink-soft: #493b2e;
  --blue: #76512f;
  --blue-dark: #4b321f;
  --ice: #d8c7a6;
  --line: #806c50;
  --paper: #eee2c7;
  --wash: #d6c5a5;
  --red: #873e32;
  --cream: #fff4d8;
  --umber: #3b2b1e;
  --stone: #9a886d;
  --well: #c8b693;
  --display: Georgia, "Times New Roman", serif;
  --ui: Arial, Helvetica, sans-serif;
  --type-copy: 1rem;
  --type-title: clamp(1.25rem, 1.1rem + .55vw, 1.75rem);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #e8ecef url("/static/retained/paper-tile.png") repeat;
  font: var(--type-copy)/1.65 var(--ui);
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #fff7, transparent 22% 78%, #b9c4ca33), linear-gradient(#d7e4e9aa, transparent 170px);
}
a { color: inherit; }
small { font-size: var(--type-copy); }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 8px 13px; color: #fff; background: var(--blue-dark); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-frame { width: min(1080px, calc(100% - 40px)); min-height: 100vh; margin: 12px auto 0; box-shadow: 0 0 0 1px #b7c0c5, 0 15px 60px #53636b2b; background: #f7f9fa; }

.masthead {
  position: relative;
  display: flex;
  min-height: 116px;
  padding: 18px 30px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid #bcc9ce;
  background: linear-gradient(90deg, #fff 0 45%, #eef7fae8), url("/static/retained/folio-top.png") top center / 100% 51px no-repeat;
}
.masthead::after { position: absolute; right: 23%; bottom: -51px; width: 230px; height: 170px; content: ""; opacity: .09; background: url("/static/retained/items/icons/1005700.png") center / contain no-repeat; image-rendering: pixelated; }
.brand { z-index: 1; display: flex; align-items: center; gap: 15px; color: #292f33; font: 700 var(--type-title)/1 var(--display); letter-spacing: .025em; text-decoration: none; text-shadow: 0 1px #fff; }
.brand > span:last-child small { display: block; margin-top: 8px; color: #7e888e; font: var(--type-copy)/1.2 var(--ui); letter-spacing: .18em; text-transform: uppercase; }
.brand-seal, .avatar-seal, .footer-seal { display: block; flex: 0 0 auto; overflow: hidden; color: transparent; background: url("/static/retained/items/icons/1005700.png") center / contain no-repeat; image-rendering: pixelated; }
.brand-seal { width: 76px; height: 76px; }
.realm-mark { z-index: 1; display: flex; flex-direction: column; align-items: flex-end; }
.realm-mark small { color: #8a9398; font-size: var(--type-copy); letter-spacing: .13em; text-transform: uppercase; }
.realm-mark b { color: #536167; font: var(--type-title) var(--display); }
.realm-mark i, .side-status i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; box-shadow: 0 0 0 2px #dcebe5; background: #54a879; }
.realm-mark i.status-offline, .realm-mark i.status-unknown, .side-status i.status-offline, .side-status i.status-unknown { box-shadow: 0 0 0 2px #f0dfdc; background: var(--red); }

.side-nav { display: flex; min-height: 38px; padding: 0 24px; align-items: center; justify-content: flex-end; gap: 0; border-bottom: 1px solid #aebdc3; background: linear-gradient(#f8fafb, #e4eaed); }
.nav-cap { margin-right: auto; color: #89949a; font-size: var(--type-copy); font-weight: bold; letter-spacing: .14em; text-transform: uppercase; }
.side-nav a { min-height: 38px; padding: 8px 16px; border-left: 1px dotted #a8b4ba; color: #4e585e; font-size: var(--type-copy); font-weight: bold; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.side-nav a:hover, .side-nav a:focus { color: var(--blue); background: #fff9; }

.portal-shell { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 620px; }
.realm-index { display: flex; padding: 31px 18px 24px; flex-direction: column; border-right: 1px solid #d1d8dc; color: #7a8489; background: linear-gradient(90deg, #edf2f4, #f8fafb); }
.realm-index > p { margin: 0 0 20px; padding-bottom: 7px; border-bottom: 1px dotted #aeb9be; color: var(--blue); font-size: var(--type-title); font-weight: bold; letter-spacing: .1em; text-transform: uppercase; }
.realm-index strong { color: #444d52; font: var(--type-title) var(--display); }
.realm-index > span { font-size: var(--type-copy); }
.realm-index .side-status { margin-top: 25px; padding: 13px 8px; border-block: 1px solid #d9dfe2; color: #65736d; }
.service-status-list { display: grid; margin-top: 4px; border-block: 1px solid #d9dfe2; }
.service-status { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 6px; border-bottom: 1px dotted #c7d0d4; color: #65736d; font-size: var(--type-copy); }
.service-status:last-child { border-bottom: 0; }
.service-status > span { white-space: nowrap; }
.service-status b { color: #445057; font: var(--type-copy) var(--display); text-align: right; }
.service-status i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; box-shadow: 0 0 0 2px #dcebe5; background: #54a879; }
.service-status i.status-offline, .service-status i.status-unknown { box-shadow: 0 0 0 2px #f0dfdc; background: var(--red); }
.realm-index > a { margin-top: auto; padding-top: 18px; border-top: 1px dotted #aeb9be; color: #536269; font-size: var(--type-copy); text-decoration: none; }
.realm-index > a b { float: right; color: var(--blue); }
main { min-width: 0; padding: 24px; }

.panel { position: relative; border: 1px solid var(--line); background: var(--paper); }
.panel::before { position: absolute; top: -1px; left: -1px; width: 58px; height: 3px; content: ""; background: var(--blue); }
h1, h2, h3, h4 { color: #30383d; font-family: var(--display); font-size: var(--type-title); font-weight: normal; line-height: 1.08; }
h1 { margin: 0 0 15px; }
h2 { margin: 0 0 9px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: var(--type-copy); font-weight: bold; letter-spacing: .16em; text-transform: uppercase; }
.lede, .form-intro, .launch-card > div:last-child p, .launch-room > p { color: var(--ink-soft); font: var(--type-copy)/1.7 var(--display); }

.hero { display: grid; grid-template-columns: minmax(260px, 46%) 1fr; min-height: 380px; overflow: hidden; }
.raja-banner { position: relative; display: flex; min-width: 0; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 25px); overflow: hidden; color: var(--cream); background: radial-gradient(circle at 34% 44%, #9a754d 0 4%, transparent 29%), linear-gradient(145deg, #34251a, #6c5033 55%, #302219); isolation: isolate; }
.raja-banner::before { position: absolute; inset: 12px; z-index: -1; content: ""; border: 1px solid #d3b477; box-shadow: 0 0 0 3px #2b1d14, inset 0 0 35px #160f0a; opacity: .72; }
.raja-emblem { display: block; width: clamp(7rem, 15vw, 11rem); height: auto; image-rendering: pixelated; }
.raja-wordmark { margin: 0; font-family: var(--display); font-weight: bold; letter-spacing: .04em; text-align: center; text-shadow: 0 2px 0 #24170f, 0 0 16px #d5b36c66; text-transform: uppercase; }
.raja-wordmark span { display: block; font-size: clamp(2rem, 4.8vw, 3.85rem); line-height: .82; }
.raja-wordmark small { display: block; margin-top: 14px; font: 700 .75rem/1 var(--ui); letter-spacing: .38em; }
.hero-banner { min-height: 380px; flex-direction: column; border-right: 1px solid #bac8ce; }
.hero-copy { align-self: center; padding: 38px clamp(28px, 5vw, 58px); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.button, button[type="submit"] { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 20px; border: 1px solid #176d8a; box-shadow: inset 0 1px #fff6, 0 2px 5px #71838c42; color: #fff; background: linear-gradient(#2a91b4, #176d8a); font-size: var(--type-copy); font-weight: bold; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.button:hover, button[type="submit"]:hover { background: linear-gradient(#3ba4c6, #1c7795); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.text-link { color: var(--blue-dark); font-size: var(--type-copy); font-weight: bold; }
.status-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 12px 0; border: 1px solid var(--line); background: #edf3f5; }
.status-strip span { display: flex; min-height: 58px; padding: 11px 18px; flex-direction: column; justify-content: center; border-right: 1px dotted #aeb9be; }
.status-strip span:last-child { border: 0; }
.status-strip small { color: #899399; font-size: var(--type-copy); letter-spacing: .12em; text-transform: uppercase; }
.status-strip b { color: #3f4a4f; font: var(--type-copy) var(--display); overflow-wrap: anywhere; }
.notice { display: grid; grid-template-columns: minmax(220px, .8fr) 1fr; padding: 24px 28px; align-items: center; gap: 35px; background: linear-gradient(100deg, #fff, #edf6f9); }
.notice p:last-child { margin: 0; padding-left: 30px; border-left: 1px dotted #aeb9be; color: var(--ink-soft); }
.news-list { margin: 24px 0; }
.news-item { margin: 10px 0; padding: 20px 24px; }
.news-item h3 { margin: 0 0 8px; color: #30383d; font: var(--type-title) var(--display); }
.news-item p { white-space: pre-wrap; }
.news-item time { color: var(--ink-soft); font-size: var(--type-copy); }
.realm-notice, .maintenance { margin-bottom: 14px; padding: 22px 25px; background: linear-gradient(100deg, #fff, #edf6f9); }
.realm-notice.status-offline::before, .realm-notice.status-unknown::before { background: var(--red); }

.form-panel { display: grid; grid-template-columns: minmax(210px, .72fr) 1fr; max-width: 760px; margin: 12px auto; overflow: hidden; }
.form-heading { padding: 42px 32px; border-right: 1px solid #c7d1d6; background: linear-gradient(155deg, #d9eef5, #f7fbfc 70%); }
.form-heading::after { display: block; width: 130px; height: 115px; margin: 35px auto -15px; content: ""; opacity: .55; background: url("/static/retained/items/icons/1005700.png") center / contain no-repeat; image-rendering: pixelated; }
.form-panel h1 { font-size: var(--type-title); }
.form-body { padding: 42px 35px; }
form { display: grid; gap: 15px; }
label { display: grid; gap: 5px; color: #59646a; font-size: var(--type-copy); font-weight: bold; letter-spacing: .04em; }
input, select, textarea { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #bbc6cb; border-bottom-color: #809aa5; outline: 0; color: #252c30; background: #f9fbfc; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #2487a824; background: #fff; }
form button { justify-self: start; margin-top: 4px; }
.message { padding: 10px 12px; border-left: 3px solid var(--red); color: #6d3933; background: #fbf1ef; }

.account-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 19px; margin-bottom: 14px; padding: 21px 25px; background: linear-gradient(90deg, #fff, #edf6f9); }
.avatar-seal { width: 68px; height: 68px; }
.account-heading h1 { margin-bottom: 4px; font-size: var(--type-title); }
.account-heading p:last-child { margin: 0; color: var(--ink-soft); font-size: var(--type-copy); }
.account-heading form { display: block; }
.account-heading .quiet { min-height: 31px; padding: 6px 11px; border-color: #9eabb1; box-shadow: none; color: #59646a; background: #f7f9fa; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(210px, .6fr); gap: 14px; }
.launch-card { display: grid; min-height: 375px; overflow: hidden; }
.launch-card > div:last-child { align-self: end; padding: 28px 31px; background: #fff; }
.launch-art { min-height: 190px; border-bottom: 1px solid #bdcbd1; }
.launch-art .raja-emblem { width: 8rem; }
.launch-art .raja-wordmark span { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.account-menu { align-self: start; padding: 24px 21px; }
.account-menu a { display: flex; padding: 16px 0; flex-direction: column; border-top: 1px dotted #aeb9be; text-decoration: none; }
.account-menu b { color: #414b50; font: var(--type-title) var(--display); }
.account-menu small { color: #7d878c; font-size: var(--type-copy); }

.launch-room { min-height: 440px; margin: 0; padding: 30px; overflow: hidden; background: linear-gradient(145deg, #fff, #f0f6f8); }
.launch-room h1 { max-width: 600px; font-size: var(--type-title); }
.launch-room > p { max-width: 650px; }
.client-frame { position: relative; margin: 24px auto 4px; border: 1px solid #506066; box-shadow: 0 9px 25px #68788054; background: #000; }
#canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; image-rendering: pixelated; background: #000; }
#canvas:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
#canvas:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; }
.client-loading { position: absolute; inset: 0; overflow: hidden; background: #000; }
.client-loading[hidden] { display: none; }
.client-loading-background { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.client-loading-progress { position: absolute; top: 50%; left: 50%; width: 54.5%; height: 72.17%; object-fit: contain; image-rendering: pixelated; transform: translate(-50%, -50%); }
.client-loading-copy { position: absolute; right: 3%; bottom: 2%; left: 3%; padding: 8px 12px; background: #050606d9; }
.client-loading-copy .launch-status { margin: 0; text-shadow: 0 1px 2px #000; }
.launch-button { margin-top: 18px; }
.launch-button:disabled { cursor: wait; filter: grayscale(.5); }
.launch-status { min-height: 24px; color: #a6d3b4 !important; font: var(--type-copy) var(--ui) !important; overflow-wrap: anywhere; }

.site-footer { display: flex; min-height: 77px; padding: 15px 25px; align-items: center; gap: 11px; border-top: 1px solid #c5cdd1; color: #899297; background: #eef2f4; }
.footer-seal { width: 40px; height: 40px; opacity: .55; }
.site-footer p { display: flex; margin: 0 auto 0 0; flex-direction: column; }
.site-footer b { color: #596369; font: var(--type-copy) var(--display); }
.site-footer small { font-size: var(--type-copy); }
.site-footer > a { color: var(--blue-dark); font-size: var(--type-copy); letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 800px) {
  .site-frame { width: calc(100% - 20px); }
  .side-nav { justify-content: center; flex-wrap: wrap; overflow: visible; }
  .portal-shell { grid-template-columns: 145px minmax(0, 1fr); }
  main { padding: 16px; }
  .side-nav a { padding-inline: 11px; }
  .hero { grid-template-columns: 1fr; }
  .hero-banner { min-height: 260px; border-right: 0; border-bottom: 1px solid #bac8ce; }
  .account-grid { grid-template-columns: 1fr; }
  .form-panel { grid-template-columns: 1fr; }
  .form-heading { padding: 30px; border-right: 0; border-bottom: 1px solid #c7d1d6; }
  .form-heading::after { position: absolute; top: 6px; right: 20px; width: 95px; height: 95px; margin: 0; opacity: .15; }
}

@media (max-width: 600px) {
  .site-frame { width: 100%; margin-top: 0; border: 0; }
  .masthead { min-height: 91px; padding: 12px 16px; }
  .brand { gap: 9px; }
  .brand-seal { width: 55px; height: 55px; }
  .realm-mark { display: none; }
  .side-nav { padding: 0; justify-content: stretch; flex-wrap: wrap; overflow: visible; }
  .nav-cap { display: none; }
  .side-nav a { flex: 1 0 auto; padding-inline: 9px; text-align: center; }
  input, select, textarea { font-size: 1rem; }
  .portal-shell { display: block; min-height: 0; }
  .realm-index { display: none; }
  main { padding: 12px; }
  .hero-copy { padding: 29px 23px; }
  .status-strip { grid-template-columns: 1fr; }
  .status-strip span { border-right: 0; border-bottom: 1px dotted #aeb9be; }
  .notice { grid-template-columns: 1fr; gap: 8px; padding: 23px; }
  .notice p:last-child { padding: 13px 0 0; border-top: 1px dotted #aeb9be; border-left: 0; }
  .form-heading, .form-body { padding: 27px 22px; }
  .account-heading { grid-template-columns: auto 1fr; padding: 18px; }
  .account-heading form { grid-column: 1 / -1; }
  .launch-room { padding: 24px 14px; }
  .site-footer { padding-inline: 14px; }
  .site-footer > a { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

button, .button, a.button, .account-heading .quiet {
  min-height: 32px !important;
  font-size: 8pt !important;
}
input { min-height: 32px !important; font-size: 8pt !important; }

/* Destiny Field Window: derived from the retained Status, Inventory, System, and HUD materials. */
body {
  color: var(--ink);
  background-color: #574a3a;
  background-image: linear-gradient(#3d3228cc, #6f604bcc), url("/static/retained/paper-tile.png");
  font: var(--type-copy)/1.6 var(--ui);
}
body::before { background: radial-gradient(circle at 50% 0, #c7b38a44, transparent 42rem); }
.site-frame {
  width: min(1180px, calc(100% - 32px));
  margin-top: 16px;
  border: 2px solid var(--umber);
  box-shadow: 0 0 0 1px var(--cream), 0 0 0 4px #6c5940, 0 18px 50px #21191088;
  background: #b9a888;
}
.masthead {
  min-height: 104px;
  border-bottom: 2px solid var(--umber);
  box-shadow: inset 0 -1px var(--cream);
  background: linear-gradient(90deg, #e9dcc5f2 0 52%, #b7a484e6), url("/static/retained/folio-top.png") top center / 100% 51px no-repeat;
}
.masthead::after { opacity: .06; }
.brand { color: var(--umber); font-size: var(--type-title); text-shadow: 0 1px var(--cream); }
.brand > span:last-child small, .realm-mark small { color: #655540; font-size: .75rem; }
.realm-mark b { color: var(--umber); font-size: 1rem; }
.side-nav {
  min-height: 48px;
  padding: 4px 18px;
  border-bottom: 2px solid var(--umber);
  box-shadow: inset 0 -1px var(--cream);
  background: linear-gradient(#6f5a40, #4f3d2c);
}
.nav-cap { color: var(--cream); font-size: .75rem; text-shadow: 0 1px var(--umber); }
.side-nav a {
  display: inline-flex;
  min-height: 30px;
  padding: 4px 10px;
  align-items: center;
  border: 1px solid transparent;
  color: var(--cream);
  font-size: .7rem;
  letter-spacing: .02em;
}
.side-nav a:hover, .side-nav a:focus, .side-nav a[aria-current="page"] {
  border-color: var(--umber);
  box-shadow: inset 0 0 0 1px var(--cream);
  color: var(--cream);
  background: var(--umber);
}
.portal-shell { grid-template-columns: 220px minmax(0, 1fr); }
.realm-index {
  padding: 26px 16px;
  border-right: 2px solid var(--umber);
  box-shadow: inset -1px 0 var(--cream);
  color: var(--ink-soft);
  background: linear-gradient(90deg, #a99575, #c3b18e);
}
.realm-index > p { color: var(--umber); font-size: 1rem; }
.service-status-list { padding: 7px 10px; border: 2px solid var(--umber); box-shadow: inset 0 0 0 1px var(--cream); background: var(--well); }
.service-status { min-height: 44px; border-color: #8e795a; font-size: .875rem; }
.service-status b { color: var(--umber); font: 700 .875rem var(--ui); }
.realm-index > a { min-height: 30px; color: var(--umber); font-size: .7rem; }
main { padding: clamp(16px, 2.5vw, 30px); background: #c9b997; }
.panel {
  border: 2px solid var(--umber);
  box-shadow: inset 0 0 0 1px var(--cream), 2px 3px 0 #6e5c4380;
  background: var(--paper);
}
.panel::before { display: none; }
h1, h2, h3, h4 { color: var(--umber); line-height: 1.22; }
.eyebrow { color: var(--blue-dark); font-size: .75rem; }
.lede, .form-intro, .launch-card > div:last-child p, .launch-room > p { color: var(--ink-soft); font: inherit; }
.hero-banner { border-color: var(--umber); }
.button, button {
  min-height: 22px;
  padding: 4px 10px;
  border: 1px solid var(--umber);
  box-shadow: inset 0 0 0 1px var(--cream), 1px 2px 0 #5a4732;
  color: var(--cream);
  background: linear-gradient(#765d3e, #493522);
  font-size: .4375rem;
}
.button:hover, button:hover { background: linear-gradient(#8a6d49, #563d27); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #8c382c; outline-offset: 3px; }
.text-link { display: inline-flex; min-height: 30px; align-items: center; color: var(--blue-dark); font-size: 1rem; }
.status-strip { border: 2px solid var(--umber); box-shadow: inset 0 0 0 1px var(--cream); background: var(--well); }
.status-strip span { min-height: 68px; border-color: #8e795a; }
.status-strip small { color: #675741; font-size: .75rem; }
.status-strip b { color: var(--umber); font: 700 1rem var(--ui); }
.notice, .realm-notice, .maintenance, .account-heading { background: linear-gradient(105deg, var(--paper), #d9c8a7); }
.form-panel { max-width: 820px; }
.form-heading { border-color: var(--umber); background: linear-gradient(145deg, #b7a37e, #dac9a8); }
.form-heading::after { opacity: .78; filter: contrast(1.15) saturate(1.08); }
.form-body { background: var(--paper); }
label { color: var(--umber); font-size: .875rem; }
input, select, textarea {
  min-height: 30px;
  padding: 1px 7px;
  border: 2px solid var(--umber);
  box-shadow: inset 1px 1px 3px #4b382c55, 0 0 0 1px var(--cream);
  color: var(--ink);
  background: #f7ecd2;
}
input:focus, select:focus, textarea:focus { border-color: #7e3d2d; box-shadow: inset 1px 1px 3px #4b382c44, 0 0 0 3px #fff4d8; background: #fff8e8; }
.message { border-color: var(--red); color: #632b24; background: #f3d9c7; }
.account-menu { background: var(--well); }
.account-heading .quiet { min-height: 22px; padding: 4px 10px; font-size: .4375rem; }
.account-menu a { min-height: 48px; padding-block: 8px; justify-content: center; border-color: #8f7959; }
.account-menu b { color: var(--umber); font-size: 1rem; }
.account-menu small { color: var(--ink-soft); font-size: .875rem; }
.launch-art { border-color: var(--umber); }
.launch-card > div:last-child { background: var(--paper); }
.launch-room { background: linear-gradient(145deg, var(--paper), #cdbd9e); }
.site-footer { border-color: var(--umber); color: #554836; background: #a69373; }
.site-footer b, .site-footer > a { color: var(--umber); }
body > main#content { width: min(860px, calc(100% - 32px)); margin: clamp(24px, 8vh, 80px) auto; padding: 0; background: transparent; }
body > main#content .form-panel { margin: 0 auto; }

@media (max-width: 800px) {
  .site-frame { width: calc(100% - 16px); }
  .side-nav { justify-content: center; flex-wrap: wrap; overflow: visible; }
  .nav-cap { width: 100%; margin: 0; text-align: center; }
  .side-nav a { flex: 1 1 11rem; justify-content: center; }
  .portal-shell { grid-template-columns: 190px minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .site-frame { width: 100%; }
  .side-nav { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; overflow: visible; }
  .side-nav a { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .nav-cap { display: none; }
  .form-heading, .form-body { padding: 24px 18px; }
  body > main#content { width: calc(100% - 20px); margin-block: 10px; }
}
