#axelle-experience[hidden],
#axelle-access-gate[hidden],
#axelle-pro-code-row[hidden],
.axelle-account button[hidden] {
  display: none !important;
}

.axelle-access-gate {
  width: min(100% - 2rem, 710px);
  margin: clamp(16px, 4vw, 40px) auto;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #bdd5e0;
  border-top: 4px solid #08788e;
  border-radius: 12px;
  color: #173c51;
  background: #fff;
}

.axelle-access-gate h2 {
  margin: 0 0 .6rem;
  color: #10344b;
}

.axelle-access-gate p {
  margin: 0 0 .75rem;
  line-height: 1.5;
}

.axelle-access-gate .axelle-access-actions,
.axelle-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}

.axelle-access-gate [role="status"]:empty {
  display: none;
}

.axelle-access-gate [role="status"] {
  margin-top: .75rem;
}

#axelle-refusal-notice {
  padding: .6rem .75rem;
  border-left: 4px solid #a34a15;
  color: #793400;
  background: #fff3e7;
  font-weight: 750;
}

#axelle-refusal-notice strong {
  color: #07576e;
}

#axelle-refusal-notice b {
  color: #853400;
}

@media (prefers-reduced-motion: no-preference) {
  #axelle-refusal-notice:not([hidden]) span {
    animation: axelle-consent-blink .9s ease-in-out 4;
  }
}

@keyframes axelle-consent-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .73; }
}

.axelle-access-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
  margin-bottom: .45rem;
}

.axelle-account {
  display: grid;
  gap: .55rem;
  margin: .75rem 0;
  padding: .75rem;
  border: 1px solid #c5dbe6;
  border-radius: 8px;
  background: #fff;
}

.axelle-account p {
  margin: 0;
}

.axelle-account input {
  max-width: 13rem;
}

.axelle-manufacturer-sources {
  margin-top: .8rem;
  border-top: 1px solid #b9d1df;
  padding-top: .65rem;
}

.axelle-manufacturer-sources p {
  margin: .45rem 0;
}

@media (max-width: 480px) {
  .axelle-access-actions button,
  .axelle-account-actions button {
    flex-grow: 1;
  }
}

#axelle-mode-indicator[hidden] {
  display: none;
}

#axelle-mode-indicator {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 64px;
  margin: 0 0 .65rem;
  display: grid;
  align-content: center;
  padding: .65rem .9rem;
  border: 1px solid #285379;
  border-left: 4px solid #efae4c;
  border-radius: 9px;
  background: linear-gradient(110deg, #102637 25%, #143458 80%, #183d64);
  color: #fff;
}

#axelle-mode-indicator strong,
#axelle-mode-indicator small {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  border-radius: 4px;
  padding-inline: .2rem;
  background: #102637ea;
}

#axelle-mode-indicator strong {
  color: #ffd28b;
  font-size: 1rem;
}

#axelle-mode-indicator small {
  color: #d3efff;
}

#axelle-mode-wave {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#form[data-mode="advanced"] #analyze-project {
  border-color: #9c590f;
  color: #fff;
  background: #85430a;
}

#form[data-mode="advanced"] #axelle-project-contact,
.msg.assistant.axelle-advanced-answer {
  border-color: #c9924d;
  background: #fff5e3;
}

.msg.assistant.axelle-advanced-answer .sender {
  color: #793400;
}


.axelle-pro-entry {
  margin-bottom: .65rem;
}

.axelle-pro-entry .axelle-access-links {
  margin-bottom: .38rem;
}

.axelle-pro-benefits {
  padding: .68rem .9rem;
  border: 1px solid #315874;
  border-left: 4px solid #efae4c;
  border-radius: 9px;
  background: #12334a;
}

.axelle-pro-benefits h2 {
  margin: 0 0 .24rem;
  color: #ffd593;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.28;
}

.axelle-pro-benefits ul {
  display: grid;
  gap: .16rem;
  margin: 0;
  padding-inline-start: 1.08rem;
  color: #f0f8ff;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.36;
}

.axelle-pro-benefits li::marker {
  color: #efae4c;
}

#axelle-project-notice {
  color: #281d0e;
  font-weight: 400;
}


.axelle-mode-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  padding: .6rem;
  background: #fff;
}

.axelle-mode-choice {
  position: relative;
  display: grid;
  align-content: start;
  gap: .2rem;
  min-height: 92px;
  padding: .66rem 2rem .66rem .8rem;
  border: 1px solid #b1cfde;
  border-radius: 9px;
  text-align: left;
}

