@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-Roman.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-Italic.woff2")
    format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-MediumItalic.woff2")
    format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("https://raw.githubusercontent.com/RandomMaerks/Overused-Grotesk/main/fonts/woff2/OverusedGrotesk-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.afp-app,
.afp-auth,
.afp-dashboard-nav-wrap,
.afp-dashboard-nav,
.afp-dashboard,
.afp-project-form,
.afp-footer {
  --afp-primary: #1d1d1d;
  --afp-secondary: #1d1d1d;
  --afp-accent: rgba(224, 221, 207, 0.74);
  --afp-background: #1d1d1d;
  --afp-text: #e0ddcf;
  --afp-text-muted: rgba(224, 221, 207, 0.74);
  --afp-button-hover: #f3f1ef;
  --afp-surface: #252525;
  --afp-surface-alt: #2d2d2d;
  --afp-surface-soft: #35383b;
  --afp-text-on-accent: #1d1d1d;
  --afp-border: #a69d8e;
  --afp-radius: 0.5rem;
  --afp-radius-pill: 999px;
  --afp-shadow: 0 18px 40px rgba(29, 29, 29, 0.18);
  --afp-shadow-soft: 0 8px 24px rgba(29, 29, 29, 0.12);
  --afp-space-2xs: 0.375rem;
  --afp-space-xs: 0.75rem;
  --afp-space-sm: 1rem;
  --afp-space-md: 1.5rem;
  --afp-space-lg: 2rem;
  --afp-space-xl: 3rem;
  --afp-space-2xl: 4.5rem;
  --afp-content-width: 76rem;
  --afp-transition: 0.25s ease-in-out;
  --afp-font-family: "OverusedGrotesk", sans-serif;
  font-family: var(--afp-font-family);
  color: var(--afp-text);
}

.afp-app {
  background-color: var(--afp-background);
}

.afp-shell {
  width: min(100% - 2rem, var(--afp-content-width));
  margin: 0 auto;
  background-color: var(--afp-surface);
}

.afp-shell > * + * {
  margin-top: var(--afp-space-xl);
}

/* .afp-section {
  padding: var(--afp-space-2xl) 0;
} */

.afp-section--muted {
  background-color: var(--afp-accent);
}

.afp-card {
  background-color: var(--afp-primary);
  border: 1px solid var(--afp-border);
  border-radius: var(--afp-radius);
  box-shadow: var(--afp-shadow-soft);
  padding: var(--afp-space-xl);
  overflow: hidden;
}

.afp-heading {
  margin: 0 0 var(--afp-space-xs);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 0.95;
  /* text-transform: uppercase; */
  letter-spacing: 0.02em;
}

.afp-subheading {
  margin: 0 0 var(--afp-space-sm);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.afp-text {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--afp-text-muted);
}

.afp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  padding: 1.1rem 1.75rem 1.1rem;
  border: 1px solid var(--afp-border);
  border-radius: var(--afp-radius);
  background-color: transparent;
  color: var(--afp-accent);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform var(--afp-transition),
    background-color var(--afp-transition),
    color var(--afp-transition),
    box-shadow var(--afp-transition);
}

.afp-button:hover,
.afp-button:focus-visible {
  border-color: var(--afp-button-hover);
  color: var(--afp-button-hover);
}

.afp-button:disabled,
.afp-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.afp-button--outline {
  background-color: transparent;
  color: var(--afp-accent);
}

.afp-button--danger {
  background: linear-gradient(180deg, #d85b5b 0%, #bb3939 100%);
  color: #ffffff;
  /* box-shadow: 0 14px 26px rgba(187, 57, 57, 0.24); */
  border: none;
}

.afp-button--danger:hover,
.afp-button--danger:focus-visible {
  background: linear-gradient(180deg, #cf4b4b 0%, #a92f2f 100%);
  color: #ffffff;
}

.afp-button--sm {
  min-height: 2.7rem;
  padding: 1rem 1rem 0.7rem;
  font-size: 0.92rem;
}

.afp-field {
  display: grid;
  gap: var(--afp-space-xs);
}

.afp-label {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.afp-input,
.afp-select,
.afp-textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.9rem 1.15rem 0.7rem;
  border: 3px solid var(--afp-border);
  border-radius: var(--afp-radius);
  background-color: var(--afp-surface);
  color: var(--afp-text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition:
    border-color var(--afp-transition),
    box-shadow var(--afp-transition);
}

.afp-select {
  padding-right: 3.25rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23e0ddcf' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 0.9rem auto;
}

.afp-input:focus,
.afp-select:focus,
.afp-textarea:focus {
  outline: none;
  border-color: var(--afp-button-hover);
}

.afp-input.is-invalid,
.afp-select.is-invalid,
.afp-textarea.is-invalid {
  border-color: #d63b3b;
  box-shadow: 0 0 0 4px rgba(214, 59, 59, 0.12);
}

.afp-textarea {
  min-height: 9rem;
  resize: vertical;
}

.afp-grid {
  display: grid;
  gap: var(--afp-space-lg);
}

.afp-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.afp-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.afp-eyebrow {
  margin: 2rem 0 var(--afp-space-sm);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--afp-accent);
}

.afp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--afp-space-sm);
  margin-top: var(--afp-space-lg);
  justify-content: end;
  width: 100%;
  margin-top: auto;
}

