:root {
  --nfws-blue: #1d70b8;
  --nfws-black: #0b0c0c;
  --nfws-border: #b1b4b6;
  --nfws-footer: #f3f2f1;
  --nfws-page-width: 1280px;
}

@font-face {
  font-family: "GDS Transport";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src:
    url("https://cdn.jsdelivr.net/npm/govuk-frontend@6.4.0/dist/govuk/assets/fonts/light-94a07e06a1-v2.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/npm/govuk-frontend@6.4.0/dist/govuk/assets/fonts/light-f591b13f7d-v2.woff") format("woff");
}

@font-face {
  font-family: "GDS Transport";
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src:
    url("https://cdn.jsdelivr.net/npm/govuk-frontend@6.4.0/dist/govuk/assets/fonts/bold-b542beb274-v2.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/npm/govuk-frontend@6.4.0/dist/govuk/assets/fonts/bold-affa96571d-v2.woff") format("woff");
}

html,
body {
  margin: 0;
  background: #ffffff;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--nfws-black);
  font-family: "GDS Transport", "GDS Transport Website", Arial, sans-serif;
}

.nfws-frame {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--nfws-page-width);
  margin: 0 auto;
  padding: 0 30px;
}

.nfws-header {
  flex: 0 0 auto;
}

.nfws-header__top {
  background: var(--nfws-blue);
  color: #ffffff;
}

.nfws-header__top-inner {
  min-height: 65px;
  display: flex;
  align-items: center;
}

.nfws-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  line-height: 0;
}

.nfws-logo::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 3px;
  background: transparent;
}

.nfws-logo:hover {
  color: #ffffff;
  text-decoration: none;
}

.nfws-logo:hover::after {
  background: #ffffff;
}

.nfws-logo__svg {
  display: block;
  width: 162px;
  height: 30px;
  flex: 0 0 auto;
  fill: #ffffff;
}

.nfws-logo__svg path,
.nfws-logo__svg circle {
  fill: #ffffff;
}

.nfws-logo__svg .govuk-logo-dot {
  fill: #00ffe0;
}

.nfws-account {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nfws-account__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.nfws-account__item:hover {
  color: #ffffff;
  text-decoration: underline;
}

.nfws-account__item + .nfws-account__item {
  border-left: 1px solid rgba(255, 255, 255, 0.65);
}

.nfws-account__icon-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.nfws-account__icon {
  flex: 0 0 auto;
  color: currentColor;
}

.nfws-account__icon img,
.nfws-account__icon--org {
  display: block;
}

.nfws-account__icon--chevron {
  width: 10px;
  height: 6px;
}

.nfws-account__icon--org {
  width: 20px;
  height: 20px;
}

.nfws-account__icon--user {
  width: 23px;
  height: 23px;
}

.nfws-service-navigation__container {
  box-sizing: border-box;
  max-width: var(--nfws-page-width);
  padding-right: 30px;
  padding-left: 30px;
}

.nfws-service-navigation .govuk-service-navigation__container {
  align-items: flex-end;
}

.nfws-service-navigation .govuk-service-navigation__item {
  padding-top: 10px;
  padding-bottom: 9px;
}

.nfws-service-navigation .govuk-service-navigation__item--active {
  margin-bottom: -1px;
  padding-bottom: 9px;
}

.nfws-service-navigation__service-name {
  width: 162px;
  padding-top: 10px;
  padding-bottom: 5px;
}

.nfws-service-navigation__service-name .govuk-service-navigation__link {
  display: block;
  margin-bottom: 0;
  color: var(--nfws-black);
  font-size: 19px;
  line-height: 25px;
  text-decoration: none;
}

.nfws-service-navigation__service-name .govuk-service-navigation__link:hover {
  color: var(--nfws-black);
  text-decoration: underline;
}

.nfws-service-navigation__service-subtitle {
  display: block;
  margin-top: -3px;
  color: #505a5f;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
}

.nfws-main {
  flex: 1 0 auto;
  min-height: 486px;
  padding-bottom: 160px;
}

.nfws-main--has-errors {
  padding-bottom: 160px;
}

.nfws-main--map {
  max-width: none;
  min-height: 0;
  padding-bottom: 0;
}

#back-link {
  margin-top: 22px;
  margin-bottom: 30px;
}

#screen-notification-banner:not(:empty) {
  margin-bottom: 60px;
}

#screen-notification-banner .govuk-notification-banner {
  margin-bottom: 0;
}

