html.hu-tec-open,
html.hu-tec-open body {
  overflow: hidden !important;
}

#huTecPilotoRoot {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow-y: auto;
  background: #f4f7f9;
  color: #193646;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

#huTecPilotoRoot[hidden] {
  display: none !important;
}

.hu-tec-app {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 80% 0%,
      rgba(13,148,136,.06),
      transparent 30%
    ),
    #f5f8fa;
}

.hu-tec-top {
  color: #fff;
  background:
    linear-gradient(
      135deg,
      #05263b 0%,
      #073d58 65%,
      #0d5d68 100%
    );
}

.hu-tec-top-inner {
  width: min(1180px,calc(100% - 36px));
  min-height: 154px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 110px 1fr 130px;
  gap: 24px;
  align-items: center;
}

.hu-tec-back,
.hu-tec-inline-back {
  border: 1px solid #dce7eb;
  background: #fff;
  color: #45606d;
  border-radius: 10px;
  min-height: 38px;
  padding: 0 13px;
  font-size: 11px;
  font-weight: 800;
}

.hu-tec-top .hu-tec-back {
  align-self: start;
  margin-top: 27px;
  border-color: rgba(255,255,255,.15);
  color: #d8e8ee;
  background: rgba(255,255,255,.07);
}

.hu-tec-top-inner > div:nth-child(2) > span {
  color: #58d4c8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.hu-tec-top h1 {
  margin: 8px 0 5px;
  font-size: 29px;
  letter-spacing: -.8px;
}

.hu-tec-top p {
  margin: 0;
  color: #9fbbc7;
  font-size: 11px;
}