.afp-actions__logout {
  margin-left: auto;
}

.afp-actions__logout .afp-button {
  width: auto;
}

.afp-link {
  display: inline-flex;
  align-items: center;
  color: var(--afp-text);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.afp-link:hover,
.afp-link:focus-visible {
  color: var(--afp-accent);
}

.afp-form {
  display: grid;
  gap: var(--afp-space-lg);
}

.afp-form.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

.afp-field-error {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: #b42318;
}

.afp-form-summary {
  margin: 0;
  padding: 1rem 1.25rem;
  border: 1px solid #efb3b3;
  border-radius: 1.25rem;
  background-color: #fff0f0;
  color: #8e2020;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
}

.afp-register-form__company {
  display: grid;
  gap: var(--afp-space-lg);
}

.afp-register-form__column {
  display: grid;
  gap: var(--afp-space-lg);
}

.afp-register-form__company-header {
  display: grid;
  gap: 0.45rem;
}

.afp-register-form__company-header .afp-eyebrow,
.afp-register-form__company-header .afp-subheading,
.afp-register-form__company-header .afp-text {
  margin: 0;
}

.afp-gus-lookup {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(171, 184, 195, 0.35);
  border-radius: 1.25rem;
}

.afp-gus-lookup .afp-button {
  justify-self: start;
}

.afp-input::placeholder,
.afp-textarea::placeholder {
  color: var(--afp-text-muted);
}

.afp-gus-lookup__hint {
  font-size: 0.95rem;
}

.afp-gus-lookup__message {
  margin: 0;
}

.afp-checkbox {
  display: grid;
  gap: 0.65rem;
}

.afp-checkbox__label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
}

.afp-checkbox__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.afp-checkbox__box {
  position: relative;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  border: 2px solid var(--afp-accent);
  border-radius: 0.45rem;
  background: var(--afp-surface);
  transition:
    background-color var(--afp-transition),
    border-color var(--afp-transition),
    box-shadow var(--afp-transition);
}

.afp-checkbox__box::after {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.38rem;
  width: 0.32rem;
  height: 0.62rem;
  border: solid #ffffff;
  border-width: 0 0.14rem 0.14rem 0;
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity var(--afp-transition);
}

.afp-checkbox__input:checked + .afp-checkbox__box {
  background: var(--afp-accent);
  border-color: var(--afp-accent);
}

.afp-checkbox__input:checked + .afp-checkbox__box::after {
  opacity: 1;
}

.afp-checkbox__input:focus-visible + .afp-checkbox__box {
  box-shadow: 0 0 0 4px rgba(171, 184, 195, 0.24);
}

.afp-checkbox__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--afp-text);
}

.afp-checkbox__text .afp-link {
  font-size: 0.98rem;
  text-transform: none;
}

.afp-checkbox.is-invalid .afp-checkbox__box {
  border-color: #d63b3b;
  box-shadow: 0 0 0 4px rgba(214, 59, 59, 0.08);
}

.afp-notice {
  margin: 0 0 var(--afp-space-lg);
  padding: 1rem 1.25rem 0.9rem;
  border-left: 3px solid transparent;
  border-radius: 0;
  background: var(--afp-surface-alt);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: inset 0 0 0 1px rgba(171, 184, 195, 0.08);
}

.afp-notice--success {
  border-left-color: #abb8c3;
  color: var(--afp-text);
}

.afp-notice--warning {
  border-left-color: #d9bf7a;
  color: var(--afp-text);
}

.afp-notice--error {
  border-left-color: #c86a6a;
  color: var(--afp-text);
}

.afp-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.afp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.afp-list li::before {
  content: "";
  display: block;
  flex: 0 0 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.42rem;
  border-radius: 999px;
  background-color: var(--afp-accent);
}

.afp-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--afp-space-lg);
  margin-bottom: var(--afp-space-lg);
}

.afp-resource-card {
  min-height: 15rem;
}

.afp-resource-card__title,
.afp-projects__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
}

.afp-projects__edit {
  margin: 0.5rem 0 0;
}

.afp-projects__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.afp-projects__per-page-label {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--afp-text-muted);
}

.afp-projects__per-page {
  width: auto;
  min-width: 5rem;
  min-height: 2.55rem;
  padding-top: 0.5rem;
  padding-bottom: 0.4rem;
  font-size: 0.92rem;
}

.afp-projects__apply {
  min-height: 2.55rem;
  padding: 0.7rem 0.9rem 0.4rem;
  font-size: 0.9rem;
}

.afp-projects__meta {
  margin-bottom: 0.9rem;
}

