:root {
  --app-error: #b42318;
  --app-error-bg: #fff1ef;
  --app-success: #128253;
  --app-border: #d5dfda;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.application-page {
  min-width: 320px;
  background: #f3f5f0;
}

.application-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(6, 61, 44, 0.1);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(16px);
}

.application-nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.application-header-tools,
.save-status {
  display: flex;
  align-items: center;
}

.application-header-tools {
  gap: 22px;
}

.save-status {
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.save-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #91a39c;
}

.save-status.is-saving .save-dot {
  background: var(--sun);
  animation: pulse 1s infinite;
}

.save-status.is-saved .save-dot {
  background: var(--app-success);
}

.save-status.is-error .save-dot {
  background: var(--app-error);
}

@keyframes pulse {
  50% { opacity: 0.35; }
}

.exit-link {
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(6,61,44,0.25);
  text-underline-offset: 4px;
}

.application-shell {
  max-width: 1060px;
  padding: 58px 0 90px;
}

.application-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 27px;
}

.application-intro h1 {
  margin-bottom: 14px;
  font-size: clamp(44px, 6vw, 68px);
}

.application-intro > div:first-child > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
}

.security-note {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid var(--app-border);
  border-radius: 14px;
  background: var(--white);
}

.security-note svg {
  width: 24px;
  height: 24px;
  color: var(--leaf);
}

.security-note strong,
.security-note small {
  display: block;
  line-height: 1.3;
}

.security-note strong {
  color: var(--forest);
  font-size: 12px;
}

.security-note small {
  color: var(--muted);
  font-size: 10px;
}

.private-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid #cbded4;
  border-radius: 16px;
  background: #eaf4ee;
}

.disclosure-icon {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--leaf);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 700;
}

.private-disclosure strong {
  display: block;
  color: var(--forest);
  font-size: 13px;
}

.private-disclosure p {
  margin: 3px 0 0;
  color: #4d675e;
  font-size: 12px;
  line-height: 1.55;
}

.private-disclosure a {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: underline;
}

.application-progress {
  position: relative;
  display: grid;
  margin: 0 12px 27px;
  grid-template-columns: repeat(7, 1fr);
}

.application-progress::before {
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: #d6ded9;
  content: "";
}

.progress-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px;
  border: 0;
  color: #788a84;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.progress-step span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 2px solid #d6ded9;
  border-radius: 50%;
  color: #71847d;
  background: #f3f5f0;
  font-size: 11px;
}

.progress-step.is-current {
  color: var(--forest);
}

.progress-step.is-current span {
  color: var(--forest);
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(217,239,111,0.25);
}

.progress-step.is-complete span {
  color: var(--white);
  border-color: var(--leaf);
  background: var(--leaf);
}

.progress-step:disabled {
  cursor: default;
}

.progress-step:not(:disabled) {
  cursor: pointer;
}

.mobile-progress {
  display: none;
}

.form-card {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--app-border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 20px 55px rgba(6, 61, 44, 0.08);
}

#application-form {
  padding: clamp(28px, 5vw, 54px);
}

.form-loading {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border-radius: inherit;
  color: var(--forest);
  background: var(--white);
}

.form-loading[hidden] {
  display: none;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--soft-green);
  border-top-color: var(--leaf);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
  padding-bottom: 27px;
  border-bottom: 1px solid #e6ece8;
}

.form-head h2 {
  margin-bottom: 8px;
  font-size: clamp(33px, 4vw, 46px);
  line-height: 1.05;
}

.form-head p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.applicant-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--soft-green);
  font-size: 11px;
  font-weight: 850;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 20px;
}

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

.field-full {
  grid-column: 1 / -1;
}

.app-field {
  min-width: 0;
}

.app-field label,
.field-label {
  display: block;
  margin-bottom: 7px;
  color: #26463c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.required-mark {
  margin-left: 2px;
  color: var(--app-error);
}

