.notice {
  padding: 16px 20px;
  background: #ebe9e0;
  border-left: 3px solid var(--red);
  font-size: 13px;
  margin-bottom: 20px;
}
.quote-wizard {
  background: #fff;
  border: 1px solid #d6d6cf;
}
.quote-progress {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #d6d6cf;
}
.quote-progress li {
  padding: 20px;
  color: #898c82;
  font-size: 11px;
  border-bottom: 3px solid transparent;
}
.quote-progress span {
  margin-left: 10px;
}
.quote-progress [aria-current="step"] {
  border-bottom-color: var(--red);
  color: #161818;
  font-weight: 700;
}
#quote-form {
  padding: 36px;
  position: relative;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font: 600 34px/1.15 var(--display);
  padding: 0;
  margin-bottom: 20px;
}
.step-intro {
  color: #73776e;
  font-size: 13px;
  margin-top: 0;
}
.quote-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 35px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin: 20px 0;
}
.quote-fields.two {
  grid-template-columns: 1fr 1fr;
}
.quote-fields.vehicle-row {
  grid-template-columns: 0.65fr 1fr 1fr;
}
.quote-wizard label,
.admin-shell label {
  font-size: 13px;
  gap: 8px;
}
.quote-wizard input:not([type="checkbox"]),
.quote-wizard select,
.quote-wizard textarea,
.admin-shell input:not([type="checkbox"]),
.admin-shell select,
.admin-shell textarea {
  font: 14px var(--font);
  width: 100%;
  min-width: 0;
  border: 1px solid #d4d6cd;
  background: #fafaf7;
  padding: 13px;
  color: #242721;
  border-radius: 0;
  height: auto;
  min-height: 47px;
}
.quote-wizard textarea {
  resize: vertical;
}
.quote-wizard input:focus-visible,
.quote-wizard textarea:focus-visible,
.admin-shell input:focus-visible,
.admin-shell textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.check-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  font-size: 12px !important;
}
.check-label input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--red);
  flex-shrink: 0;
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}
.wizard-actions > .outline-button {
  width: auto;
  align-items: center;
  padding: 12px 20px;
  font-size: 12px;
}
.wizard-actions > .button {
  margin-left: auto;
}
.quote-wizard .fine-print {
  font-size: 11px;
}
.quote-result {
  background: #eeeee7;
  padding: 24px;
  border-left: 3px solid var(--red);
  margin-bottom: 25px;
}
.quote-result h3 {
  font: 600 50px var(--display);
  margin: 0;
}
.quote-result p {
  font-size: 12px;
  margin: 8px 0;
}
.mock-result {
  background: #fff3d4;
}
.challenge {
  min-height: 10px;
  margin-top: 24px;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#quote-status {
  font-size: 13px;
  color: #426039;
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.admin-shell {
  width: min(1320px, 92%);
  margin: auto;
  padding: 28px 0 60px;
}
.admin-header {
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  margin-bottom: 25px;
}
.admin-header img {
  width: 100px;
  mix-blend-mode: multiply;
}
.admin-header h1 {
  font-size: 36px;
  margin: 0;
}
.admin-header a {
  font-size: 12px;
  margin-left: auto;
}
.admin-header button {
  border: 1px solid #aaa;
  background: transparent;
  padding: 8px 15px;
}
.admin-login {
  max-width: 430px;
  margin: 60px auto;
}
.admin-login h2 {
  font-size: 45px;
  margin-bottom: 25px;
}
.admin-login label {
  margin: 15px 0;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0;
}
.admin-nav button {
  padding: 10px 15px;
  border: 1px solid #bbb;
  background: transparent;
}
.admin-nav button[aria-pressed="true"] {
  background: #171919;
  color: #fff;
  border-color: #171919;
}
.admin-panel h2 {
  font-size: 40px;
  margin-bottom: 25px;
}
.admin-panel h3 {
  margin: 10px 0 20px;
}
.admin-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 25px 0;
}
.admin-card {
  border: 1px solid #d2d4cb;
  background: #fff;
  padding: 20px;
}
.admin-card strong {
  font: 600 35px var(--display);
  display: block;
}
.admin-card span {
  font-size: 12px;
  color: #73776c;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.admin-box {
  border: 1px solid #ccc;
  padding: 22px;
  margin: 20px 0;
  background: white;
}
.admin-box label {
  margin-bottom: 16px;
}
.admin-box .check-label {
  margin: 8px 0;
}
.admin-grid label {
  min-width: 0;
}
.admin-rule-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  border-top: 1px solid #ddd;
  padding: 16px 0;
}
.admin-rule-row label {
  margin: 0;
}
.admin-rule-row button {
  background: transparent;
  border: 1px solid #aaa;
  padding: 10px;
  font-size: 12px;
}
.admin-rule-row input,
.admin-rule-row select {
  font-size: 12px !important;
  padding: 8px !important;
}
.admin-panel .button {
  font-size: 12px;
}
.admin-status {
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 2;
  font-size: 13px;
  padding: 10px 0;
  white-space: pre-wrap;
}
.admin-status:empty {
  display: none;
}
.admin-record summary {
  font-size: 14px;
}
.admin-record p {
  white-space: pre-wrap;
}
.table-wrap {
  overflow: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #d2d5c9;
  white-space: nowrap;
}
.subtle {
  font-size: 12px;
  color: #74796b;
}
.admin-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 20px 0;
}
.admin-panel .outline-button {
  width: auto;
}
.danger {
  background: #ad161b !important;
  color: white;
  border: 0;
  padding: 12px 18px;
}
.admin-record .quote-result {
  margin: 15px 0;
}
.admin-panel input[type="checkbox"] {
  accent-color: var(--red);
}
@media (max-width: 700px) {
  .quote-progress li {
    padding: 13px 7px;
    font-size: 9px;
    text-align: center;
  }
  .quote-progress span {
    display: block;
    margin: 3px 0 0;
    font-size: 9px;
  }
  #quote-form {
    padding: 24px 18px;
  }
  .quote-fields,
  .quote-fields.two,
  .quote-fields.vehicle-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .quote-fields .swap {
    height: 24px;
    justify-self: center;
    transform: rotate(90deg);
  }
  legend {
    font-size: 29px;
  }
  .quote-result h3 {
    font-size: 42px;
  }
  .wizard-actions {
    gap: 12px;
  }
  .wizard-actions > .button {
    gap: 15px;
    padding: 13px;
    font-size: 11px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-cards {
    grid-template-columns: 1fr 1fr;
  }
  .admin-header {
    gap: 12px;
    flex-wrap: wrap;
  }
  .admin-header h1 {
    font-size: 28px;
  }
  .admin-header img {
    width: 80px;
  }
  .admin-header a {
    margin-left: 0;
  }
  .admin-rule-row {
    grid-template-columns: 1fr 1fr;
  }
  .admin-nav button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .admin-box {
    padding: 16px;
  }
  .admin-card {
    padding: 14px;
  }
  .admin-panel h2 {
    font-size: 34px;
  }
}