.afp-program-home-intro .afp-text {
  max-width: 44rem;
}

.afp-auth__brand {
  margin-bottom: 2rem;
}

.afp-auth__brand img {
  display: block;
  width: auto;
  max-width: min(12rem, 100%);
  max-height: 3rem;
  object-fit: contain;
}

.afp-program-home-panel {
  display: grid;
  align-content: center;
  border: none;
  box-shadow: none;
}

.afp-program-home-panel .afp-form {
  gap: 1rem;
}

.afp-register-form__page {
  align-items: start;
}

.afp-register-form__page .afp-auth__intro,
.afp-register-form__page .afp-auth__panel {
  align-self: start;
}

.afp-register-form__intro,
.afp-register-form__form-card,
.afp-register-form__company-panel {
  width: 100%;
}

.afp-auth__intro,
.afp-auth__panel {
  align-self: center;
  border: none;
  background-color: var(--afp-surface);
  box-shadow: none;
}

.afp-login-page__box {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.afp-login-page__box-body {
  display: grid;
  gap: var(--afp-space-sm);
}

.afp-login-page__box-actions {
  margin-top: auto;
}

.afp-login-page__panel .afp-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 783px) {
  .afp-login-page .afp-shell {
    align-items: stretch;
  }

  .afp-login-page__intro,
  .afp-login-page__panel {
    align-self: stretch;
    min-height: 100%;
  }

  .afp-login-page__intro {
    padding: var(--afp-space-xl);
  }

  .afp-register-form__page {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "intro ."
      "form company";
    align-items: start;
  }

  .afp-register-form__intro {
    grid-area: intro;
  }

  .afp-register-form__form-card {
    grid-area: form;
  }

  .afp-register-form__company-panel {
    grid-area: company;
  }

  .afp-auth__intro--sticky {
    top: 2rem;
    align-self: start;
  }

  .afp-auth__intro--sticky .afp-actions {
    justify-content: flex-start;
    margin-top: 2rem;
  }
}

.afp-dashboard-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--afp-space-lg);
  margin-bottom: 0;
  padding: 2rem 2rem;
  background: var(--afp-primary);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(171, 184, 195, 0.22);
}

.afp-dashboard-nav-wrap {
  width: min(100% - 2rem);
  margin: 0 auto;
}

.afp-dashboard-nav__brand {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  color: var(--afp-text);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.afp-dashboard-nav__brand img {
  display: block;
  max-height: 3rem;
  width: auto;
}

.afp-dashboard-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.afp-dashboard-nav__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  /* margin-left: auto; */
}

.afp-dashboard-nav__actions .afp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 2.7rem;
  padding: 0.76rem 1rem 0.52rem;
  border-radius: var(--afp-radius);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.afp-dashboard-nav__actions > .afp-button,
.afp-dashboard-nav__actions > a.afp-button {
  border: 1px solid var(--afp-accent);
  background-color: transparent;
  color: var(--afp-accent);
}

.afp-dashboard-nav__actions > .afp-button svg,
.afp-dashboard-nav__actions > a.afp-button svg {
  stroke: currentColor;
  fill: none;
}

.afp-dashboard-nav__actions > .afp-button img,
.afp-dashboard-nav__actions > a.afp-button img {
  filter: brightness(0) saturate(100%) invert(78%) sepia(10%) saturate(288%)
    hue-rotate(170deg) brightness(88%) contrast(87%);
}

.afp-dashboard-nav__actions > .afp-button:hover,
.afp-dashboard-nav__actions > .afp-button:focus-visible,
.afp-dashboard-nav__actions > a.afp-button:hover,
.afp-dashboard-nav__actions > a.afp-button:focus-visible {
  border-color: var(--afp-button-hover);
  background-color: transparent;
  color: var(--afp-button-hover);
}

.afp-dashboard-nav__actions > .afp-button:hover img,
.afp-dashboard-nav__actions > .afp-button:focus-visible img,
.afp-dashboard-nav__actions > a.afp-button:hover img,
.afp-dashboard-nav__actions > a.afp-button:focus-visible img {
  filter: brightness(0) saturate(100%) invert(92%) sepia(4%) saturate(222%)
    hue-rotate(175deg) brightness(99%) contrast(95%);
}

.afp-dashboard-nav__logout .afp-button,
.afp-dashboard-nav__logout button.afp-button {
  appearance: none;
  border: 3px solid #bb3939;
  background: transparent;
  color: #bb3939;
}

.afp-dashboard-nav__logout .afp-button svg,
.afp-dashboard-nav__logout button.afp-button svg {
  stroke: currentColor;
  fill: none;
}

.afp-dashboard-nav__logout .afp-button img,
.afp-dashboard-nav__logout button.afp-button img {
  filter: brightness(0) saturate(100%) invert(39%) sepia(42%) saturate(1116%)
    hue-rotate(325deg) brightness(89%) contrast(88%);
}