#screen-notification-banner:empty + #screen-title {
  margin-top: 24px;
}

.nfws-content {
  width: 595px;
  max-width: 100%;
}

.nfws-form--map {
  width: 100%;
}

.nfws-error-region--heading-error {
  position: relative;
  padding-left: 15px;
}

.nfws-error-region--heading-error::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: #d4351c;
}

.nfws-error-region--heading-error .nfws-heading {
  margin-bottom: 30px;
}

.nfws-error-region--heading-error .govuk-form-group--error {
  border-left: 0;
  padding-left: 0;
}

.nfws-heading {
  margin: 0 0 30px;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
}

.nfws-form-group {
  margin-bottom: 28px;
}

.nfws-form-actions {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.nfws-form-actions__secondary-link {
  margin-left: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nfws-blue);
  font-family: "GDS Transport", "GDS Transport Website", Arial, sans-serif;
  font-size: 19px;
  line-height: 19px;
  text-decoration: underline;
  cursor: pointer;
}

.nfws-form-actions__secondary-link:hover {
  color: #003078;
}

.nfws-form-actions__secondary-link:focus {
  outline: 3px solid #ffdd00;
  outline-offset: 2px;
}

.nfws-body-copy {
  margin: 0 0 30px;
  color: #505a5f;
  font-size: 19px;
  line-height: 25px;
}

.nfws-body-copy--primary {
  color: var(--nfws-black);
}

.nfws-input-label {
  margin-bottom: 5px;
  font-size: 19px;
  font-weight: 700;
  line-height: 25px;
}

.nfws-radio-item {
  min-height: 40px;
  margin-bottom: 8px;
}

.nfws-radio-item:last-child {
  margin-bottom: 0;
}

.nfws-radio-input {
  width: 40px;
  height: 40px;
}

.nfws-radio-label {
  font-size: 19px;
  line-height: 25px;
}

.nfws-text-input {
  box-sizing: border-box;
  width: 472px;
  max-width: 100%;
  height: 40px;
  font-size: 19px;
}

.nfws-text-input--one-half {
  width: 315px;
}

.nfws-autocomplete {
  position: relative;
  width: 472px;
  max-width: 100%;
}

.nfws-autocomplete--one-half {
  width: 315px;
}

.nfws-text-input--autocomplete {
  width: 100%;
}

.nfws-autocomplete__menu {
  box-sizing: border-box;
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 2px solid #0b0c0c;
  border-top: 0;
  background: #ffffff;
  list-style: none;
}

.nfws-autocomplete__item {
  margin: 0;
}

.nfws-autocomplete__option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #b1b4b6;
  background: #ffffff;
  color: #0b0c0c;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nfws-autocomplete__item:last-child .nfws-autocomplete__option {
  border-bottom: 0;
}

.nfws-autocomplete__option:hover,
.nfws-autocomplete__option--active {
  background: #1d70b8;
  color: #ffffff;
}

.nfws-autocomplete__option-main {
  display: block;
  font-size: 19px;
  line-height: 25px;
}

.nfws-autocomplete__option-context {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  line-height: 20px;
}

.nfws-main--map .nfws-content {
  width: 100%;
  max-width: none;
}

body.nfws-body--map-screen {
  overflow: hidden;
}

.nfws-map-dialog {
  --nfws-map-controls-right-offset: 20px;
  --nfws-map-panel-width: 290px;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #ffffff;
}

.nfws-map-dialog__viewport {
  --nfws-map-control-bottom-offset: 16px;
  position: relative;
  width: 100%;
  height: 100vh;
  background: #d8ecfb;
}

.nfws-map-dialog__map {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(180deg, #dceffd 0%, #cfe6f8 100%);
}

.nfws-map-dialog__instruction-overlay {
  position: absolute;
  top: 16px;
  left: calc(var(--nfws-map-panel-width) + 20px);
  z-index: 1200;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 40px;
  width: fit-content;
  max-width: calc(100% - var(--nfws-map-panel-width) - 40px);
  padding: 0 16px 0 10px;
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(11, 12, 12, 0.16);
}

.nfws-map-dialog__instruction-overlay[hidden] {
  display: none;
}

.nfws-map-dialog__instruction-overlay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  color: var(--nfws-black);
  flex: 0 0 auto;
}

.nfws-map-dialog__instruction-overlay-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nfws-map-dialog__instruction-overlay-copy {
  margin: 0;
  color: var(--nfws-black);
  white-space: nowrap;
}

