* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;

  scroll-behavior: smooth;

  --shamrock-green: #009448;
  --shamrock-green-tint: #ebf7f1;
  --oxford-blue: #091637;
  --oxford-blue-tint: #f2f3f5;
  --viridian: #008874;
  --viridian-tint: #e5f3f1;
  --yellow-green: #9AC336;
  --yellow-green-tint: #E4EFC9;
  --melon: #F8AA92;
  --melon-tint: #ffd7cb;
  --error: #c22424;
  --error-tint: #fed3d3;

}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  width: 100%;
  overflow: visible;
}


.form-group span {
  font-size: 0.8rem;
  color: #666;
  display: block;
}


* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  max-width: none;
  margin: 0;
  background-color: #f2f3f5;
}

.flex {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
}

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 80px 140px;
  width: 100%;
}

.main-container h2 {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--oxford-blue);
  font-family: "Poppins", sans-serif;
  margin-bottom: 2rem;
}

#solar-calculator-form {
  width: 100%;
}

.btn {
  border: none;
  padding: 5px 5px 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  min-width: 250px;
  border-radius: 100px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--shamrock-green);
  color: white;
}

.btn-primary:hover {
  background-color: var(--viridian);
  color: white;
}

.btn-secondary {
  background-color: var(--melon);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--oxford-blue);
  color: white;
}

.btn-tertiary {
  background-color: white;
  color: var(--oxford-blue);
}

.btn-tertiary:hover {
  background-color: var(--viridian);
  color: white;
}

.btn i {
  font-size: 1.4rem;
}

.btn img {
  width: 50px;
  height: 50px;
}

.btn span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-left: 15px;
}

.form-input {
  padding: 20px 15px;
  border: none;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

.form-input-thin {
  padding: 10px 15px;
  border: none;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

.form-input:focus {
  outline: var(--melon);
  outline-width: 2px;
  outline-style: solid;
}

.form-input::placeholder {
  color: var(--melon);
}

.form-input-thin::placeholder {
  color: var(--melon);
}

.form-input-thin:focus {
  outline: var(--melon);
  outline-width: 2px;
  outline-style: solid;
}

.form-select {
  padding: 20px 15px;
  border: none;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  color: var(--oxford-blue);
  appearance: none;
  background-image: url("/img/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 30px;
  padding-right: 40px;
}

.form-select-thin {
  padding: 10px 15px;
  border: none;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  color: var(--oxford-blue);
  appearance: none;
  background-image: url("/img/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 30px;
  padding-right: 40px;
}

/* Placeholder-like first option: required + value="" is :invalid until user chooses a real option */
.form-select:invalid,
.form-select-thin:invalid {
  color: var(--melon);
}

.form-select option,
.form-select-thin option {
  color: var(--oxford-blue);
}

.form-select:focus {
  outline: var(--melon);
  outline-width: 2px;
  outline-style: solid;
}



.form-label {
  color: var(--oxford-blue);
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

.form-label-dark {
  color: white;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

.form-label-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: visible;
}

.info-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  cursor: pointer;
  filter: invert(10%) sepia(31%) saturate(2348%) hue-rotate(195deg) brightness(89%) contrast(103%);
}

.info-icon-dark {
  width: 20px;
  height: 20px;
  object-fit: contain;
  cursor: pointer;
  filter: invert(100%) sepia(0%) saturate(7495%) hue-rotate(292deg) brightness(103%) contrast(101%);
}

.info-icon:hover, .info-icon-dark:hover {
  filter: invert(66%) sepia(63%) saturate(457%) hue-rotate(35deg) brightness(96%) contrast(86%);
}

.info-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;

}

/* Info popup - dark navy tooltip with arrow (position: fixed via JS, above header/modals) */
.info-popup {
  position: fixed;
  z-index: 10050;
  width: min(350px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  background-color: var(--oxford-blue);
  border-radius: 1.5rem;
  overflow: visible;
  padding: 1.7rem;
  outline: 2px solid var(--oxford-blue-tint);
  z-index: 10050;
}

.info-popup-arrow {
  position: absolute;
  width: 0;
  height: 0;
}

/* Arrow pointing up - popup below trigger (data-position="bottom") */
.info-popup-arrow-bottom {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--oxford-blue);
}

/* Arrow pointing down - popup above trigger (data-position="top") */
.info-popup-arrow-top {
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--oxford-blue);
}

/* Arrow pointing left - popup to right of trigger (data-position="right") */
.info-popup-arrow-right {
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid transparent;
}

/* Arrow pointing right - popup to left of trigger (data-position="left") */
.info-popup-arrow-left {
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--oxford-blue);
}

.info-popup-body {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-popup-image {
  width: 100%;
  height: auto;
  display: block;
}

.info-popup-text {
  color: white;
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-popup-text p {
  margin: 0 0 0.75rem 0;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

.info-popup-text p:last-of-type {
  margin-bottom: 0;
}

.info-popup-link {
  display: block;
  color: var(--yellow-green);
  text-decoration: underline;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

.info-popup-link:hover {
  color: var(--viridian);
}

.hero-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 600px;
}

.hero-section-content {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1rem;
  padding: 80px 140px;
  background-color: var(--oxford-blue);
  overflow: hidden;
}

.hero-section-content h1 {
  color: white;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-section-content p {
  color: white;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-family: "Open Sans", sans-serif;
}

.hero-section-image {
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.hero-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 130px;
  background-color: #fff;
  padding: 0px 50px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  z-index: 1000;
  position: relative;
}

.sub-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-height: 130px;
  height: auto;
  box-sizing: border-box;
  background-color: #fff;
  padding: 1rem 50px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.sub-header h1 {
  flex: 1 1 auto;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: var(--oxford-blue);
}


.header-logo {
  width: 230px;
}

/* Custom consent checkbox */
.consent {

  margin: 1rem 0 2rem 0;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  color: var(--oxford-blue);
}

.consent-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.consent-checkbox-custom {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.consent-checkbox-check {
  width: 20px;
  height: 20px;
  color: var(--oxford-blue);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.consent-checkbox-input:checked+.consent-checkbox-custom .consent-checkbox-check {
  opacity: 1;
}

.consent-checkbox-input:focus-visible+.consent-checkbox-custom {
  outline: 2px solid var(--melon);
  outline-offset: 2px;
}

.consent-checkbox-label {
  line-height: 1.4;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: var(--oxford-blue);
}

.error-banner {
  background-color: var(--error-tint);
  color: var(--error);
  padding: 1rem;
  margin-bottom: 2rem;
}

.error-banner p {
  font-size: 18px;
  font-weight: 400;
}

.has-error {
  outline: 2px solid var(--error) !important;
}

.has-error-text {
  color: var(--error) !important;
}

.consent.has-error .consent-checkbox-custom {
  outline: 2px solid var(--error);
}

.results-container {
  display: grid;
  grid-template-columns: minmax(260px, 400px) minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: calc(100vh - 130px);
}

.sidebar-container {
  background-color: var(--oxford-blue);
  height: 100%;
  min-width: 0;
  padding: 2rem;
}

.sidebar-content {
  color: white;
}

.sidebar-content h3 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
}

.sidebar-content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: white;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.footer-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  padding: 0 2rem 2rem 2rem;
}

.footer-text p {
  margin-bottom: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--oxford-blue);
}

.results-content {
  padding: 2rem;
  max-width: 100%;
  box-sizing: border-box;
}

.results-content h3 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--oxford-blue);
}

.results-content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.highlighted-text {
  font-family: "Open Sans", sans-serif;
  font-weight: 700 !important;
  color: var(--shamrock-green);
}

a {
  color: var(--oxford-blue);
  text-decoration: underline;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

a:hover {
  color: var(--viridian);
}

.output-container {
  padding: 0 2rem 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.pdf-wrapper .output-container {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.pdf-wrapper .output-item {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.pdf-wrapper #grid-offset-chart-container {
  grid-column: span 2;
}

.pdf-wrapper #solar-pv-chart-container {
  grid-column: span 2;
}

.pdf-wrapper .image-banner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

.pdf-wrapper .image-banner img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

.pdf-wrapper .results-content {
  background-color: #fff;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.output-item {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.output-item-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.output-item-content {
  min-width: 0;
  flex: 1 1 auto;
}

.output-item-content h4, .output-item-content-chart h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--oxford-blue);
}

.output-item-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--shamrock-green);
  font-family: "Poppins", sans-serif;
  margin-top: 0.5rem;
}