.afp-dashboard-nav__logout .afp-button:hover,
.afp-dashboard-nav__logout .afp-button:focus-visible,
.afp-dashboard-nav__logout button.afp-button:hover,
.afp-dashboard-nav__logout button.afp-button:focus-visible {
  border-color: #d96a6a;
  background: transparent;
  color: #d96a6a;
}

.afp-dashboard-nav__logout .afp-button:hover img,
.afp-dashboard-nav__logout .afp-button:focus-visible img,
.afp-dashboard-nav__logout button.afp-button:hover img,
.afp-dashboard-nav__logout button.afp-button:focus-visible img {
  filter: brightness(0) saturate(100%) invert(63%) sepia(18%) saturate(780%)
    hue-rotate(314deg) brightness(97%) contrast(89%);
}

.afp-dashboard-nav__logout {
  margin: 0;
}

.afp-dashboard-nav__links a {
  color: var(--afp-text);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.afp-dashboard-nav__links a:hover,
.afp-dashboard-nav__links a:focus-visible {
  color: var(--afp-accent);
}

.afp-dashboard-slider-section {
  width: 100%;
  margin: 0 0 var(--afp-space-xl);
}

.afp-dashboard-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--afp-surface);
}

.afp-dashboard-slider__track {
  position: relative;
}

.afp-dashboard-slider__slide {
  display: none;
  width: 100%;
}

.afp-dashboard-slider__slide.is-active {
  display: block;
}

.afp-dashboard-slider__slide picture,
.afp-dashboard-slider__slide img {
  display: block;
  width: 100%;
}

.afp-dashboard-slider__slide img {
  height: auto;
  min-height: 18rem;
  max-height: 36rem;
  object-fit: cover;
}

.afp-dashboard-slider__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 7vw, 5.75rem);
  padding: 0;
  border: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 16, 20, 0.22) 0%,
    rgba(10, 16, 20, 0) 100%
  );
  color: #ffffff;
  cursor: pointer;
  transition:
    background-color var(--afp-transition),
    opacity var(--afp-transition);
}

.afp-dashboard-slider__arrow--prev {
  left: 0;
}

.afp-dashboard-slider__arrow--next {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(10, 16, 20, 0.22) 0%,
    rgba(10, 16, 20, 0) 100%
  );
}

.afp-dashboard-slider__arrow:hover,
.afp-dashboard-slider__arrow:focus-visible {
  background-color: rgba(10, 16, 20, 0.18);
}

.afp-dashboard-slider__arrow svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afp-dashboard-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem 1.15rem;
  background: var(--afp-surface);
}

.afp-dashboard-slider__dot {
  width: 0.95rem;
  height: 0.95rem;
  padding: 0;
  border: 2px solid var(--afp-accent);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    background-color var(--afp-transition),
    transform var(--afp-transition);
}

.afp-dashboard-slider__dot.is-active {
  background: var(--afp-accent);
}

.afp-dashboard-slider__dot:hover,
.afp-dashboard-slider__dot:focus-visible {
  transform: scale(1.08);
}

.afp-dashboard-hero {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--afp-space-xl);
  background:
    radial-gradient(
      circle at right top,
      rgba(171, 184, 195, 0.2),
      transparent 30%
    ),
    linear-gradient(180deg, #252525 0%, #1f1f1f 100%);
}

.afp-dashboard-hero__copy {
  max-width: 42rem;
}
.afp-dashboard-hero__copy .afp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
  justify-content: flex-start;
  gap: 0.75rem;
}

.afp-dashboard-hero__copy .afp-actions .afp-button,
.afp-dashboard-hero__copy .afp-actions .afp-actions__logout,
.afp-dashboard-hero__copy .afp-actions .afp-actions__logout .afp-button {
  width: auto;
}

.afp-dashboard-hero__copy .afp-actions .afp-actions__logout {
  margin-left: 0;
}

.afp-dashboard-hero__title {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  margin-bottom: var(--afp-space-sm);
}

.afp-dashboard-hero__meta {
  display: grid;
  gap: var(--afp-space-sm);
  min-width: 16rem;
}

.afp-dashboard-chip {
  padding: 1rem 1.25rem;
  /* border: 1px solid var(--afp-border); */

  background: rgba(53, 56, 59, 0.9);
}

.afp-dashboard-chip strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}

.afp-dashboard-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 26rem);
  align-items: center;
  gap: var(--afp-space-xl);
}

.afp-dashboard-feature__copy {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.afp-dashboard-feature__copy .afp-subheading,
.afp-dashboard-feature__copy .afp-text {
  margin: 0;
}

.afp-dashboard-feature__actions {
  margin-top: 0.5rem;
}

.afp-dashboard-feature__media {
  width: 100%;
}

.afp-dashboard-feature__media img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.afp-dashboard-feature--reverse {
  grid-template-columns: minmax(18rem, 26rem) minmax(0, 1fr);
}

.afp-dashboard-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16rem, 23rem);
  gap: var(--afp-space-md);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.afp-dashboard-carousel::-webkit-scrollbar {
  display: none;
}

