:root {
  --portal-ink: #0c1a20;
  --portal-copy: #35464e;
  --portal-muted: #6c7b81;
  --portal-petrol: #063039;
  --portal-petrol-deep: #05252d;
  --portal-teal: #0b6b68;
  --portal-teal-soft: #e5f3f2;
  --portal-coral: #f04f42;
  --portal-coral-dark: #ce392f;
  --portal-blue: #2775c8;
  --portal-amber: #a66a00;
  --portal-violet: #6b55a4;
  --portal-surface: #f5f7f7;
  --portal-paper: #ffffff;
  --portal-wash: #eef2f3;
  --portal-line: #dde4e6;
  --portal-line-strong: #c5d0d3;
  --portal-shadow: 0 1rem 3rem rgb(5 39 47 / 15%);
  --portal-header-height: 4.25rem;
  --portal-footer-height: 3.1rem;
  --portal-login-footer-height: 3.8rem;
  --portal-radius: .4rem;
}

html,
body {
  min-width: 20rem;
}

body {
  background: #e9eef0;
}

:focus-visible {
  outline: .15rem solid rgb(204 147 30 / 82%);
  outline-offset: .15rem;
}

.portal-outer {
  padding: .3125rem;
}

.portal-frame {
  width: calc(100vw - .625rem);
  height: calc(100dvh - .625rem);
  border: .0625rem solid #afbdc1;
  border-radius: .3rem;
  background: var(--portal-paper);
  box-shadow: var(--portal-shadow);
}

.portal-stage {
  background: #e9eef0;
}

.portal-main,
.portal-login-main {
  max-width: 100%;
  max-height: 100%;
}

.portal-main {
  background: var(--portal-surface);
  background-image: none;
  scrollbar-color: #92a1a6 transparent;
}

.portal-header {
  grid-template-columns: minmax(15rem, 1fr) auto minmax(15rem, 1fr);
  padding: 0 clamp(1.1rem, 2.6vw, 2rem);
  border-bottom: .125rem solid #66aeb2;
  background: var(--portal-petrol-deep);
}

.portal-brand {
  gap: 1rem;
}

.portal-brand__logo {
  width: 5.2rem;
  height: 2.55rem;
}

.portal-brand__divider {
  height: 2.15rem;
}

.portal-brand__name {
  font-size: .92rem;
  font-weight: 680;
}

.portal-primary-nav {
  gap: 1.8rem;
}

.portal-primary-nav a {
  min-width: 5rem;
  padding-top: 0;
  font-size: .74rem;
  letter-spacing: .02em;
}

.portal-primary-nav a::after {
  bottom: .95rem;
  height: .125rem;
}

.portal-primary-nav a::before {
  bottom: .72rem;
  width: .4rem;
  height: .4rem;
}

.portal-menu-trigger {
  min-width: 6.8rem;
  height: 2.5rem;
  gap: .55rem;
  border: .0625rem solid rgb(255 255 255 / 32%);
  border-radius: 1.4rem;
  background: transparent;
  font-size: .8rem;
}

.portal-menu-trigger:hover {
  border-color: rgb(255 255 255 / 64%);
  background: rgb(255 255 255 / 7%);
}

.page-bezel {
  min-height: 2.65rem;
  padding: 0 clamp(1rem, 2.2vw, 1.7rem);
  border-bottom: .0625rem solid var(--portal-line);
  background: rgb(255 255 255 / 96%);
  box-shadow: none;
}

.page-bezel__label,
.page-bezel__meta {
  gap: .55rem;
  font-size: .68rem;
}

.page-bezel__label::before {
  width: .14rem;
  height: 1.05rem;
}

.portal-breadcrumbs {
  gap: .5rem;
  font-size: .75rem;
}

.portal-breadcrumbs li {
  gap: .5rem;
}

.page-back {
  gap: .4rem;
  font-size: .75rem;
}

.portal-content {
  max-width: 92rem;
  padding: 1.2rem clamp(1rem, 2.2vw, 1.8rem) 1.35rem;
}

.portal-page-heading {
  margin-bottom: 1rem;
  padding-bottom: .72rem;
  font-size: clamp(1.75rem, 2.65cqw, 2.65rem);
  line-height: 1.05;
}

.portal-page-heading::after,
.section-heading::after {
  width: 2rem;
  height: .13rem;
}

.section-heading {
  padding-bottom: .55rem;
  font-size: 1.25rem;
}