#grid-offset-chart-container {
  display: grid;
  grid-row: span 2;
}

#solar-pv-chart-container {
  display: grid;
  grid-row: span 2;
}

.pdf-wrapper .output-item-content-chart {
  gap: 1rem;
}

.pdf-wrapper .output-item-content {
  flex: 0 0 0;
}

.output-item-content-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
}

.output-item-content-chart .chart-wrapper {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.output-item-content-chart .chart-wrapper-bar {
  max-width: 300px;
  aspect-ratio: 1.5;
  margin: 1rem auto;
}

.output-item-content-chart #grid-offset-chart,
.output-item-content-chart #solar-pv-chart {
  width: 100% !important;
  height: 100% !important;
}

.output-item-content-chart .chart-legend {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.output-item-content-chart .chart-legend-item {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  aspect-ratio: 1;
}

.output-item-content-chart .chart-legend-item-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--oxford-blue);
}

.output-item-content-chart .chart-legend-item-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pdf-wrapper .copyright-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  background-color: var(--oxford-blue);
  padding: 30px 20px;
}

.pdf-wrapper .copyright-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: white;

}

.pdf-wrapper .utility-footer-banner-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  background-color: white;
  padding: 30px 20px;
}

.pdf-wrapper .utility-footer-banner-nav a, .pdf-wrapper .utility-footer-banner-nav span {
  color: var(--shamrock-green);
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.pdf-wrapper .highlighted-copy-text {
  color: var(--shamrock-green);
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.pdf-wrapper .highlighted-copy-text:hover {
  color: var(--viridian);
  text-decoration: none;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 22, 55, 0.5);
}

.modal-content {
  position: relative;
  background: var(--viridian);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-form {
  margin-top: 1.25rem;
}

.modal-form .form-group {
  margin-bottom: 1rem;
}

.modal-form label {
  color: white;

}

.modal-form .consent-checkbox-label {
  color: white;
}

.modal-content h3 {
  color: white;
  margin-bottom: 0.75rem;
  font-size: 25px;
  font-weight: 700;
}

.modal-content p {
  color: white;
  font-size: 18px;
  margin-bottom: 0;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: white;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
}

.modal-close:hover {
  opacity: 1;
}

.sidebar-content-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.sidebar-content-header h3 {
  margin-bottom: 0 !important;
}

/* Results sidebar: collapsible form (0 → content height via grid) */
.sidebar-form-collapsible {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.sidebar-form-collapsible.is-open {
  grid-template-rows: 1fr;
}

.sidebar-form-collapsible-inner {
  min-height: 0;
  overflow: hidden;
}

.results-content-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}

.collapse-sidebar-btn {
  width: max-content !important;
  min-width: max-content !important;
}

.collapse-sidebar-btn span {
  margin-left: 0 !important;
}

.loading-wheel-container {
  position: fixed;
  background-color: #f2f3f5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.loading-wheel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-wheel-text {
  background-color: var(--melon);
  width: 170px;
  height: 170px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Poppins", sans-serif;
  text-align: center;
  padding: 1rem;
}

.output-item-value-unit {
  font-size: 20px;
  margin-left: 0.5rem;
}


@media screen and (min-width: 901px) {
  .sidebar-form-collapsible {
    grid-template-rows: 1fr;
  }

  #edit-details-btn {
    display: none;
  }
}

/* Results: avoid horizontal overflow between mobile and wide desktop */
@media screen and (min-width: 901px) and (max-width: 1200px) {
  .output-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
  }

  .sub-header {
    padding-left: clamp(24px, 4vw, 50px);
    padding-right: clamp(24px, 4vw, 50px);
  }

  .results-content {
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
  }
}