.afp-dashboard-carousel-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.afp-dashboard-carousel__nav,
.afp-lightbox__nav,
.afp-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--afp-border);
  border-radius: 999px;
  background: rgba(53, 56, 59, 0.96);
  color: var(--afp-text);
  box-shadow: var(--afp-shadow-soft);
  cursor: pointer;
  transition:
    transform var(--afp-transition),
    border-color var(--afp-transition),
    color var(--afp-transition),
    background-color var(--afp-transition);
}

.afp-dashboard-carousel__nav:hover,
.afp-dashboard-carousel__nav:focus-visible,
.afp-lightbox__nav:hover,
.afp-lightbox__nav:focus-visible,
.afp-lightbox__close:hover,
.afp-lightbox__close:focus-visible {
  transform: translateY(-1px);
  border-color: var(--afp-accent);
  color: var(--afp-accent);
}

.afp-dashboard-carousel__nav svg,
.afp-lightbox__nav svg,
.afp-lightbox__close svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afp-dashboard-carousel__item {
  margin: 0;
  scroll-snap-align: start;
}

.afp-dashboard-carousel__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.afp-dashboard-carousel__trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 16, 20, 0.04) 0%,
    rgba(10, 16, 20, 0.36) 100%
  );
  opacity: 0;
  transition: opacity var(--afp-transition);
}

.afp-dashboard-carousel__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition:
    transform var(--afp-transition),
    box-shadow var(--afp-transition);
}

.afp-dashboard-carousel__zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(10, 16, 20, 0.24);
  opacity: 0;
  transform: translateY(0.4rem);
  transition:
    opacity var(--afp-transition),
    transform var(--afp-transition),
    background-color var(--afp-transition),
    border-color var(--afp-transition);
  pointer-events: none;
}

.afp-dashboard-carousel__zoom svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afp-dashboard-carousel__trigger:hover::before,
.afp-dashboard-carousel__trigger:focus-visible::before {
  opacity: 1;
}

.afp-dashboard-carousel__trigger:hover .afp-dashboard-carousel__zoom,
.afp-dashboard-carousel__trigger:focus-visible .afp-dashboard-carousel__zoom {
  opacity: 1;
  transform: translateY(0);
}

.afp-dashboard-carousel__trigger:hover img,
.afp-dashboard-carousel__trigger:focus-visible img {
  transform: scale(1.02);
  box-shadow: 0 18px 36px rgba(10, 16, 20, 0.16);
}

.afp-lightbox[hidden] {
  display: none;
}

.afp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.afp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 20, 0.78);
  backdrop-filter: blur(4px);
}

.afp-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, 78rem);
  height: 100%;
  margin: 0 auto;
}

.afp-lightbox__figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.afp-lightbox__figure img {
  display: block;
  width: 100%;
  max-height: min(82vh, 56rem);
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
  background: var(--afp-surface);
}

.afp-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(10, 16, 20, 0.82);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.afp-lightbox__close:hover,
.afp-lightbox__close:focus-visible {
  background: rgba(10, 16, 20, 0.94);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.afp-dashboard-resources__header {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.85rem;
  margin-bottom: var(--afp-space-xl);
}

.afp-dashboard-resources__header .afp-subheading,
.afp-dashboard-resources__header .afp-text {
  margin: 0;
}

.afp-dashboard-resources__intro {
  max-width: 40rem;
}

.afp-dashboard-resources__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.afp-dashboard-resource {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  min-height: 100%;
  padding: 1rem 0.5rem;
}

.afp-dashboard-resource__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  color: var(--afp-border);
}

.afp-dashboard-resource__icon img {
  display: block;
  width: 2.7rem;
  height: auto;
  opacity: 0.78;
  filter: grayscale(1) brightness(0.92) sepia(0.08) hue-rotate(170deg)
    saturate(0.45);
}

.afp-dashboard-resource__copy {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  width: 100%;
}
.afp-dashboard-inspirations {
  margin-bottom: 4rem;
}

.afp-dashboard-inspirations__intro {
  margin-top: 0.75rem;
}

.afp-dashboard-resource__action {
  margin: auto 0 0;
  text-align: center;
  width: 100%;
}

.afp-dashboard-resource .afp-resource-card__title {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.afp-dashboard-resource .afp-text {
  margin: 0;
  font-size: 0.9rem;
}

.afp-dashboard-resource .afp-button {
  min-width: 9.5rem;
}

.afp-empty-state--soft {
  border-top: none;
  padding-top: 0;
}

.afp-projects__list {
  display: grid;
  gap: 1rem;
}

.afp-projects__table {
  display: grid;
  border: 1px solid var(--afp-border);
  border-radius: var(--afp-radius);
  overflow: hidden;
  background: var(--afp-surface-alt);
}

.afp-projects__head,
.afp-projects__item {
  display: grid;
  grid-template-columns:
    minmax(0, 1.75fr) minmax(7rem, 0.9fr) minmax(8rem, 0.85fr)
    minmax(5.5rem, 0.6fr);
  align-items: center;
  column-gap: 1rem;
}

.afp-projects__head {
  padding: 0.85rem 1rem;
  background: var(--afp-surface-soft);
  border-bottom: 1px solid var(--afp-border);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--afp-text-muted);
}

