.tccc-car-precheck {
  --car-green: #2c5f2d;
  --car-green-dark: #173f25;
  --car-green-soft: #edf5ee;
  --car-ink: #243026;
  --car-muted: #66726a;
  --car-line: #d9e3da;
  --car-paper: #ffffff;
  --car-canvas: #f6f9f7;
  --car-blue: #256fb8;
  --car-blue-soft: #eef6ff;
  --car-amber: #9a6a0a;
  --car-amber-soft: #fff8e8;
  --car-red: #a73a31;
  --car-red-soft: #fff3f1;
  --car-line-green: #06c755;
  width: 100%;
  color: var(--car-ink);
  font-family: "Open Sans", "Noto Sans TC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

.tccc-car-precheck *,
.tccc-car-precheck *::before,
.tccc-car-precheck *::after {
  box-sizing: border-box;
}

.tccc-car-precheck button,
.tccc-car-precheck input,
.tccc-car-precheck select,
.tccc-car-precheck textarea {
  font: inherit;
  letter-spacing: 0;
}

.tccc-car-precheck button,
.tccc-car-precheck a {
  -webkit-tap-highlight-color: transparent;
}

.tccc-car-precheck a:not(.tccc-car-precheck__button) {
  color: inherit;
  text-decoration: none;
}

.tccc-car-precheck a.tccc-car-precheck__button {
  text-decoration: none;
}

.tccc-car-precheck__shell {
  min-height: 660px;
  overflow: hidden;
  border: 1px solid var(--car-line);
  border-radius: 8px;
  background: var(--car-paper);
  box-shadow: 0 22px 54px rgba(27, 63, 38, 0.12);
}

.tccc-car-precheck__header {
  padding: 24px 30px 18px;
  border-bottom: 1px solid var(--car-line);
  background: var(--car-canvas);
}

.tccc-car-precheck__header-row,
.tccc-car-precheck__result-heading,
.tccc-car-precheck__case-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tccc-car-precheck__eyebrow {
  margin: 0;
  color: var(--car-green);
  font-size: 13px;
  font-weight: 850;
}

.tccc-car-precheck__step {
  flex: 0 0 auto;
  color: var(--car-muted);
  font-size: 13px;
  font-weight: 750;
}

.tccc-car-precheck__progress {
  height: 4px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 4px;
  background: #dde6df;
}

.tccc-car-precheck__progress-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--car-green);
  transition: width 200ms ease;
}

.tccc-car-precheck__body {
  min-height: 485px;
  padding: 34px 34px 24px;
}

.tccc-car-precheck__screen {
  width: min(760px, 100%);
  margin: 0 auto;
  animation: tccc-car-enter 180ms ease both;
}

.tccc-car-precheck__screen--wide {
  width: min(860px, 100%);
}

.tccc-car-precheck__title {
  margin: 0;
  color: var(--car-green-dark);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0;
}

.tccc-car-precheck__lead {
  margin: 10px 0 0;
  color: var(--car-muted);
  font-size: 16px;
}

.tccc-car-precheck__microcopy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  color: var(--car-green);
  font-size: 13px;
  font-weight: 800;
}

.tccc-car-precheck__industry-grid,
.tccc-car-precheck__option-grid,
.tccc-car-precheck__service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.tccc-car-precheck__industry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tccc-car-precheck__option,
.tccc-car-precheck__industry,
.tccc-car-precheck__timeline {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--car-line);
  border-radius: 6px;
  color: var(--car-ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.tccc-car-precheck__industry {
  min-height: 92px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  font-weight: 850;
}

.tccc-car-precheck__option:hover,
.tccc-car-precheck__industry:hover,
.tccc-car-precheck__timeline:hover,
.tccc-car-precheck__service:has(input:checked) {
  border-color: var(--car-green);
  background: var(--car-green-soft);
  box-shadow: 0 8px 20px rgba(44, 95, 45, 0.1);
}

.tccc-car-precheck__option strong,
.tccc-car-precheck__service strong {
  display: block;
  color: var(--car-green-dark);
  line-height: 1.35;
}

.tccc-car-precheck__option small,
.tccc-car-precheck__service small {
  display: block;
  margin-top: 3px;
  color: var(--car-muted);
  font-size: 13px;
  line-height: 1.45;
}

.tccc-car-precheck__icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.tccc-car-precheck__industry .tccc-car-precheck__icon {
  width: 24px;
  height: 24px;
  color: var(--car-green);
}

.tccc-car-precheck__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--car-line);
}

