/* ===================================================
   Southwest Energy — Steel & Gold theme
   =================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Hides content visually while keeping it readable to screen readers — unlike
   display:none, which removes content from assistive tech too. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hidden the same way as .sr-only until it receives keyboard focus, at which
   point it becomes visible so a keyboard/screen-reader user can see and use
   it to jump straight past the repeated header/logo section on every page. */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  z-index: 9999;
  background: var(--swe-gold);
  color: #18181f;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
}

.dirA {
  --swe-bg:          #18181f;
  --swe-surface:     #22222c;
  --swe-surface2:    #2c2c38;
  --swe-border:      #3a3a4a;
  --swe-border2:     #4a4a5a;
  --swe-text:        #e8e8f0;
  --swe-text-dim:    #9898a8;
  --swe-gold:        #d4a017;
  --swe-gold-bright: #f0c030;
  --swe-gold-dim:    #8a6810;
  --swe-accent:      #c8960f;
  --swe-danger:      #e05050;

  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  background: var(--swe-bg);
  color: var(--swe-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dirA > .site-footer { margin-top: auto; }

/* ── Topbar ── */
.dirA .topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 32px;
  background: #0d0d12;
  border-bottom: 1px solid var(--swe-gold-dim);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--swe-text-dim);
}

/* ── Hero (split panel) ── */
.dirA .hero {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  min-height: 420px;
  background: var(--swe-surface);
  border-bottom: 3px solid var(--swe-gold);
}

.dirA .hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px 64px 48px;
  background: #18181f;
}

.dirA .hero-divider {
  background: var(--swe-gold);
  opacity: 0.4;
  width: 1px;
}

.dirA .hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 40px;
  background: #18181f;
  gap: 20px;
}

.dirA .hero-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--swe-gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.dirA .hero-motto {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--swe-text);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.dirA .hero-motto em {
  color: var(--swe-gold);
  font-style: normal;
}

.dirA .hero-meta {
  font-size: 13px;
  color: var(--swe-text-dim);
  line-height: 1.6;
  max-width: 380px;
}

.dirA .hero-meta strong { color: var(--swe-text); }

/* Logo cluster (right panel) */
.dirA .main-logo-wrap {
  display: flex;
  justify-content: center;
}

.dirA .main-logo-wrap img {
  height: 160px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(212,160,23,0.25));
}

.dirA .logo-placeholder {
  height: 160px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--swe-gold-dim);
  border-radius: 6px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--swe-gold);
}

.dirA .logo-divider-h {
  width: 80%;
  height: 1px;
  background: var(--swe-border);
}

.dirA .partner-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dirA .partner-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dirA .partner-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid var(--swe-border2);
}

.dirA .partner-logo-placeholder {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--swe-surface2);
  border: 1px solid var(--swe-border2);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--swe-text-dim);
  text-align: center;
  padding: 6px;
}

.dirA .partner-logo-name {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--swe-text-dim);
  text-align: center;
  max-width: 90px;
}

/* ── Apply Now strip ── */
.dirA .apply-strip {
  background: var(--swe-gold);
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dirA .apply-strip-text {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d12;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dirA .apply-strip-sub {
  font-size: 12px;
  font-weight: 400;
  color: #3a2a00;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0;
}

/* ── App Picker ── */
.dirA .picker {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px;
}

.dirA .section-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--swe-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.dirA .section-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--swe-text);
  margin-bottom: 32px;
}