.field-help {
  display: block;
  margin: 6px 0 0;
  color: #73857f;
  font-size: 10px;
  line-height: 1.45;
}

.app-field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.app-field select,
.app-field textarea,
.input-like {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bfcfc7;
  border-radius: 10px;
  color: var(--ink);
  background: #fdfefa;
  box-shadow: inset 0 1px 0 rgba(6,61,44,0.02);
  transition: border 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.app-field textarea {
  min-height: 105px;
  resize: vertical;
}

.app-field select {
  cursor: pointer;
}

.app-field .select-filter {
  min-height: 42px !important;
  margin-bottom: 8px;
}

.app-field input:focus,
.app-field select:focus,
.app-field textarea:focus {
  border-color: var(--leaf) !important;
  outline: 0;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(28,118,80,0.11) !important;
}

.app-date-control {
  position: relative;
}

.app-date-control > input:first-child {
  padding-right: 50px !important;
}

.app-date-control button {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: var(--leaf);
  background: transparent;
  cursor: pointer;
}

.app-date-control button:hover,
.app-date-control button:focus-visible {
  outline: 0;
  background: var(--soft-green);
}

.app-date-control button svg {
  width: 20px;
  height: 20px;
}

.app-date-control .native-date-proxy {
  position: absolute !important;
  right: 0;
  bottom: 0;
  width: 1px !important;
  min-height: 0 !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.app-field.has-error input,
.app-field.has-error select,
.app-field.has-error textarea {
  border-color: var(--app-error);
  background: #fffafa;
}

.validation-message {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  color: var(--app-error);
  font-size: 11px;
  font-weight: 700;
}

.validation-message::before {
  content: "!";
}

.form-section {
  margin-top: 44px;
  padding-top: 33px;
  border-top: 1px solid #e2e9e5;
}

.form-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.section-title {
  margin-bottom: 22px;
}

.section-title h3 {
  margin-bottom: 5px;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 500;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.conditional-panel {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid #d9e5dd;
  border-radius: 16px;
  background: #f4f8f3;
}

.minor-notice,
.business-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding: 15px 17px;
  border-radius: 13px;
  color: #405c52;
  background: #fff7da;
  font-size: 12px;
}

.minor-notice strong,
.business-notice strong {
  color: var(--forest);
}

.upload-grid {
  display: grid;
  gap: 18px;
}

.upload-card {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 150px;
  padding: 23px;
  border: 1.5px dashed #9cb1a7;
  border-radius: 16px;
  background: #fbfcf9;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
}

.upload-card.has-file {
  border-style: solid;
  border-color: #bcd7c8;
  background: #f5faf6;
}

.upload-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  color: var(--forest);
  background: var(--lime);
}

.upload-icon svg {
  width: 25px;
  height: 25px;
}

.upload-copy h3 {
  margin-bottom: 5px;
  color: var(--forest);
  font-size: 15px;
}

.upload-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
}

.upload-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.upload-button,
.small-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.small-button.secondary {
  color: var(--forest);
  border-color: #c9d8d0;
  background: var(--white);
}

.small-button.danger {
  color: var(--app-error);
  border-color: #f2c9c5;
  background: #fff8f7;
}

.file-summary {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.file-thumbnail {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #cbd9d1;
  border-radius: 10px;
  background: var(--white);
}

.file-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-name {
  display: block;
  max-width: 340px;
  overflow: hidden;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-success {
  display: block;
  margin-top: 2px;
  color: var(--app-success);
  font-size: 10px;
  font-weight: 750;
}

.additional-files {
  grid-column: 1 / -1;
  display: grid;
  margin-top: 13px;
  gap: 8px;
}

.additional-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--white);
}

.additional-file span {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passport-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
  gap: 32px;
}

.passport-preview {
  position: sticky;
  top: 108px;
  overflow: hidden;
  border: 1px solid #d1ddd6;
  border-radius: 18px;
  background: #edf1ed;
}