.tccc-car-precheck__search label {
  grid-column: 1 / -1;
}

.tccc-car-precheck__field-label,
.tccc-car-precheck__legend {
  display: block;
  margin: 0 0 8px;
  color: var(--car-green-dark);
  font-size: 14px;
  font-weight: 850;
}

.tccc-car-precheck__input,
.tccc-car-precheck__select,
.tccc-car-precheck__textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #bdcabe;
  border-radius: 4px;
  padding: 11px 13px;
  color: var(--car-ink);
  background: #fff;
  outline: 0;
}

.tccc-car-precheck__textarea {
  min-height: 96px;
  resize: vertical;
}

.tccc-car-precheck__input:focus,
.tccc-car-precheck__select:focus,
.tccc-car-precheck__textarea:focus,
.tccc-car-precheck button:focus-visible,
.tccc-car-precheck a:focus-visible,
.tccc-car-precheck summary:focus-visible {
  outline: 3px solid rgba(37, 111, 184, 0.28);
  outline-offset: 2px;
  border-color: var(--car-blue);
}

.tccc-car-precheck__input[aria-invalid="true"],
.tccc-car-precheck__select[aria-invalid="true"] {
  border-color: var(--car-red);
  background: var(--car-red-soft);
}

.tccc-car-precheck__button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 20px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.tccc-car-precheck__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(27, 63, 38, 0.16);
}

.tccc-car-precheck__button--primary {
  color: #fff;
  background: var(--car-green);
}

.tccc-car-precheck a.tccc-car-precheck__button--primary {
  color: #fff;
}

.tccc-car-precheck__button--line {
  color: #06240f;
  background: var(--car-line-green);
}

.tccc-car-precheck a.tccc-car-precheck__button--line {
  color: #06240f;
}

.tccc-car-precheck__button--secondary {
  color: var(--car-green-dark);
  border-color: var(--car-line);
  background: #fff;
}

.tccc-car-precheck a.tccc-car-precheck__button--secondary {
  color: var(--car-green-dark);
}

.tccc-car-precheck__button--text {
  min-height: 44px;
  color: var(--car-green);
  background: transparent;
  padding-inline: 8px;
  white-space: nowrap;
}

.tccc-car-precheck__button[disabled] {
  opacity: 0.58;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.tccc-car-precheck__footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 30px;
  border-top: 1px solid var(--car-line);
  background: #fff;
}

.tccc-car-precheck__footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.tccc-car-precheck__result {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--car-line);
  border-left: 5px solid var(--car-blue);
  border-radius: 6px;
  background: var(--car-blue-soft);
}

.tccc-car-precheck__result--fit {
  border-left-color: var(--car-green);
  background: var(--car-green-soft);
}

.tccc-car-precheck__result--review {
  border-left-color: var(--car-amber);
  background: var(--car-amber-soft);
}

.tccc-car-precheck__result--alternative {
  border-left-color: var(--car-red);
  background: var(--car-red-soft);
}

.tccc-car-precheck__badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 4px;
  padding: 2px 10px;
  color: #fff;
  background: var(--car-blue);
  font-size: 13px;
  font-weight: 850;
}

.tccc-car-precheck__result--fit .tccc-car-precheck__badge { background: var(--car-green); }
.tccc-car-precheck__result--review .tccc-car-precheck__badge { background: var(--car-amber); }
.tccc-car-precheck__result--alternative .tccc-car-precheck__badge { background: var(--car-red); }

.tccc-car-precheck__result h3 {
  margin: 0;
  color: var(--car-green-dark);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: 0;
}

.tccc-car-precheck__result p {
  margin: 12px 0 0;
}

.tccc-car-precheck__reasons,
.tccc-car-precheck__report-list {
  margin: 16px 0 0;
  padding-left: 22px;
}

.tccc-car-precheck__report-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--car-line);
}

.tccc-car-precheck__report-preview h3 {
  margin: 0;
  color: var(--car-green-dark);
  font-size: 17px;
}

.tccc-car-precheck__service {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--car-line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.tccc-car-precheck__service input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--car-green);
}

.tccc-car-precheck__timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tccc-car-precheck__timeline {
  min-height: 50px;
  justify-content: center;
  padding: 9px 10px;
  text-align: center;
}

.tccc-car-precheck__timeline[aria-pressed="true"] {
  border-color: var(--car-green);
  color: var(--car-green-dark);
  background: var(--car-green-soft);
  font-weight: 850;
}

