﻿@font-face {
  font-display: swap;
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  src: url("../lib/be-vietnam-pro/files/be-vietnam-pro-latin-400-normal.woff2?v=5.2.8") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  src: url("../lib/be-vietnam-pro/files/be-vietnam-pro-latin-600-normal.woff2?v=5.2.8") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  src: url("../lib/be-vietnam-pro/files/be-vietnam-pro-latin-700-normal.woff2?v=5.2.8") format("woff2");
}
:root {
  --bs-body-bg: #fafbfc;
  --bs-body-font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: #3d3e40;
  --bs-body-color-rgb: 61, 62, 64;
  --bs-body-line-height: 1.7;
  --bs-border-color: #e8e9ed;
  --bs-border-radius: 0.5rem;
  --bs-danger-rgb: 176, 42, 55;
  --bs-heading-color: #252626;
  --bs-link-color: #00804a;
  --bs-link-color-rgb: 0, 128, 74;
  --bs-link-hover-color: #004d2d;
  --bs-link-hover-color-rgb: 0, 77, 45;
  --bs-primary: #00804a;
  --bs-primary-rgb: 0, 128, 74;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
legend {
  font-weight: 700;
}

legend {
  color: #252626;
}

a {
  font-weight: 600;
}

.skip-link {
  background-color: #fff;
  left: 0.5rem;
  padding: 0.5rem 1rem;
  position: absolute;
  top: 0.5rem;
  z-index: 1100;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
.btn:focus-visible,
.form-check-input:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 3px solid #252626;
  outline-offset: 2px;
}

.portal-utility a:focus-visible,
.portal-utility button:focus-visible,
.portal-banner a:focus-visible,
.portal-banner button:focus-visible,
.portal-hero a:focus-visible,
.portal-hero button:focus-visible,
.portal-callout a:focus-visible,
.portal-callout button:focus-visible {
  outline-color: #ffbf47;
}

.portal-utility {
  background-color: #00483a;
  color: #fff;
  font-size: 0.875rem;
}

.portal-utility-link {
  align-items: center;
  background: none;
  border: 0;
  color: #fff;
  display: inline-flex;
  font-weight: 600;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  text-decoration: none;
}
.portal-utility-link:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 992px) and (min-height: 600px) {
  html {
    scroll-padding-top: 5.5rem;
  }
  .portal-banner-sticky {
    position: sticky;
    top: -2.75rem;
    z-index: 1020;
  }
}
.portal-header {
  background-color: #fff;
  border-bottom: 1px solid #e8e9ed;
  padding: 0.875rem 0;
}

.portal-brand {
  align-items: center;
  color: #252626;
  display: flex;
  gap: 0.75rem;
  min-height: 2.75rem;
  text-decoration: none;
}
.portal-brand:hover {
  color: #00804a;
}