.hu-tec-local {
  justify-self: end;
  width: 108px;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

.hu-tec-local strong {
  color: #5bd4c8;
  font-size: 12px;
}

.hu-tec-local span {
  margin-top: 5px;
  color: #9eb6c2;
  font-size: 7px;
  text-align: center;
}

.hu-tec-main {
  width: min(1180px,calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 80px;
}

.hu-tec-loading {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #607682;
  font-size: 12px;
}

.hu-tec-spinner {
  width: 23px;
  height: 23px;
  border: 3px solid #dce9eb;
  border-top-color: #0d9488;
  border-radius: 50%;
  animation: huTecSpin .7s linear infinite;
}

@keyframes huTecSpin {
  to { transform: rotate(360deg); }
}

.hu-tec-intro {
  padding: 27px 30px;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 30px;
  align-items: center;
  border: 1px solid #dce7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 45px rgba(5,45,67,.05);
}

.hu-tec-kicker,
.hu-tec-section-head span,
.hu-tec-sim-main > span {
  color: #0c9187;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.hu-tec-intro h2,
.hu-tec-section h2,
.hu-tec-setup h2,
.hu-tec-result h2 {
  color: #183747;
  letter-spacing: -.7px;
}

.hu-tec-intro h2 {
  max-width: 720px;
  margin: 9px 0 8px;
  font-size: 26px;
}

.hu-tec-intro p,
.hu-tec-section-head p,
.hu-tec-sim-main > p,
.hu-tec-setup > p {
  color: #718793;
  font-size: 11px;
  line-height: 1.65;
}

.hu-tec-total-card {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background:
    linear-gradient(145deg,#e9f8f6,#f8fcfc);
  border: 1px solid #cce8e4;
}

.hu-tec-total-card strong {
  color: #0b8078;
  font-size: 33px;
}

.hu-tec-total-card span {
  margin-top: 5px;
  color: #68818c;
  font-size: 8px;
  text-align: center;
}

.hu-tec-stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin-top: 12px;
}

.hu-tec-stat {
  padding: 18px;
  border: 1px solid #dce7eb;
  border-radius: 14px;
  background: #fff;
}

.hu-tec-stat span {
  display: block;
  color: #8a9da7;
  font-size: 8px;
  font-weight: 900;
}

.hu-tec-stat strong {
  display: block;
  margin-top: 7px;
  color: #153b4e;
  font-size: 23px;
}

.hu-tec-stat.accent strong {
  color: #0d9488;
}

.hu-tec-section {
  margin-top: 34px;
}

.hu-tec-section-head {
  margin-bottom: 15px;
}

.hu-tec-section-head h2 {
  margin: 6px 0 3px;
  font-size: 21px;
}

.hu-tec-section-head p {
  margin: 0;
}

.hu-tec-disc-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 11px;
}

.hu-tec-discipline {
  min-height: 116px;
  padding: 18px;
  display: grid;
  grid-template-columns: 54px 1fr 30px;
  gap: 15px;
  align-items: center;
  text-align: left;
  border: 1px solid #dbe6ea;
  border-radius: 16px;
  background: #fff;
  transition: .15s ease;
}

.hu-tec-discipline:not(.disabled):hover {
  border-color: #8accc6;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(13,148,136,.07);
}

.hu-tec-discipline.disabled {
  opacity: .55;
  cursor: default;
}

.hu-tec-disc-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #0d827a;
  background: #e9f7f5;
  font-size: 10px;
  font-weight: 950;
}

.hu-tec-disc-copy > span {
  color: #8ca0aa;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .8px;
}

.hu-tec-disc-copy h3 {
  margin: 5px 0 5px;
  color: #204052;
  font-size: 14px;
}

.hu-tec-disc-copy p {
  margin: 0;
  color: #718691;
  font-size: 9px;
}

.hu-tec-disc-arrow {
  color: #13988d;
  font-size: 19px;
}

.hu-tec-sim-card {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 30px;
  padding: 27px;
  border-radius: 19px;
  border: 1px solid #cfe2e6;
  background:
    linear-gradient(135deg,#062b43,#084965);
  color: white;
}

.hu-tec-sim-main h2 {
  color: white;
  margin: 8px 0 6px;
  font-size: 23px;
}

.hu-tec-sim-main > p {
  color: #a8c0cb;
}

.hu-tec-matrix {
  margin-top: 17px;
  display: grid;
  gap: 6px;
}

.hu-tec-matrix-row {
  padding: 9px 11px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-radius: 9px;
  background: rgba(255,255,255,.06);
}

.hu-tec-matrix-row strong {
  display: block;
  font-size: 9px;
}

.hu-tec-matrix-row span {
  display: block;
  margin-top: 3px;
  color: #8faebb;
  font-size: 7px;
}

.hu-tec-matrix-row b {
  color: #5ed7cb;
  font-size: 11px;
}

.hu-tec-sim-action {
  align-self: center;
}

.hu-tec-sim-action small {
  display: block;
  margin-top: 9px;
  color: #9eb9c5;
  font-size: 8px;
  line-height: 1.5;
}

.hu-tec-primary {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 10px;
  background: #0d9488;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
}

.hu-tec-primary:disabled {
  opacity: .45;
}

.hu-tec-history {
  border: 1px solid #dce7eb;
  border-radius: 15px;
  overflow: hidden;
  background: white;
}

.hu-tec-history-row {
  min-height: 64px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #edf2f4;
}

.hu-tec-history-row:last-child {
  border-bottom: 0;
}

.hu-tec-history-row strong {
  display: block;
  color: #284656;
  font-size: 10px;
}

.hu-tec-history-row span {
  display: block;
  margin-top: 4px;
  color: #8799a2;
  font-size: 8px;
}

.hu-tec-history-row b {
  color: #0d9488;
  font-size: 11px;
}

.hu-tec-empty {
  padding: 30px;
  color: #889ca6;
  text-align: center;
  font-size: 10px;
}

.hu-tec-setup,
.hu-tec-result {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #dce7eb;
  border-radius: 18px;
  background: white;
  box-shadow: 0 15px 40px rgba(7,47,70,.05);
}

.hu-tec-setup .hu-tec-inline-back {
  margin-bottom: 28px;
}

.hu-tec-setup h2,
.hu-tec-result h2 {
  margin: 8px 0 5px;
  font-size: 25px;
}

.hu-tec-quantity-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 8px;
  margin-top: 26px;
}

.hu-tec-quantity-grid button {
  min-height: 85px;
  border-radius: 13px;
  border: 1px solid #d9e6e9;
  background: #f9fbfc;
}

.hu-tec-quantity-grid strong {
  display: block;
  color: #0c8b82;
  font-size: 22px;
}

.hu-tec-quantity-grid span {
  color: #788c96;
  font-size: 8px;
}

.hu-tec-custom {
  margin-top: 25px;
  padding-top: 21px;
  border-top: 1px solid #e8eef0;
}

.hu-tec-custom label {
  display: block;
  margin-bottom: 8px;
  color: #607984;
  font-size: 9px;
  font-weight: 800;
}

.hu-tec-custom > div {
  display: flex;
  gap: 8px;
}

.hu-tec-custom input {
  width: 120px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #d8e4e8;
  color: #254555;
  font-size: 13px;
}

.hu-tec-custom small {
  display: block;
  margin-top: 7px;
  color: #8b9ba3;
  font-size: 8px;
}

.hu-tec-question-toolbar {
  min-height: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hu-tec-question-toolbar > div {
  text-align: right;
}

.hu-tec-question-toolbar strong {
  display: block;
  color: #174258;
  font-size: 18px;
}

.hu-tec-question-toolbar span {
  color: #8296a0;
  font-size: 8px;
}

.hu-tec-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #dfe9ec;
  margin: 4px 0 18px;
}

.hu-tec-progress div {
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg,#0d9488,#55ccc1);
}

.hu-tec-question-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}