.nfws-map-dialog__action-overlay {
  position: absolute;
  left: calc(var(--nfws-map-panel-width) + ((100% - var(--nfws-map-panel-width)) / 2));
  bottom: var(--nfws-map-control-bottom-offset);
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(11, 12, 12, 0.16);
  transform: translateX(-50%);
}

.nfws-map-dialog__action-overlay[hidden] {
  display: none;
}

.nfws-map-dialog__action-button {
  margin-bottom: 0;
  min-width: 104px;
}

.nfws-map-dialog__action-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.nfws-map-dialog__controls {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1200;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nfws-map-dialog__controls--right {
  left: auto;
  right: var(--nfws-map-controls-right-offset);
  justify-content: flex-end;
}

.nfws-map-button--edit-feature {
  position: absolute;
  top: 16px;
  left: calc(var(--nfws-map-panel-width) + 20px);
  z-index: 1200;
}

.nfws-map-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 11px 0 0;
  border: 0;
  background: #ffffff;
  color: var(--nfws-black);
  font: inherit;
  cursor: pointer;
  box-shadow: none;
}

.nfws-map-button[hidden] {
  display: none;
}

.nfws-map-button:hover {
  background: #f3f2f1;
}

.nfws-map-button:focus {
  outline: none;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 5px #0b0c0c,
    0 0 0 8px #fd0;
  position: relative;
  z-index: 1;
}

.nfws-map-button svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 10px;
}

#map-edit-feature-button svg {
  width: 18px;
  height: 18px;
}

.nfws-map-dialog__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1100;
  width: 290px;
  max-width: calc(100vw - 32px);
  border-right: 1px solid #b1b4b6;
  background: #ffffff;
  box-shadow: 2px 0 8px rgba(11, 12, 12, 0.12);
  overflow-y: auto;
  transition: transform 0.2s ease;
}

.nfws-map-dialog__panel[data-open="false"] {
  transform: translateX(-100%);
}

.nfws-map-dialog__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}

.nfws-map-dialog__panel-title,
.nfws-map-dialog__section-title {
  margin-bottom: 0;
}

.nfws-map-dialog__panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 12px;
  border: 0;
  background: transparent;
  color: var(--nfws-black);
  cursor: pointer;
}

.nfws-map-dialog__panel-close:hover {
  background: #f3f2f1;
}

.nfws-map-dialog__panel-close:focus {
  outline: 3px solid #fd0;
  outline-offset: 0;
}

.nfws-map-dialog__panel-section {
  padding: 16px;
  border-top: 1px solid #d8dbdc;
}

.nfws-map-dialog__panel-section--add-location {
  padding-top: 30px;
}

.nfws-map-dialog__panel-section--flood-warning-areas {
  padding-top: 30px;
}

.nfws-map-dialog__panel-section--continue {
  padding-top: 60px;
  border-top: 0;
}

.nfws-map-dialog__panel-continue-button {
  margin-bottom: 0;
}

.nfws-map-dialog__panel-copy {
  margin-bottom: 10px;
}

.nfws-map-dialog__panel-copy:last-child {
  margin-bottom: 0;
}

.nfws-map-dialog__section-title {
  margin-bottom: 10px;
}

.nfws-map-dialog__section-title--add-location {
  font-size: 24px;
  line-height: 1.2;
}

.nfws-map-dialog__mode-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.nfws-map-dialog__mode-button,
.nfws-map-dialog__mode-action {
  margin-bottom: 0;
}

.nfws-map-dialog__mode-button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  background: #ffffff;
  box-shadow: none;
  color: #0b0c0c;
  text-align: left;
  font-size: 16px;
  line-height: 1.25;
}

.nfws-map-dialog__mode-button:hover {
  background: #f3f2f1;
}

.nfws-map-dialog__mode-button:focus {
  color: #0b0c0c;
  background: #ffdd00;
  box-shadow: 0 -2px #ffdd00, 0 4px #0b0c0c;
}