.afp-projects__item {
  padding: 0.78rem 1rem;
  border-top: 1px solid var(--afp-border);
  background: var(--afp-surface);
}

.afp-projects__item:first-child {
  border-top: none;
}

.afp-projects__cell .afp-text {
  margin: 0;
}

.afp-projects__label {
  display: none;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--afp-text-muted);
}

.afp-projects__cell--actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.afp-projects__cell--actions .afp-link {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
}

.afp-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem 0.45rem;
  border-radius: 999px;
  background-color: var(--afp-accent);
  color: var(--afp-text-on-accent);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.afp-status--afp_rejected {
  background: rgba(196, 57, 57, 0.12);
  color: #b23232;
}

.afp-status--afp_submitted {
  background: rgba(230, 126, 34, 0.14);
  color: #c96f12;
}

.afp-status--afp_to_settlement {
  background: rgba(24, 119, 242, 0.12);
  color: #1f67c6;
}

.afp-status--afp_settled {
  background: rgba(34, 139, 94, 0.14);
  color: #1f7f56;
}

.afp-empty-state {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--afp-border);
}

.afp-project-form__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--afp-space-lg);
}

.afp-project-form__topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
  padding-top: 4rem;
}

.afp-footer {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.afp-footer__backdrop {
  position: relative;
  background-color: var(--afp-background);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* .afp-footer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
} */

.afp-footer__shell {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
  width: min(100% - 2rem, var(--afp-content-width));
  margin: 0 auto;
}

.afp-footer__container {
  width: min(100% - 2rem, 1200px);
  margin: 0 auto;
}

.afp-footer__layout {
  display: grid;
  grid-template-columns: minmax(18rem, 27rem) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.afp-footer__content {
  display: grid;
  gap: 1.2rem;
  color: var(--afp-text);
}

.afp-footer__brand {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.afp-footer__brand img {
  max-height: 2.8rem;
  width: auto;
  filter: brightness(0) saturate(100%) invert(88%) sepia(9%) saturate(266%)
    hue-rotate(10deg) brightness(94%) contrast(90%);
}

.afp-footer__brand-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.afp-footer__company {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--afp-text);
}

.afp-footer__address {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  font-style: normal;
  color: var(--afp-text);
  font-size: 1rem;
  line-height: 1.55;
}

.afp-footer__details {
  display: grid;
  gap: 0.5rem;
}

.afp-footer__details p {
  margin: 0;
  color: var(--afp-text);
  font-size: 1.05rem;
  line-height: 1.5;
}

.afp-footer__details strong {
  text-transform: uppercase;
}

.afp-footer__details a {
  color: var(--afp-text);
  text-decoration: none;
}

.afp-footer__details a:hover,
.afp-footer__details a:focus-visible {
  color: var(--afp-accent);
}

.afp-footer__regulations {
  margin: 0;
}

.afp-footer__regulations .afp-link {
  color: var(--afp-text);
}

.afp-footer__regulations .afp-link:hover,
.afp-footer__regulations .afp-link:focus-visible {
  color: var(--afp-accent);
}

.afp-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.afp-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.afp-footer__social img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(88%) sepia(9%) saturate(266%)
    hue-rotate(10deg) brightness(94%) contrast(90%);
}

.afp-footer__map {
  min-height: 24rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.afp-footer__map iframe {
  display: block;
  width: 100%;
  min-height: 24rem;
  border: 0;
}

.afp-project-form__group,
.afp-project-form__form > .afp-card {
  margin-bottom: 0;
}

.afp-project-form__commission {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.afp-project-form__commission-copy {
  display: grid;
  gap: 0.35rem;
}

.afp-project-form__commission-value {
  flex: 0 0 auto;
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--afp-accent);
}

.afp-project-form__note {
  margin: 0.25rem 0 0;
  font-size: 0.94rem;
}

.afp-project-form__rows {
  display: grid;
  gap: var(--afp-space-md);
}

.afp-project-form__row {
  padding-top: var(--afp-space-sm);
  border-top: 1px solid var(--afp-border);
}

.afp-project-form__row:first-child {
  padding-top: 0;
  border-top: none;
}

.afp-project-form__row-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.7rem;
}

.afp-project-form__group-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.afp-project-form__row-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  padding: 0.85rem 0.9rem 0.55rem;
  border: 1px solid var(--afp-border);
  border-radius: var(--afp-radius);
  background: transparent;
  color: var(--afp-accent);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform var(--afp-transition),
    background-color var(--afp-transition),
    color var(--afp-transition),
    box-shadow var(--afp-transition);
}