.dirA .app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dirA .app-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--swe-surface);
  border: 1px solid var(--swe-border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.dirA .app-card:hover {
  border-color: var(--swe-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(212,160,23,0.15);
}

.dirA .app-card-top {
  height: 6px;
  background: var(--swe-gold);
}

.dirA .app-card:nth-child(2) .app-card-top { background: #8ab4c8; }
.dirA .app-card:nth-child(3) .app-card-top { background: #a87c4a; }

.dirA .app-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dirA .app-card-num {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--swe-text-dim);
  margin-bottom: 10px;
}

.dirA .app-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--swe-text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.dirA .app-card-desc {
  font-size: 13px;
  color: var(--swe-text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.dirA .app-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.dirA .tag {
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--swe-border2);
  border-radius: 2px;
  color: var(--swe-text-dim);
}

.dirA .app-card-cta {
  display: inline-block;
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--swe-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--swe-gold-dim);
  padding-bottom: 2px;
  transition: color 0.15s;
}

/* ── Slim marquee (apply pages) ── */
.dirA .marquee--slim {
  background: linear-gradient(90deg, #0d0d12 0%, #18181f 100%);
  border-bottom: 3px solid var(--swe-gold);
  padding: 32px 48px;
}

.dirA .marquee-inner {
  max-width: 900px;
  margin: 0 auto;
}

.dirA .back-link {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--swe-gold);
  text-decoration: none;
  margin-bottom: 20px;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.dirA .back-link:hover { opacity: 1; }

.dirA .logo-strip--slim {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.dirA .slim-logo-divider {
  width: 1px;
  height: 84px;
  background: var(--swe-border2);
}

.dirA .slim-partner-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dirA .slim-partner-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dirA .slim-partner-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 3px;
  border: 1px solid var(--swe-border2);
}

.dirA .slim-partner-placeholder {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--swe-surface2);
  border: 1px solid var(--swe-border2);
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--swe-text-dim);
  text-align: center;
  padding: 6px;
}

.dirA .slim-partner-name {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--swe-text-dim);
}

.dirA .h1-slim {
  font-size: 28px;
  font-weight: 900;
  color: var(--swe-text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.dirA .lede {
  font-size: 14px;
  color: var(--swe-text-dim);
}

.dirA .form-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--swe-gold);
  border: 1px solid var(--swe-gold-dim);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}

/* ── App region ── */
.dirA .app-region {
  background: var(--swe-bg);
  padding: 48px 32px;
}

.dirA .app-region-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ── Form sections ── */
.dirA .swe-section {
  background: var(--swe-surface);
  border: 1px solid var(--swe-border);
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
}

.dirA .swe-section-head {
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--swe-border);
  background: var(--swe-surface2);
}

.dirA .swe-section-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--swe-gold);
}

.dirA .swe-section-sub {
  font-size: 12px;
  color: var(--swe-text-dim);
  margin-top: 2px;
}

.dirA .swe-section-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Collapsible sections / subcards ── */
.dirA .swe-collapsible-head {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Whatever the header already contained (title+subtitle, "Reference 1",
   a pre-existing Remove button) stays as-is — this just makes the first
   item grow so the new badge/chevron hug the right edge instead of the
   header's own children getting redistributed by justify-content. */
.dirA .swe-collapsible-head > :first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.dirA .swe-collapsible-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dirA .swe-collapsible-chevron {
  color: var(--swe-text-dim);
  font-size: 12px;
  display: inline-block;
  transition: transform .15s ease;
}

.dirA .is-collapsed .swe-collapsible-chevron {
  transform: rotate(180deg);
}

.dirA .swe-section-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--swe-danger);
  white-space: nowrap;
}

.dirA .swe-section-badge.is-complete {
  color: #4caf81;
}

.dirA .is-collapsed .swe-collapsible-body {
  max-height: 0;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-top-width: 0 !important;
  border-bottom-width: 0 !important;
}

/* ── Month/Year picker (replaces <input type="month">, which Firefox
   doesn't support at all) ── */
.dirA .swe-monthyear {
  display: flex;
  gap: 6px;
}
.dirA .swe-monthyear .swe-my-month {
  flex: 1.4;
}
.dirA .swe-monthyear .swe-my-year {
  flex: 1;
}

/* ── Inline checklist (License type(s)) ── */
.dirA .swe-inline-checklist {
  margin-top: 8px;
}

/* ── Grid ── */
.dirA .swe-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
}

/* ── Autocomplete background override ── */
/* Chrome/Safari/Edge (WebKit/Blink) ignore plain background-color on
   autofilled inputs, so they need this box-shadow trick instead. */
.dirA input:-webkit-autofill,
.dirA input:-webkit-autofill:hover,
.dirA input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px var(--swe-bg) inset !important;
  -webkit-text-fill-color: var(--swe-text) !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* Firefox doesn't recognize :-webkit-autofill at all — it has its own
   pale-yellow autofill highlight and nothing above touches it, so a
   previously-saved email/phone/date would clash with the dark theme.
   The unprefixed :autofill (Firefox 51+) fixes it; Firefox honors plain
   background-color/color here, no box-shadow hack needed. Kept as a
   separate rule (not merged into the list above) so a browser that
   doesn't understand one pseudo-class can't invalidate the other rule. */
.dirA input:autofill,
.dirA input:autofill:hover,
.dirA input:autofill:focus {
  background-color: var(--swe-bg) !important;
  color: var(--swe-text) !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* ── Money prefix wrapper ── */
.dirA .swe-money-wrap {
  position: relative;
}
.dirA .swe-money-wrap::before {
  content: '$';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--swe-text-dim);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
.dirA .swe-money-wrap .swe-input {
  padding-left: 22px;
}

/* ── Application banner (name / email confirmation) ── */
.dirA .swe-app-banner {
  background: var(--swe-surface2);
  border: 1px solid var(--swe-border);
  border-radius: 4px;
  padding: 10px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--swe-text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dirA .swe-app-banner strong { color: var(--swe-text); }

/* ── Repeating rows (education / work history / references) ── */
.dirA .swe-repeating-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--swe-border2);
  margin-top: 32px;
}
.dirA .swe-subcard-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* First row has no divider above it */
.dirA [data-edu-list]  > .swe-repeating-row:first-child,
.dirA [data-job-list]  > .swe-repeating-row:first-child,
.dirA [data-ref-list]  > .swe-repeating-row:first-child,
.dirA [data-prev-address-list] > .swe-repeating-row:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* ── Fields ── */
.dirA .swe-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dirA .swe-field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--swe-text-dim);
  font-weight: 600;
}
.dirA .swe-field-label--tall {
  display: block;
  min-height: 26px;
  line-height: 1.3;
}