.nfws-map-dialog__mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.nfws-map-dialog__mode-icon--pin {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.nfws-map-dialog__mode-icon--pin svg {
  width: 22px;
  height: 22px;
}


.nfws-map-dialog__mode-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.nfws-map-dialog__mode-icon path,
.nfws-map-dialog__mode-icon circle {
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nfws-map-dialog__mode-icon--pin path {
  fill: currentColor;
  stroke: none !important;
  stroke-width: 0;
}

.nfws-map-dialog__mode-label {
  display: inline-block;
}

.nfws-map-dialog__mode-button--active,
.nfws-map-dialog__mode-button[aria-pressed="true"] {
  background: #e8f1f8;
  color: #0b0c0c;
  box-shadow: inset 0 0 0 2px #1d70b8;
}

.nfws-map-dialog__mode-button--active:hover,
.nfws-map-dialog__mode-button[aria-pressed="true"]:hover {
  background: #dbeaf6;
}

.nfws-map-dialog__mode-button--active:focus,
.nfws-map-dialog__mode-button[aria-pressed="true"]:focus {
  color: #0b0c0c;
  background: #ffdd00;
}

.nfws-map-dialog__mode-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nfws-map-dialog__mode-action {
  padding: 8px 12px;
}

.nfws-map-dialog__vertex-tooltip {
  border: 0;
  border-radius: 999px;
  background: #1d70b8;
  color: #ffffff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
}

.nfws-map-dialog__vertex-tooltip::before {
  display: none;
}

.nfws-map-dialog__vertex-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  background: transparent;
  border: 0;
  pointer-events: auto;
}

.nfws-map-dialog__vertex-handle-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nfws-vertex-handle-color, #1d70b8);
  cursor: grab;
  pointer-events: auto;
}

.nfws-map-dialog__vertex-handle-dot:active {
  cursor: grabbing;
}

.nfws-map-dialog__dropped-pin-icon {
  background: transparent;
  border: 0;
}

.nfws-map-dialog__dropped-pin-icon svg {
  display: block;
  width: 37px;
  height: 53px;
  filter: drop-shadow(0 8px 14px rgba(11, 12, 12, 0.38));
}

.nfws-map-dialog__checkboxes {
  margin-bottom: 15px;
}

.nfws-map-dialog__checkboxes .govuk-checkboxes__item:last-child {
  margin-bottom: 0;
}

.nfws-map-dialog__checkboxes .govuk-checkboxes__label {
  font-size: 16px;
  line-height: 1.25;
}

.nfws-map-dialog__warning-swatch {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: -6px;
}

.nfws-map-dialog__warning-swatch--severe {
  background: #e3000f;
}

.nfws-map-dialog__warning-swatch--warning {
  background: #dd3132;
}

.nfws-map-dialog__warning-swatch--alert {
  background: #fc9e3c;
}

.nfws-map-dialog__legend {
  margin-bottom: 0;
}

.nfws-map-dialog__legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.nfws-map-dialog__legend-item:last-child {
  margin-bottom: 0;
}

.nfws-map-dialog__legend-symbol {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.nfws-map-dialog__legend-symbol--location {
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #1d70b8;
  box-shadow: 0 0 0 1px #1d70b8;
}

.nfws-map-dialog__legend-symbol--area {
  border: 2px dashed #1d70b8;
  background: rgba(29, 112, 184, 0.08);
}

.nfws-map-dialog__summary {
  position: absolute;
  left: calc(var(--nfws-map-panel-width) + 16px);
  bottom: 88px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 360px;
  padding: 16px;
  border: 1px solid #b1b4b6;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 8px rgba(11, 12, 12, 0.15);
}

.nfws-map-dialog__summary[hidden] {
  display: none;
}

.nfws-map-dialog__summary-title {
  font-size: 19px;
  line-height: 25px;
}

.nfws-map-dialog__summary-copy {
  color: #505a5f;
}

.nfws-map-reset-control,
.nfws-map-dialog .leaflet-control-zoom a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: #ffffff;
  color: #0b0c0c;
  font: inherit;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  padding: 0;
}

.nfws-map-dialog .leaflet-bottom.leaflet-right .leaflet-control {
  margin-bottom: var(--nfws-map-control-bottom-offset);
  margin-right: var(--nfws-map-controls-right-offset);
}

.nfws-map-dialog .leaflet-bottom.leaflet-right .nfws-map-reset-control.leaflet-control {
  margin-bottom: 10px;
}

.nfws-map-dialog .leaflet-bottom.leaflet-left {
  left: auto;
  right: 0;
  bottom: 56px;
}

.nfws-map-dialog .leaflet-bottom.leaflet-left .leaflet-control {
  margin-bottom: 0;
  margin-left: 0;
  margin-right: var(--nfws-map-controls-right-offset);
}