.portal-button {
  min-height: 2.55rem;
  gap: .5rem;
  padding: 0 .95rem;
  border-width: .0625rem;
  border-radius: .32rem;
  font-size: .78rem;
}

.portal-button--primary {
  box-shadow: none;
}

.portal-icon-button {
  width: 2.55rem;
  height: 2.55rem;
  border-width: .0625rem;
  border-radius: .32rem;
}

/* Account menu */

.portal-menu-backdrop {
  inset: var(--portal-header-height) 0 var(--portal-footer-height);
  background: rgb(3 22 27 / 46%);
}

.portal-menu-drawer {
  top: var(--portal-header-height);
  bottom: var(--portal-footer-height);
  width: min(24rem, 100%);
  padding: 1.5rem 1.25rem 1.15rem;
  border-left: .0625rem solid var(--portal-line);
  background: #fff;
  color: var(--portal-ink);
  box-shadow: -1rem 0 2.5rem rgb(4 32 38 / 18%);
}

.portal-menu-account {
  padding: .2rem .4rem 1.15rem;
  border-bottom: .0625rem solid var(--portal-line);
}

.portal-menu-account strong {
  margin-bottom: .3rem;
  color: var(--portal-ink);
  font-size: 1.1rem;
}

.portal-menu-account span {
  color: var(--portal-muted);
  font-size: .75rem;
}

.portal-menu-links {
  gap: .15rem;
  margin-top: .8rem;
}

.portal-menu-link,
.portal-menu-signout {
  min-height: 3.25rem;
  gap: .8rem;
  padding: 0 .7rem;
  border-radius: .3rem;
  color: var(--portal-copy);
  font-size: .86rem;
}

.portal-menu-link::before {
  top: .5rem;
  bottom: .5rem;
  left: -1.25rem;
  width: .18rem;
}

.portal-menu-link:hover,
.portal-menu-link[aria-current="page"],
.portal-menu-signout:hover {
  color: var(--portal-teal);
  background: var(--portal-teal-soft);
}

.portal-menu-link .icon,
.portal-menu-signout .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.portal-menu-signout {
  border-top: .0625rem solid var(--portal-line);
  color: var(--portal-red, #a52d2d);
}

/* Login */

.portal-login-main {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--portal-surface);
  background-image: none;
}

.portal-login-panel {
  width: min(64rem, 100%);
  min-height: 27rem;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  border: .0625rem solid var(--portal-line-strong);
  border-radius: var(--portal-radius);
  background: #fff;
  box-shadow: 0 .7rem 2.5rem rgb(4 32 38 / 8%);
}

.portal-login-intro,
.portal-login-form-wrap {
  padding: clamp(2rem, 4vw, 3.2rem);
}

.portal-login-intro {
  border-right: .0625rem solid var(--portal-line);
  background: #f8fafa;
}

.portal-login-intro h1 {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  font-size: clamp(2rem, 3.6cqw, 3.2rem);
}

.portal-login-intro h1::after {
  width: 2rem;
  height: .13rem;
}

.portal-login-intro p {
  max-width: 25rem;
  color: var(--portal-copy);
  font-size: .96rem;
}

.portal-login-progress {
  width: min(19rem, 100%);
  height: .13rem;
  margin-top: 1.8rem;
}

.portal-login-progress::after {
  width: .5rem;
  height: .5rem;
}

.login-form {
  gap: 1.15rem;
}

.login-form label {
  gap: .45rem;
  font-size: .78rem;
}

.login-input-wrap input {
  height: 3rem;
  padding: 0 3rem 0 .85rem;
  border: .0625rem solid var(--portal-line-strong);
  border-radius: .3rem;
  background: #fff;
  font-size: .86rem;
}

.login-password-toggle {
  right: .35rem;
  width: 2.35rem;
  height: 2.35rem;
}

.login-submit {
  min-height: 3rem;
  margin-top: .2rem;
  font-size: .9rem;
}

.login-form__message {
  margin-top: -.35rem;
  font-size: .74rem;
}

.portal-footer {
  padding: 0 1.7rem;
  background: var(--portal-petrol-deep);
  font-size: .68rem;
}

.portal-footer__links {
  gap: 1.2rem;
}

.portal-login-footer {
  font-size: .82rem;
}

/* Proposals */

.portal-main--proposals .portal-content {
  padding-top: 1rem;
}