.preview-toolbar {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  border-bottom: 1px solid #d1ddd6;
  color: var(--forest);
  background: var(--white);
}

.preview-toolbar strong {
  font-size: 11px;
}

.preview-controls {
  display: flex;
  gap: 5px;
}

.preview-controls button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: var(--soft-green);
  font-size: 18px;
  cursor: pointer;
}

.preview-stage {
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: auto;
  padding: 25px;
}

.preview-stage img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  transform-origin: center;
  transition: transform 0.15s ease;
}

.preview-empty {
  max-width: 220px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.stay-field,
.phone-field {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 10px;
}

.phone-field {
  grid-template-columns: minmax(170px, 0.75fr) 1.25fr;
}

.form-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 46px;
  padding-top: 27px;
  border-top: 1px solid #e2e9e5;
}

.form-navigation .nav-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-navigation .btn {
  min-width: 150px;
}

.form-navigation button[disabled],
.review-payment button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.save-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #efb9b3;
  border-radius: 13px;
  color: #7a271a;
  background: var(--app-error-bg);
  font-size: 12px;
}

.save-error[hidden] { display: none; }

.save-error button {
  flex: 0 0 auto;
  border: 0;
  color: #7a271a;
  background: transparent;
  font-weight: 850;
  text-decoration: underline;
  cursor: pointer;
}

.app-dialog {
  width: min(660px, calc(100vw - 30px));
  max-height: calc(100vh - 30px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0,0,0,0.24);
}

.app-dialog::backdrop {
  background: rgba(3, 31, 23, 0.7);
  backdrop-filter: blur(7px);
}

.dialog-card {
  padding: 32px;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-head h2 {
  margin-bottom: 13px;
  font-size: 38px;
}

.dialog-close {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: var(--soft-green);
  font-size: 23px;
  cursor: pointer;
}

.dialog-card > p {
  color: var(--muted);
  font-size: 13px;
}

.crop-stage {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 3 / 4;
  margin: 24px auto;
  overflow: hidden;
  border: 2px solid var(--leaf);
  border-radius: 18px;
  background: #dce3df;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.4);
}

.crop-stage::after {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(255,255,255,0.75);
  border-radius: 45% 45% 38% 38%;
  content: "";
  pointer-events: none;
}

.crop-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.crop-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.crop-controls label {
  color: var(--forest);
  font-size: 11px;
  font-weight: 800;
}

.crop-controls input {
  display: block;
  width: 100%;
  margin-top: 8px;
  accent-color: var(--leaf);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.copy-options {
  display: grid;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--app-border);
  border-radius: 14px;
  gap: 12px;
}

.copy-options legend {
  padding: 0 7px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 850;
}

.copy-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.copy-options input,
.confirmation-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--leaf);
}

.applicant-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.applicant-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--app-border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.applicant-tab.is-active {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
}

.review-list {
  display: grid;
  gap: 16px;
}

.applicant-review {
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: 17px;
  background: var(--white);
}

.applicant-review summary {
  position: relative;
  display: grid;
  align-items: center;
  padding: 22px 58px 22px 22px;
  cursor: pointer;
  list-style: none;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
}

.applicant-review summary::-webkit-details-marker { display: none; }

.applicant-review summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "+";
  font-size: 22px;
  transform: translateY(-50%);
}

.applicant-review[open] summary::after { content: "−"; }

.review-check {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--app-success);
}

.review-person strong,
.review-person span {
  display: block;
}

.review-person strong {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 500;
}

.review-person span {
  color: var(--muted);
  font-size: 11px;
}

.edit-applicant {
  color: var(--leaf);
  font-size: 11px;
  font-weight: 850;
  text-decoration: underline;
}

.review-body {
  display: grid;
  padding: 0 22px 24px;
  border-top: 1px solid #e4ebe7;
  background: #fafcf9;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
}

.review-section {
  padding: 20px 0;
  border-bottom: 1px solid #e4ebe7;
}