.portal-brand-mark {
  align-items: center;
  background-color: #00804a;
  border-radius: 0.625rem;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 1.25rem;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.portal-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.portal-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.portal-brand-tagline {
  color: #3d3e40;
  font-size: 0.8125rem;
  font-weight: 400;
}

.portal-environment {
  align-items: center;
  background-color: #ffc500;
  border-radius: 50rem;
  color: #3b2c00;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 0.25rem;
  line-height: 1;
  padding: 0.3rem 0.625rem;
}

.portal-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portal-nav-link {
  align-items: center;
  border-radius: 0.5rem;
  color: #252626;
  display: flex;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  text-decoration: none;
}
.portal-nav-link:hover {
  background-color: #f2f3f7;
  color: #00804a;
}
.portal-nav-link[aria-current=page] {
  background-color: #e6f2ed;
  color: #004d2d;
}

.portal-nav [aria-current=page] span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.portal-nav .btn-outline-primary[aria-current=page] {
  --bs-btn-bg: #e6f2ed;
  --bs-btn-color: #004d2d;
}

.portal-nav .btn-primary[aria-current=page] {
  --bs-btn-bg: #00483a;
  --bs-btn-border-color: #00483a;
}

.portal-hero {
  background: linear-gradient(rgba(6, 30, 23, 0.86), rgba(6, 30, 23, 0.86)), url("../images/london-skyline.jpg") center/cover no-repeat #00483a;
  color: #fff;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 9vw, 7rem);
}
.portal-hero h1 {
  color: #fff;
  font-size: clamp(2.125rem, 1.25rem + 3.5vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

@media (min-width: 992px) {
  .portal-hero {
    background: linear-gradient(90deg, rgba(6, 30, 23, 0.94) 0%, rgba(6, 30, 23, 0.82) 42%, rgba(6, 30, 23, 0.38) 100%), url("../images/london-skyline.jpg") center 62%/cover no-repeat #00483a;
  }
}
.portal-hero-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;
}

.portal-hero-copy {
  display: flex;
  flex: 1 1 30rem;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.portal-hero-badge {
  align-items: center;
  align-self: flex-start;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
}

.portal-hero-lead {
  color: #e3eee9;
  font-size: 1.25rem;
  line-height: 1.55;
  margin: 0;
  max-width: 35rem;
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.portal-hero-note {
  color: #e3eee9;
  font-size: 0.9375rem;
  margin: 0;
}

.portal-preview {
  backdrop-filter: blur(6px);
  background-color: rgba(6, 30, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.25rem;
  flex: 1 1 24rem;
  min-width: 0;
  padding: 1.25rem;
}

@media (min-width: 576px) {
  .portal-preview {
    padding: 1.75rem;
  }
}
.portal-preview-title {
  color: #e3eee9;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.875rem;
  text-transform: uppercase;
}

.portal-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 0;
}

.portal-alert-card {
  align-items: flex-start;
  background-color: #fff;
  border-radius: 0.875rem;
  box-shadow: 0 1px 2px rgba(6, 30, 23, 0.06), 0 8px 24px rgba(6, 30, 23, 0.06);
  color: #252626;
  display: flex;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
}
.portal-alert-card p {
  font-size: 0.9375rem;
  line-height: 1.45;
  margin: 0;
}

.portal-alert-card-icon {
  align-items: center;
  border-radius: 0.625rem;
  display: flex;
  flex-shrink: 0;
  font-size: 1.125rem;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.portal-alert-card-icon-text {
  background-color: #fff1db;
  color: #8a4300;
}

.portal-alert-card-icon-call {
  background-color: #e6f2ed;
  color: #00513a;
}

.portal-alert-card-icon-email {
  background-color: #e8eef8;
  color: #1f4e8c;
}

.portal-alert-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.portal-alert-card-channel {
  color: #252626;
  font-size: 0.9375rem;
  font-weight: 700;
}

.portal-preview-app {
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  gap: 0.875rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}
.portal-preview-app p {
  color: #e3eee9;
  font-size: 0.9375rem;
  line-height: 1.45;
  margin: 0;
}
.portal-preview-app a {
  align-self: flex-start;
  color: #fff;
  display: inline-block;
  font-weight: 600;
  line-height: 1.375rem;
  padding: 0.6875rem 0;
}
.portal-preview-app a:hover {
  color: #e3eee9;
}

.portal-preview-app-icon {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.625rem;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 1.125rem;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.portal-preview-app-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.portal-preview-app-body .portal-preview-app-title {
  color: #fff;
  font-weight: 700;
}

.portal-section {
  padding: 1.5rem 0 3.5rem;
}

.portal-section-header {
  margin-bottom: 2rem;
  max-width: 45rem;
}
.portal-section-header h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.portal-section-header p {
  font-size: 1.125rem;
  margin: 0;
  text-wrap: balance;
}

.portal-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
}

.portal-step {
  background-color: #fff;
  border: 1px solid #e8e9ed;
  border-radius: 1rem;
  display: flex;
  flex: 1 1 17.5rem;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
  padding: 1.75rem;
}
.portal-step h3 {
  font-size: 1.25rem;
  margin: 0;
}
.portal-step p {
  margin: 0;
}

.portal-step-number {
  align-items: center;
  background-color: #00804a;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.125rem;
  font-weight: 700;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.portal-callout {
  align-items: center;
  background-color: #00483a;
  border-radius: 1.25rem;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1.75rem;
}
.portal-callout h2 {
  color: #fff;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.portal-callout p {
  color: #e3eee9;
  font-size: 1.0625rem;
  margin: 0;
}
.portal-callout .btn-light {
  --bs-btn-active-color: #00483a;
  --bs-btn-color: #00483a;
  --bs-btn-hover-color: #00483a;
}

@media (min-width: 768px) {
  .portal-callout {
    padding: 3rem;
  }
}
.portal-callout-copy {
  flex: 1 1 26rem;
  min-width: 0;
}

.portal-banner {
  background-color: #00483a;
  color: #fff;
  padding: clamp(1.25rem, 4vw, 2.75rem) 0 clamp(2rem, 5vw, 3.75rem);
}
.portal-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.portal-banner-compact {
  padding: clamp(0.75rem, 2.5vw, 1.75rem) 0 clamp(1.5rem, 3.5vw, 2.5rem);
}

.portal-banner h1:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
}

.portal-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portal-banner-back {
  align-items: center;
  align-self: flex-start;
  color: #e3eee9;
  display: inline-flex;
  font-size: 0.9375rem;
  gap: 0.375rem;
  min-height: 2.75rem;
  text-decoration: none;
}
.portal-banner-back:hover {
  color: #fff;
  text-decoration: underline;
}

.portal-banner-intro {
  color: #e3eee9;
  font-size: 1.1875rem;
  line-height: 1.5;
  margin: 0.25rem 0 0;
  max-width: 38.75rem;
  overflow-wrap: anywhere;
}

.portal-panel {
  background-color: #fff;
  border: 1px solid #e8e9ed;
  border-radius: 1.25rem;
  padding: 1.25rem;
}

@media (min-width: 576px) {
  .portal-panel {
    padding: 2.5rem;
  }
}
.portal-panel-narrow {
  max-width: 35rem;
}

.portal-page {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.portal-page-main {
  flex: 999 1 35rem;
  min-width: 0;
}

.portal-page-main-narrow {
  max-width: 45rem;
}

.portal-aside {
  display: flex;
  flex: 1 1 20rem;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.portal-aside-card {
  background-color: #fff;
  border: 1px solid #e8e9ed;
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}
.portal-aside-card h2 {
  font-size: 1.25rem;
  margin: 0;
}
.portal-aside-card p {
  margin: 0;
}

.portal-aside-card-help,
.portal-aside-card-warning {
  border-color: transparent;
}
.portal-aside-card-help h2,
.portal-aside-card-warning h2 {
  font-size: 1.125rem;
}
.portal-aside-card-help a,
.portal-aside-card-warning a {
  color: #004d2d;
}
.portal-aside-card-help a:hover,
.portal-aside-card-warning a:hover {
  color: #003e24;
}

.portal-aside-card-help {
  background-color: #e6f2ed;
}

.portal-aside-card-warning {
  background-color: #fff1db;
}

.portal-aside-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}
.portal-aside-steps li {
  display: flex;
  gap: 0.875rem;
}

.portal-aside-step-number {
  align-items: center;
  background-color: #e6f2ed;
  border-radius: 50%;
  color: #00513a;
  display: flex;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}

.portal-contact-list {
  margin: 0;
}
.portal-contact-list a {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
  min-height: 2.75rem;
  overflow-wrap: anywhere;
}

.portal-panel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.portal-panel-row > * {
  flex: 1 1 20rem;
  min-width: 0;
}

.btn {
  --bs-btn-border-radius: 0.5rem;
  --bs-btn-border-width: 2px;
  --bs-btn-font-weight: 700;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: 0.625rem;
  letter-spacing: 0.01em;
}

.btn-sm {
  --bs-btn-border-radius: 0.5rem;
  --bs-btn-padding-x: 0.875rem;
  --bs-btn-padding-y: 0.375rem;
}

.btn-lg {
  --bs-btn-border-radius: 0.625rem;
  --bs-btn-padding-x: 1.75rem;
  --bs-btn-padding-y: 0.875rem;
}

.btn-primary {
  --bs-btn-active-bg: #003e24;
  --bs-btn-active-border-color: #003e24;
  --bs-btn-bg: #00804a;
  --bs-btn-border-color: #00804a;
  --bs-btn-disabled-bg: #00804a;
  --bs-btn-disabled-border-color: #00804a;
  --bs-btn-hover-bg: #004d2d;
  --bs-btn-hover-border-color: #004d2d;
}

.btn-outline-primary {
  --bs-btn-active-bg: #003e24;
  --bs-btn-active-border-color: #003e24;
  --bs-btn-border-color: #00804a;
  --bs-btn-color: #00804a;
  --bs-btn-disabled-border-color: #00804a;
  --bs-btn-disabled-color: #00804a;
  --bs-btn-hover-bg: #00804a;
  --bs-btn-hover-border-color: #00804a;
}

.btn-danger {
  --bs-btn-active-bg: #7d1d26;
  --bs-btn-active-border-color: #7d1d26;
  --bs-btn-bg: #b02a37;
  --bs-btn-border-color: #b02a37;
  --bs-btn-disabled-bg: #b02a37;
  --bs-btn-disabled-border-color: #b02a37;
  --bs-btn-hover-bg: #94232e;
  --bs-btn-hover-border-color: #94232e;
}

.btn-outline-danger {
  --bs-btn-active-bg: #7d1d26;
  --bs-btn-active-border-color: #7d1d26;
  --bs-btn-border-color: #b02a37;
  --bs-btn-color: #b02a37;
  --bs-btn-disabled-border-color: #b02a37;
  --bs-btn-disabled-color: #b02a37;
  --bs-btn-hover-bg: #b02a37;
  --bs-btn-hover-border-color: #b02a37;
}

.btn:focus-visible {
  box-shadow: none;
}

.portal-button-spinner {
  --bs-spinner-height: 1em;
  --bs-spinner-width: 1em;
  margin-inline: 0.125em;
}

.form-label,
.form-check-label {
  color: #252626;
}

.form-label {
  font-weight: 600;
}

.form-control,
.form-select {
  background-color: #fff;
  border-color: #8a8d91;
  min-height: 3rem;
}
.form-control:hover,
.form-select:hover {
  border-color: #00804a;
}
.form-control:focus,
.form-select:focus {
  border-color: #252626;
  box-shadow: none;
}

.form-check {
  min-height: 2rem;
  padding-left: 2.25rem;
}
.form-check .form-check-input {
  margin-left: -2.25rem;
}

.form-check-input {
  border-color: #8a8d91;
  height: 1.5rem;
  margin-top: 0.1rem;
  width: 1.5rem;
}
.form-check-input:checked {
  background-color: #00804a;
  border-color: #00804a;
}
.form-check-input:focus {
  border-color: #252626;
  box-shadow: none;
}

.form-switch {
  padding-left: 3.75rem;
}
.form-switch .form-check-input {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%238a8d91'/%3e%3c/svg%3e");
  border-radius: 1.5rem;
  margin-left: -3.75rem;
  width: 3rem;
}
.form-switch .form-check-input:focus {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%238a8d91'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:checked {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.portal-control-xs {
  max-width: 8rem;
}

.portal-control-sm {
  max-width: 16rem;
}

.portal-control-md {
  max-width: 22rem;
}

.portal-control-code {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  max-width: 12rem;
}

textarea.form-control {
  resize: none;
}

.portal-link-block {
  align-items: center;
  display: inline-flex;
  gap: 0.375rem;
  min-height: 2.75rem;
}

.portal-icon-button {
  align-items: center;
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  width: 2.75rem;
}

.portal-choice-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portal-choice {
  align-items: center;
  border: 1px solid #8a8d91;
  border-radius: 0.875rem;
  color: #252626;
  cursor: pointer;
  display: flex;
  gap: 0.875rem;
  min-height: 3.5rem;
  padding: 0.75rem 1rem;
}
.portal-choice .form-check-input {
  flex-shrink: 0;
  margin: 0;
}
.portal-choice:hover {
  border-color: #00804a;
}
.portal-choice:has(.form-check-input:checked) {
  background-color: #e6f2ed;
  border: 2px solid #00804a;
  font-weight: 600;
  padding: calc(0.75rem - 1px) calc(1rem - 1px);
}

.portal-chip {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: #252626;
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 600;
  gap: 0.25rem;
  line-height: 1.2;
  padding: 0.25rem 0.625rem;
}

.portal-chip-success {
  background-color: #e6f2ed;
  color: #00513a;
}

.portal-chip-warning {
  background-color: #fff1db;
  border-color: rgb(228.84, 216.64, 197.28);
}

.portal-summary {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 60rem;
}

#status-message:has(+ .portal-summary) {
  max-width: 60rem;
}

.portal-status {
  align-items: center;
  border-radius: 1.25rem;
  color: #252626;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
}
.portal-status h2 {
  align-items: center;
  display: flex;
  font-size: 1.375rem;
  gap: 0.625rem;
  margin: 0;
}
.portal-status p,
.portal-status ul {
  margin: 0.5rem 0 0;
}
.portal-status a:not(.btn) {
  color: #004d2d;
}
.portal-status a:not(.btn):hover {
  color: #003e24;
}

@media (min-width: 576px) {
  .portal-status {
    padding: 1.75rem 2rem;
  }
}
.portal-status-body {
  flex: 1 1 22rem;
  min-width: 0;
}

.portal-status-success {
  background-color: #e6f2ed;
}

.portal-status-warning {
  background-color: #fff1db;
}

.portal-section-heading {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}
.portal-section-heading > :first-child {
  flex: 1 1 20rem;
}
.portal-section-heading h2 {
  margin: 0;
}
.portal-section-heading p {
  margin: 0.5rem 0 0;
}

.portal-device-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.portal-device-row {
  align-items: flex-start;
  border-top: 1px solid #e8e9ed;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 1.125rem 0;
}

.portal-device-main {
  flex: 1 1 10rem;
  min-width: 0;
}

.portal-device-address {
  color: #252626;
  font-size: 1.125rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.portal-device-type,
.portal-device-message {
  align-items: center;
  display: flex;
  font-size: 0.9375rem;
  gap: 0.5rem;
  margin: 0.125rem 0 0;
}

.portal-device-row-moving {
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.portal-device-status {
  margin-top: 0.5rem;
}

.portal-device-message {
  color: #00513a;
  font-weight: 600;
}

.portal-device-actions {
  align-items: center;
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

@media (max-width: 575.98px) {
  .portal-device-actions {
    flex-basis: calc(100% - 3.25rem);
    margin-left: 3.25rem;
  }
}
@media (min-width: 576px) {
  .portal-device-main {
    flex-basis: 16rem;
  }
  .portal-device-actions {
    margin-left: auto;
  }
}
.portal-device-note {
  flex: 1 1 100%;
  font-size: 0.9375rem;
  margin: 0 0 0 3.25rem;
}

.portal-summary-list {
  margin: 0;
}

.portal-summary-row {
  border-top: 1px solid #e8e9ed;
  display: grid;
  gap: 0.25rem 1.5rem;
  grid-template-areas: "label action" "value value";
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem 0;
}
.portal-summary-row dt {
  color: #252626;
  font-weight: 600;
  grid-area: label;
}
.portal-summary-row dd {
  color: #252626;
  grid-area: value;
  margin: 0;
  overflow-wrap: anywhere;
}

.portal-summary-row .portal-summary-action {
  grid-area: action;
  margin-top: -0.625rem;
}

.portal-pre-line {
  white-space: pre-line;
}

@media (min-width: 768px) {
  .portal-summary-row {
    grid-template-areas: "label value action";
    grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr) auto;
  }
}
.portal-optional {
  color: #3d3e40;
  font-weight: 400;
}

.portal-form-section {
  border-bottom: 1px solid #e8e9ed;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}
.portal-form-section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.portal-legend {
  align-items: center;
  display: flex;
  font-size: 1.375rem;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.portal-legend-number {
  align-items: center;
  background-color: #00804a;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 0.9375rem;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.portal-subcard {
  background-color: #f2f3f7;
  border-radius: 0.875rem;
  padding: 1.25rem;
}

.portal-consent {
  align-items: flex-start;
  background-color: #f2f3f7;
  border: 1px solid #e8e9ed;
  border-radius: 0.875rem;
  display: flex;
  gap: 0.875rem;
  padding: 1.25rem;
}
.portal-consent .form-check-input {
  flex-shrink: 0;
}
.portal-consent p {
  margin: 0.25rem 0 0;
}

.portal-consent-label {
  color: #252626;
  font-weight: 700;
}

.portal-emergency-strip {
  background-color: #fff1db;
  border-bottom: 1px solid rgb(228.84, 216.64, 197.28);
  color: #252626;
  padding: 0.875rem 0;
}
.portal-emergency-strip p {
  line-height: 1.45;
  margin: 0;
}

.portal-emergency-strip-inner {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}
.portal-emergency-strip-inner i {
  flex-shrink: 0;
  font-size: 1.25rem;
}

.portal-faq-finder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.75rem;
}

.portal-banner-compact .portal-banner-intro {
  max-width: 45rem;
}

.portal-faq-search {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 45rem;
}
.portal-faq-search label {
  color: #e3eee9;
  font-size: 0.9375rem;
  font-weight: 600;
}

.portal-faq-search-box {
  position: relative;
}
.portal-faq-search-box i {
  color: #3d3e40;
  font-size: 1.25rem;
  left: 1.125rem;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.portal-faq-search-box .form-control {
  font-size: 1.125rem;
  min-height: 3.75rem;
  padding-left: 3.25rem;
}
.portal-faq-search-box .form-control:not(:placeholder-shown) {
  padding-right: 6.5rem;
}
.portal-faq-search-box .form-control:focus-visible {
  outline-color: #ffbf47;
}
.portal-faq-search-box .form-control::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.portal-faq-clear {
  background-color: #e6f2ed;
  border: 0;
  border-radius: 0.5rem;
  color: #00513a;
  font-size: 0.9375rem;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.portal-faq-clear:hover {
  color: #003e24;
  text-decoration: underline;
}

.portal-banner .portal-faq-clear:focus-visible {
  outline-color: #252626;
}

.portal-faq-popular {
  align-items: center;
  color: #e3eee9;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  gap: 0.5rem 0.75rem;
}
.portal-faq-popular ul {
  display: flex;
  flex: 1 1 20rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  min-width: 0;
}

.portal-faq-popular-link {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 62.5rem;
  color: #fff;
  display: inline-flex;
  font-size: 0.875rem;
  min-height: 2.75rem;
  padding: 0.25rem 0.875rem;
  text-decoration: none;
}
.portal-faq-popular-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.portal-faq {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.portal-faq h2 {
  font-size: 1.375rem;
  margin: 0;
}

.portal-faq-topics ul,
.portal-faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.portal-faq-chip {
  align-items: center;
  background-color: #fff;
  border: 1px solid #8a8d91;
  border-radius: 62.5rem;
  color: #252626;
  display: inline-flex;
  font-size: 0.9375rem;
  font-weight: 600;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  text-align: left;
  text-decoration: none;
}
.portal-faq-chip:hover {
  border-color: #00804a;
  color: #004d2d;
}
.portal-faq-chip[aria-pressed=true] {
  background-color: #00483a;
  border-color: #00483a;
  color: #fff;
}
.portal-faq-chip[aria-pressed=true] .portal-faq-chip-count {
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.portal-faq-chip-count {
  background-color: #e6f2ed;
  border-radius: 62.5rem;
  color: #00513a;
  font-size: 0.8125rem;
  font-weight: 700;
  min-width: 1.5rem;
  padding: 0.125rem 0.5rem;
  text-align: center;
}

.portal-faq-status-row {
  align-items: center;
  border-bottom: 1px solid #e8e9ed;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  justify-content: space-between;
  min-height: 3.25rem;
  padding-bottom: 0.5rem;
}

.portal-faq-status {
  margin: 0;
  overflow-wrap: anywhere;
}

.portal-faq-toggle {
  background: none;
  border: 0;
  color: #00804a;
  font-size: 0.9375rem;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.portal-faq-toggle:hover {
  color: var(--bs-link-hover-color);
}

.portal-faq-empty {
  align-items: flex-start;
  background-color: #fff;
  border: 1px solid #e8e9ed;
  border-radius: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.75rem;
}
.portal-faq-empty h2 {
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}
.portal-faq-empty p {
  margin: 0;
  max-width: 36em;
}
.portal-faq-empty .btn {
  margin-top: 0.375rem;
}

.portal-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.portal-faq-topic {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  scroll-margin-top: 1.5rem;
}
.portal-faq-topic h2 {
  margin-bottom: 0.25rem;
}

.portal-faq-item {
  background-color: #fff;
  border: 1px solid #e8e9ed;
  border-radius: 0.625rem;
  scroll-margin-top: 1.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  .portal-faq-item::details-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: clip;
    transition-behavior: normal, normal, allow-discrete;
    transition-duration: 0.24s;
    transition-property: grid-template-rows, opacity, content-visibility;
    transition-timing-function: ease-out;
  }
  .portal-faq-item[open]::details-content {
    grid-template-rows: 1fr;
    opacity: 1;
    transition-duration: 0.3s;
  }
}
.portal-faq-item:target {
  box-shadow: 0 0 0 3px #00804a;
}
.portal-faq-item summary {
  align-items: center;
  border-radius: calc(0.625rem - 1px);
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  min-height: 3.5rem;
  padding: 1rem 1.25rem;
}
.portal-faq-item summary::-webkit-details-marker {
  display: none;
}
.portal-faq-item summary:hover {
  background-color: rgb(242.5, 248.5, 246);
}
.portal-faq-item[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.portal-faq-item[open] .portal-faq-chevron {
  transform: rotate(180deg);
}

.portal-faq-question {
  color: #252626;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

.portal-faq-chevron {
  color: #00804a;
  flex-shrink: 0;
  transition: transform 0.24s ease-out;
}
.portal-faq-item[open] .portal-faq-chevron {
  transition-duration: 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .portal-faq-chevron {
    transition: none;
  }
}

.portal-faq-instant .portal-faq-chevron {
  transition: none;
}
.portal-faq-instant .portal-faq-item::details-content {
  transition: none;
}

.portal-faq-reveal {
  min-height: 0;
}

.portal-faq-answer {
  border-top: 1px solid #e8e9ed;
  line-height: 1.6;
  padding: 1rem 1.25rem 1.25rem;
}
.portal-faq-answer p {
  max-width: 62ch;
}
.portal-faq-answer p:last-of-type {
  margin-bottom: 0;
}

.portal-faq-copy {
  align-items: center;
  background: none;
  border: 0;
  border-radius: 0.5rem;
  color: var(--bs-link-color);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.375rem;
  margin-top: 0.5rem;
  min-height: 2.75rem;
  padding: 0;
  text-decoration: underline;
}
.portal-faq-copy:hover {
  color: var(--bs-link-hover-color);
}

.portal-faq-back {
  margin: 0;
}
.portal-faq-back a {
  align-items: center;
  display: inline-flex;
  gap: 0.375rem;
  min-height: 2.75rem;
}

.portal-faq-top {
  align-items: center;
  background-color: #00483a;
  border-radius: 62.5rem;
  bottom: calc(1.5rem + var(--portal-faq-top-lift, 0px));
  box-shadow: 0 0.25rem 0.875rem rgba(6, 30, 23, 0.28);
  color: #fff;
  display: inline-flex;
  font-size: 0.9375rem;
  font-weight: 700;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.125rem;
  position: fixed;
  right: 1.5rem;
  text-decoration: none;
  z-index: 1030;
}
.portal-faq-top:hover {
  background-color: #003e24;
  color: #fff;
}
.portal-faq-top:focus-visible {
  box-shadow: 0 0 0 2px #fff;
}

.portal-faq-floating-top + .portal-aside {
  padding-bottom: 3.5rem;
}

.portal-footer {
  background-color: #fff;
  border-top: 1px solid #e8e9ed;
  font-size: 0.9375rem;
  padding: 1.5rem 0;
}

.portal-footer-name {
  color: #252626;
  font-size: 1.0625rem;
  font-weight: 700;
}

.portal-footer-nav {
  align-items: center;
  column-gap: 1.5rem;
  display: flex;
  flex-wrap: wrap;
}

.portal-footer-link {
  align-items: center;
  background: none;
  border: 0;
  color: #00804a;
  display: inline-flex;
  font-weight: 600;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0;
  text-decoration: underline;
}
.portal-footer-link:hover {
  color: var(--bs-link-hover-color);
}