.axelle-mode-choice--catalogue {
  color: #0e334a;
  background: #edf7fb;
}

.axelle-mode-choice--catalogue:hover {
  border-color: #30769a;
  color: #0e334a;
  background: #e4f2f8;
}

.axelle-mode-choice--advanced,
.axelle-mode-choice--advanced:hover {
  color: #f5fbff;
  background: #132f46;
  border-color: #cf914a;
}

.axelle-mode-choice--advanced:hover,
.axelle-mode-choice--advanced[aria-expanded="true"] {
  background: #1d4767;
}

.axelle-mode-choice:focus-visible {
  outline: 3px solid #0685a0;
  outline-offset: 2px;
}

.axelle-mode-person {
  font-size: .79rem;
  font-weight: 650;
}

.axelle-mode-choice--catalogue .axelle-mode-person {
  color: #155677;
}

.axelle-mode-choice--advanced .axelle-mode-person,
.axelle-mode-choice--advanced .axelle-mode-arrow {
  color: #ffce86;
}

.axelle-mode-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.18;
}

.axelle-mode-description {
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.3;
}

.axelle-mode-arrow {
  position: absolute;
  top: .65rem;
  right: .7rem;
  font-size: 1.1rem;
}

@media (max-width: 460px) {
  .axelle-mode-choices {
    grid-template-columns: 1fr;
  }

  .axelle-mode-choice {
    min-height: 0;
  }
}

.axelle-mode-choices {
  scroll-margin-top: 240px;
}

.axelle-mode-choice--advanced .axelle-mode-usage {
  color: #ffda9d;
  font-size: .79rem;
}

@media (max-width: 720px) {
  body { padding-bottom: 0; }
}

#axelle-mode-selector[hidden],
#axelle-mode-navigation[hidden] {
  display: none !important;
}

.axelle-chooser {
  width: min(100% - 1.5rem, 910px);
  margin: clamp(.85rem, 2.2vw, 1.5rem) auto 2rem;
}

.axelle-chooser h2 {
  margin: 0 0 .65rem;
  color: #173c51;
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
}

.axelle-chooser .axelle-mode-choice {
  min-width: 0;
  min-height: 7rem;
  text-decoration: none;
}

.axelle-chooser .axelle-mode-name {
  font-size: 1.14rem;
}

.axelle-chooser .axelle-mode-choice--advanced .axelle-mode-name {
  color: #ffce86;
}

.axelle-mode-navigation {
  width: min(100% - 1.5rem, 910px);
  margin: .75rem auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1rem;
  color: #24475e;
}

.axelle-mode-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  font-weight: 650;
}

@media (max-width: 460px) {
  .axelle-chooser .axelle-mode-choice {
    min-height: 0;
  }
}

.axelle-credit[hidden],
.axelle-credit [hidden],
#axelle-included-analyses[hidden] {
  display: none !important;
}

.axelle-credit {
  display: grid;
  gap: .55rem;
  margin: .7rem 0 0;
  padding: .8rem 1rem;
  border: 1px solid #d5be96;
  border-left: 4px solid #9c590f;
  border-radius: 9px;
  color: #233a4a;
  background: #fffaf0;
  scroll-margin-top: 9rem;
}

.axelle-credit p {
  margin: 0;
}

.axelle-credit-heading,
.axelle-credit-tools,
.axelle-credit-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .8rem;
  align-items: center;
}

.axelle-credit-heading {
  justify-content: space-between;
}

.axelle-credit-heading h2 {
  margin: 0;
  font-size: 1.15rem;
}

.axelle-credit-heading strong {
  color: #6d3705;
  font-size: 1.08rem;
}

.axelle-credit #axelle-credit-purchase-options,
.axelle-credit #axelle-credit-order {
  display: grid;
  gap: .55rem;
}

.axelle-credit-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.axelle-credit-fields label {
  display: block;
  margin-bottom: .25rem;
  font-weight: 650;
}

.axelle-credit-fields input,
.axelle-credit-fields select {
  width: 100%;
  min-width: 0;
  min-height: 2.6rem;
  box-sizing: border-box;
  font: inherit;
}

.axelle-credit a {
  color: #124e72;
}

.axelle-credit #axelle-credit-request {
  color: #fff;
  background: #56330c;
  border-color: #56330c;
}

.axelle-credit [role="status"]:empty {
  display: none;
}

@media (max-width: 560px) {
  .axelle-credit-fields {
    grid-template-columns: 1fr;
  }
}
