.portal-page {
  min-height: calc(100svh - var(--header));
  padding: 18px 0 72px;
  background:
    linear-gradient(rgba(35, 88, 189, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 88, 189, .035) 1px, transparent 1px),
    #edf2f8;
  background-size: 44px 44px;
}

.portal-page h1,
.portal-page h2,
.portal-page h3 {
  font-family: var(--sans);
  letter-spacing: -.035em;
}

.portal-page h1 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.04; }
.portal-page h2 { font-size: clamp(27px, 2.8vw, 38px); line-height: 1.08; }
.portal-page h3 { font-size: clamp(22px, 2vw, 29px); line-height: 1.16; }
html[data-layout="cjk"] .portal-page h1 { font-size: clamp(36px, 3.8vw, 52px); line-height: 1.16; letter-spacing: 0; }
html[data-layout="cjk"] .portal-page h2 { font-size: clamp(26px, 2.6vw, 35px); line-height: 1.2; letter-spacing: 0; }
html[data-layout="cjk"] .portal-page h3 { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.25; letter-spacing: 0; }

.portal-kicker {
  margin: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.portal-loading {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid #d6e1ef;
  border-radius: 22px;
  background: rgba(255, 255, 255, .74);
}

.portal-loading p { margin: 0; font-size: 16px; }
.portal-loading__mark { width: 16px; height: 16px; border: 2px solid #b8c7da; border-top-color: var(--blue); border-radius: 50%; animation: portal-spin .8s linear infinite; }
@keyframes portal-spin { to { transform: rotate(360deg); } }

.portal-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .68fr);
  overflow: hidden;
  border: 1px solid #c9d6e5;
  border-radius: 22px;
  background: #f8fafc;
  box-shadow: 0 28px 80px rgba(16, 29, 51, .09);
}