.hu-tec-question-side {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 12px;
}

.hu-tec-question-side > div {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #dce7eb;
  background: white;
}

.hu-tec-question-side span {
  display: block;
  color: #8b9ea7;
  font-size: 7px;
  font-weight: 900;
}

.hu-tec-question-side strong {
  display: block;
  margin-top: 6px;
  color: #274a5b;
  font-size: 9px;
  line-height: 1.45;
}

.hu-tec-question-card {
  padding: 29px;
  border-radius: 18px;
  border: 1px solid #dae6ea;
  background: white;
  box-shadow: 0 13px 40px rgba(7,46,68,.05);
}

.hu-tec-question-label {
  color: #0c9086;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .9px;
}

.hu-tec-question-card h2 {
  margin: 18px 0 23px;
  color: #203e4d;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.65;
}

.hu-tec-answers {
  display: grid;
  gap: 8px;
}

.hu-tec-answer {
  width: 100%;
  min-height: 61px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 11px;
  align-items: center;
  text-align: left;
  border: 1px solid #dce6ea;
  border-radius: 11px;
  background: #fbfcfd;
}

.hu-tec-answer > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ecf2f4;
  color: #4c6976;
  font-size: 10px;
  font-weight: 900;
}

.hu-tec-answer p {
  margin: 0;
  color: #405966;
  font-size: 10px;
  line-height: 1.5;
}

.hu-tec-answer.selected {
  border-color: #0d9488;
  background: #f2faf9;
}

.hu-tec-answer.correct {
  border-color: #40aa74;
  background: #effaf4;
}

.hu-tec-answer.wrong {
  border-color: #d86868;
  background: #fff4f4;
}

.hu-tec-feedback {
  margin-top: 18px;
  padding: 15px;
  border-radius: 11px;
  border: 1px solid;
}

.hu-tec-feedback.success {
  border-color: #bce4cd;
  background: #effaf4;
}

.hu-tec-feedback.error {
  border-color: #ecc4c4;
  background: #fff5f5;
}

.hu-tec-feedback strong {
  font-size: 10px;
}

.hu-tec-feedback p {
  margin: 7px 0 0;
  color: #5e747e;
  font-size: 9px;
  line-height: 1.6;
}

.hu-tec-question-actions {
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid #ebf0f2;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.hu-tec-question-actions > button:not(.hu-tec-primary) {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #dce6ea;
  border-radius: 9px;
  background: white;
  color: #617985;
  font-size: 9px;
  font-weight: 800;
}

.hu-tec-question-actions button:disabled {
  opacity: .35;
}

.hu-tec-result {
  text-align: center;
}