.dirA .swe-req { color: var(--swe-gold); margin-left: 2px; }

.dirA .swe-field--error .swe-field-label { color: var(--swe-danger); }
.dirA .swe-field--error .swe-input,
.dirA .swe-field--error .swe-check-stack,
.dirA .swe-field--error .swe-radio-row {
  outline: 2px solid var(--swe-danger);
  outline-offset: 3px;
  border-radius: 4px;
}

.dirA .swe-input {
  background: var(--swe-bg);
  border: 1px solid var(--swe-border);
  border-radius: 3px;
  color: var(--swe-text);
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

/* Native date inputs render their own day/month/year segments and calendar icon using the
   browser's built-in appearance — stripping that with appearance:none (as the generic
   .swe-input rule above does for text/email/etc.) makes mobile Safari/Chrome under-render the
   value text and collapse the field's height. Restore native appearance just for date inputs,
   with min-height so the field still lines up with other inputs on the same form. */
.dirA input[type="date"].swe-input {
  appearance: auto;
  -webkit-appearance: auto;
  min-height: 42px;
}

.dirA .swe-input:focus {
  outline: none;
  border-color: var(--swe-gold);
  box-shadow: 0 0 0 2px rgba(212,160,23,0.15);
}

.dirA .swe-input.is-invalid {
  border-color: var(--swe-danger);
  box-shadow: 0 0 0 2px rgba(224,80,80,0.15);
}

.dirA select.swe-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239898a8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* ── Radio ── */
.dirA .swe-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.dirA .swe-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--swe-border);
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--swe-bg);
}

.dirA .swe-radio.is-on {
  border-color: var(--swe-gold);
  background: rgba(212,160,23,0.08);
}

.dirA .swe-radio input { display: none; }

.dirA .swe-radio-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--swe-border2);
  flex-shrink: 0;
  transition: border-color 0.15s;
}

.dirA .swe-radio.is-on .swe-radio-dot {
  border-color: var(--swe-gold);
  background: var(--swe-gold);
  box-shadow: inset 0 0 0 3px var(--swe-surface);
}

/* ── Checkbox ── */
.dirA .swe-check-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; }
.dirA .swe-check-row { display: flex; flex-wrap: wrap; gap: 6px; }

.dirA .swe-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--swe-border);
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--swe-bg);
}

.dirA .swe-check.is-on {
  border-color: var(--swe-gold);
  background: rgba(212,160,23,0.08);
}

.dirA .swe-check input { display: none; }

.dirA .swe-check-box {
  width: 16px;
  height: 16px;
  border: 2px solid var(--swe-border2);
  border-radius: 2px;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}

.dirA .swe-check.is-on .swe-check-box {
  border-color: var(--swe-gold);
  background: var(--swe-gold);
}

.dirA .swe-check.is-on .swe-check-box::after {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 1px;
  width: 6px; height: 9px;
  border: 2px solid #0d0d12;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

/* ── Prose & lists ── */
.dirA .swe-prose {
  font-size: 13px;
  color: var(--swe-text-dim);
  line-height: 1.7;
}

.dirA .swe-sig-statements {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--swe-bg);
  border: 1px solid var(--swe-border);
  border-radius: 4px;
  padding: 16px 20px;
  max-height: 260px;
  overflow-y: auto;
}

.dirA .swe-sig-statements p {
  font-size: 12px;
  color: var(--swe-text-dim);
  line-height: 1.65;
}

.dirA .swe-sig-statements strong { color: var(--swe-text); }

.dirA .swe-fineprint {
  font-size: 11px;
  color: var(--swe-text-dim);
  line-height: 1.6;
  font-style: italic;
  border-left: 2px solid var(--swe-border2);
  padding-left: 12px;
}

.dirA .swe-batfe-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dirA .swe-batfe-list li {
  font-size: 13px;
  color: var(--swe-text-dim);
  line-height: 1.6;
}

