:root {
  color-scheme: dark;
  --bg: #090b0e;
  --bg-soft: #0d1014;
  --panel: #12161b;
  --panel-2: #171c22;
  --line: #293039;
  --line-soft: #20262d;
  --text: #f7f7f4;
  --muted: #9ca5af;
  --muted-2: #6f7882;
  --orange: #ff7a1a;
  --orange-2: #ff9a4f;
  --danger: #ff4b3e;
  --success: #58c983;
  --shadow: 0 20px 60px rgba(0, 0, 0, .34);
  --radius: 22px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% -10%, rgba(255, 122, 26, .11), transparent 28rem),
    linear-gradient(180deg, #0b0e11 0%, var(--bg) 58%, #07090b 100%);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.app-shell {
  width: min(100%, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  padding: calc(18px + var(--safe-top)) clamp(18px, 4vw, 48px) calc(34px + var(--safe-bottom));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #090b0e;
  background: var(--orange);
  border-radius: 13px;
  box-shadow: 0 8px 26px rgba(255, 122, 26, .22);
}

.brand-mark .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.brand-copy { line-height: 1.06; }
.brand-name { display: block; font-size: 15px; font-weight: 800; letter-spacing: .065em; }
.brand-label { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }

.top-action, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(18, 22, 27, .8);
  border-radius: 999px;
  cursor: pointer;
}