.portal-entry__intro {
  position: relative;
  padding: clamp(54px, 6vw, 88px);
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.portal-entry__intro::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -210px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(125, 174, 237, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(35, 88, 189, .08), 0 0 0 124px rgba(35, 88, 189, .04);
  pointer-events: none;
}

.portal-entry__intro .portal-kicker { color: #8eb9f4; }
.portal-entry__intro h1 { position: relative; z-index: 1; max-width: 780px; margin: 22px 0 24px; color: #fff; }
.portal-entry__lead { position: relative; z-index: 1; max-width: 720px; margin: 0; color: #c4d1e2; font-size: 17px; line-height: 1.75; }

.portal-principles { position: relative; z-index: 1; margin: 58px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .2); list-style: none; }
.portal-principles li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .17); }
.portal-principles li > span { padding-top: 3px; color: #75a6ec; font-family: var(--mono); font-size: 14px; }
.portal-principles h2 { margin: 0 0 7px; color: #fff; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }
html[data-layout="cjk"] .portal-principles h2 { font-size: 19px; }
.portal-principles p { margin: 0; color: #9fb0c6; font-size: 15px; line-height: 1.7; }

.portal-auth {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 5vw, 76px);
  background: #fff;
}
.portal-auth__seal { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 38px; border: 1px solid #ccd9e8; background: #f2f6fb; }
.portal-auth__seal img { width: 38px; height: 38px; object-fit: contain; }
.portal-auth h2 { margin: 15px 0 18px; color: var(--ink); }
.portal-auth > p:not(.portal-kicker) { margin: 0; color: #5d6d82; font-size: 16px; line-height: 1.75; }
.portal-google { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 34px; padding: 13px 20px; border: 1px solid #becbda; border-radius: 10px; color: #16233a; background: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 7px 20px rgba(16, 29, 51, .06); transition: border-color .2s, box-shadow .2s, transform .2s; }
.portal-google:hover { border-color: #7e94af; box-shadow: 0 10px 28px rgba(16, 29, 51, .11); transform: translateY(-1px); }
.portal-google-mark { width: 18px; height: 18px; flex: 0 0 auto; }
.portal-auth__divider { display: flex; align-items: center; gap: 13px; margin: 25px 0 20px; color: #718098; font-size: 13px; }
.portal-auth__divider::before, .portal-auth__divider::after { content: ""; flex: 1; height: 1px; background: #d8e1ec; }
.portal-email-form, .portal-code-form { display: grid; gap: 10px; }
.portal-email-form > label, .portal-code-form > label { color: #27364c; font-size: 14px; font-weight: 700; }
.portal-email-form__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.portal-email-form input, .portal-code-form input { min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #b8c7d9; border-radius: 8px; color: var(--ink); background: #fbfcfe; font: 16px/1.4 var(--sans); }
.portal-email-form__row input { border-radius: 8px 0 0 8px; }
.portal-email-form button, .portal-code-form button { min-height: 50px; padding: 11px 15px; border: 1px solid var(--ink); border-radius: 8px; color: #fff; background: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.portal-email-form__row button { border-radius: 0 8px 8px 0; }
.portal-email-form button:disabled, .portal-code-form button:disabled { opacity: .6; cursor: wait; }
.portal-email-form > p, .portal-code-form > div p { margin: 0; color: #708097; font-size: 13px; line-height: 1.55; }
.portal-code-form > div strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 15px; }
.portal-code-form input { letter-spacing: .28em; text-align: center; }
.portal-code-form .portal-code-form__back { min-height: 44px; border-color: transparent; color: #4d6078; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.portal-email-auth__feedback { margin-top: 14px; padding: 12px 14px; border-left: 3px solid #278164; color: #175a45; background: #eef9f5; font-size: 14px; line-height: 1.55; }
.portal-email-auth__feedback.is-error { border-color: #c74c45; color: #6b2521; background: #fff1f0; }
.portal-auth__feedback { margin-top: 20px; padding: 15px 17px; border-left: 3px solid #52749f; color: #284463; background: #eef4fb; font-size: 14px; line-height: 1.65; }
.portal-auth__notice { margin-top: 22px; padding: 16px 17px; border-left: 3px solid #a66b12; background: #fff8e9; }
.portal-auth__notice strong { display: block; color: #5b3c0c; font-size: 14px; }
.portal-auth__notice p { margin: 7px 0 0; color: #72572c; font-size: 14px; line-height: 1.6; }
.portal-auth__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #d8e1ec; }
.portal-auth__links a { min-height: 44px; display: inline-flex; align-items: center; color: #58697f; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

.portal-workspace {
  overflow: hidden;
  border: 1px solid #c9d6e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(16, 29, 51, .09);
}
.portal-workspace__header { min-height: 148px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 42px; color: #fff; background: var(--ink); }
.portal-workspace__header .portal-kicker { color: #8eb9f4; }
.portal-workspace__header h1 { margin: 10px 0 0; color: #fff; font-size: 38px; }
html[data-layout="cjk"] .portal-workspace__header h1 { font-size: 36px; }
.portal-identity { max-width: 360px; display: flex; align-items: center; gap: 15px; }
.portal-identity img { width: 42px; height: 42px; flex: 0 0 auto; object-fit: contain; }
.portal-identity span { min-width: 0; display: grid; gap: 2px; }
.portal-identity small { color: #8fa5c2; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.portal-identity strong, .portal-identity em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-identity strong { color: #fff; font-size: 15px; }
.portal-identity em { color: #aebdd0; font-size: 13px; font-style: normal; }
.portal-workspace__body { min-height: 650px; display: grid; grid-template-columns: 235px minmax(0, 1fr); }

.portal-tabs { display: flex; flex-direction: column; padding: 24px 18px; border-right: 1px solid #d5dfeb; background: #edf2f8; }
.portal-tabs button { min-height: 52px; display: flex; align-items: center; width: 100%; padding: 12px 13px; border: 0; border-bottom: 1px solid #cfdbe8; color: #5e6d81; background: transparent; text-align: left; cursor: pointer; }
.portal-tabs button > span { color: #8699b1; font-family: var(--mono); font-size: 12px; }
.portal-tabs button[aria-selected="true"] { color: #fff; border-color: var(--blue); background: var(--blue); }
.portal-tabs button[aria-selected="true"] > span { color: #dbe8ff; }
.portal-stage { min-width: 0; padding: clamp(32px, 4.5vw, 68px); background: #fff; }
.portal-view { min-width: 0; }
.portal-section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, .7fr); gap: 50px; align-items: end; padding-bottom: 31px; border-bottom: 1px solid #bccada; }
.portal-section-head h2 { margin: 11px 0 0; }
.portal-section-head > p { max-width: 560px; margin: 0; font-size: 16px; line-height: 1.7; }
.portal-section-head__aside { display: grid; justify-items: start; gap: 15px; }
.portal-section-head__aside > p { max-width: 560px; margin: 0; font-size: 16px; line-height: 1.7; }
.portal-section-head--form { align-items: start; }
.portal-list-toggle { min-height: 40px; padding: 8px 12px; border: 1px solid #b8c8da; border-radius: 7px; color: #324a67; background: #f6f9fc; font-size: 13px; font-weight: 700; cursor: pointer; }
.portal-list-toggle[aria-pressed="true"] { border-color: #7697c5; color: #173e75; background: #eaf2fd; }
.portal-error, .portal-form__message { margin-bottom: 24px; padding: 15px 17px; border-left: 3px solid #c74c45; color: #6b2521; background: #fff1f0; font-size: 15px; line-height: 1.6; }
.portal-form__message.is-success { border-color: #278164; color: #175a45; background: #eef9f5; }
.portal-cases-state { margin-top: 28px; padding: 18px 20px; border: 1px solid #ced9e6; color: #42556e; background: #f5f8fc; font-size: 15px; line-height: 1.65; }
.portal-cases-state.is-error { border-color: #e0b9b6; color: #6b2521; background: #fff3f2; }

.portal-empty { display: grid; grid-template-columns: 120px minmax(0, 650px); gap: clamp(34px, 6vw, 90px); align-items: center; min-height: 410px; padding: 60px 0; }
.portal-empty__rail { position: relative; height: 280px; border-left: 2px solid var(--blue); }
.portal-empty__rail::before, .portal-empty__rail::after, .portal-empty__rail span { content: ""; position: absolute; left: -6px; width: 10px; height: 10px; border: 2px solid var(--blue); border-radius: 50%; background: #fff; }
.portal-empty__rail::before { top: 0; }
.portal-empty__rail::after { bottom: 0; }
.portal-empty__rail span:nth-child(1) { top: 25%; }
.portal-empty__rail span:nth-child(2) { top: 50%; }
.portal-empty__rail span:nth-child(3) { top: 75%; }
.portal-empty h3 { max-width: 620px; margin: 15px 0 17px; }
.portal-empty p:not(.portal-kicker) { max-width: 610px; margin: 0; font-size: 16px; line-height: 1.75; }

.portal-case-list { display: grid; margin-top: 28px; }
.portal-case { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(160px, .38fr); gap: 28px; padding: 26px 0; border-bottom: 1px solid #d3deea; }
.portal-case__ref { color: var(--blue); font-family: var(--mono); font-size: 13px; }
.portal-case h3 { margin: 4px 0 8px; font-size: 22px; }
.portal-case p { margin: 0; color: #5c6c80; font-size: 15px; line-height: 1.6; }
.portal-case dl { margin: 0; }
.portal-case dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; }
.portal-case dt { color: #738299; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.portal-case dd { margin: 0; color: var(--ink); font-size: 13px; text-align: right; }
.portal-case__progress { grid-column: 2 / -1; margin-top: -3px; padding: 17px 19px; border: 1px solid #c8d8ea; border-left: 3px solid var(--blue); border-radius: 8px; background: #f2f7fd; }
.portal-case__progress h4 { margin: 0 0 8px; color: #244c83; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.portal-case__progress > p { margin: 0; color: #344a66; white-space: pre-wrap; }
.portal-case__progress-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #d2dfed; }
.portal-case__progress-meta > span { display: grid; gap: 3px; color: #253a56; font-size: 13px; font-weight: 700; }
.portal-case__progress-meta small { color: #718098; font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.portal-case__progress-meta a { min-height: 36px; display: inline-flex; align-items: center; margin-left: auto; padding: 7px 11px; border: 1px solid #9fb8d8; border-radius: 6px; color: #173f79; background: #fff; font-size: 13px; font-weight: 700; }
.portal-status { display: inline-flex; align-items: center; gap: 8px; color: #53677f; font-size: 13px; font-weight: 700; }
.portal-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.portal-order-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.portal-order { min-width: 0; padding: 22px; border: 1px solid #ccd8e6; border-radius: 12px; background: #f9fbfd; }
.portal-order__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #d5dfeb; }
.portal-order__ref { color: var(--blue); font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.portal-order__body h3 { margin: 20px 0 18px; font-size: 21px; }
.portal-order dl { margin: 0; }
.portal-order dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 6px 0; }
.portal-order dt { color: #718098; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.portal-order dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; text-align: right; }
.portal-order__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #d5dfeb; }
.portal-order__action { min-height: 38px; padding: 8px 11px; border: 1px solid #b9c9db; border-radius: 6px; color: #2f4866; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.portal-order__action:hover { border-color: #7696bd; background: #f0f5fb; }
.portal-order__action--danger { color: #7b302b; border-color: #d5aaa7; }
.portal-order__action:disabled { opacity: .58; cursor: wait; }
.portal-order__feedback { margin: 12px 0 0; padding: 10px 11px; border-left: 3px solid #278164; color: #175a45; background: #eef9f5; font-size: 13px; line-height: 1.5; }
.portal-order__feedback.is-error { border-color: #c74c45; color: #6b2521; background: #fff1f0; }

.portal-form { margin-top: 14px; }
.portal-form fieldset { margin: 0; padding: 36px 0 42px; border: 0; border-bottom: 1px solid #cbd7e5; }
.portal-form legend { float: left; width: 190px; display: flex; align-items: center; gap: 14px; padding: 13px 28px 0 0; color: var(--ink); font-size: 16px; font-weight: 700; }
.portal-form legend + * { clear: none; }
.portal-form legend span { color: var(--blue); font-family: var(--mono); font-size: 13px; }
.portal-fields { margin-left: 190px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px 20px; }
.portal-field { display: grid; gap: 9px; align-content: start; }
.portal-field--wide { grid-column: 1 / -1; }
.portal-field > label { color: #27364c; font-size: 14px; font-weight: 700; }
.portal-field b { margin-left: 6px; color: #738299; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.portal-field input, .portal-field select, .portal-field textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #b8c7d9; border-radius: 7px; color: var(--ink); background: #fbfcfe; font: 16px/1.5 var(--sans); transition: border-color .2s, box-shadow .2s; }
.portal-field textarea { min-height: 130px; resize: vertical; }
.portal-field small { color: #708097; font-size: 13px; line-height: 1.55; }
.portal-field input:focus, .portal-field select:focus, .portal-field textarea:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px rgba(35, 88, 189, .14); }
.portal-field input[aria-invalid="true"], .portal-field textarea[aria-invalid="true"] { border-color: #b83e39; }
.portal-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: #54657b; font-size: 14px; line-height: 1.65; }
.portal-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.portal-consent input[aria-invalid="true"] { outline: 2px solid #b83e39; outline-offset: 3px; }
.portal-form__actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 28px; }
.portal-primary, .portal-secondary { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 19px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.portal-primary { border: 1px solid var(--ink); color: #fff; background: var(--ink); }
.portal-primary:hover { border-color: var(--blue); background: var(--blue); }
.portal-secondary { border: 1px solid #bdcada; color: #34465d; background: #fff; }
.portal-primary:disabled { opacity: .6; cursor: wait; }

.portal-account { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 0; border-top: 1px solid #cbd7e5; }
.portal-account > div { min-width: 0; padding: 24px 20px 24px 0; border-bottom: 1px solid #cbd7e5; }
.portal-account > div:nth-child(odd) { border-right: 1px solid #cbd7e5; }
.portal-account > div:nth-child(even) { padding-left: 20px; }
.portal-account dt { color: #718098; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.portal-account dd { margin: 9px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: 16px; font-weight: 700; }
.portal-account__links { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 28px; }
.portal-account__links a { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 14px; font-weight: 700; }
.portal-admin-entry { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 19px 20px; border: 1px solid #b7c9e0; border-left: 4px solid var(--blue); border-radius: 8px; color: var(--ink); background: #f1f6fc; }
.portal-admin-entry span { display: grid; gap: 5px; }
.portal-admin-entry strong { font-size: 15px; }
.portal-admin-entry small { color: #66778d; font-size: 13px; line-height: 1.5; }
.portal-account__actions { display: flex; justify-content: flex-start; margin-top: 28px; padding-top: 24px; border-top: 1px solid #cbd7e5; }
.portal-account__logout { min-width: 150px; }

.portal-page button:focus-visible, .portal-page a:focus-visible, .portal-page input:focus-visible, .portal-page textarea:focus-visible, .portal-page select:focus-visible, .portal-view:focus-visible { outline: 3px solid #6da6f0; outline-offset: 3px; }

.page-portal { font-size: 16px; }
.portal-page + .site-footer .site-footer__top { grid-template-columns: 1fr; gap: 0; padding-block: 30px; }
.portal-page + .site-footer .site-footer__top > div > p,
.portal-page + .site-footer .footer-identity > span,
.portal-page + .site-footer .footer-addresses,
.portal-page + .site-footer .footer-contact { display: none; }
.portal-page + .site-footer .footer-identity { margin-top: 16px; }
.portal-page + .site-footer .site-footer__bottom { padding-block: 17px; }

@media (max-width: 1050px) {
  .portal-entry { grid-template-columns: 1fr; }
  .portal-auth { min-height: 520px; }
  .portal-entry__intro { padding: 64px 50px; }
  .portal-workspace__body { grid-template-columns: 1fr; }
  .portal-tabs { position: sticky; top: var(--header); z-index: 5; flex-direction: row; overflow-x: auto; padding: 10px 16px; border-right: 0; border-bottom: 1px solid #d5dfeb; }
  .portal-tabs button { min-width: max-content; padding: 11px 14px; border: 0; }
}

@media (max-width: 760px) {
  .portal-page { padding: 10px 0 42px; background-size: 32px 32px; }
  .portal-page h1, html[data-layout="cjk"] .portal-page h1 { font-size: clamp(32px, 9.5vw, 38px); line-height: 1.14; }
  .portal-page h2, html[data-layout="cjk"] .portal-page h2 { font-size: clamp(25px, 7vw, 30px); }
  .portal-page h3, html[data-layout="cjk"] .portal-page h3 { font-size: 22px; }
  .portal-principles h2, html[data-layout="cjk"] .portal-principles h2 { font-size: 18px; line-height: 1.35; }
  .portal-loading { min-height: 420px; border-radius: 17px; }
  .portal-entry { border-radius: 17px; }
  .portal-entry__intro { padding: 50px 22px 44px; }
  .portal-entry__lead { font-size: 16px; }
  .portal-principles { margin-top: 42px; }
  .portal-principles li { grid-template-columns: 34px 1fr; gap: 10px; }
  .portal-auth { order: -1; min-height: 0; padding: 46px 22px; }
  .portal-entry[data-auth-unavailable-state] .portal-auth { padding-block: 32px; }
  .portal-entry[data-auth-unavailable-state] .portal-auth__seal { margin-bottom: 20px; }
  .portal-auth__seal { margin-bottom: 30px; }
  .portal-google { width: 100%; }
  .portal-email-form__row { grid-template-columns: 1fr; gap: 8px; }
  .portal-email-form__row input, .portal-email-form__row button { border-radius: 8px; }
  .portal-auth__links { display: grid; gap: 0; }
  .portal-workspace { border-radius: 17px; }
  .portal-workspace__header { display: block; padding: 28px 20px; }
  .portal-workspace__header h1, html[data-layout="cjk"] .portal-workspace__header h1 { font-size: 30px; }
  .portal-identity { margin-top: 25px; }
  .portal-tabs { top: 78px; padding: 8px 10px; }
  .portal-tabs button { min-height: 46px; }
  .portal-stage { padding: 31px 19px 42px; }
  .portal-section-head { display: block; padding-bottom: 24px; }
  .portal-section-head > p { margin-top: 18px; }
  .portal-section-head__aside { margin-top: 18px; }
  .portal-empty { grid-template-columns: 30px 1fr; gap: 21px; min-height: 390px; padding: 48px 0; }
  .portal-empty__rail { height: 280px; }
  .portal-primary { width: 100%; margin-top: 6px; }
  .portal-case { grid-template-columns: 1fr; gap: 12px; }
  .portal-case__progress { grid-column: auto; margin-top: 5px; }
  .portal-case dl > div { justify-content: flex-start; }
  .portal-case dd { text-align: left; }
  .portal-order-list { grid-template-columns: 1fr; }
  .portal-order__head { display: grid; }
  .portal-order__actions { display: grid; }
  .portal-form fieldset { padding: 30px 0 34px; }
  .portal-form legend { float: none; width: 100%; padding: 0 0 20px; }
  .portal-fields { margin-left: 0; grid-template-columns: 1fr; }
  .portal-field--wide { grid-column: auto; }
  .portal-form__actions { flex-direction: column-reverse; }
  .portal-secondary { width: 100%; }
  .portal-account { grid-template-columns: 1fr; }
  .portal-account > div:nth-child(odd) { border-right: 0; }
  .portal-account > div:nth-child(even) { padding-left: 0; }
  .portal-account__logout { width: 100%; }
  .portal-page + .site-footer .site-footer__top { padding-block: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-loading__mark { animation: none; }
  .portal-google { transition: none; }
}