.proposal-ledger {
  border: .0625rem solid var(--portal-line);
  border-radius: var(--portal-radius);
  background: #fff;
}

.proposal-ledger__header,
.proposal-ledger__row {
  grid-template-columns: minmax(15rem, 1.65fr) minmax(16rem, 1.75fr) minmax(10rem, .95fr) minmax(8rem, .75fr) minmax(10rem, .9fr);
}

.proposal-ledger__header {
  min-height: 2.55rem;
  border-bottom: .0625rem solid var(--portal-line);
  color: var(--portal-muted);
  background: #f1f4f4;
  font-size: .62rem;
}

.proposal-ledger__header > span {
  padding: 0 1rem;
}

.proposal-ledger__row {
  min-height: 5.6rem;
  border-bottom: .0625rem solid var(--portal-line);
}

.proposal-ledger__cell {
  padding: .7rem 1rem;
  border-right: .0625rem solid #e8edef;
}

.proposal-identity {
  grid-template-columns: 2.9rem minmax(0, 1fr);
  gap: .75rem;
}

.proposal-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-width: .0625rem;
  border-radius: .38rem;
  background: #f9fbfb;
}

.proposal-icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.proposal-identity h2 {
  font-size: .88rem;
}

.proposal-identity p {
  margin-top: .22rem;
  font-size: .68rem;
}

.proposal-pricing {
  gap: .4rem;
}

.proposal-price {
  gap: .28rem;
  padding-right: .75rem;
}

.proposal-price + .proposal-price {
  padding-left: .9rem;
  border-left: .0625rem solid var(--portal-line);
}

.proposal-price span {
  font-size: .57rem;
}

.proposal-price s,
.proposal-price strong {
  font-size: .8rem;
}

.proposal-price strong {
  color: var(--portal-teal);
  font-size: 1rem;
}

.proposal-validity {
  gap: .55rem;
  font-size: .7rem;
}

.proposal-validity__icon {
  width: 2rem;
  height: 2rem;
  border-radius: .3rem;
}

.proposal-status {
  font-size: .68rem;
}

.proposal-ledger__action .portal-button {
  width: 100%;
}

.proposal-report-hub {
  margin-top: .85rem;
  padding: .75rem 1rem;
  border: .0625rem solid var(--portal-line);
  border-radius: var(--portal-radius);
  background: #fff;
}

.proposal-report-hub__header {
  margin-bottom: .55rem;
}

.proposal-report-hub__title h2 {
  font-size: 1.15rem;
}

.proposal-report-link {
  min-height: 2.6rem;
  border-bottom: .0625rem solid var(--portal-line);
  font-size: .75rem;
}

.proposal-report-link:last-child {
  border-bottom: 0;
}

/* Proposal summary */

.proposal-detail-content {
  padding-top: 1.2rem;
}

.proposal-detail-heading {
  margin-bottom: 1rem;
}

.proposal-detail-heading h1 {
  max-width: 58rem;
  font-size: clamp(2rem, 3.6cqw, 3.2rem);
  line-height: 1.02;
}

.proposal-detail-heading__meta {
  margin-top: .8rem;
  font-size: .76rem;
}

.proposal-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
  gap: 1.25rem;
}

.proposal-facts {
  border-top: .0625rem solid var(--portal-line);
}

.proposal-fact {
  min-height: 4.25rem;
  grid-template-columns: 2.1rem 8.3rem minmax(0, 1fr);
  gap: .75rem;
  border-bottom: .0625rem solid var(--portal-line);
  font-size: .78rem;
}

.fact-icon {
  width: 2rem;
  height: 2rem;
  border-width: .0625rem;
  border-radius: .32rem;
}

.proposal-response-card {
  padding: 1.25rem;
  border: .0625rem solid var(--portal-line);
  border-radius: var(--portal-radius);
  background: #fff;
  box-shadow: 0 .5rem 1.6rem rgb(5 39 47 / 6%);
}

.proposal-response-card h2 {
  font-size: 1.25rem;
}

.proposal-response-state {
  gap: .75rem;
  margin-top: 1rem;
}

.proposal-response-state__icon {
  width: 2.6rem;
  height: 2.6rem;
}

.proposal-summary-response-controls {
  gap: .55rem;
}

.proposal-summary-response-button {
  min-height: 3rem;
  border-radius: .32rem;
}

.proposal-resources {
  margin: 1rem 0 0;
  border-top: .0625rem solid var(--portal-line);
  background: #fff;
}