.afp-project-form__row-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.afp-project-form__row-button:hover,
.afp-project-form__row-button:focus-visible {
  background-color: transparent;
  border-color: var(--afp-button-hover);
  color: var(--afp-text);
}

.afp-project-form__row-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.afp-project-form__row-button[hidden] {
  display: none !important;
}

.afp-project-form__row-button--add {
  background: transparent;
}

.afp-project-form__row-button--remove {
  background: rgba(171, 184, 195, 0.08);
}

.afp-project-form__upload {
  position: relative;
}

.afp-project-form__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.afp-project-form__upload-trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 5.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--afp-border);
  border-radius: var(--afp-radius);
  cursor: pointer;
  transition:
    border-color var(--afp-transition),
    box-shadow var(--afp-transition),
    transform var(--afp-transition);
}

.afp-project-form__upload-trigger:hover,
.afp-project-form__upload-trigger:focus-within {
  border-color: var(--afp-accent);
  box-shadow: var(--afp-shadow-soft);
  transform: translateY(-1px);
}

.afp-project-form__file-input:focus-visible
  + .afp-project-form__upload-trigger {
  border-color: var(--afp-accent);
  box-shadow: 0 0 0 3px rgba(171, 184, 195, 0.24);
}

.afp-project-form__upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  color: var(--afp-accent);
}

.afp-project-form__upload-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(78%) sepia(10%) saturate(288%)
    hue-rotate(170deg) brightness(88%) contrast(87%);
  transition:
    filter var(--afp-transition),
    opacity var(--afp-transition);
}

.afp-project-form__upload-trigger:hover .afp-project-form__upload-icon img,
.afp-project-form__upload-trigger:focus-within
  .afp-project-form__upload-icon
  img {
  filter: brightness(0) saturate(100%) invert(92%) sepia(4%) saturate(222%)
    hue-rotate(175deg) brightness(99%) contrast(95%);
}

.afp-project-form__upload-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.afp-project-form__upload-copy strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.afp-project-form__upload-copy span {
  font-size: 0.9rem;
  color: var(--afp-text-muted);
  line-height: 1.35;
}

.afp-project-form__upload.is-invalid .afp-project-form__upload-trigger {
  border-color: #cf3d3d;
}

.afp-project-form__gallery {
  margin-top: var(--afp-space-lg);
}

.afp-project-form__gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--afp-space-md);
  margin-top: var(--afp-space-sm);
}

.afp-project-form__image-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem;
  border: 1px solid var(--afp-border);
  background: var(--afp-surface-alt);
}

.afp-project-form__image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.afp-project-form__image-caption {
  font-size: 0.92rem;
  font-weight: 700;
}

.afp-projects__action-placeholder {
  color: var(--afp-text-muted);
}

.afp-projects__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.afp-projects__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--afp-border);
  border-radius: 999px;
  background: var(--afp-surface);
  color: var(--afp-text);
  text-decoration: none;
  font-weight: 700;
  transition:
    border-color var(--afp-transition),
    background-color var(--afp-transition),
    color var(--afp-transition);
}

.afp-projects__page:hover,
.afp-projects__page:focus-visible {
  border-color: var(--afp-accent);
  color: var(--afp-accent);
}

.afp-projects__page.is-active {
  border-color: var(--afp-accent);
  background: var(--afp-accent);
  color: var(--afp-text-on-accent);
}

.afp-projects__page--arrow {
  padding: 0;
}

.afp-projects__page--arrow svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afp-project-form__actions {
  margin-top: 0;
  margin-bottom: 4rem;
}

.afp-dashboard-feature,
.afp-projects,
.afp-dashboard-resources,
.afp-dashboard-inspirations,
.afp-dashboard-hero {
  border: none !important;
  background-color: var(--afp-surface);
  box-shadow: none;
  background: var(--afp-surface);
}
.afp-dashboard-feature {
  position: relative;
  isolation: isolate;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.afp-dashboard-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  background-color: var(--afp-surface-alt);
  z-index: -1;
}
.shell-black {
  background-color: var(--afp-primary);
}

