/* tunx learning portal. All rules scoped to preserve the examination interface. */
:root {
  --tx-ink: #172b4d;
  --tx-muted: #748196;
  --tx-line: #e5e9ef;
  --tx-red: #dc483b;
  --tx-bg: #f5f7fa;
}
.tx-header,
.tx-shell,
.tx-auth-page,
.tx-footer {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  color: var(--tx-ink);
  font-size: 14px;
  line-height: 1.6;
  box-sizing: border-box;
}
.tx-header *,
.tx-shell *,
.tx-auth-page * {
  box-sizing: border-box;
}
.tx-header a,
.tx-shell a,
.tx-auth-page a,
.tx-footer a {
  text-decoration: none;
  color: inherit;
}
.tx-header button,
.tx-shell button,
.tx-auth-page button {
  font: inherit;
  cursor: pointer;
}
.tx-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  background: #fff;
  border-bottom: 1px solid var(--tx-line);
  gap: 24px;
  position: relative;
  z-index: 4;
}
.tx-brand {
  display: flex;
  align-items: center;
  font-size: 38px !important;
  letter-spacing: -2.9px;
  font-weight: 800;
  line-height: 1;
}
.tx-brand > span {
  color: var(--tx-red);
}
.tx-brand small {
  font-size: 8px;
  letter-spacing: 1.6px;
  font-weight: 600;
  margin: 7px 0 0 18px;
  border-left: 1px solid #d8dee7;
  padding-left: 18px;
  white-space: nowrap;
}
.tx-header nav {
  display: flex;
  gap: 29px;
  align-items: center;
  height: 100%;
}
.tx-header nav > a,
.tx-header nav > button {
  font-size: 12px;
  background: none;
  border: 0;
  padding: 29px 0;
  color: #708096;
  white-space: nowrap;
  position: relative;
}
.tx-header nav .selected {
  color: var(--tx-ink);
  font-weight: 600;
}
.tx-header nav .selected:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tx-red);
}
.tx-header-account {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.tx-login-link {
  font-weight: 600;
  white-space: nowrap;
}
.tx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--tx-ink);
  background: var(--tx-ink);
  color: #fff !important;
  border-radius: 7px;
  padding: 14px 21px;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
}
.tx-btn:hover {
  background: #294466;
  transform: translateY(-1px);
}
.tx-btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.tx-small {
  padding: 10px 16px;
}
.tx-white {
  background: #fff;
  border-color: #fff;
  color: var(--tx-ink) !important;
}
.tx-white:hover {
  background: #f1f4f8;
}
.tx-outline {
  background: transparent;
  color: var(--tx-ink) !important;
  border-color: #d0d8e3;
}
.tx-outline:hover {
  background: #f3f6fa;
}
.tx-user {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tx-user > span {
  width: 34px;
  height: 34px;
  background: #edf1f7;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 600;
  flex-shrink: 0;
}
.tx-shell {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  background: var(--tx-bg);
  min-height: calc(100dvh - 82px);
}
.tx-sidebar {
  background: #fff;
  border-right: 1px solid var(--tx-line);
  padding: 34px 17px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tx-side-caption {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.3px;
  color: #98a2b1;
  margin: 0 15px 18px;
}
.tx-sidebar > a,
.tx-sidebar > button,
.tx-side-bottom > button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  text-align: left;
  width: 100%;
  border-radius: 7px;
  padding: 13px 15px;
  font-size: 12px;
  color: #6e7d91;
  white-space: nowrap;
}
.tx-sidebar > a.selected {
  color: #c43e34;
  background: #fcf0ed;
  font-weight: 600;
}
.tx-sidebar > a:hover,
.tx-sidebar > button:hover,
.tx-side-bottom > button:hover {
  background: #f4f6f9;
}
.tx-sidebar > a.selected:hover {
  background: #fce9e5;
}
.tx-tiny {
  font-size: 9px;
  margin-left: auto;
  background: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  color: #a8b0bd;
}
.tx-side-bottom {
  margin-top: auto;
  padding-top: 80px;
}
.tx-side-note {
  background: #f6f8fb;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  padding: 20px 16px;
  margin-bottom: 22px;
}
.tx-side-note > span {
  font-size: 7px;
  letter-spacing: 1px;
  color: #8b97a8;
}
.tx-side-note strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.5px;
  margin: 12px 0;
}
.tx-side-note p {
  font-size: 10px;
  line-height: 1.9;
  color: #8b97a8;
  margin: 0;
}
.tx-side-bottom > small {
  display: block;
  font-size: 8px;
  color: #a1aab8;
  margin: 25px 8px 0;
}
.tx-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tx-main > main {
  width: 100%;
  max-width: 1390px;
  margin: 0 auto;
  padding: 36px 42px 50px;
  flex: 1;
}
.tx-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.tx-kicker {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: #7f8da1;
}
.tx-page-heading h1 {
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: -0.9px;
  font-weight: 650;
  margin: 10px 0 8px;
}
.tx-page-heading p {
  color: #8490a1;
  font-size: 11px;
  margin: 0;
  line-height: 1.8;
}
.tx-edition {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfe5ed;
  border-radius: 5px;
  font-size: 9px;
  padding: 7px 10px;
  color: #8290a4;
  white-space: nowrap;
}
.tx-edition b {
  color: #364e70;
  font-weight: 600;
}
.tx-hero {
  background: #162e50;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  min-height: 355px;
  position: relative;
  color: #fff;
}
.tx-hero-copy {
  padding: 37px 0 27px 38px;
  z-index: 1;
}
.tx-hero .tx-kicker {
  font-size: 7px;
  color: #a4b7d0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1.3px;
}
.tx-hero .tx-kicker i {
  width: 6px;
  height: 6px;
  background: #f08b69;
  display: block;
  border-radius: 50%;
}
.tx-hero h2 {
  font-size: 38px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -1.5px;
  margin: 18px 0 17px;
  color: #fff;
}
.tx-hero p {
  font-size: 10px;
  line-height: 1.9;
  color: #a6b7cd;
  margin: 0 0 24px;
}
.tx-hero .tx-btn {
  font-size: 10px !important;
  padding: 12px 16px;
}
.tx-hero-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 8px;
  color: #a4b8d0;
  margin-top: 26px;
}
.tx-hero-bottom i {
  width: 3px;
  height: 3px;
  background: #617b9d;
  border-radius: 50%;
}
.tx-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}
.tx-orbit {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
  right: -50px;
  top: 0;
}
.tx-orbit:after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
}
.tx-paper {
  width: 216px;
  min-height: 280px;
  background: #f7f6f0;
  color: #182c4b;
  transform: rotate(8deg);
  padding: 21px 23px;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 14px 20px #06172f33;
}
.tx-paper-back {
  position: absolute;
  transform: translate(-23px, 13px) rotate(-8deg);
  background: #b4c1cf;
  min-height: 277px;
}
.tx-paper-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.tx-paper-top b {
  font-size: 23px;
  letter-spacing: -1.6px;
  line-height: 1;
}
.tx-paper-top b span {
  color: #dc483b;
}
.tx-paper-top > span {
  font-size: 6px;
  letter-spacing: 1px;
}
.tx-paper-label {
  font-size: 7px;
  letter-spacing: 1.4px;
  color: #8591a0;
  display: block;
}
.tx-paper-number {
  font-family: Arial, sans-serif;
  font-size: 75px;
  line-height: 1.2;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -4px;
}
.tx-paper-number > span {
  font-size: 45px;
  font-weight: 300;
  letter-spacing: 0;
  color: #d55143;
}
.tx-paper-rule {
  height: 1px;
  background: #cfd6dd;
  margin: 9px 0 10px;
}
.tx-paper-subject {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  padding: 6px 0;
}
.tx-paper-subject b {
  font-weight: 500;
}
.tx-paper-bottom {
  font-size: 6px;
  letter-spacing: 1.3px;
  color: #8993a0;
  margin-top: 17px;
}
.tx-art-sticker {
  position: absolute;
  right: 20px;
  bottom: 30px;
  background: #df6249;
  color: #fff;
  padding: 14px 17px;
  font-size: 7px;
  line-height: 1.8;
  letter-spacing: 1px;
  transform: rotate(-7deg);
  box-shadow: 0 5px 10px #0002;
}
.tx-art-sticker b {
  font-size: 11px;
}
.tx-art-sticker svg {
  margin-left: 12px;
  vertical-align: middle;
}
.tx-section {
  margin-top: 34px;
}
.tx-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
  gap: 15px;
}
.tx-section-heading h2 {
  font-size: 20px;
  letter-spacing: -0.65px;
  font-weight: 600;
  margin: 8px 0 0;
}
.tx-section-heading > a {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #76869c;
}
.tx-subject-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.tx-subject-card {
  background: #fff;
  border: 1px solid var(--tx-line);
  border-radius: 9px;
  padding: 23px 23px 0;
  overflow: hidden;
}
.tx-subject-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8597ae;
}
.tx-subject-top > span {
  font-size: 9px;
  letter-spacing: 1px;
}
.tx-subject-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 20px 0 10px;
}
.tx-subject-card p {
  font-size: 10px;
  line-height: 1.9;
  color: #8c98a9;
  min-height: 38px;
  margin: 0 0 17px;
}
.tx-card-meta {
  display: flex;
  gap: 12px;
  font-size: 9px;
  color: #708097;
  padding-bottom: 22px;
}
.tx-card-meta span + span {
  border-left: 1px solid #d8dfe8;
  padding-left: 12px;
}
.tx-subject-card > button {
  background: #fff;
  border: 0;
  border-top: 1px solid #edf0f4;
  padding: 15px 23px;
  width: calc(100% + 46px);
  margin: 0 -23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #3d5675;
  font-size: 10px;
}
.tx-subject-card > button:hover {
  background: #f8fafc;
}
.tx-bottom-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
  margin-top: 30px;
}
.tx-method {
  border: 1px solid var(--tx-line);
  background: #fff;
  border-radius: 9px;
  padding: 29px;
}
.tx-method h2,
.tx-account-prompt h2 {
  font-size: 23px;
  line-height: 1.45;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin: 11px 0 21px;
}
.tx-method ol {
  padding: 0;
  list-style: none;
  margin: 0;
}
.tx-method li {
  display: flex;
  gap: 14px;
  margin-top: 19px;
}
.tx-method li > span {
  color: #a3afbf;
  font-size: 9px;
  padding-top: 3px;
}
.tx-method strong {
  font-size: 11px;
  font-weight: 500;
}
.tx-method li p {
  font-size: 9px;
  color: #8c98aa;
  margin: 4px 0 0;
}
.tx-account-prompt {
  background: #eef1ed;
  border: 1px solid #e4e8e2;
  border-radius: 9px;
  padding: 29px;
  position: relative;
  overflow: hidden;
}
.tx-account-prompt .tx-kicker {
  color: #869182;
}
.tx-account-prompt h2 {
  margin-top: 16px;
}
.tx-account-prompt p {
  font-size: 10px;
  line-height: 2;
  color: #7c897b;
  max-width: 260px;
  margin: 0 0 23px;
}
.tx-account-prompt .tx-btn {
  font-size: 10px !important;
  background: #ffffff70;
  border-color: #cfd8cc;
}
.tx-mini-symbol {
  font-size: 110px;
  font-weight: 800;
  letter-spacing: -12px;
  color: #dce2d7;
  position: absolute;
  right: 21px;
  top: 7px;
  line-height: 1;
}
.tx-mini-symbol span {
  color: #c3ceba;
}
.tx-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 42px;
  gap: 16px;
  border-top: 1px solid var(--tx-line);
  font-size: 8px;
  color: #9aa6b6;
  background: #f9fafc;
}
.tx-resume {
  border: 1px solid #d6e2dd;
  background: #edf5f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  margin-bottom: 22px;
}
.tx-resume strong {
  font-size: 11px;
  font-weight: 600;
}
.tx-resume p {
  font-size: 9px;
  color: #7c9386;
  margin: 5px 0 0;
}
.tx-resume > .tx-btn {
  margin-left: auto;
  font-size: 10px !important;
}
.tx-resume-dot {
  width: 7px;
  height: 7px;
  background: #739880;
  border-radius: 50%;
  flex-shrink: 0;
}
.tx-plain {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: #7e8da2;
  font-size: 10px !important;
}
.tx-catalog-banner {
  border: 1px solid #dce4ed;
  border-radius: 9px;
  background: #eaf0f7;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tx-catalog-banner h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 600;
  margin: 9px 0;
}
.tx-catalog-banner p {
  font-size: 10px;
  color: #7d8fa5;
  margin: 0;
}
.tx-free-badge {
  font-size: 9px;
  background: #fff;
  padding: 7px 10px;
  border: 1px solid #d8e3e1;
  border-radius: 5px;
  color: #5e877b;
  white-space: nowrap;
}
.tx-catalog-tools {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 26px 0 22px;
  flex-wrap: wrap;
}
.tx-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tx-tabs > button {
  padding: 9px 13px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 5px;
  font-size: 10px;
  color: #8492a6;
}
.tx-tabs > button.selected {
  background: #fff;
  border-color: #dce3eb;
  color: #273f60;
  font-weight: 600;
}
.tx-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe5ec;
  border-radius: 6px;
  background: #fff;
  color: #a7b0be;
  padding: 0 9px;
  height: 36px;
}
.tx-search input {
  border: 0;
  background: none;
  width: 130px;
  font-size: 10px;
  color: #405574;
  outline-offset: 3px;
  min-width: 0;
}
.tx-search button {
  font-size: 9px;
  border: 0;
  border-left: 1px solid #e7eaf0;
  background: none;
  color: #687e9b;
  padding: 0 0 0 8px;
}
.tx-exam-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tx-exam-card {
  border: 1px solid #e0e6ee;
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
}
.tx-exam-cover {
  height: 123px;
  background: #dce5f1;
  color: #3a567e;
  position: relative;
  overflow: hidden;
  padding: 19px 21px;
}
.tx-exam-cover.full {
  background: #1e385b;
  color: #bdcde4;
}
.tx-exam-cover.reading {
  background: #e6eadf;
  color: #6e8066;
}
.tx-exam-cover.science {
  background: #eee5de;
  color: #98816f;
}
.tx-exam-cover > span {
  display: block;
  font-size: 7px;
  letter-spacing: 1.2px;
}
.tx-exam-cover > b {
  font-size: 95px;
  font-family: Arial, sans-serif;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -7px;
  position: absolute;
  right: 18px;
  top: 29px;
  opacity: 0.5;
}
.tx-exam-cover > small {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1.4px;
  position: absolute;
  bottom: 14px;
}
.tx-exam-body {
  padding: 21px;
}
.tx-tag {
  font-size: 8px;
  color: #658b7d;
  background: #eff6f1;
  border: 1px solid #e0ebe3;
  border-radius: 4px;
  padding: 3px 7px;
}
.tx-exam-body h2 {
  font-size: 16px;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin: 14px 0 7px;
}
.tx-exam-body > p {
  font-size: 10px;
  color: #97a1af;
  margin: 0;
}
.tx-exam-body dl,
.tx-profile-card dl {
  margin: 20px 0;
  border-top: 1px solid #edf0f4;
  padding-top: 13px;
}
.tx-exam-body dl > div,
.tx-profile-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0;
  font-size: 10px;
}
.tx-exam-body dt,
.tx-profile-card dt {
  color: #9aa5b5;
}
.tx-exam-body dd,
.tx-profile-card dd {
  margin: 0;
  font-weight: 500;
}
.tx-exam-body > .tx-btn {
  width: 100%;
  font-size: 10px !important;
  padding: 11px 13px;
  justify-content: space-between;
}
.tx-local-note {
  font-size: 9px;
  color: #98a4b5;
  line-height: 1.9;
  margin: 25px 0 0;
}
.tx-empty {
  padding: 50px;
  background: #fff;
  border-radius: 8px;
  font-size: 12px;
  grid-column: 1/-1;
}
.tx-auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100dvh - 140px);
  background: #fff;
}
.tx-auth-story {
  background: #183254;
  color: #fff;
  padding: 55px 13% 28px 13%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tx-auth-story .tx-kicker {
  color: #9db0c9;
  font-size: 8px;
}
.tx-auth-story h1 {
  color: #fff;
  font-size: 35px;
  line-height: 1.45;
  letter-spacing: -1.2px;
  font-weight: 600;
  margin: 23px 0 16px;
}
.tx-auth-story > p {
  color: #9fb3cd;
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
}
.tx-auth-graphic {
  margin: 41px 0 39px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.tx-graphic-box {
  border: 1px solid #55708d;
  width: 85%;
  position: relative;
  padding: 18px 20px;
  background: #233f62;
  border-radius: 4px;
  min-height: 80px;
}
.tx-graphic-box:nth-child(2) {
  margin-left: 22px;
  background: #e1e6db;
  border-color: #e1e6db;
  color: #385046;
}
.tx-graphic-box:nth-child(3) {
  margin-left: 44px;
  background: #dd6a52;
  border-color: #dd6a52;
  color: #fff;
}
.tx-graphic-box > span {
  font-size: 7px;
  letter-spacing: 1.2px;
  display: block;
}
.tx-graphic-box > b {
  font-size: 28px;
  font-family: Arial, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  display: block;
  margin-top: 8px;
}
.tx-graphic-box > i {
  position: absolute;
  right: 23px;
  bottom: 17px;
  font-size: 25px;
  font-style: normal;
}
.tx-auth-story-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  color: #8ca2bf;
}
.tx-auth-story-footer b {
  font-size: 25px;
  letter-spacing: -1.7px;
  color: #fff;
}
.tx-auth-story-footer span {
  font-size: 7px;
  letter-spacing: 1px;
}
.tx-auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 45px;
}
.tx-auth-form-inner {
  width: 100%;
  max-width: 380px;
}
.tx-back-link {
  display: inline-block;
  font-size: 10px;
  color: #8b98aa !important;
  margin-bottom: 25px;
}
.tx-auth-form-inner h2 {
  font-size: 26px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.9px;
  margin: 0 0 9px;
}
.tx-auth-subtitle {
  font-size: 11px;
  color: #8b97a9;
  line-height: 1.9;
  margin: 0 0 25px;
}
.tx-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px;
  background: #fff;
  border: 1px solid #dbe2eb;
  border-radius: 6px;
  font-size: 12px !important;
  color: #3c4e68;
}
.tx-google:hover {
  background: #f8fafd;
}
.tx-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  color: #a0aaba;
  margin: 22px 0;
}
.tx-divider:before,
.tx-divider:after {
  content: "";
  height: 1px;
  background: #edf0f5;
  flex: 1;
}
.tx-auth-form label {
  display: block;
  font-size: 11px;
  color: #425573;
  font-weight: 500;
}
.tx-auth-form > input,
.tx-password-wrap {
  margin-top: 8px;
  margin-bottom: 19px;
  width: 100%;
  border: 1px solid #dfe5ed;
  border-radius: 6px;
  background: #fcfdff;
}
.tx-auth-form > input,
.tx-password-wrap input {
  font-family: inherit;
  font-size: 12px;
  color: #2e4668;
  padding: 13px 14px;
  line-height: 1.5;
}
.tx-auth-form > input::placeholder,
.tx-password-wrap input::placeholder {
  color: #b1bac8;
}
.tx-password-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.tx-password-wrap input {
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  border-radius: 6px;
}
.tx-password-wrap button {
  display: flex;
  align-items: center;
  border: 0;
  background: none;
  padding: 12px;
  color: #9aa8bb;
}
.tx-field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tx-field-label > a {
  font-size: 10px;
  color: #7185a2;
}
.tx-auth-form input:focus {
  outline: 2px solid #98b3d4;
  outline-offset: 2px;
}
.tx-auth-form .tx-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 9px;
  line-height: 1.8;
  color: #8b97aa;
  margin-top: 16px;
  font-weight: 400;
}
.tx-consent input {
  margin-top: 3px;
  accent-color: #233e63;
}
.tx-form-message {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 12px;
  min-height: 10px;
}
.tx-form-message.error {
  color: #c04437;
}
.tx-form-message.success {
  color: #4c846f;
}
.tx-submit {
  width: 100%;
  margin-top: 10px;
  font-size: 12px !important;
  padding: 13px 18px;
}
.tx-auth-switch {
  text-align: center;
  font-size: 10px;
  color: #8f9bac;
  margin: 22px 0;
}
.tx-auth-switch a {
  font-weight: 600;
  color: #344f76;
}
.tx-auth-security {
  font-size: 8px;
  color: #a7b0bd;
  line-height: 1.9;
  text-align: center;
  border-top: 1px solid #eef1f5;
  padding-top: 18px;
  margin-top: 25px;
}
.tx-auth-unavailable {
  font-size: 9px;
  line-height: 1.8;
  border: 1px solid #e2e7ed;
  background: #f6f8fb;
  padding: 10px 12px;
  border-radius: 5px;
  color: #8291a5;
  margin-bottom: 17px;
}
.tx-auth-unavailable a {
  color: #3d5e8b;
  text-decoration: underline;
}
.tx-account-empty {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.tx-account-icon {
  width: 70px;
  height: 70px;
  background: #e7edf5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6884a6;
  margin-bottom: 25px;
}
.tx-account-empty h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 15px 0 8px;
}
.tx-account-empty > p {
  font-size: 12px;
  color: #8493a7;
  margin: 0 0 28px;
}
.tx-account-empty .tx-back-link {
  margin-top: 22px;
}
.tx-profile-card {
  max-width: 650px;
  background: #fff;
  border: 1px solid var(--tx-line);
  border-radius: 10px;
  padding: 35px;
}
.tx-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf1f7;
  font-size: 23px;
}
.tx-profile-card h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 18px 0 6px;
}
.tx-profile-card > p {
  font-size: 12px;
  color: #8b99ad;
  margin: 0;
}
.tx-profile-card dl {
  padding: 20px 0;
  margin: 25px 0;
}
.tx-profile-card dl > div {
  font-size: 12px;
  padding: 10px 0;
}
.tx-header a:focus-visible,
.tx-shell a:focus-visible,
.tx-shell button:focus-visible,
.tx-auth-page button:focus-visible,
.tx-auth-page a:focus-visible {
  outline: 2px solid #839fc2;
  outline-offset: 4px;
}
@media (min-width: 1600px) {
  .tx-main > main {
    padding-top: 45px;
  }
  .tx-hero {
    min-height: 390px;
  }
  .tx-hero-copy {
    padding-top: 45px;
  }
  .tx-hero h2 {
    font-size: 43px;
  }
  .tx-hero-art {
    transform: scale(1.08);
  }
  .tx-auth-story {
    padding-top: 70px;
  }
  .tx-auth-story h1 {
    font-size: 43px;
  }
}
@media (max-width: 1150px) {
  .tx-brand small {
    display: none;
  }
  .tx-header {
    padding: 0 25px;
  }
  .tx-header nav {
    gap: 20px;
  }
  .tx-shell {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .tx-main > main {
    padding: 29px 27px 40px;
  }
  .tx-sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .tx-sidebar > a,
  .tx-sidebar > button {
    font-size: 11px;
    padding-left: 12px;
    gap: 9px;
  }
  .tx-page-heading h1 {
    font-size: 22px;
  }
  .tx-edition {
    display: none;
  }
  .tx-hero-copy {
    padding-left: 28px;
  }
  .tx-hero h2 {
    font-size: 32px;
  }
  .tx-paper {
    transform: rotate(8deg) scale(0.85);
  }
  .tx-paper-back {
    transform: translate(-16px, 10px) rotate(-8deg) scale(0.85);
  }
  .tx-art-sticker {
    right: 7px;
    bottom: 30px;
    padding: 9px;
  }
  .tx-hero {
    min-height: 330px;
    grid-template-columns: 1.15fr 1fr;
  }
  .tx-subject-grid {
    gap: 11px;
  }
  .tx-subject-card {
    padding: 19px 17px 0;
  }
  .tx-subject-card h3 {
    font-size: 13px;
  }
  .tx-subject-card > button {
    padding: 14px 17px;
    width: calc(100% + 34px);
    margin-left: -17px;
    margin-right: -17px;
  }
  .tx-subject-card p {
    font-size: 9px;
  }
  .tx-exam-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tx-bottom-grid {
    gap: 15px;
  }
  .tx-method,
  .tx-account-prompt {
    padding: 23px;
  }
  .tx-mini-symbol {
    font-size: 90px;
    right: 15px;
  }
  .tx-auth-story {
    padding: 48px 10% 28px;
  }
  .tx-auth-story h1 {
    font-size: 30px;
  }
  .tx-auth-form-wrap {
    padding: 35px;
  }
  .tx-auth-form-inner h2 {
    font-size: 23px;
  }
}
@media (max-width: 850px) {
  .tx-header {
    height: 70px;
    padding: 0 23px;
  }
  .tx-header nav {
    gap: 18px;
  }
  .tx-header nav > a,
  .tx-header nav > button {
    font-size: 10px;
    padding: 24px 0;
  }
  .tx-header-account {
    gap: 13px;
    font-size: 10px;
  }
  .tx-header-account .tx-btn {
    font-size: 10px !important;
    padding: 9px 12px;
  }
  .tx-brand {
    font-size: 31px !important;
  }
  .tx-shell {
    grid-template-columns: 1fr;
  }
  .tx-sidebar {
    display: none;
  }
  .tx-main > main {
    padding: 29px 27px 40px;
  }
  .tx-hero {
    grid-template-columns: 1.1fr 1fr;
  }
  .tx-hero h2 {
    font-size: 35px;
  }
  .tx-paper {
    transform: rotate(8deg) scale(0.9);
  }
  .tx-paper-back {
    transform: translate(-19px, 10px) rotate(-8deg) scale(0.9);
  }
  .tx-art-sticker {
    right: 20px;
  }
  .tx-auth-story {
    padding: 40px 25px 25px;
  }
  .tx-auth-story h1 {
    font-size: 26px;
  }
  .tx-auth-story > p {
    font-size: 10px;
  }
  .tx-auth-form-wrap {
    padding: 30px;
  }
  .tx-auth-form-inner h2 {
    font-size: 21px;
  }
  .tx-graphic-box {
    width: 83%;
  }
  .tx-auth-page {
    min-height: calc(100dvh - 130px);
  }
  .tx-footer {
    padding: 20px 27px;
  }
}
@media (max-width: 600px) {
  .tx-header {
    padding: 0 18px;
    height: 65px;
    gap: 10px;
  }
  .tx-header nav {
    gap: 14px;
    margin-left: auto;
  }
  .tx-header nav > a {
    font-size: 10px;
    padding: 22px 0;
  }
  .tx-header nav > button {
    display: none;
  }
  .tx-header-account {
    gap: 8px;
  }
  .tx-header-account > .tx-btn {
    display: none;
  }
  .tx-login-link {
    font-size: 10px;
  }
  .tx-brand {
    font-size: 29px !important;
  }
  .tx-main > main {
    padding: 26px 18px 32px;
  }
  .tx-page-heading {
    margin-bottom: 23px;
  }
  .tx-page-heading h1 {
    font-size: 23px;
    max-width: 320px;
    margin-top: 10px;
  }
  .tx-page-heading p {
    font-size: 10px;
    max-width: 300px;
  }
  .tx-kicker {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
  .tx-hero {
    display: block;
    min-height: 0;
  }
  .tx-hero-copy {
    padding: 29px 26px 30px;
  }
  .tx-hero h2 {
    font-size: 35px;
    margin: 18px 0;
  }
  .tx-hero p {
    font-size: 10px;
    max-width: 220px;
  }
  .tx-hero-art {
    display: none;
  }
  .tx-hero-bottom {
    font-size: 8px;
    margin-top: 26px;
  }
  .tx-hero .tx-kicker {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .tx-section {
    margin-top: 28px;
  }
  .tx-section-heading h2 {
    font-size: 19px;
  }
  .tx-section-heading > a {
    font-size: 0;
    gap: 0;
  }
  .tx-subject-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tx-subject-card {
    display: grid;
    grid-template-columns: 32px 1fr 35px;
    column-gap: 14px;
    padding: 19px;
  }
  .tx-subject-top {
    grid-column: 1;
    grid-row: 1/4;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    justify-content: center;
  }
  .tx-subject-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 14px;
  }
  .tx-subject-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: 9px;
    min-height: 0;
    margin: 5px 0 9px;
  }
  .tx-card-meta {
    grid-column: 2;
    grid-row: 3;
    padding: 0;
    font-size: 8px;
  }
  .tx-subject-card > button {
    grid-column: 3;
    grid-row: 1/4;
    font-size: 0;
    width: auto;
    margin: 0;
    border: 0;
    padding: 8px;
    border-radius: 5px;
  }
  .tx-bottom-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .tx-method,
  .tx-account-prompt {
    padding: 25px;
  }
  .tx-method h2,
  .tx-account-prompt h2 {
    font-size: 24px;
  }
  .tx-method li p {
    font-size: 10px;
  }
  .tx-account-prompt p {
    font-size: 11px;
    max-width: 280px;
  }
  .tx-mini-symbol {
    right: 25px;
    top: 25px;
    font-size: 110px;
  }
  .tx-footer {
    padding: 19px 18px;
    font-size: 7px;
    flex-wrap: wrap;
    gap: 7px;
  }
  .tx-resume {
    padding: 15px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .tx-resume strong {
    font-size: 10px;
  }
  .tx-resume p {
    font-size: 8px;
  }
  .tx-resume > .tx-btn {
    margin-left: 17px;
    font-size: 9px !important;
    padding: 8px 13px;
  }
  .tx-catalog-banner {
    padding: 23px;
    display: block;
  }
  .tx-catalog-banner h2 {
    font-size: 21px;
    line-height: 1.5;
  }
  .tx-catalog-banner p {
    font-size: 10px;
    line-height: 1.9;
  }
  .tx-free-badge {
    display: inline-block;
    margin-top: 16px;
  }
  .tx-catalog-tools {
    margin-top: 20px;
  }
  .tx-tabs {
    gap: 0;
    width: 100%;
    justify-content: space-between;
  }
  .tx-tabs > button {
    padding: 8px;
    font-size: 9px;
  }
  .tx-search {
    width: 100%;
  }
  .tx-search input {
    flex: 1;
  }
  .tx-exam-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .tx-exam-card {
    display: grid;
    grid-template-columns: 105px 1fr;
  }
  .tx-exam-cover {
    height: 100%;
    padding: 17px 14px;
  }
  .tx-exam-cover > span {
    font-size: 6px;
    line-height: 1.8;
    max-width: 55px;
  }
  .tx-exam-cover > b {
    font-size: 72px;
    right: 13px;
    top: 80px;
  }
  .tx-exam-cover > small {
    font-size: 21px;
    bottom: 15px;
    left: 15px;
  }
  .tx-exam-body {
    padding: 18px;
  }
  .tx-exam-body h2 {
    font-size: 16px;
  }
  .tx-exam-body dl {
    margin: 15px 0;
    padding-top: 10px;
  }
  .tx-exam-body dl > div {
    font-size: 9px;
    padding: 4px 0;
  }
  .tx-page-heading > .tx-plain {
    display: none;
  }
  .tx-auth-page {
    display: block;
    min-height: calc(100dvh - 120px);
  }
  .tx-auth-story {
    display: none;
  }
  .tx-auth-form-wrap {
    padding: 28px 24px 35px;
    min-height: calc(100dvh - 120px);
  }
  .tx-auth-form-inner {
    max-width: 380px;
  }
  .tx-auth-form-inner h2 {
    font-size: 27px;
  }
  .tx-auth-subtitle {
    font-size: 11px;
    margin-bottom: 25px;
  }
  .tx-auth-form label {
    font-size: 12px;
  }
  .tx-auth-form > input,
  .tx-password-wrap input {
    font-size: 16px;
    padding: 13px 14px;
  }
  .tx-google {
    padding: 14px;
  }
  .tx-auth-switch {
    font-size: 11px;
  }
  .tx-auth-security {
    font-size: 9px;
  }
  .tx-auth-unavailable {
    font-size: 10px;
  }
  .tx-auth-form .tx-consent {
    font-size: 10px;
  }
  .tx-profile-card {
    padding: 25px;
  }
  .tx-profile-card dl > div {
    font-size: 10px;
  }
  .tx-account-empty h1 {
    font-size: 25px;
  }
  .tx-account-empty > p {
    font-size: 11px;
  }
  .tx-user {
    max-width: 90px;
    font-size: 0;
  }
  .tx-user > span {
    font-size: 12px;
  }
  .tx-empty {
    padding: 35px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tx-btn {
    transition: none;
  }
  .tx-btn:hover {
    transform: none;
  }
}