.proposal-resource {
  min-height: 5.4rem;
  border-right: .0625rem solid var(--portal-line);
}

.proposal-resource__copy strong {
  overflow: visible;
  font-size: .78rem;
  line-height: 1.25;
  text-overflow: clip;
  white-space: normal;
}

.proposal-resource__copy span,
.proposal-resource__cta {
  font-size: .66rem;
}

/* Report library */

.portal-main--reports {
  background: #edf1f2;
}

.reports-layout {
  grid-template-columns: minmax(15.5rem, 21%) minmax(0, 1fr);
  background: #fff;
}

.report-library {
  padding: 1.25rem 1rem;
  border-right: .0625rem solid var(--portal-line);
  background: #fff;
}

.report-library__heading {
  margin: 0 0 1rem .3rem;
}

.report-library__item {
  min-height: 4.3rem;
  grid-template-columns: 2.5rem minmax(0, 1fr) 1.2rem;
  gap: .65rem;
  padding: .55rem .6rem;
  border-bottom: .0625rem solid var(--portal-line);
}

.report-library__item[aria-pressed="true"] {
  border-color: #66aeb2;
  background: var(--portal-teal-soft);
}

.report-library__copy strong {
  overflow: visible;
  font-size: .76rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.report-library__copy span {
  margin-top: .2rem;
  font-size: .64rem;
}

.report-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-width: .0625rem;
  border-radius: .32rem;
}

.report-viewer {
  background: #0b3038;
}

.report-canvas-stage {
  background: #0b3038;
}

.report-viewer__fallback {
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.45;
}

.report-controls {
  min-height: 4rem;
  border-top: .0625rem solid rgb(255 255 255 / 14%);
  background: #082b33;
}

.report-controls .portal-icon-button,
.report-page-control,
.report-zoom-label {
  border-color: rgb(255 255 255 / 20%);
  color: #fff;
  background: rgb(255 255 255 / 5%);
}

/* Presentation and work examples */

.portal-main--presentation,
.portal-main--work-examples {
  background: #e9eef0;
}

.presentation-shell,
.work-example-shell {
  background: #0a3038;
}

.presentation-workspace {
  gap: .8rem;
  padding: .8rem;
}

.presentation-stage {
  min-width: 0;
}

.presentation-asset,
.work-example-asset {
  border-radius: .2rem;
  box-shadow: 0 .8rem 2rem rgb(0 0 0 / 22%);
}

.slide-thumbnails {
  border-right: .0625rem solid rgb(255 255 255 / 14%);
}

.slide-thumbnail {
  border-width: .12rem;
  border-radius: .3rem;
}

.viewer-controls {
  min-height: 4.2rem;
  border-top: .0625rem solid var(--portal-line);
  border-radius: .35rem;
  background: #fff;
  box-shadow: 0 .4rem 1.2rem rgb(0 0 0 / 12%);
}

.viewer-controls__progress {
  background: #dce5e6;
}

/* Forms, account and help */

.portal-account-content,
.portal-help-content {
  max-width: 72rem;
}

.portal-section-intro {
  max-width: 48rem;
  color: var(--portal-copy);
  font-size: .85rem;
}

.portal-form-card {
  padding: 1.2rem;
  border: .0625rem solid var(--portal-line);
  border-radius: var(--portal-radius);
  background: #fff;
  box-shadow: none;
}

.portal-form-card__heading {
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: .0625rem solid var(--portal-line);
}

.portal-form-card__heading h2 {
  font-size: 1.05rem;
}

.portal-form-card__icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: .32rem;
}

.portal-form-grid {
  gap: .85rem;
}

.portal-field {
  gap: .35rem;
  font-size: .72rem;
}

.portal-input,
.portal-textarea {
  border: .0625rem solid var(--portal-line-strong);
  border-radius: .3rem;
  background: #fff;
}

.portal-input {
  min-height: 2.75rem;
}

.portal-textarea {
  min-height: 8rem;
}

.portal-form-actions {
  gap: .55rem;
  margin-top: 1rem;
}

.portal-form-message {
  border-radius: .3rem;
  font-size: .74rem;
}

.support-request-card,
.portal-team-member {
  border: .0625rem solid var(--portal-line);
  border-radius: .3rem;
  background: #fff;
}