.review-section h4 {
  margin: 0 0 9px;
  color: var(--forest);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-section dl {
  display: grid;
  margin: 0;
  grid-template-columns: 1fr 1.2fr;
  gap: 6px 10px;
  font-size: 11px;
}

.review-section dt { color: #7a8c85; }
.review-section dd { margin: 0; color: #344f46; font-weight: 700; }

.pricing-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: 17px;
  color: var(--white);
  background: var(--forest);
}

.pricing-card h3 {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: #c5d7cf;
  font-size: 12px;
}

.price-line strong { color: var(--white); }
.price-line.total { border-bottom: 0; color: var(--white); font-size: 15px; font-weight: 850; }
.price-note { margin: 10px 0 0; color: #a8c0b5; font-size: 10px; }

.confirmation-list {
  display: grid;
  margin-top: 28px;
  gap: 12px;
}

.confirmation-list label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--app-border);
  border-radius: 13px;
  color: #425f55;
  font-size: 12px;
  cursor: pointer;
}

.confirmation-list input { flex: 0 0 auto; margin-top: 1px; }
.confirmation-list a { color: var(--leaf); font-weight: 850; text-decoration: underline; }

.review-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid #e2e9e5;
}

.review-payment > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.application-footer {
  padding: 26px 0;
  color: #a4bbb1;
  background: #05291f;
}

.application-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.application-footer p {
  margin: 0;
  font-size: 11px;
}

.application-footer strong { color: var(--white); }

.application-footer div div {
  display: flex;
  gap: 18px;
}

.application-footer a {
  color: #c5d5ce;
  font-size: 11px;
}

@media (max-width: 900px) {
  .application-progress { display: none; }

  .mobile-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 13px 16px;
    border-radius: 13px;
    color: var(--white);
    background: var(--forest);
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-progress::after {
    width: 72px;
    height: 5px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--lime) var(--progress, 14%), rgba(255,255,255,0.18) var(--progress, 14%));
    content: "";
  }

  .passport-layout { grid-template-columns: 1fr; }
  .passport-preview { position: static; }
  .preview-stage { min-height: 300px; }
  .form-grid.three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 660px) {
  .application-nav { min-height: 68px; }
  .application-header-tools { gap: 12px; }
  .save-status { display: none; }
  .exit-link { font-size: 11px; }
  .application-shell { padding: 38px 0 65px; }
  .application-intro { align-items: flex-start; flex-direction: column; gap: 20px; }
  .application-intro h1 { font-size: 45px; }
  .security-note { width: 100%; }
  .private-disclosure { padding: 16px; }
  .form-card { border-radius: 19px; }
  #application-form { padding: 24px 18px; }
  .form-head { flex-direction: column; gap: 16px; margin-bottom: 28px; }
  .form-head h2 { font-size: 34px; }
  .form-grid,
  .form-grid.three,
  .review-body { grid-template-columns: 1fr; }
  .field-full,
  .conditional-panel { grid-column: auto; }
  .upload-card { align-items: start; grid-template-columns: 44px minmax(0, 1fr); padding: 18px; }
  .upload-icon { width: 44px; height: 44px; }
  .upload-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .file-summary { grid-column: 1 / -1; }
  .form-navigation { align-items: stretch; flex-direction: column-reverse; }
  .form-navigation .nav-group { width: 100%; flex-direction: column-reverse; }
  .form-navigation .btn { width: 100%; }
  .stay-field,
  .phone-field { grid-template-columns: 1fr; }
  .preview-stage { min-height: 230px; padding: 16px; }
  .crop-controls { grid-template-columns: 1fr; }
  .dialog-card { padding: 24px 19px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .btn { width: 100%; }
  .applicant-review summary { grid-template-columns: 38px minmax(0, 1fr); }
  .edit-applicant { grid-column: 2; }
  .review-payment { align-items: stretch; flex-direction: column; }
  .review-payment .btn { width: 100%; }
  .application-footer .container { align-items: flex-start; flex-direction: column; }
}