@media (max-width: 782px) {
  .afp-dashboard-nav-wrap {
    width: min(100% - 1rem, var(--afp-content-width));
  }

  .afp-dashboard-slider-section {
    margin-bottom: var(--afp-space-lg);
  }

  .afp-dashboard-slider__slide img {
    min-height: 12.5rem;
    max-height: none;
  }

  .afp-dashboard-slider__arrow {
    width: 3.25rem;
  }

  .afp-dashboard-slider__dots {
    gap: 0.65rem;
    padding: 0.75rem 1rem 0.95rem;
  }

  .afp-shell {
    width: min(100% - 1rem, var(--afp-content-width));
  }

  .afp-shell > * + * {
    margin-top: var(--afp-space-lg);
  }

  .afp-section {
    padding: var(--afp-space-xl) 0;
  }

  .afp-card {
    padding: 2rem 1rem;
    border-radius: 1.35rem;
  }

  .afp-grid--two {
    grid-template-columns: 1fr;
  }

  .afp-grid--three,
  .afp-grid--four {
    grid-template-columns: 1fr;
  }

  .afp-dashboard-nav,
  .afp-project-form__header,
  .afp-dashboard-hero,
  .afp-dashboard-feature,
  .afp-section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .afp-dashboard-feature {
    grid-template-columns: 1fr;
    gap: var(--afp-space-lg);
  }

  .afp-project-form__commission {
    flex-direction: column;
    align-items: flex-start;
  }

  .afp-project-form__topbar {
    justify-content: stretch;
  }

  .afp-project-form__topbar .afp-button {
    width: 100%;
  }

  .afp-footer__shell {
    padding: 3rem 1rem;
  }

  .afp-footer__container {
    width: min(100% - 1.5rem, var(--afp-content-width));
  }

  .afp-footer__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .afp-footer__company {
    font-size: 0.7rem;
  }

  .afp-footer__details p,
  .afp-footer__address {
    font-size: 0.98rem;
  }

  .afp-footer__map,
  .afp-footer__map iframe {
    min-height: 18rem;
  }

  .afp-projects__controls {
    width: 100%;
  }

  .afp-projects__controls > * {
    width: 100%;
  }

  .afp-dashboard-hero__meta {
    width: 100%;
  }

  .afp-actions,
  .afp-actions__logout,
  .afp-actions__logout .afp-button,
  .afp-dashboard-hero__meta .afp-button,
  .afp-dashboard-nav__actions,
  .afp-dashboard-nav__actions .afp-button,
  .afp-dashboard-nav__logout {
    width: 100%;
  }

  .afp-actions__logout {
    margin-left: 0;
  }

  .afp-dashboard-nav__actions {
    margin-left: 0;
    justify-content: stretch;
  }

  .afp-dashboard-nav {
    padding: 0.75rem 0;
  }

  .afp-project-form__gallery-grid {
    grid-template-columns: 1fr;
  }

  .afp-dashboard-carousel {
    grid-auto-columns: minmax(15rem, 85%);
  }

  .afp-dashboard-carousel-wrap {
    grid-template-columns: 1fr;
  }

  .afp-dashboard-carousel__nav {
    display: none;
  }

  .afp-lightbox__dialog {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 4.5rem 0 1.5rem;
  }

  .afp-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .afp-lightbox__nav--prev {
    left: 0.5rem;
  }

  .afp-lightbox__nav--next {
    right: 0.5rem;
  }

  .afp-projects__head {
    display: none;
  }

  .afp-projects__table {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    gap: 10px;
  }

  .afp-projects__item {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--afp-border);
    border-radius: 1rem;
    background: var(--afp-surface);
    box-shadow: var(--afp-shadow-soft);
  }

  .afp-projects__item:first-child {
    border-top: 1px solid var(--afp-border);
  }

  .afp-projects__cell {
    min-width: 0;
  }

  .afp-projects__cell--project {
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(14, 42, 71, 0.08);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
  }

  .afp-projects__cell--project .afp-projects__title {
    flex: 1 1 auto;
    text-align: right;
  }

  .afp-projects__cell--date,
  .afp-projects__cell--status,
  .afp-projects__cell--actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
  }

  .afp-projects__label {
    display: block;
    margin-bottom: 0;
  }

  .afp-projects__cell.afp-projects__cell--actions {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .afp-projects__cell--actions .afp-link,
  .afp-projects__cell--actions .afp-projects__action-placeholder,
  .afp-projects__cell--date .afp-text,
  .afp-projects__cell--status .afp-status {
    justify-self: start;
  }

  .afp-heading {
    font-size: clamp(1.75rem, 9vw, 2rem);
  }

  .afp-dashboard-hero__title {
    font-size: clamp(1.25rem, 7vw, 1.5rem);
  }

  .afp-program-home-panel .afp-button {
    width: 100%;
  }

  .afp-subheading,
  .afp-resource-card__title,
  .afp-projects__title {
    font-size: 1rem;
  }

  .afp-text {
    font-size: 0.98rem;
  }

  .afp-button {
    width: 100%;
    min-height: 3.25rem;
    padding: 0.86rem 1.15rem 0.72rem;
  }

  .afp-dashboard-chip {
    width: 100%;
    padding: 0.9rem 1rem;
  }

  .afp-dashboard-resource {
    padding: 1rem 0.25rem;
  }

  .afp-register-form__company {
    padding: 1rem;
  }

  .afp-gus-lookup .afp-button {
    width: 100%;
    justify-self: stretch;
  }

  .afp-dashboard-resources__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .afp-dashboard-chip strong {
    font-size: 1.05rem;
  }

  .afp-project-form__image-card {
    padding: 0.75rem;
  }
}

.mt-20 {
  margin-top: 20px;
}
.margin {
  margin-top: 7rem;
}

@media (max-width: 640px) {
  .afp-dashboard-resources__grid {
    grid-template-columns: 1fr;
  }
  .margin {
    margin-top: 4rem;
  }
}