.dirA .swe-qual-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dirA .swe-qual-row {
  font-size: 13px;
  color: var(--swe-text-dim);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dirA .swe-prev-address {
  font-size: 13px;
  color: var(--swe-text-dim);
}

.dirA .swe-prev-address strong { color: var(--swe-text); }

/* ── Buttons ── */
.dirA .swe-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.dirA .swe-btn-primary {
  padding: 12px 28px;
  background: var(--swe-gold);
  color: #0d0d12;
  border: none;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.dirA .swe-btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dirA .swe-btn-primary:not(:disabled):hover { background: var(--swe-gold-bright); }

.dirA .swe-btn-secondary {
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--swe-border2);
  color: var(--swe-text-dim);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  font-family: inherit;
}

.dirA .swe-btn-secondary:hover {
  border-color: var(--swe-gold);
  color: var(--swe-text);
}

.dirA .swe-btn-ghost {
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: var(--swe-text-dim);
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}

.dirA .swe-btn-ghost:hover { color: var(--swe-danger); }

/* ── Success ── */
.dirA .swe-success {
  text-align: center;
  padding: 64px 24px;
}

.dirA .swe-success-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(212,160,23,0.12);
  border: 2px solid var(--swe-gold);
  color: var(--swe-gold);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.dirA .swe-success h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--swe-text);
  margin-bottom: 8px;
}

.dirA .swe-success p {
  font-size: 14px;
  color: var(--swe-text-dim);
  margin-bottom: 24px;
}

/* ── Footer ── */
.dirA .site-footer {
  background: #0d0d12;
  border-top: 1px solid var(--swe-border);
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--swe-text-dim);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   Mobile-responsive overrides (phone-first at ≤640px)
   ============================================================ */
@media (max-width: 640px) {
  /* iOS/mobile Safari auto-zooms the whole page on focus for any input/select/textarea
     with a font-size under 16px — it's not a manual pinch-zoom, so user-scalable=no in the
     viewport meta tag doesn't stop it. Bumping to 16px only on mobile keeps the desktop
     14px sizing unchanged while stopping the zoom-on-focus behavior. */
  .dirA .swe-input,
  .dirA select.swe-input,
  .dirA textarea.swe-input {
    font-size: 16px;
  }

  .dirA .topbar {
    padding: 8px 16px;
    font-size: 9.5px;
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

  .dirA .hero {
    display: flex;
    flex-direction: column;
    min-height: unset;
  }
  .dirA .hero-divider { display: none; }
  .dirA .hero-left {
    padding: 36px 24px 28px;
    order: 2;
  }
  .dirA .hero-right {
    padding: 32px 24px 24px;
    order: 1;
    gap: 20px;
  }

  .dirA .hero-motto {
    font-size: clamp(24px, 7vw, 36px);
  }
  .dirA .hero-meta { max-width: 100%; }

  .dirA .main-logo-wrap img { height: 110px; }
  .dirA .logo-placeholder { height: 110px; }
  .dirA .partner-logos { gap: 14px; }
  .dirA .partner-logo-img { width: 64px; height: 64px; }
  .dirA .partner-logo-placeholder { width: 64px; height: 64px; }
  .dirA .partner-logo-name { font-size: 8px; max-width: 70px; }

  .dirA .apply-strip {
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dirA .picker { padding: 32px 16px; }
  .dirA .app-grid {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }
  .dirA .app-card { display: flex; flex-direction: column; }
  .dirA .app-card-top { height: 4px; }
  .dirA .app-card-body { padding: 20px 18px; }
  .dirA .section-heading { font-size: 18px; }

  .dirA .marquee--slim { padding: 28px 16px; }
  .dirA .marquee-inner { text-align: center; }
  .dirA .back-link {
    display: block;
    text-align: center;
    margin-bottom: 16px;
  }
  .dirA .logo-strip--slim {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
  }
  .dirA .slim-logo-divider { display: none; }
  .dirA .slim-partner-logos {
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .dirA .slim-partner-wrap { flex-direction: column; align-items: center; gap: 6px; }
  .dirA .slim-partner-placeholder { width: 84px; height: 84px; }
  .dirA .slim-partner-name { text-align: center; }
  .dirA .form-badge { display: block; text-align: center; }
  .dirA .h1-slim { text-align: center; }
  .dirA .lede { text-align: center; }

  .dirA .swe-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .dirA .app-region { padding: 24px 12px; }
  .dirA .swe-section-body { padding: 16px; gap: 12px; }
  .dirA .swe-grid {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
  }
  .dirA .swe-grid > * { grid-column: unset !important; }

  /* .swe-check-stack (Departments) is a separate grid from .swe-grid, so
     the override above never touched it — without this it would stay a
     hard-coded 2 columns even on a phone, cramping labels like
     "Operations/Maintenance" into ~147px. */
  .dirA .swe-check-stack { grid-template-columns: 1fr; }

  .dirA .site-footer {
    padding: 16px;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    text-align: center;
  }
}