.top-action {
  min-height: 42px;
  padding: 0 15px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.top-action:hover, .top-action:focus-visible { color: var(--text); border-color: #414b56; }

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .icon, .tile-icon .icon, .success-icon .icon { fill: none; stroke: currentColor; }
.eyebrow {
  margin: 0 0 11px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(34px, 7vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.page-title { font-size: clamp(31px, 5vw, 54px); }
.lead {
  max-width: 690px;
  margin-bottom: clamp(27px, 4vw, 43px);
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  width: 100%;
}

.service-tile {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(18px, 4vw, 27px);
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, rgba(24, 29, 35, .98), rgba(15, 18, 22, .98));
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.service-tile::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -52px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 122, 26, .08), transparent 68%);
}

.service-tile:hover, .service-tile:focus-visible {
  z-index: 1;
  transform: translateY(-3px);
  border-color: rgba(255, 122, 26, .6);
  background: linear-gradient(145deg, #1b2026, #11151a);
  outline: none;
}

.service-tile.emergency { border-color: rgba(255, 75, 62, .35); }
.service-tile.emergency .tile-icon { color: #fff; background: var(--danger); }
.service-tile.emergency:hover { border-color: rgba(255, 75, 62, .75); }

.tile-icon {
  display: grid;
  place-items: center;
  width: clamp(47px, 11vw, 61px);
  height: clamp(47px, 11vw, 61px);
  color: var(--orange);
  background: rgba(255, 122, 26, .11);
  border: 1px solid rgba(255, 122, 26, .18);
  border-radius: 17px;
}

.tile-icon .icon { width: 52%; height: 52%; }
.tile-copy { position: relative; z-index: 1; }
.tile-title {
  display: block;
  max-width: 11ch;
  font-size: clamp(15px, 3.7vw, 21px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.tile-kicker { display: block; margin-top: 7px; color: var(--muted-2); font-size: 11px; }

.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 29px;
  padding: 20px 2px 0;
  color: var(--muted-2);
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
}

.text-button {
  padding: 0;
  color: var(--orange-2);
  border: 0;
  background: none;
  font-weight: 700;
  cursor: pointer;
}

.back-row { margin: -9px 0 25px; }
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--muted);
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.back-button:hover { color: var(--text); }
.back-button .icon { width: 19px; height: 19px; }

.sublist-wrap, .form-wrap, .result-wrap, .status-wrap { width: min(100%, 780px); margin: 0 auto; }
.sublist { display: grid; gap: 10px; }
.sublist-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 76px;
  gap: 16px;
  padding: 13px 16px;
  text-align: left;
  border: 1px solid var(--line-soft);
  background: rgba(18, 22, 27, .94);
  border-radius: 17px;
  cursor: pointer;
  transition: border-color .16s ease, transform .16s ease;
}
.sublist-item:hover, .sublist-item:focus-visible { transform: translateX(3px); border-color: rgba(255, 122, 26, .55); outline: none; }
.sublist-item.emergency:hover { border-color: rgba(255, 75, 62, .65); }
.row-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  color: var(--orange);
  background: rgba(255, 122, 26, .09);
  border-radius: 14px;
}
.emergency .row-icon { color: var(--danger); background: rgba(255, 75, 62, .1); }
.row-icon .icon { width: 23px; height: 23px; }
.row-copy { min-width: 0; flex: 1; }
.row-title { display: block; font-size: 15px; font-weight: 750; line-height: 1.25; }
.row-sub { display: block; margin-top: 4px; color: var(--muted-2); font-size: 12px; }
.row-next { width: 19px; height: 19px; flex: 0 0 auto; color: var(--muted-2); }

.notice {
  display: flex;
  gap: 12px;
  margin: 0 0 20px;
  padding: 15px;
  color: #ffcbc5;
  background: rgba(255, 75, 62, .09);
  border: 1px solid rgba(255, 75, 62, .25);
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.45;
}
.notice .icon { width: 21px; height: 21px; flex: 0 0 auto; color: var(--danger); }

.selected-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 11px;
  color: #ffc798;
  background: rgba(255, 122, 26, .1);
  border: 1px solid rgba(255, 122, 26, .22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}
.selected-pill.emergency { color: #ffc2bc; background: rgba(255, 75, 62, .09); border-color: rgba(255, 75, 62, .22); }
.selected-pill .icon { width: 16px; height: 16px; }

.form-card, .status-card, .result-card {
  padding: clamp(19px, 5vw, 36px);
  background: rgba(16, 20, 24, .95);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label { color: #d9dde1; font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.required { color: var(--orange); }

input, textarea, select {
  width: 100%;
  color: var(--text);
  background: #0d1115;
  border: 1px solid #303740;
  border-radius: 13px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
input, select { min-height: 49px; padding: 0 14px; }
textarea { min-height: 126px; padding: 13px 14px; line-height: 1.45; resize: vertical; }
input::placeholder, textarea::placeholder { color: #606a75; }
input:focus, textarea:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 122, 26, .11); }
input[type="date"], input[type="time"] { color-scheme: dark; }

.reply-options { display: flex; flex-wrap: wrap; gap: 9px; }
.radio-option { position: relative; }
.radio-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-option span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid #303740;
  border-radius: 999px;
  cursor: pointer;
}
.radio-option input:checked + span { color: #fff; background: rgba(255, 122, 26, .12); border-color: var(--orange); }

.upload-box {
  display: grid;
  place-items: center;
  min-height: 144px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: rgba(13, 17, 21, .78);
  border: 1px dashed #3a434d;
  border-radius: 16px;
  cursor: pointer;
}
.upload-box:hover, .upload-box.dragover { color: var(--text); border-color: var(--orange); background: rgba(255, 122, 26, .04); }
.upload-box .icon { width: 29px; height: 29px; margin-bottom: 9px; color: var(--orange); }
.upload-box strong { display: block; margin-bottom: 5px; color: var(--text); font-size: 14px; }
.upload-box small { color: var(--muted-2); font-size: 11px; line-height: 1.4; }
.upload-box input { display: none; }

.file-list { display: grid; gap: 8px; margin-top: 10px; }
.file-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 10px 12px;
  background: #10151a;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.file-thumb { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; overflow: hidden; color: var(--orange); background: rgba(255, 122, 26, .09); border-radius: 9px; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb .icon { width: 19px; height: 19px; }
.file-meta { min-width: 0; flex: 1; }
.file-name { display: block; overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.file-size { display: block; margin-top: 3px; color: var(--muted-2); font-size: 10px; }
.remove-file { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: var(--muted); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.remove-file:hover { color: var(--danger); background: rgba(255, 75, 62, .08); }
.remove-file .icon { width: 17px; height: 17px; }

.helper { margin: 7px 0 0; color: var(--muted-2); font-size: 11px; line-height: 1.45; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 19px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.consent-row input { width: 17px; min-height: 17px; height: 17px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--orange); }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.primary-button, .secondary-button, .contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, border-color .16s ease;
}
.primary-button { width: 100%; margin-top: 21px; color: #121212; background: var(--orange); border: 1px solid var(--orange); }
.primary-button.emergency { color: #fff; background: var(--danger); border-color: var(--danger); }
.primary-button:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.07); }
.primary-button:disabled { opacity: .55; cursor: wait; }
.secondary-button { color: var(--text); background: #151a20; border: 1px solid var(--line); }
.primary-button .icon, .secondary-button .icon { width: 19px; height: 19px; }

.form-error {
  margin: 17px 0 0;
  padding: 12px 14px;
  color: #ffd0cc;
  background: rgba(255, 75, 62, .08);
  border: 1px solid rgba(255, 75, 62, .22);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
}

.spinner { width: 18px; height: 18px; border: 2px solid rgba(0, 0, 0, .25); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; }
.emergency .spinner { border-color: rgba(255, 255, 255, .25); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.result-card { text-align: center; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; color: #071009; background: var(--success); border-radius: 23px; box-shadow: 0 16px 34px rgba(88, 201, 131, .18); }
.success-icon.emergency { color: #fff; background: var(--danger); }
.success-icon .icon { width: 34px; height: 34px; stroke-width: 2.3; }
.result-card h1 { margin: 0 auto 12px; font-size: clamp(28px, 6vw, 43px); }
.result-card > p { max-width: 520px; margin: 0 auto 23px; color: var(--muted); line-height: 1.55; }
.reference-box { margin: 0 auto 23px; padding: 15px; background: #0b0f12; border: 1px solid var(--line); border-radius: 14px; }
.reference-box span { display: block; margin-bottom: 6px; color: var(--muted-2); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.reference-box strong { font-size: clamp(16px, 4vw, 22px); letter-spacing: .05em; }
.button-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.status-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; }
.status-card h2 { margin-bottom: 8px; font-size: clamp(24px, 5vw, 34px); }
.status-card > p { color: var(--muted); line-height: 1.5; }
.status-form .primary-button { width: auto; min-width: 120px; margin: 0; }
.status-result { margin-top: 20px; padding: 17px; background: #0d1115; border: 1px solid var(--line-soft); border-radius: 14px; }
.status-result dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; margin: 0; }
.status-result dt { color: var(--muted-2); font-size: 11px; }
.status-result dd { margin: 0; font-size: 12px; font-weight: 700; }
.status-badge { display: inline-flex; padding: 6px 9px; color: #ffd0a8; background: rgba(255, 122, 26, .1); border: 1px solid rgba(255, 122, 26, .22); border-radius: 999px; }

.contact-list { display: grid; gap: 10px; margin-top: 20px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 15px; background: #0d1115; border: 1px solid var(--line-soft); border-radius: 15px; }
.contact-card .row-icon { width: 44px; height: 44px; }
.contact-card-info { min-width: 0; flex: 1; }
.contact-card-info strong, .contact-card-info span { display: block; }
.contact-card-info span { margin-top: 4px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.contact-button { min-height: 40px; padding: 0 13px; color: var(--orange-2); background: rgba(255, 122, 26, .06); border: 1px solid rgba(255, 122, 26, .2); font-size: 12px; text-decoration: none; }
.contact-button.disabled { color: var(--muted-2); background: transparent; border-color: var(--line); pointer-events: none; }

.company-profile {
  margin-top: 22px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255, 122, 26, .06), rgba(18, 22, 27, .95));
  border: 1px solid rgba(255, 122, 26, .18);
  border-radius: 17px;
}
.company-profile h2 { margin-bottom: 13px; font-size: 17px; }
.credential-list { display: grid; gap: 9px; margin: 0; }
.credential-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 9px; border-top: 1px solid var(--line-soft); }
.credential-row dt { color: var(--muted-2); font-size: 11px; }
.credential-row dd { margin: 0; color: #d9dde1; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }

.offline-banner { margin-bottom: 18px; padding: 10px 13px; text-align: center; color: #ffe1c8; background: rgba(255, 122, 26, .09); border: 1px solid rgba(255, 122, 26, .18); border-radius: 12px; font-size: 11px; }

@media (min-width: 760px) {
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .service-tile { aspect-ratio: 1.12 / 1; }
  .home-view { max-width: 1060px; margin: 0 auto; }
}

@media (max-width: 620px) {
  .app-shell { padding-left: 14px; padding-right: 14px; }
  .topbar { margin-bottom: 30px; }
  .top-action .action-label { display: none; }
  .top-action { width: 42px; padding: 0; }
  .brand-name { font-size: 13px; }
  .brand-label { font-size: 9px; }
  h1 { max-width: 9ch; }
  .lead { max-width: 31ch; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-card, .status-card, .result-card { padding: 18px; border-radius: 20px; }
  .status-form { grid-template-columns: 1fr; }
  .status-form .primary-button { width: 100%; }
  .status-result dl { grid-template-columns: 1fr; gap: 4px; }
  .status-result dd { margin-bottom: 8px; }
  .home-footer { align-items: flex-start; flex-direction: column; gap: 9px; }
  .contact-card { align-items: flex-start; flex-wrap: wrap; }
  .contact-button { margin-left: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Approved ARMA front page and category-selection layout. */
.approved-shell {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(30px + var(--safe-top)) 18px calc(36px + var(--safe-bottom));
  color: #f6f7f8;
  background:
    radial-gradient(circle at 50% 8%, rgba(40, 51, 63, .16), transparent 32rem),
    linear-gradient(135deg, #111419 0%, #090b0e 48%, #0c0f13 100%);
}

.approved-home-shell {
  display: grid;
  place-items: start center;
}

.approved-home-view,
.approved-sublist-view {
  width: min(100%, 880px);
  margin: 0 auto;
}

.approved-brand {
  display: block;
  width: clamp(238px, 60vw, 425px);
  max-width: 100%;
  aspect-ratio: 425 / 132;
  margin: 2px auto 39px;
  color: #f6f7f8;
  background-image: url("./assets/reference/approved-home-reference.jpg");
  background-repeat: no-repeat;
  background-size: 167.294% auto;
  background-position: 50% 8.26%;
  user-select: none;
}

.approved-brand-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3.7vw, 20px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 12vw, 56px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: .01em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .7);
  visibility: hidden;
}

.approved-brand-a {
  position: relative;
  display: inline-block;
}

.approved-brand-bolt {
  position: absolute;
  left: 50%;
  top: 58%;
  width: .47em;
  height: .65em;
  color: #f38a19;
  fill: currentColor;
  stroke: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 6px rgba(243, 138, 25, .28));
}

.approved-brand-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  color: #f38a19;
  font-size: clamp(8px, 2.7vw, 12px);
  font-weight: 500;
  letter-spacing: .42em;
  padding-left: .42em;
  white-space: nowrap;
  visibility: hidden;
}

.approved-brand-rule i {
  display: block;
  width: clamp(25px, 8.5vw, 42px);
  height: 2px;
  background: #f38a19;
  border-radius: 999px;
}

.approved-brand-compact {
  width: clamp(190px, 43vw, 300px);
  margin: 0;
}

.approved-brand-compact .approved-brand-name {
  gap: 7px;
  font-size: 27px;
}

.approved-brand-compact .approved-brand-rule {
  gap: 6px;
  margin-top: 7px;
  font-size: 6px;
  letter-spacing: .36em;
  padding-left: .36em;
}

.approved-brand-compact .approved-brand-rule i {
  width: 17px;
  height: 1px;
}

.approved-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.approved-service-tile {
  position: relative;
  min-width: 0;
  aspect-ratio: .92 / 1;
  padding: 15px 8px 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  overflow: hidden;
  color: #f6f7f8;
  text-align: center;
  border: 1px solid #344454;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 32%),
    linear-gradient(155deg, #1a2837 0%, #0d1721 75%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .09),
    0 5px 0 #05080b,
    0 13px 23px rgba(0, 0, 0, .5);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.approved-service-tile:hover,
.approved-service-tile:focus-visible {
  z-index: 1;
  transform: translateY(-3px);
  border-color: #566a7d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .11),
    0 6px 0 #05080b,
    0 18px 28px rgba(0, 0, 0, .56);
  outline: none;
}

.approved-service-tile:active {
  transform: translateY(1px);
}

.approved-service-tile strong {
  max-width: 145px;
  font-size: clamp(14px, 4.25vw, 18px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-shadow: 0 2px 4px #000;
}

.approved-service-icon {
  display: grid;
  place-items: center;
  width: clamp(61px, 18vw, 82px);
  height: clamp(61px, 18vw, 82px);
}

.approved-service-icon .icon,
.approved-page-icon .icon {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .42));
}

.approved-sublist-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: calc(10px + var(--safe-top)) 18px calc(12px + var(--safe-bottom));
}

.approved-sublist-view {
  max-width: 900px;
  height: 100%;
  min-height: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.approved-sublist-top {
  position: relative;
  min-height: clamp(58px, 9.2vh, 78px);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.approved-back-button {
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #f38a19;
  border: 0;
  background: transparent;
  font-size: 0;
  font-weight: 750;
  cursor: pointer;
  transform: translateY(-50%);
}

.approved-back-button:hover,
.approved-back-button:focus-visible {
  color: #ff9a35;
  outline: none;
}

.approved-back-button .icon {
  width: 31px;
  height: 31px;
  stroke-width: 2;
}

.approved-category-heading {
  width: 100%;
  min-height: clamp(72px, 11.5vh, 104px);
  margin: clamp(6px, 1vh, 11px) 0 0;
  padding: clamp(8px, 1.2vh, 13px) clamp(13px, 3.5vw, 25px);
  display: grid;
  grid-template-columns: clamp(58px, 18%, 110px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(9px, 2.7vw, 24px);
  flex: 0 0 auto;
  border: 1px solid #344454;
  border-radius: clamp(15px, 4.5vw, 22px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 34%),
    linear-gradient(155deg, #172536 0%, #0d1721 78%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 6px 16px rgba(0, 0, 0, .36);
}

.approved-heading-icon {
  width: clamp(50px, 8.5vh, 78px);
  height: clamp(50px, 8.5vh, 78px);
  display: grid;
  place-items: center;
  justify-self: center;
}

.approved-heading-icon .icon {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .42));
}

.approved-page-icon {
  width: 78px;
  height: 78px;
  margin: 20px auto 12px;
}

.approved-category-heading h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(23px, 7vw, 42px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.03em;
  white-space: nowrap;
}

[data-category-view="estimate"] .approved-category-heading h1,
[data-category-view="contact"] .approved-category-heading h1 {
  font-size: clamp(20px, 5.9vw, 39px);
}

.approved-question {
  max-width: 660px;
  margin: clamp(7px, 1.4vh, 13px) auto clamp(7px, 1.4vh, 13px);
  color: #a9b2bd;
  text-align: center;
  font-size: clamp(11.5px, 3.35vw, 15px);
  line-height: 1.35;
  flex: 0 0 auto;
}

.approved-danger-note {
  max-width: 620px;
  width: 100%;
  margin: 0 auto clamp(7px, 1.2vh, 12px);
  padding: clamp(7px, 1.05vh, 10px) 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f1b8b8;
  text-align: center;
  border: 1px solid rgba(230, 74, 74, .34);
  border-radius: 10px;
  background: rgba(123, 25, 25, .17);
  font-size: clamp(9.5px, 2.8vw, 11px);
  line-height: 1.32;
  flex: 0 0 auto;
}

.approved-danger-note .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.approved-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(7px, 1.35vh, 12px);
  min-height: 0;
  flex: 1 1 auto;
}

.approved-choice-card {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(8px, 1.25vh, 14px) 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vh, 12px);
  color: #f2f5f7;
  text-align: center;
  border: 1px solid #34414e;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .027), transparent 36%),
    linear-gradient(155deg, #192838, #0c151f 76%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 4px 9px rgba(0, 0, 0, .32);
  cursor: pointer;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.approved-choice-card:hover {
  border-color: #596a7c;
}

.approved-choice-card:focus-visible {
  outline: 2px solid #f38a19;
  outline-offset: 2px;
}

.approved-choice-card.selected {
  border-color: #f38a19;
  box-shadow: inset 0 0 0 1px rgba(243, 138, 25, .28), 0 5px 14px rgba(0, 0, 0, .43);
}

.approved-choice-icon {
  display: grid;
  place-items: center;
  width: clamp(38px, 7.4vh, 66px);
  height: clamp(38px, 7.4vh, 66px);
  color: #eef3f7;
}

.approved-choice-icon .icon {
  width: 72%;
  height: 72%;
  stroke-width: 1.55;
}

.approved-choice-label {
  max-width: 13ch;
  font-size: clamp(11.5px, 3.45vw, 17px);
  font-weight: 700;
  line-height: 1.2;
}

.approved-work-grid {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.approved-work-card {
  --work-x: 9.6%;
  --work-y: 26.1%;
  isolation: isolate;
  padding: 0;
  overflow: hidden;
  border-color: #425465;
  background-image: url("./assets/reference/approved-check-our-work-reference.jpg");
  background-repeat: no-repeat;
  background-size: 232.35% auto;
  background-position: var(--work-x) var(--work-y);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 9px rgba(0, 0, 0, .45);
  cursor: not-allowed;
  opacity: 1;
}

.approved-work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(2, 7, 11, .14);
  pointer-events: none;
}

.approved-work-residential,
.approved-work-lighting,
.approved-work-before-after { --work-x: 90.6%; }

.approved-work-commercial,
.approved-work-lighting { --work-y: 58.9%; }

.approved-work-panels,
.approved-work-before-after { --work-y: 91.6%; }

.coming-soon-ribbon {
  position: absolute;
  z-index: 2;
  top: 13%;
  right: -29%;
  width: 92%;
  padding: clamp(3px, .55vh, 6px) 0;
  color: #f38a19;
  background: rgba(14, 18, 22, .88);
  border-top: 1.5px solid #f38a19;
  border-bottom: 1.5px solid #f38a19;
  font-size: clamp(8px, 2.45vw, 12px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: .02em;
  text-align: center;
  transform: rotate(45deg);
  transform-origin: center;
  text-shadow: 0 1px 2px #000;
  pointer-events: none;
}

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

.exit-app-toast {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  width: max-content;
  max-width: calc(100vw - 36px);
  padding: 12px 17px;
  color: #f6f7f8;
  background: rgba(18, 23, 29, .96);
  border: 1px solid rgba(243, 138, 25, .68);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .55);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transform: translateX(-50%);
}

body.install-prompt-open {
  overflow: hidden;
}

.install-prompt[hidden] {
  display: none;
}

.install-prompt {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: calc(20px + var(--safe-top)) 18px calc(20px + var(--safe-bottom));
}

.install-prompt-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 7, .82);
  backdrop-filter: blur(5px);
}

.install-prompt-card {
  position: relative;
  width: min(100%, 390px);
  max-height: 100%;
  overflow: auto;
  padding: 25px 22px 20px;
  color: #f6f7f8;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), transparent 34%),
    linear-gradient(160deg, #182431 0%, #0b1219 78%);
  border: 1px solid #405164;
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.install-prompt-icon {
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .48);
}

.install-prompt-eyebrow {
  margin: 0 0 7px;
  color: #f38a19;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .25em;
}

.install-prompt-card h2 {
  margin: 0;
  font-size: clamp(23px, 7vw, 30px);
  line-height: 1.12;
}

.install-prompt-card > p:not(.install-prompt-eyebrow) {
  margin: 12px auto 0;
  color: #c3cbd4;
  font-size: 14px;
  line-height: 1.5;
}

.install-prompt-help {
  padding: 10px 12px;
  color: #f5d0ab !important;
  background: rgba(243, 138, 25, .09);
  border: 1px solid rgba(243, 138, 25, .35);
  border-radius: 12px;
}

.install-prompt-actions {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.install-prompt-actions button {
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
  cursor: pointer;
}

.install-prompt-yes {
  color: #17100a;
  background: linear-gradient(180deg, #ff9d32, #ed7c08);
  border: 1px solid #ffad55;
  box-shadow: 0 7px 19px rgba(237, 124, 8, .25);
}

.install-prompt-yes:disabled {
  cursor: wait;
  opacity: .72;
}

.install-prompt-later {
  color: #e9edf1;
  background: #151d26;
  border: 1px solid #394858;
}

.install-prompt-actions button:focus-visible {
  outline: 2px solid #f38a19;
  outline-offset: 2px;
}

.approved-choice-check {
  position: absolute;
  right: 11px;
  top: 11px;
  width: 20px;
  height: 20px;
  color: #f38a19;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approved-continue-button {
  width: min(100%, 340px);
  min-height: 52px;
  margin: 22px auto 0;
  display: block;
  color: #17100a;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(180deg, #ff9a2e, #ed7c08);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .35);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.approved-continue-button:hover:not(:disabled),
.approved-continue-button:focus-visible:not(:disabled) {
  filter: brightness(1.07);
  outline: none;
}

.approved-continue-button:disabled {
  color: #73777b;
  background: #24282d;
  box-shadow: none;
  cursor: not-allowed;
}

.approved-upload-hint {
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #747f8b;
  text-align: center;
  font-size: 11px;
}

.approved-upload-hint .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.approved-sublist-view .company-profile {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.conditional-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.conditional-fields[hidden] { display: none; }
.appointment-notice { margin: 0; color: #ffd9ba; background: rgba(255, 122, 26, .07); border-color: rgba(255, 122, 26, .2); }
.appointment-notice .icon { color: var(--orange); }
.action-helper { margin: 0; }
.administrator-note { margin-bottom: 0; }

.project-state {
  min-height: 230px;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #a9b2bd;
  text-align: center;
  border: 1px solid #34414e;
  border-radius: 18px;
  background: linear-gradient(155deg, #192838, #0c151f 76%);
}

.project-state > .icon { width: 38px; height: 38px; color: #f38a19; }
.project-state strong { color: #f5f7f8; font-size: 18px; }
.project-state p { max-width: 440px; margin: 0; font-size: 13px; line-height: 1.5; }
.project-state .secondary-button { margin-top: 5px; }

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

.project-card {
  --project-cover: linear-gradient(145deg, #243548, #0c151f);
  position: relative;
  min-width: 0;
  aspect-ratio: .84 / 1;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: #fff;
  border: 1px solid #344454;
  border-radius: 17px;
  background-image: var(--project-cover);
  background-color: #101820;
  background-position: center;
  background-size: cover;
  box-shadow: 0 5px 0 #05080b, 0 13px 23px rgba(0, 0, 0, .5);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease;
}

.project-card:hover,
.project-card:focus-visible { transform: translateY(-3px); border-color: #f38a19; outline: none; }
.project-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(3, 7, 11, .94) 100%); }
.project-card-copy { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; }
.project-card-copy strong { display: block; font-size: clamp(14px, 4vw, 18px); line-height: 1.18; }
.project-card-copy small { display: block; margin-top: 5px; color: #c2c9d0; font-size: 11px; }

.project-detail { width: min(100%, 920px); margin: 0 auto; }
.project-hero { aspect-ratio: 16 / 9; margin-bottom: 27px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #0d1115; box-shadow: var(--shadow); }
.project-hero-media { width: 100%; height: 100%; object-fit: cover; }
.project-meta { display: flex; flex-wrap: wrap; gap: 9px 14px; margin: 0 0 19px; color: var(--muted); }
.project-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.project-meta .icon { width: 16px; height: 16px; color: var(--orange); }
.project-description { max-width: 760px; color: #c9d0d7; font-size: 16px; line-height: 1.65; }
.project-info-card { margin-top: 14px; padding: 18px; background: #11161b; border: 1px solid var(--line-soft); border-radius: 16px; }
.project-info-card h2,
.project-gallery-section h2 { margin-bottom: 9px; font-size: 19px; }
.project-info-card p { margin: 0; color: var(--muted); line-height: 1.6; white-space: pre-line; }
.project-gallery-section { margin-top: 31px; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.project-media { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line-soft); border-radius: 13px; background: #0d1115; }
.comparison-list { display: grid; gap: 14px; }
.comparison-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; background: #11161b; border: 1px solid var(--line-soft); border-radius: 16px; }
.comparison-card > div { min-width: 0; }
.comparison-card span { display: block; margin: 0 0 7px 3px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.comparison-media { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: #0d1115; }

@media (min-width: 760px) {
  .approved-shell {
    padding: calc(46px + var(--safe-top)) 42px calc(46px + var(--safe-bottom));
  }

  .approved-home-shell {
    place-items: center;
  }

  .approved-home-view {
    max-width: 820px;
  }

  .approved-brand {
    margin-bottom: 45px;
  }

  .approved-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
  }

  .approved-service-tile {
    aspect-ratio: 1 / 1;
    padding: 19px;
    gap: 18px;
  }

  .approved-service-tile strong {
    font-size: 18px;
  }

  .approved-sublist-shell {
    padding: calc(20px + var(--safe-top)) 42px calc(24px + var(--safe-bottom));
  }

  .approved-sublist-top {
    min-height: clamp(70px, 9vh, 92px);
  }

  .approved-brand-compact .approved-brand-name {
    font-size: 31px;
  }

  .approved-category-heading {
    min-height: clamp(88px, 11vh, 116px);
    grid-template-columns: clamp(82px, 18%, 128px) minmax(0, 1fr);
    border-radius: 22px;
  }

  .approved-heading-icon {
    width: clamp(68px, 8vh, 88px);
    height: clamp(68px, 8vh, 88px);
  }

  .approved-category-heading h1 {
    font-size: clamp(32px, 4.1vw, 46px);
  }

  [data-category-view="estimate"] .approved-category-heading h1,
  [data-category-view="contact"] .approved-category-heading h1 {
    font-size: clamp(30px, 3.65vw, 43px);
  }

  .approved-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }

  .approved-choice-card {
    aspect-ratio: auto;
    padding: 18px 14px;
  }

  .approved-work-card { padding: 0; }

  .approved-choice-label {
    font-size: 17px;
  }

  .project-grid,
  .project-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }

  .project-card { aspect-ratio: .95 / 1; }
}

@media (max-width: 380px) {
  .approved-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .approved-service-grid {
    gap: 11px;
  }

  .approved-service-tile {
    border-radius: 16px;
  }

  .approved-brand-name {
    font-size: 37px;
  }

  .approved-back-button {
    font-size: 0;
  }

  .approved-back-button .icon {
    width: 21px;
    height: 21px;
  }

  .conditional-fields { grid-template-columns: 1fr; }

  .install-prompt-card { padding: 21px 17px 17px; }
  .install-prompt-icon { width: 72px; height: 72px; border-radius: 18px; }
}

@media (max-height: 740px) and (max-width: 759px) {
  .approved-sublist-shell {
    padding-top: calc(6px + var(--safe-top));
    padding-bottom: calc(7px + var(--safe-bottom));
  }

  .approved-sublist-top { min-height: 52px; }
  .approved-brand-compact { width: 178px; }
  .approved-category-heading {
    min-height: 63px;
    margin-top: 3px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .approved-heading-icon { width: 45px; height: 45px; }
  .approved-category-heading h1 { font-size: clamp(21px, 6.4vw, 30px); }
  [data-category-view="estimate"] .approved-category-heading h1,
  [data-category-view="contact"] .approved-category-heading h1 { font-size: clamp(18px, 5.35vw, 25px); }
  .approved-question { margin-top: 5px; margin-bottom: 5px; font-size: 11px; }
  .approved-danger-note { margin-bottom: 5px; padding-top: 5px; padding-bottom: 5px; font-size: 9px; }
  .approved-choice-grid { gap: 6px; }
  .approved-choice-card { padding-top: 5px; padding-bottom: 5px; gap: 4px; }
  .approved-choice-icon { width: 35px; height: 35px; }
  .approved-choice-label { font-size: clamp(10px, 3.15vw, 13px); }
  .coming-soon-ribbon { font-size: clamp(7px, 2.1vw, 9px); }
}
