.drive-professional-page {
  background: #eef3f8;
  min-height: 70vh;
  padding: clamp(1rem, 3vw, 2.5rem) 0 4rem;
}

.drive-professional-page__content > .drive-greenshift-portal-copy {
  color: var(--drive-color-muted, #65748a);
  font-size: 0.875rem;
  margin: 0 auto 0.35rem;
  max-width: 90rem;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.drive-professional-page__content > .drive-greenshift-portal-copy + .drive-greenshift-portal-copy {
  margin-bottom: 1rem;
}

.drive-pro {
  color: var(--drive-color-body, #34445a);
  font-family: var(--drive-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  margin: 0 auto;
  max-width: 90rem;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.drive-pro *,
.drive-pro *::before,
.drive-pro *::after {
  box-sizing: border-box;
}

.drive-pro__skip {
  background: #fff;
  border-radius: 0.5rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -10rem;
  z-index: 10000;
}

.drive-pro__skip:focus {
  top: 1rem;
}

.drive-pro__header {
  align-items: end;
  background: linear-gradient(135deg, #081b34 0%, #0b3a70 66%, #0b63ce 100%);
  border-radius: 1.25rem 1.25rem 0 0;
  color: #dceaff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  min-height: 11rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.drive-pro__header::after {
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 50%;
  content: "";
  height: 18rem;
  position: absolute;
  right: -6rem;
  top: -9rem;
  width: 18rem;
}

.drive-pro__header > * {
  position: relative;
  z-index: 1;
}

.drive-pro__header h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0.2rem 0 0.6rem;
}

.drive-pro__header p {
  margin: 0;
}

.drive-pro__eyebrow {
  color: #79b8ff;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drive-pro__switcher {
  min-width: min(24rem, 100%);
}

.drive-pro__switcher label,
.drive-pro__form label > span,
.drive-pro__inline-form label > span,
.drive-pro__filters label > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.drive-pro__switcher > div,
.drive-pro__inline-form,
.drive-pro__filters,
.drive-pro__row-actions {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.drive-pro :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  color: #132238;
  font: inherit;
  min-height: 2.8rem;
  padding: 0.62rem 0.75rem;
  width: 100%;
}

.drive-pro textarea {
  line-height: 1.55;
  resize: vertical;
}

.drive-pro input:disabled,
.drive-pro textarea:disabled {
  background: #f4f7fa;
  color: #65748a;
}

.drive-pro__switcher select {
  min-width: 14rem;
}

.drive-pro__button {
  align-items: center;
  background: #0b63ce;
  border: 1px solid #0b63ce;
  border-radius: 0.65rem;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.drive-pro__button:hover {
  background: #084b9c;
  border-color: #084b9c;
  color: #fff;
}

.drive-pro__button--secondary {
  background: #fff;
  border-color: #dce3eb;
  color: #0a1728;
}

.drive-pro__button--secondary:hover {
  background: #f4f7fa;
  border-color: #0b63ce;
  color: #0b63ce;
}

.drive-pro__button--danger {
  background: #b42318;
  border-color: #b42318;
}

.drive-pro__layout {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
  min-height: 44rem;
}

.drive-pro__nav {
  align-self: stretch;
  background: #0a1728;
  border-radius: 0 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 0.85rem 2rem;
}

.drive-pro__nav a {
  border-radius: 0.6rem;
  color: #cbd7e8;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.72rem 0.85rem;
  text-decoration: none;
}

.drive-pro__nav a:hover,
.drive-pro__nav a[aria-current="page"] {
  background: #123257;
  color: #fff;
}

.drive-pro__nav a[aria-current="page"] {
  box-shadow: inset 3px 0 #55a4ff;
}

.drive-pro__content {
  background: #f5f8fb;
  border: 1px solid #dce3eb;
  border-left: 0;
  border-radius: 0 0 1.25rem 0;
  min-height: 44rem;
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
}

.drive-pro__screen-heading,
.drive-pro__panel-heading,
.drive-pro__completion {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
}

.drive-pro__screen-heading {
  margin-bottom: 1.25rem;
}

.drive-pro__screen-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0.15rem 0 0;
}

.drive-pro__screen-heading > p {
  color: #65748a;
  margin: 0;
  max-width: 34rem;
  text-align: right;
}

.drive-pro__metrics {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.drive-pro__metric,
.drive-pro__panel,
.drive-pro__organization-card,
.drive-pro__login-card {
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgb(10 23 40 / 6%);
}

.drive-pro__metric {
  min-height: 10.5rem;
  padding: 1rem;
}

.drive-pro__metric > span {
  color: #526176;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  min-height: 2.4em;
  text-transform: uppercase;
}

.drive-pro__metric strong {
  color: #0a1728;
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.1;
  margin: 0.7rem 0;
}

.drive-pro__metric small,
.drive-pro td small,
.drive-pro label small {
  color: #65748a;
  display: block;
  font-size: 0.76rem;
  line-height: 1.4;
  margin-top: 0.25rem;
}

.drive-pro__panel {
  margin-bottom: 1rem;
  overflow: hidden;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}

.drive-pro__panel > :first-child,
.drive-pro__panel-heading h3 {
  margin-top: 0;
}

.drive-pro__panel > :last-child {
  margin-bottom: 0;
}

.drive-pro__two-columns,
.drive-pro__stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drive-pro__stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.drive-pro__plan {
  color: #0b63ce;
  font-size: 1.4rem;
  font-weight: 850;
}

.drive-pro__limits,
.drive-pro__detail dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.drive-pro__limits div,
.drive-pro__detail dl > div {
  align-items: start;
  border-top: 1px solid #e5eaf0;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 1.5fr);
  padding: 0.7rem 0;
}

.drive-pro__limits dt,
.drive-pro__detail dt {
  color: #65748a;
  font-size: 0.82rem;
  font-weight: 800;
}

.drive-pro__limits dd,
.drive-pro__detail dd {
  margin: 0;
}

.drive-pro__activity {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drive-pro__activity li {
  border-top: 1px solid #e5eaf0;
  display: grid;
  padding: 0.7rem 0;
}

.drive-pro__activity span {
  color: #65748a;
  font-size: 0.78rem;
}

.drive-pro__notice {
  background: #eef6ff;
  border: 1px solid #a8cff9;
  border-radius: 0.75rem;
  color: #084b9c;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
}

.drive-pro__notice--success {
  background: #eefaf4;
  border-color: #96d6b8;
  color: #12623e;
}

.drive-pro__notice--warning {
  background: #fff8e8;
  border-color: #f5ca77;
  color: #8a3c04;
}

.drive-pro__notice--error {
  background: #fff1f0;
  border-color: #f2aca7;
  color: #9a1f17;
}

.drive-pro__field-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drive-pro__form {
  display: grid;
  gap: 1rem;
}

.drive-pro__inline-form label,
.drive-pro__filters label {
  flex: 1 1 12rem;
}

.drive-pro__table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.drive-pro table {
  border-collapse: collapse;
  font-size: 0.86rem;
  margin: 0;
  min-width: 42rem;
  width: 100%;
}

.drive-pro th,
.drive-pro td {
  border-bottom: 1px solid #e5eaf0;
  padding: 0.75rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.drive-pro th {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drive-pro tbody tr:hover:not(.drive-pro__proposal-row) {
  background: #f8fbfe;
}

.drive-pro__proposal-row td {
  background: #f7f9fc;
  color: #526176;
  padding-bottom: 1rem;
  padding-left: 1.25rem;
}

.drive-pro__status {
  background: #eef6ff;
  border-radius: 999px;
  color: #084b9c;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.35rem 0.6rem;
}

.drive-pro__row-actions {
  display: inline-flex;
  margin: 0 0.5rem 0.4rem 0;
}

.drive-pro__row-actions select {
  min-height: 2.2rem;
  width: auto;
}

.drive-pro__link-button {
  background: transparent;
  border: 0;
  color: #0b63ce;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  min-height: auto;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.drive-pro__link-button--danger {
  color: #b42318;
}

.drive-pro__danger-zone {
  border-color: #efbbb7;
}

.drive-pro__danger-zone summary {
  color: #9a1f17;
  cursor: pointer;
  font-weight: 850;
}

.drive-pro__empty {
  background: #f7f9fc;
  border: 1px dashed #b7c2d0;
  border-radius: 0.8rem;
  padding: 2rem;
  text-align: center;
}

.drive-pro__muted {
  color: #65748a;
}

.drive-pro__organization-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.drive-pro__organization-card {
  padding: 1.25rem;
}

.drive-pro__organization-card h2 {
  font-size: 1.15rem;
  margin: 0;
}

.drive-pro--picker,
.drive-pro--login {
  max-width: 70rem;
  padding-block: 3rem;
}

.drive-pro__login-card {
  margin-inline: auto;
  max-width: 32rem;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.drive-pro__login-card form {
  display: grid;
  gap: 0.7rem;
}

.drive-pro__login-card .login-remember label {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.drive-pro__login-card input[type="checkbox"] {
  width: auto;
}

.drive-pro__feature-list {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.drive-pro__feature-list li {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.drive-pro__feature-list span {
  color: #16794b;
  font-weight: 900;
}

.drive-pro__bar {
  background: #e8edf3;
  border-radius: 999px;
  display: block;
  height: 1.25rem;
  min-width: 7rem;
  overflow: hidden;
  position: relative;
}

.drive-pro__bar::before {
  background: #0b63ce;
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: var(--drive-pro-bar);
}

.drive-pro__bar span {
  color: #0a1728;
  font-size: 0.7rem;
  font-weight: 850;
  inset: 0.12rem 0.4rem auto auto;
  position: absolute;
  z-index: 1;
}

.drive-pro__pagination ul {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.drive-pro__pagination a,
.drive-pro__pagination span {
  border: 1px solid #dce3eb;
  border-radius: 0.4rem;
  display: inline-flex;
  min-height: 2.2rem;
  min-width: 2.2rem;
  place-content: center;
  place-items: center;
}

@media (max-width: 72rem) {
  .drive-pro__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drive-pro__stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 56rem) {
  .drive-pro__header {
    align-items: stretch;
    flex-direction: column;
  }

  .drive-pro__layout {
    display: block;
  }

  .drive-pro__nav {
    border-radius: 0;
    flex-direction: row;
    overflow-x: auto;
    padding: 0.8rem;
  }

  .drive-pro__nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .drive-pro__nav a[aria-current="page"] {
    box-shadow: inset 0 -3px #55a4ff;
  }

  .drive-pro__content {
    border-left: 1px solid #dce3eb;
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .drive-pro__two-columns,
  .drive-pro__organization-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 38rem) {
  .drive-professional-page {
    padding-top: 0;
  }

  .drive-pro {
    padding-inline: 0;
  }

  .drive-professional-page__content > .drive-greenshift-portal-copy {
    padding-inline: 1rem;
  }

  .drive-pro__header,
  .drive-pro__content {
    border-radius: 0;
  }

  .drive-pro__metrics,
  .drive-pro__field-grid {
    grid-template-columns: 1fr;
  }

  .drive-pro__screen-heading,
  .drive-pro__panel-heading,
  .drive-pro__completion {
    align-items: flex-start;
    flex-direction: column;
  }

  .drive-pro__screen-heading > p {
    text-align: left;
  }

  .drive-pro__limits div,
  .drive-pro__detail dl > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .drive-pro__feature-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drive-pro *,
  .drive-pro *::before,
  .drive-pro *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .drive-pro__nav,
  .drive-pro__switcher,
  .drive-pro__button,
  .drive-pro__link-button,
  .drive-pro__filters,
  .drive-pro__export-form {
    display: none !important;
  }

  .drive-pro__layout {
    display: block;
  }

  .drive-pro__content,
  .drive-pro__panel,
  .drive-pro__metric {
    border-color: #aaa;
    box-shadow: none;
  }
}
