.portal {
  box-sizing: border-box;
  font: 16px/1.55 system-ui, sans-serif;
  color: #202c35;
  background: #eef2f4;
}
.portal *, .storage-banner * { box-sizing: border-box; }
.portal body { max-width: 72rem; margin: auto; padding: 1.5rem clamp(1rem, 4vw, 3rem); }
.portal a, .storage-banner a { color: #8f3415; text-underline-offset: .2em; }
.portal a:focus-visible, .storage-banner button:focus-visible, .storage-banner a:focus-visible {
  outline: 2px solid #a83e18;
  outline-offset: 3px;
}
.portal-header { border-bottom: 1px solid #cbd6dc; padding-bottom: 1rem; }
.portal-header a {
  color: #202c35;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  letter-spacing: .065em;
  text-decoration: none;
}
.portal-header svg { width: 2.2rem; height: 2.2rem; border-radius: .45rem; background: #ee7446; }
.portal-header b { color: #9d3918; }
.portal-main { margin: clamp(1.5rem, 7vh, 5rem) auto 2.5rem; }
.portal-main h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.045em; line-height: 1.08; margin: 0 0 1rem; }
.portal-main h2 { font-size: 1.2rem; margin: 1.65rem 0 .35rem; line-height: 1.3; }
.portal-main p { margin: .5rem 0 1rem; }
.portal-main address { font-style: normal; }
.portal-login {
  max-width: 39rem;
  padding: clamp(1.4rem, 5vw, 3rem);
  background: #24323d;
  color: #fff;
  border: 1px solid #344c5a;
  border-top: 4px solid #ee7446;
  border-radius: .75rem;
  box-shadow: 0 12px 32px #23313d21;
}
.portal-login p { color: #d7e0e6; max-width: 40ch; }
.portal .portal-cta {
  display: inline-block;
  margin: .8rem 0 .45rem;
  padding: .75rem 1.05rem;
  border-radius: .35rem;
  background: #ffd0bd;
  color: #462013;
  font-weight: 750;
  text-decoration: none;
}
.portal .portal-cta:hover { background: #ffe0d4; }
.portal .portal-login a:focus-visible { outline-color: #ffd0bd; }
.portal-legal { max-width: 47rem; padding: clamp(1.15rem, 5vw, 2.75rem); background: white; border: 1px solid #d4dee3; border-radius: .75rem; }
.portal-legal code { overflow-wrap: anywhere; }
.portal-footer { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; padding-top: 1rem; border-top: 1px solid #cbd6dc; }
.portal-footer button { font: inherit; color: #8f3415; text-decoration: underline; text-underline-offset: .2em; border: 0; background: none; padding: 0; cursor: pointer; }
.portal-footer button:focus-visible { outline: 2px solid #a83e18; outline-offset: 3px; }
.storage-banner {
  position: fixed;
  z-index: 20;
  inset: auto 1rem 1rem auto;
  margin: 0;
  width: min(31rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: clamp(1rem, 4vw, 1.4rem);
  color: #202c35;
  background: #fff;
  border: 1px solid #aabcc6;
  border-radius: .65rem;
  box-shadow: 0 10px 35px #23313d36;
  font: 16px/1.45 system-ui, sans-serif;
}
.storage-banner h2 { margin: 0 0 .45rem; font: 750 1.2rem/1.25 system-ui, sans-serif; }
.storage-banner p { margin: 0 0 .65rem; }
.storage-banner .storage-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.storage-banner button {
  flex: 1 1 11rem;
  min-height: 2.75rem;
  padding: .5rem .7rem;
  border: 1px solid #546b78;
  border-radius: .35rem;
  color: #203748;
  background: #f4f7f8;
  cursor: pointer;
  font: 650 .95rem/1.3 system-ui, sans-serif;
}
.storage-banner button:hover { background: #e4edf1; }
.storage-banner button[aria-pressed="true"] { border-color: #853419; box-shadow: inset 0 -2px #a74825; }
.workshop-footer a { color: inherit; text-underline-offset: .2em; padding: 4px 6px; }
.workshop-footer button { white-space: nowrap; }
.workshop-footer a:hover { background: #40525e; border-radius: 4px; }
.workshop-footer a:focus-visible { outline: 2px solid #ff8759; outline-offset: 2px; }
@media (max-width: 850px) {
  body.workshop-online { grid-template-rows: auto 1fr auto; }
  footer.workshop-footer { display: flex; flex-wrap: wrap; min-height: 38px; padding-block: 5px; }
  footer.workshop-footer div:last-child { justify-content: flex-start; flex-wrap: wrap; }
}