.hu-tec-score-circle {
  width: 150px;
  height: 150px;
  margin: 27px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 12px solid #dff3f0;
  outline: 2px solid #0d9488;
  outline-offset: -9px;
}

.hu-tec-score-circle strong {
  color: #0d8b82;
  font-size: 34px;
}

.hu-tec-score-circle span {
  color: #81959f;
  font-size: 8px;
}

.hu-tec-result-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 9px;
  margin-bottom: 22px;
}

.hu-tec-result-stats div {
  padding: 15px;
  border-radius: 12px;
  background: #f6f9fa;
}

.hu-tec-result-stats strong {
  display: block;
  color: #214658;
  font-size: 20px;
}

.hu-tec-result-stats span {
  color: #879aa3;
  font-size: 8px;
}

.hu-tec-result-detail {
  border: 1px solid #e0e8eb;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.hu-tec-result-row {
  min-height: 61px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1f3;
}

.hu-tec-result-row:last-child {
  border: 0;
}

.hu-tec-result-row strong {
  display: block;
  color: #294957;
  font-size: 9px;
}

.hu-tec-result-row span {
  display: block;
  margin-top: 3px;
  color: #8a9da6;
  font-size: 8px;
}

.hu-tec-result-row b {
  color: #0d9488;
  font-size: 12px;
}

.hu-tec-result-actions {
  margin-top: 22px;
}

.hu-tec-local-note {
  margin-top: 16px;
  color: #8b9da5;
  font-size: 8px;
}

.hu-tec-error {
  max-width: 650px;
  margin: 40px auto;
  padding: 25px;
  border: 1px solid #edcccc;
  border-radius: 15px;
  background: #fff7f7;
  color: #944949;
}

.hu-tec-error p,
.hu-tec-error li {
  font-size: 10px;
  line-height: 1.6;
}

@media(max-width:760px) {

  .hu-tec-top-inner {
    width: calc(100% - 26px);
    min-height:
      calc(
        145px + env(safe-area-inset-top)
      );
    padding-top:
      env(safe-area-inset-top);
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .hu-tec-back {
    grid-column: 1/-1;
    width: fit-content;
    margin-top: 12px !important;
    margin-bottom: -7px;
  }

  .hu-tec-top h1 {
    font-size: 21px;
  }

  .hu-tec-top p {
    font-size: 9px;
  }

  .hu-tec-local {
    width: 72px;
    height: 56px;
  }

  .hu-tec-main {
    width: calc(100% - 24px);
    padding:
      17px 0
      calc(
        60px + env(safe-area-inset-bottom)
      );
  }

  .hu-tec-intro {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hu-tec-intro h2 {
    font-size: 21px;
  }

  .hu-tec-total-card {
    min-height: 85px;
  }

  .hu-tec-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hu-tec-stat {
    padding: 14px;
  }

  .hu-tec-disc-grid {
    grid-template-columns: 1fr;
  }

  .hu-tec-discipline {
    padding: 14px;
    grid-template-columns: 46px 1fr 20px;
  }

  .hu-tec-disc-icon {
    width: 45px;
    height: 45px;
  }

  .hu-tec-sim-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hu-tec-sim-action .hu-tec-primary {
    width: 100%;
  }

  .hu-tec-history-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 14px;
  }

  .hu-tec-setup,
  .hu-tec-result {
    padding: 20px 15px;
  }

  .hu-tec-quantity-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .hu-tec-custom > div {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .hu-tec-custom input {
    width: auto;
  }

  .hu-tec-question-layout {
    display: block;
  }

  .hu-tec-question-side {
    position: static;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 10px;
  }

  .hu-tec-question-card {
    padding: 20px 14px;
  }

  .hu-tec-question-card h2 {
    font-size: 14px;
  }

  .hu-tec-answer {
    grid-template-columns: 32px 1fr;
    padding: 8px;
  }

  .hu-tec-answer > span {
    width: 29px;
    height: 29px;
  }

  .hu-tec-result-stats {
    grid-template-columns: repeat(3,1fr);
  }
}