.portal-dashboard-state {
  max-width: 46rem;
  padding: 2rem;
  border: .0625rem solid var(--portal-line);
  border-radius: var(--portal-radius);
  background: #fff;
}

.portal-mobile-nav {
  display: none;
}

/* Phone layout */

@media (max-width: 48rem) {
  :root {
    --portal-header-height: 4rem;
    --portal-footer-height: 4.15rem;
    --portal-login-footer-height: 3.5rem;
  }

  body {
    overflow: hidden;
  }

  .portal-outer {
    padding: .3125rem;
  }

  .portal-frame {
    width: calc(100vw - .625rem);
    height: calc(100dvh - .625rem);
    grid-template-rows: var(--portal-header-height) minmax(0, 1fr) var(--portal-footer-height);
  }

  .portal-main,
  .portal-login-main {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .portal-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 .75rem;
  }

  .portal-brand {
    gap: .55rem;
  }

  .portal-brand__logo {
    width: 4.2rem;
    height: 2rem;
  }

  .portal-brand__divider,
  .portal-brand__name,
  .portal-primary-nav {
    display: none;
  }

  .portal-menu-trigger {
    min-width: 2.6rem;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border-radius: 50%;
  }

  .portal-menu-trigger span {
    position: absolute;
    width: .0625rem;
    height: .0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .portal-stage {
    min-height: 0;
  }

  .portal-main {
    overflow: auto;
  }

  .page-bezel {
    min-height: 2.5rem;
    padding: 0 .75rem;
  }

  .page-bezel__label,
  .page-bezel__meta,
  .portal-breadcrumbs,
  .page-back {
    font-size: .72rem;
  }

  .portal-breadcrumbs {
    max-width: calc(100% - 4rem);
  }

  .portal-content {
    padding: .85rem .75rem 1rem;
  }

  .portal-page-heading {
    margin-bottom: .75rem;
    padding-bottom: .55rem;
    font-size: 1.55rem;
  }

  .portal-footer {
    display: none;
  }

  .portal-mobile-nav {
    position: absolute;
    z-index: 35;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: var(--portal-footer-height);
    grid-template-columns: repeat(4, 1fr);
    padding: .28rem .2rem calc(.28rem + env(safe-area-inset-bottom));
    border-top: .0625rem solid var(--portal-line-strong);
    background: rgb(255 255 255 / 97%);
    box-shadow: 0 -.45rem 1.4rem rgb(5 39 47 / 8%);
    backdrop-filter: blur(.65rem);
  }

  .portal-mobile-nav a,
  .portal-mobile-nav button {
    display: grid;
    min-width: 0;
    place-items: center;
    gap: .16rem;
    padding: .25rem .05rem;
    border: 0;
    border-radius: .32rem;
    color: var(--portal-muted);
    background: transparent;
  }

  .portal-mobile-nav a[aria-current="page"],
  .portal-mobile-nav button[aria-expanded="true"] {
    color: var(--portal-teal);
    background: var(--portal-teal-soft);
  }

  .portal-mobile-nav .icon {
    width: 1.15rem;
    height: 1.15rem;
  }

  .portal-mobile-nav span {
    font-size: .68rem;
    font-weight: 700;
  }

  .portal-menu-backdrop {
    inset: var(--portal-header-height) 0 var(--portal-footer-height);
  }

  .portal-menu-drawer {
    top: var(--portal-header-height);
    bottom: var(--portal-footer-height);
    width: 100%;
    padding: 1.2rem 1rem .8rem;
    border-left: 0;
  }

  .portal-menu-link,
  .portal-menu-signout {
    min-height: 3.5rem;
    font-size: .88rem;
  }

  .portal-login-main {
    padding: .85rem;
  }

  .portal-frame--login {
    grid-template-rows: var(--portal-header-height) minmax(0, 1fr) var(--portal-login-footer-height);
  }

  .portal-frame--login .portal-header {
    grid-template-columns: 1fr auto;
  }

  .portal-login-panel {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: var(--portal-radius);
  }

  .portal-login-intro,
  .portal-login-form-wrap {
    padding: 1.3rem 1.1rem;
  }

  .portal-login-intro {
    min-height: 0;
    border-right: 0;
    border-bottom: .0625rem solid var(--portal-line);
  }

  .portal-login-intro h1 {
    margin-bottom: .75rem;
    padding-bottom: .65rem;
    font-size: 2rem;
  }

  .portal-login-intro p {
    font-size: .82rem;
  }

  .portal-login-progress {
    display: none;
  }

  .login-form {
    gap: .8rem;
  }

  .portal-login-footer {
    display: flex;
    padding: 0 .75rem;
    font-size: .68rem;
  }

  .proposal-ledger {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .proposal-ledger__header {
    display: none;
  }

  .proposal-ledger__rows {
    display: grid;
    gap: .6rem;
  }

  .proposal-ledger__row {
    display: grid;
    min-height: 0;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: .65rem;
    padding: .8rem;
    border: .0625rem solid var(--portal-line);
    border-radius: .4rem;
    background: #fff;
    box-shadow: 0 .2rem .7rem rgb(5 39 47 / 5%);
  }

  .proposal-ledger__cell {
    display: block;
    padding: 0;
    border: 0;
  }

  .proposal-ledger__cell--identity {
    grid-column: 1 / -1;
  }

  .proposal-identity {
    grid-template-columns: 2.8rem minmax(0, 1fr);
  }

  .proposal-ledger__cell--pricing,
  .proposal-ledger__cell--validity,
  .proposal-ledger__cell--status,
  .proposal-ledger__cell--action {
    grid-column: 1 / -1;
  }

  .proposal-pricing {
    padding-top: .65rem;
    border-top: .0625rem solid var(--portal-line);
  }

  .proposal-identity p,
  .proposal-validity,
  .proposal-status,
  .proposal-detail-heading__meta,
  .proposal-resource__copy span,
  .proposal-resource__cta,
  .report-library__copy span {
    font-size: .75rem;
  }

  .proposal-price span {
    font-size: .65rem;
  }

  .report-library__copy strong {
    font-size: .82rem;
  }

  .proposal-validity {
    margin-top: .65rem;
  }

  .proposal-ledger__cell--status {
    margin-top: .45rem;
  }

  .proposal-ledger__cell--action {
    margin-top: .65rem;
  }

  .proposal-report-hub {
    margin-top: .7rem;
    padding: .75rem;
  }

  .proposal-detail-heading h1 {
    font-size: 1.8rem;
  }

  .proposal-detail-grid {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  .proposal-fact {
    min-height: 3.7rem;
    grid-template-columns: 1.8rem 5.8rem minmax(0, 1fr);
    gap: .55rem;
    font-size: .76rem;
  }

  .fact-icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .proposal-response-card {
    padding: 1rem;
  }

  .proposal-resources {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin-top: .8rem;
  }

  .proposal-resource {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 4.35rem;
    border-right: 0;
    border-bottom: .0625rem solid var(--portal-line);
  }

  .proposal-resource:last-child {
    border-bottom: 0;
  }

  .reports-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .report-library {
    max-height: 14.5rem;
    overflow: auto;
    padding: .75rem;
    border-right: 0;
    border-bottom: .0625rem solid var(--portal-line-strong);
    box-shadow: 0 .5rem 1rem rgb(5 39 47 / 8%);
  }

  .report-library__heading {
    margin: 0 0 .65rem;
  }

  .report-library__item {
    min-height: 3.8rem;
  }

  .report-viewer {
    min-height: 0;
  }

  .report-controls {
    min-height: 3.5rem;
    padding: .35rem;
  }

  .report-controls .portal-icon-button {
    width: 2.35rem;
    height: 2.35rem;
  }

  .presentation-shell {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .presentation-workspace {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    padding: .55rem;
  }

  .slide-thumbnails {
    display: none;
  }

  .presentation-stage {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .presentation-asset {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
  }

  .viewer-controls {
    min-height: 4.1rem;
    gap: .35rem;
    padding: .45rem;
    border-radius: .3rem;
  }

  .viewer-controls__progress {
    order: -1;
    grid-column: 1 / -1;
  }

  .portal-account-content,
  .portal-help-content {
    padding-bottom: 1rem;
  }

  .portal-form-grid,
  .portal-field-row {
    grid-template-columns: 1fr;
  }

  .portal-form-card {
    padding: .9rem;
  }

  .portal-form-actions .portal-button {
    flex: 1;
  }

  .portal-dashboard-state {
    padding: 1.2rem;
  }
}

@media (max-width: 24rem) {
  .portal-header {
    padding-inline: .6rem;
  }

  .portal-content {
    padding-inline: .6rem;
  }

  .proposal-price strong {
    font-size: .9rem;
  }

  .portal-mobile-nav span {
    font-size: .64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