.nfws-map-dialog .leaflet-control-zoom {
  border: 0;
  box-shadow: none;
}

.nfws-map-dialog .leaflet-control-zoom a {
  width: 40px;
  height: 40px;
  border-radius: 0;
  box-shadow: none;
  color: #0b0c0c;
  font-size: 28px;
  font-weight: 400;
  line-height: 40px;
  text-align: center;
}

.nfws-map-dialog .leaflet-control-zoom a + a {
  margin-top: 0;
}

.nfws-map-dialog .leaflet-control-zoom a span {
  display: block;
  width: 40px;
  line-height: 40px;
}

.nfws-map-dialog .leaflet-control-zoom a:hover,
.nfws-map-reset-control:hover {
  background: #f3f2f1;
}

.nfws-map-dialog .leaflet-control-zoom a:focus,
.nfws-map-reset-control:focus {
  outline: none;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 5px #0b0c0c,
    0 0 0 8px #fd0;
  position: relative;
  z-index: 1;
}

.nfws-map-reset-control svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 10px;
}

.nfws-map-dialog .leaflet-control-attribution {
  margin-right: 16px;
  margin-bottom: 16px;
  padding: 4px 8px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.95);
}

.nfws-map-dialog .leaflet-control-attribution,
.nfws-map-dialog .leaflet-control-attribution a {
  font-size: 12px;
  line-height: 16px;
}

.nfws-map-dialog .leaflet-container {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(180deg, #dceffd 0%, #cfe6f8 100%);
}

.nfws-footer {
  margin-top: auto;
}

.nfws-footer__container {
  max-width: var(--nfws-page-width);
}

.govuk-footer__copyright-logo::before {
  background-image: url("https://cdn.jsdelivr.net/npm/govuk-frontend@6.4.0/dist/govuk/assets/images/govuk-crest.svg");
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/govuk-frontend@6.4.0/dist/govuk/assets/images/govuk-crest.svg");
  mask-image: url("https://cdn.jsdelivr.net/npm/govuk-frontend@6.4.0/dist/govuk/assets/images/govuk-crest.svg");
}

@media (max-width: 900px) {
  .nfws-frame {
    padding: 0 16px;
  }

  .nfws-service-navigation__container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .nfws-header__top-inner {
    height: auto;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }

  .nfws-account {
    flex-wrap: wrap;
  }

  .nfws-heading {
    font-size: 40px;
    line-height: 1.1;
  }

  .nfws-text-input {
    width: 100%;
  }

  .nfws-autocomplete {
    width: 100%;
  }

  .nfws-map-dialog__controls {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 8px;
  }

  .nfws-map-dialog__controls--right {
    left: auto;
    right: 12px;
  }

  .nfws-map-button--edit-feature {
    top: 12px;
    left: 12px;
  }

  .nfws-map-button {
    padding: 8px 12px;
  }

  .nfws-map-dialog__panel {
    top: auto;
    width: 100%;
    max-width: none;
    max-height: 52vh;
    border-top: 1px solid #b1b4b6;
    border-left: 0;
    bottom: 0;
    transform: translateY(0);
  }

  .nfws-map-dialog__panel[data-open="false"] {
    transform: translateY(100%);
  }

  .nfws-map-dialog__summary {
    right: 12px;
    left: 12px;
    bottom: 144px;
    max-width: none;
  }

  .nfws-map-dialog__viewport {
    --nfws-map-control-bottom-offset: 12px;
  }

  .nfws-map-dialog__instruction-overlay {
    top: 12px;
    right: auto;
    left: 12px;
    width: fit-content;
    max-width: calc(100% - 24px);
  }

  .nfws-map-dialog__action-overlay {
    bottom: var(--nfws-map-control-bottom-offset);
    right: 12px;
    left: 12px;
    justify-content: center;
    transform: none;
  }

  .nfws-map-dialog .leaflet-bottom.leaflet-right .leaflet-control {
    margin-bottom: var(--nfws-map-control-bottom-offset);
  }

  .nfws-map-dialog .leaflet-bottom.leaflet-left {
    bottom: 52px;
  }

  .nfws-map-dialog .leaflet-bottom.leaflet-left .leaflet-control {
    margin-right: var(--nfws-map-controls-right-offset);
  }

  .nfws-map-dialog .leaflet-control-attribution {
    margin-right: 12px;
    margin-bottom: 12px;
  }

  .nfws-footer__container {
    margin-right: 16px;
    margin-left: 16px;
  }
}