@media screen and (max-width: 900px) {
  .header {
    padding: 0px 40px;
    gap: 1rem;
  }

  .header-logo {
    width: 180px;
  }

  .btn span {
    font-size: 16px;
  }

  .btn img {
    width: 40px;
    height: 40px;
  }

  .btn {
    min-width: 200px;
  }

  .hero-section {
    flex-direction: column;
    height: auto;
  }

  .hero-section-content {
    width: 100%;
    padding: 60px 40px;
  }

  .hero-section-image {
    display: none;
  }

  .hero-section-content h1 {
    font-size: 40px;
  }

  .hero-section-content p {
    font-size: 14px;
  }

  .main-container {
    padding: 60px 40px;
  }

  .main-container h2 {
    font-size: 35px;
  }

  .form-label {
    font-size: 16px;
  }

  .form-input, .form-select {
    padding: 15px;
    font-size: 16px;
  }

  .info-popup {
    padding: 1rem;
  }

  .info-popup-text p {
    font-size: 16px;
  }

  .results-container {
    grid-template-columns: 1fr;
  }

  .output-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-header h1 {
    font-size: 40px;
  }

  .sub-header {
    padding: 20px 40px;
  }
}


@media screen and (max-width: 600px) {
  .header {
    padding: 0px 30px;
  }

  .header-logo {
    width: 150px;
  }

  .hero-section-content {
    width: 100%;
    padding: 60px 30px;
  }

  .hero-section-image {
    display: none;
  }

  .hero-section-content h1 {
    font-size: 35px;
  }

  .hero-section-content p {
    font-size: 12px;
  }

  .main-container {
    padding: 60px 30px;
  }

  .main-container h2 {
    font-size: 25px;
  }

  .flex {
    flex-direction: column;
  }

  .form-label {
    font-size: 14px;
  }

  .form-input, .form-select {
    padding: 15px;
    font-size: 14px;
  }

  .info-popup {
    padding: 1rem;
  }

  .info-popup-text p {
    font-size: 14px;
  }

  .output-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .sub-header h1 {
    font-size: 35px;
  }

  .sub-header h1 {
    font-size: 35px;
  }

  .sub-header {
    padding: 20px 30px;
  }
}

/* Compact utility strip above closing body */
.utility-footer-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 40px;
  padding: 0 50px;
  box-sizing: border-box;
  background-color: var(--oxford-blue);
  color: #fff;
  flex-shrink: 0;
}

.utility-footer-banner-title {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.utility-footer-banner-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  gap: 0.35rem;
  white-space: nowrap;
}

.utility-footer-banner-nav a {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  margin: 0;
}

.utility-footer-banner-nav a:hover {
  color: var(--viridian);
}

.utility-footer-banner-sep {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1;
  user-select: none;
}

.pdf-wrapper {
  max-width: 550px;
  margin: 0 auto;
  border: 1px solid #000;
}

.mw-content {
  max-width: max-content;
}

@media screen and (max-width: 600px) {
  .utility-footer-banner {
    padding: 0 24px;
    gap: 0.5rem;
  }

  .utility-footer-banner-title {
    font-size: 10px;
  }

  .utility-footer-banner-nav a {
    font-size: 10px;
  }
}