.tccc-car-precheck__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.tccc-car-precheck__field--full {
  grid-column: 1 / -1;
}

.tccc-car-precheck__error {
  display: block;
  margin-top: 6px;
  color: var(--car-red);
  font-size: 13px;
  font-weight: 700;
}

.tccc-car-precheck__alert {
  margin: 0 0 20px;
  padding: 13px 15px;
  border: 1px solid #e8b6b0;
  border-radius: 4px;
  color: #7d2821;
  background: var(--car-red-soft);
}

.tccc-car-precheck__choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tccc-car-precheck__choice {
  position: relative;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--car-line);
  border-radius: 4px;
  padding: 8px 13px;
  cursor: pointer;
}

.tccc-car-precheck__choice:has(input:checked) {
  border-color: var(--car-green);
  background: var(--car-green-soft);
}

.tccc-car-precheck__choice input,
.tccc-car-precheck__consent input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--car-green);
}

.tccc-car-precheck__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--car-ink);
  cursor: pointer;
}

.tccc-car-precheck__privacy {
  margin-top: 12px;
  border-top: 1px solid var(--car-line);
  border-bottom: 1px solid var(--car-line);
}

.tccc-car-precheck__privacy summary,
.tccc-car-precheck__optional summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  color: var(--car-green);
  font-weight: 800;
  cursor: pointer;
}

.tccc-car-precheck__privacy-content {
  padding: 0 0 16px;
  color: var(--car-muted);
  font-size: 13px;
}

.tccc-car-precheck__privacy-content p {
  margin: 8px 0 0;
}

.tccc-car-precheck__case {
  margin-top: 24px;
  padding: 18px;
  border-left: 5px solid var(--car-green);
  background: var(--car-green-soft);
}

.tccc-car-precheck__case-code {
  color: var(--car-green-dark);
  font-size: 22px;
  font-weight: 900;
}

.tccc-car-precheck__success-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.tccc-car-precheck__fineprint {
  margin: 15px 0 0;
  color: var(--car-muted);
  font-size: 12px;
}

.tccc-car-precheck__spinner {
  width: 19px;
  height: 19px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tccc-car-spin 700ms linear infinite;
}

.tccc-car-precheck__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.tccc-car-precheck__loading {
  min-height: 520px;
  display: grid;
  place-items: center;
  color: var(--car-muted);
}

.tccc-car-precheck__noscript {
  padding: 18px;
  border: 1px solid var(--car-line);
  background: var(--car-canvas);
}

@keyframes tccc-car-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media only screen and (min-width: 768px) and (max-width: 900px) {
  #top #header #avia-menu > li.menu-item-top-level {
    display: none !important;
  }

  #top #header #avia-menu > li.av-burger-menu-main {
    display: block !important;
  }
}

@media (max-width: 760px) {
  .tccc-car-precheck__shell { min-height: 690px; }
  .tccc-car-precheck__header { padding: 20px 20px 16px; }
  .tccc-car-precheck__body { min-height: 520px; padding: 26px 20px 18px; }
  .tccc-car-precheck__title { font-size: 25px; }
  .tccc-car-precheck__industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tccc-car-precheck__option-grid,
  .tccc-car-precheck__service-grid,
  .tccc-car-precheck__form-grid,
  .tccc-car-precheck__report-preview { grid-template-columns: 1fr; }
  .tccc-car-precheck__timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tccc-car-precheck__footer {
    position: sticky;
    bottom: 0;
    z-index: 4;
    min-height: 72px;
    padding: 12px 16px;
    box-shadow: 0 -8px 20px rgba(23, 63, 37, 0.08);
  }
  .tccc-car-precheck__footer > .tccc-car-precheck__button--text {
    flex: 0 0 auto;
  }
  .tccc-car-precheck__footer-actions {
    width: auto;
    flex: 1 1 auto;
  }
  .tccc-car-precheck__footer-actions .tccc-car-precheck__button--primary { flex: 1; }
  .tccc-car-precheck__success-actions { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .tccc-car-precheck__industry-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .tccc-car-precheck__industry { min-height: 82px; padding: 12px; font-size: 14px; }
  .tccc-car-precheck__search { grid-template-columns: 1fr; }
  .tccc-car-precheck__header-row,
  .tccc-car-precheck__result-heading,
  .tccc-car-precheck__case-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .tccc-car-precheck__choice-row { flex-direction: column; }
  .tccc-car-precheck__choice { width: 100%; }
}

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