body {
    font-size:14px !important;
}
.pte-shell,
.pte-test-screen,
.pte-dashboard-app,
.pte-player-shell,
.pte-score-layout,
.pte-login-page {
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2f3f;
}

.pte-login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 420px minmax(260px, 1fr);
  gap: 48px;
  align-items: center;
  padding: 40px 46px;
  background: #fff center/cover no-repeat;
}

.pte-login-column {
  color: #111;
  font-size: 21px;
  line-height: 1.8;
}

.pte-login-column h2 {
  margin: 0 0 18px;
  color: #111;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
}

.pte-login-column ol {
  margin: 0 0 36px 36px;
  padding: 0;
}

.pte-login-column li {
  margin: 0 0 12px;
}

.pte-login-center {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.pte-login-logo {
  width: 108px;
  height: auto;
  object-fit: contain;
}

.pte-login-card {
  width: 100%;
  padding: 20px 28px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(70, 89, 99, 0.35);
}

.pte-login-card h1 {
  margin: 0 0 24px;
  color: #111;
  text-align: center;
  font-size: 25px;
  font-weight: 800;
}

.pte-login-error {
  margin: 0 0 16px;
  color: #b42318;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.pte-login-field {
  position: relative;
  display: block;
  margin-bottom: 16px;
}

.pte-login-field input {
  width: 87%;
  height: 48px;
  padding: 0 46px 0 14px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 15px;
}

.pte-login-field .dashicons {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #111;
  font-size: 18px;
}

.pte-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 22px;
  color: #111;
  font-size: 14px;
}

.pte-login-row label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pte-login-row a {
  color: #111 !important;
  text-decoration: none;
}

.pte-login-card button[type="submit"] {
  display: block;
  min-width: 116px;
  height: 42px;
  margin: 0 auto;
  padding: 0 22px;
  border: 2px solid #111;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.pte-login-whatsapp {
  margin: 18px 0 0;
  color: #111;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
}

body:has(.pte-dashboard-app) {
  margin: 0;
  overflow: hidden;
}

body.pte-dashboard-standalone {
  margin: 0;
  background: #f1f1f1;
}

body:has(.pte-score-app),
body.pte-score-standalone,
body.pte-player-standalone {
  margin: 0;
  overflow: hidden;
  background: #eef4fb;
}

html:has(.pte-score-app) {
  margin-top: 0 !important;
}

html:has(.pte-player-shell) {
  margin-top: 0 !important;
}

body:has(.pte-score-app) #wpadminbar {
  display: none !important;
}

body:has(.pte-player-shell) #wpadminbar {
  display: none !important;
}

html:has(.pte-grammar-player) {
  margin-top: 0 !important;
}

body:has(.pte-grammar-player) #wpadminbar,
body.pte-grammar-standalone #wpadminbar {
  display: none !important;
}

html:has(.pte-dashboard-app) {
  margin-top: 0 !important;
}

body:has(.pte-dashboard-app) #wpadminbar {
  display: none !important;
}

.pte-player-shell {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  overflow: hidden;
}

.pte-player-topbar {
  height: 97px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e3137;
  color: #fff;
}

.pte-player-logo {
  width: 184px;
  height: 97px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .03);
}

.pte-player-logo img {
  width: 116px;
  height: 88px;
  object-fit: contain;
  background: #fff;
}

.pte-player-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 30px;
  font-size: 18px;
  font-weight: 700;
}

.pte-player-user i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7bdc16;
}

.pte-player-user a {
  display: inline-flex;
  align-items: center;
  height: 43px;
  margin-left: 12px;
  padding: 0 17px;
  border-radius: 4px;
  background: #0086bd;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.pte-dashboard-app {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #f1f1f1;
  overflow: hidden;
}

.pte-dashboard-header {
  position: absolute;
  inset: 0 0 auto 0;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-top: 2px solid #1f252b;
  border-bottom: 1px solid #d5d5d5;
  box-shadow: 0 20px 34px rgba(0, 0, 0, .12);
}

.pte-dashboard-logo {
  width: 150px;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 18px;
  text-decoration: none;
}

.pte-dashboard-logo img {
  width: 128px;
  height: auto;
  display: block;
}

.pte-dashboard-top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 34px;
}

.pte-dashboard-search {
  width: 222px;
  height: 45px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid #ececec;
  border-radius: 24px;
  color: #575757;
  font-size: 20px;
  background: #fff;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .03);
}

.pte-product-switch {
  position: relative;
  margin: 0;
}

.pte-product-switch select {
  width: 222px;
  height: 45px;
  border: 1px solid #ececec;
  border-radius: 24px;
  background: #fff;
  color: #4f5964;
  padding: 0 16px;
  font-size: 20px;
  outline: none;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .03);
}

.pte-dashboard-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .25);
}

.pte-dashboard-user-menu {
  position: relative;
}

.pte-dashboard-user-menu summary {
  display: block;
  list-style: none;
  cursor: pointer;
  line-height: 0;
}

.pte-dashboard-user-menu summary::-webkit-details-marker {
  display: none;
}

.pte-dashboard-user-menu[open] summary:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  cursor: default;
}

.pte-dashboard-user-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  z-index: 3;
  width: 252px;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.pte-dashboard-user-card {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  box-sizing: border-box;
  border-bottom: 1px solid #e7e7e7;
}

.pte-dashboard-user-card img {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
}

.pte-dashboard-user-card strong {
  color: #1d1d1d;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.25;
}

.pte-dashboard-user-dropdown a {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid #ececec;
  color: #4a4a4a;
  font-size: 16px;
  letter-spacing: 1px;
  text-decoration: none;
  background: #fff;
}

.pte-dashboard-user-dropdown a:last-child {
  border-bottom: 0;
}

.pte-dashboard-user-dropdown a:hover,
.pte-dashboard-user-dropdown a:focus {
  color: #0b7f78;
  background: #f8fbfb;
}

.pte-dashboard-user-dropdown .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: #555;
}

.pte-dashboard-body {
  position: absolute;
  inset: 90px 0 0 0;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 90px);
}

.pte-dashboard-sidebar {
  background: #fafafa;
  border-right: 1px solid #dadada;
  box-shadow: 16px 0 35px rgba(0, 0, 0, .1);
  overflow-y: auto;
}

.pte-dashboard-sidebar a {
  height: 51px;
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #dedede;
  color: #3f3f3f;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  background: #fbfbfb;
}

.pte-dashboard-sidebar a.active,
.pte-dashboard-sidebar a:hover {
  background: #e7e5e5;
}

.pte-dashboard-sidebar .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: #3c3c3c;
}

.pte-dashboard-sidebar i {
  font-style: normal;
  font-size: 30px;
  line-height: 1;
  transform: rotate(180deg);
}

.pte-dashboard-sidebar a.expanded i {
  transform: rotate(270deg);
}

.pte-dashboard-submenu a {
  height: auto;
  min-height: 44px;
  padding: 8px 20px 8px 24px;
  border-bottom: 0;
  color: #87a3b5;
  font-size: 19px;
  line-height: 1.35;
  background: #fff;
  letter-spacing: 1px;
}

.pte-dashboard-submenu a.active,
.pte-dashboard-submenu a:hover {
  color: #617d90;
  background: #f7fbff;
}

.pte-dashboard-submenu .dashicons {
  color: #8ba9bd;
  font-size: 18px;
}

.pte-dashboard-main {
  background: #f1f1f1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 96px 45px 90px;
}

.pte-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  max-width: none;
}

.pte-dashboard-tile {
  position: relative;
  height: 78px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  box-sizing: border-box;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 12px 20px rgba(0, 0, 0, .16);
  overflow: hidden;
}

.pte-dashboard-tile span {
  position: relative;
  z-index: 2;
  font-size: 14px;
  letter-spacing: .8px;
  font-weight: 500;
}

.pte-dashboard-tile strong {
  display: none;
}

.pte-dashboard-tile .dashicons {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 1;
  width: 52px;
  height: 52px;
  font-size: 52px;
  color: #fff;
  opacity: .96;
}

.pte-dashboard-tile.tile-tests {
  background: linear-gradient(125deg, #5d7bea, #1fc9c7);
}

.pte-dashboard-tile.tile-pending {
  background: linear-gradient(125deg, #ff7b4b, #ffcf45);
}

.pte-dashboard-tile.tile-history {
  background: linear-gradient(125deg, #ee3c9f, #ff5f74);
}

.pte-dashboard-tile.tile-performance {
  background: linear-gradient(125deg, #16847f, #39d68e);
}

.pte-dashboard-panel {
  max-width: 1490px;
  margin-top: 360px;
  padding: 26px;
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.pte-dashboard-panel h2 {
  margin-top: 0;
}

.pte-dashboard-main.history-mode {
  padding: 66px 36px 80px;
}

.pte-dashboard-main.flip-mode {
  padding: 52px 52px 80px;
}

.pte-dashboard-main.report-mode {
  padding: 0;
  display: flex;
  align-items: stretch;
}

.pte-dashboard-main.report-mode .pte-grammar-report-page {
  flex: 1 1 auto;
  min-height: calc(100vh - 90px);
  margin: 0;
}

.pte-history-titlebar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.pte-history-titlebar h1 {
  margin: 0 0 4px;
  color: #0d2338;
  font-size: 28px;
  letter-spacing: 1px;
}

.pte-history-titlebar p {
  margin: 0;
  color: #6a7684;
  font-size: 15px;
  letter-spacing: 1px;
}

.pte-history-titlebar p strong {
  color: #0d2338;
}

.pte-history-titlebar p span {
  margin: 0 12px;
  color: #7f8790;
}

.pte-history-search {
  width: 355px;
  height: 48px;
  display: flex;
  border: 1px solid #ced6df;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}

.pte-history-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 18px;
  color: #657487;
  font-size: 16px;
  outline: none;
}

.pte-history-search button {
  width: 66px;
  border: 0;
  background: #28ad91;
  color: #fff;
  cursor: pointer;
}

.pte-history-search .dashicons {
  width: 22px;
  height: 22px;
  font-size: 22px;
  line-height: 22px;
}

.pte-history-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  overflow: hidden;
}

.pte-list-view {
  max-width: 1540px;
  margin: 0 auto;
}

.pte-practice-card-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid #dedede;
}

.pte-practice-card-head h2 {
  margin: 0;
  color: #0d2338;
  font-size: 20px;
  letter-spacing: 1.3px;
}

.pte-tests-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 28px 16px;
  border-bottom: 1px solid #e0e6ee;
}

.pte-tests-filter-bar a {
  min-width: 74px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #25b895;
  border-radius: 18px;
  background: #fff;
  color: #25b895;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-decoration: none;
}

.pte-tests-filter-bar a.active {
  background: #2bb894;
  color: #fff;
  box-shadow: 0 8px 15px rgba(43, 184, 148, .28);
}

.pte-practice-filters {
  display: grid;
  grid-template-columns: minmax(240px, 470px) minmax(240px, 470px);
  gap: 38px;
  padding: 22px 20px 10px;
}

.pte-practice-filters label {
  display: grid;
  gap: 6px;
  color: #4a5969;
  font-weight: 800;
  letter-spacing: 2px;
}

.pte-practice-filters select,
.pte-practice-filters input {
  height: 47px;
  width: 100%;
  border: 1px solid #c9d4df;
  border-radius: 24px;
  background: #fff;
  padding: 0 18px;
  color: #7e8b9a;
  font-size: 16px;
  outline: none;
}

.pte-practice-table td:nth-child(2) {
  letter-spacing: 1.6px;
}

.pte-take-test {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 31px;
  padding: 0 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, #a7195a, #f34853);
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .7px;
  text-decoration: none;
  box-shadow: 0 8px 14px rgba(160, 28, 85, .25);
}

.pte-scoring-alert {
  position: relative;
  margin-bottom: 18px;
  padding: 24px 58px 24px 24px;
  border-radius: 4px;
  background: #ff3d35;
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  box-shadow: 0 8px 22px rgba(255, 61, 53, .2);
}

.pte-scoring-alert button {
  position: absolute;
  right: 20px;
  top: 22px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.pte-performance-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 420px;
  gap: 30px;
}

.pte-performance-chart {
  position: relative;
  padding: 18px 34px 28px;
}

.pte-performance-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  border-bottom: 1px solid #1fb38e;
  margin-bottom: 22px;
}

.pte-performance-tabs button {
  height: 47px;
  border: 0;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  background: #fff;
  color: #0d2338;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.pte-performance-tabs button.active {
  border-color: #1fb38e;
  border-bottom: 1px solid #fff;
  color: #1fb38e;
}

.pte-performance-chart svg {
  display: block;
  width: 100%;
  min-height: 410px;
}

.pte-performance-canvas {
  position: relative;
}

.pte-performance-tooltip {
  position: absolute;
  z-index: 5;
  min-width: 122px;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(92, 96, 102, 0.96);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.pte-performance-tooltip strong,
.pte-performance-tooltip span {
  display: block;
  text-align: center;
  font-weight: 700;
}

.pte-performance-tooltip strong {
  margin-bottom: 8px;
  font-size: 16px;
}

.pte-performance-tooltip span {
  font-size: 14px;
  font-weight: 500;
}

.pte-performance-empty {
  margin: -36px 0 0;
  color: #7a8ea7;
  font-weight: 700;
  text-align: center;
}

.pte-tracker {
  padding: 0 0 30px;
  text-align: center;
}

.pte-tracker h2 {
  margin: 0;
  padding: 18px 24px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  color: #0d2338;
  font-size: 18px;
  letter-spacing: 1px;
}

.pte-tracker-caption {
  margin: 34px 0 8px;
  color: #606b76;
  font-size: 13px;
  letter-spacing: 1px;
}

.pte-gauge,
.pte-small-gauges div {
  --gauge-angle: 0deg;
  position: relative;
  display: grid;
  place-items: center;
  color: #0d2338;
  overflow: hidden;
}

.pte-gauge:before,
.pte-small-gauges div:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 180deg, #ff5738 0deg, #ff5738 var(--gauge-angle), #f2f4f7 var(--gauge-angle), #f2f4f7 180deg, transparent 180deg);
}

.pte-gauge:after,
.pte-small-gauges div:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 999px 999px 0 0;
}

.pte-small-gauges strong {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 500;
}

.pte-gauge {
  width: 220px;
  height: 110px;
  margin: 8px auto 18px;
  border-radius: 220px 220px 0 0;
  font-size: 24px;
}

.pte-gauge:after {
  width: 156px;
  height: 78px;
}

.pte-gauge span {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.pte-gauge small,
.pte-small-gauges small {
  position: absolute;
  bottom: -2px;
  z-index: 1;
  color: #111;
  font-size: 11px;
}

.pte-gauge small:first-of-type,
.pte-small-gauges small:first-of-type {
  left: 6px;
}

.pte-gauge small:last-of-type,
.pte-small-gauges small:last-of-type {
  right: 6px;
}

.pte-small-gauges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 0 52px;
}

.pte-small-gauges div {
  width: 120px;
  height: 60px;
  margin: 0 auto;
  border-radius: 120px 120px 0 0;
  color: #687685;
}

.pte-small-gauges div:after {
  width: 84px;
  height: 42px;
}

.pte-small-gauges span {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  color: #687685;
}

.pte-attempted-tests {
  margin-top: 30px;
}

.pte-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 18px;
  border-radius: 5px;
  background: #f5b500;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.pte-grammar-list {
  padding-top: 0;
}

.pte-grammar-table th {
  text-align: center;
}

.pte-grammar-table td {
  font-size: 18px;
  letter-spacing: 1.2px;
}

.pte-grammar-progress {
  display: inline-block;
  width: 130px;
  height: 14px;
  margin-right: 10px;
  border-radius: 10px;
  background: #e3e7eb;
  vertical-align: middle;
  overflow: hidden;
}

.pte-grammar-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: #1fad91;
}

body.pte-grammar-standalone {
  margin: 0;
  background: #fff;
  overflow: hidden;
}

.pte-grammar-player {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  color: #6a6a6a;
  font-family: Arial, Helvetica, sans-serif;
  overflow: auto;
}

.pte-grammar-question[hidden],
.pte-grammar-result[hidden] {
  display: none !important;
}

.pte-grammar-header {
  height: 67px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #e9e9e9;
  color: #777;
  font-size: 24px;
}

.pte-grammar-header span {
  grid-column: 2;
}

.pte-grammar-header a {
  justify-self: end;
  margin-right: 30px;
  padding: 10px 20px;
  border-radius: 5px;
  background: #00827d;
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.pte-resume-test {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 28px;
  padding: 0 16px;
  border-radius: 16px;
  background: linear-gradient(90deg, #16b8d8, #286bd6);
  box-shadow: 0 8px 16px rgba(21, 91, 176, 0.25);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
}

.pte-grammar-view-report {
  color: #0a9f25 !important;
  font-weight: 700;
  text-decoration: none;
}

.pte-grammar-question {
  max-width: 1440px;
  margin: 0 auto;
  padding: 38px 40px 70px;
}

.pte-grammar-question h1 {
  margin: 0 0 38px;
  color: #000;
  text-align: center;
  font-size: 23px;
  letter-spacing: 1px;
}

.pte-grammar-question h2 {
  margin: 0 0 34px;
  color: #6a6a6a;
  text-align: center;
  font-size: 21px;
}

.pte-grammar-audio {
  display: block;
  width: min(460px, 100%);
  margin: 0 auto 34px;
}

.pte-grammar-form p {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.8;
}

.pte-grammar-highlight-text {
  max-width: 860px;
  margin: 0 auto 28px !important;
  color: #6a6a6a;
  text-align: left;
}

.pte-grammar-word {
  display: inline;
  margin: 0;
  padding: 0 2px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.pte-grammar-word.selected {
  background: #ffe4e1;
  color: #b42318;
}

.pte-grammar-form input {
  width: 235px;
  height: 32px;
  margin: 0 4px;
  border: 1px solid #aaa;
  border-radius: 3px;
  font-size: 18px;
}

.pte-grammar-form select {
  min-width: 74px;
  height: 28px;
  margin: 0 4px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background: #fff;
  font-size: 16px;
}

.pte-grammar-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.pte-grammar-two-col > div:first-child {
  border-right: 1px solid #d3d3d3;
  padding-right: 28px;
  min-height: 580px;
}

.pte-grammar-passage,
.pte-grammar-summary {
  color: #6a6a6a;
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
}

.pte-grammar-summary {
  text-align: left;
}

.pte-grammar-choice-list {
  display: grid;
  gap: 12px;
  color: #333;
  font-size: 17px;
  line-height: 1.45;
}

.pte-grammar-choice-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.pte-grammar-choice-list input {
  width: 16px;
  height: 16px;
}

.pte-grammar-word-bank-layout .pte-grammar-summary {
  max-width: 560px;
}

.pte-grammar-word-bank {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
  padding-top: 8px;
}

.pte-grammar-bank-word {
  min-width: 70px;
  min-height: 30px;
  padding: 4px 16px;
  border: 1px solid #c4c4c4;
  background: #fff;
  color: #6a6a6a;
  font-size: 15px;
  cursor: pointer;
}

.pte-grammar-bank-word.active {
  border-color: #00827d;
  box-shadow: 0 0 0 2px rgba(0, 130, 125, 0.16);
  color: #00827d;
}

.pte-grammar-bank-word.used {
  opacity: 0;
  pointer-events: none;
}

.pte-grammar-drop-blank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 32px;
  margin: 0 4px;
  padding: 3px 12px;
  border: 2px dashed #c8c8c8;
  background: #fff;
  color: #6a6a6a;
  font: inherit;
  vertical-align: middle;
  cursor: pointer;
}

.pte-grammar-drop-blank:not([data-placeholder="1"]) {
  border-style: solid;
  border-color: #c4c4c4;
}

.pte-grammar-audio-panel {
  max-width: 460px;
  margin: 0 auto 26px;
  text-align: center;
}

.pte-grammar-audio-panel h3,
.pte-grammar-record-panel h3 {
  margin: 0 0 8px;
  color: #777;
  font-size: 28px;
  font-weight: 400;
}

.pte-grammar-audio-panel audio {
  width: 100%;
}

.pte-grammar-record-panel {
  min-height: 560px;
  display: grid;
  align-content: start;
  justify-items: center;
  padding-top: 42px;
  text-align: center;
}

.pte-grammar-mic {
  width: auto !important;
  height: auto !important;
  min-width: 44px !important;
  margin: 34px auto 0 !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #3d86a0 !important;
  font-size: 28px !important;
}

.pte-grammar-form > button[type="submit"],
.pte-grammar-review-main > button {
  display: block;
  min-width: 108px;
  height: 53px;
  margin: 160px auto 0;
  border: 0;
  border-radius: 5px;
  background: #00827d;
  color: #fff;
  font-size: 27px;
}

.pte-grammar-result {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  min-height: calc(100vh - 68px);
  margin: 0;
  padding: 0 16px 0 0;
  background: #f3f3f3;
  color: #111;
}

.pte-grammar-multi .pte-grammar-result {
  display: block;
  padding: 0;
}

.pte-grammar-multi .pte-grammar-review-main {
  max-width: 1120px;
  min-height: calc(100vh - 130px);
  margin: 40px auto;
}

.pte-grammar-review-side {
  min-height: calc(100vh - 68px);
  padding: 18px 0;
  background: #fff;
  box-shadow: 10px 0 26px rgba(0, 0, 0, 0.08);
}

.pte-grammar-review-side h2 {
  margin: 0 10px 14px;
  color: #1f2d33;
  font-size: 29px;
  letter-spacing: 4px;
}

.pte-grammar-review-side h3 {
  margin: 0 10px 10px;
  color: #1f2d33;
  font-size: 15px;
  letter-spacing: 2px;
}

.pte-grammar-review-date {
  padding: 14px 18px;
  border-left: 4px solid #54616e;
  background: #e8e6e6;
  color: #3d4a54;
  font-size: 14px;
  letter-spacing: 1px;
}

.pte-grammar-review-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  color: #7b99a8;
  font-size: 15px;
  letter-spacing: 1px;
}

.pte-grammar-review-question:first-of-type {
  color: #111;
}

.pte-grammar-review-question span {
  min-width: 54px;
  padding: 3px 12px;
  border-radius: 13px;
  background: #eee;
  color: #61707a;
  text-align: center;
  font-size: 12px;
}

.pte-grammar-review-main {
  position: relative;
  margin: 40px 0;
  padding: 44px 44px 60px;
  background: #fff;
}

.pte-grammar-report-link {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 14px;
  border-radius: 4px;
  background: #00827d;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.pte-grammar-result-head {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-bottom: 28px;
}

.pte-grammar-mascot {
  width: 90px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 45px 45px 35px 35px;
  background: #ffc21d;
  color: #5a3d00;
  font-size: 54px;
  font-weight: 900;
}

.pte-grammar-result-head strong {
  display: inline-flex;
  align-items: center;
  height: 43px;
  padding: 0 30px;
  border-radius: 22px;
  background: #f4767f;
  color: #fff;
  font-size: 16px;
}

.pte-grammar-result-head p {
  margin: 18px 0 0;
  font-weight: 800;
}

.pte-grammar-result section {
  margin: 22px 0;
  padding: 18px 16px;
  border: 1px solid #ddd;
}

.pte-grammar-answer-review {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pte-grammar-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
}

.pte-grammar-badge.correct {
  background: #00a619;
  color: #fff;
}

.pte-grammar-badge.incorrect {
  background: #ffb4a8;
  color: #7a1b12;
}

.pte-grammar-badge.missed {
  background: #ffe48c;
  color: #6f4b00;
}

.pte-grammar-solution-list li {
  margin: 5px 0;
}

.pte-grammar-report-page {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 112px);
  width: 100%;
  margin: -40px -40px 0;
  background: #f3f3f3;
  color: #111;
}

.pte-grammar-report-side {
  background: #fff;
  box-shadow: 10px 0 26px rgba(0, 0, 0, 0.08);
}

.pte-grammar-report-side h1 {
  margin: 16px 10px 8px;
  color: #1f2d33;
  font-size: 30px;
  letter-spacing: 4px;
}

.pte-grammar-report-side h2 {
  margin: 0 10px 10px;
  color: #1f2d33;
  font-size: 15px;
  letter-spacing: 2px;
}

.pte-grammar-report-date {
  display: block;
  padding: 14px 18px;
  border-left: 4px solid #54616e;
  background: #e8e6e6;
  color: #3d4a54;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
}

.pte-grammar-report-date.active {
  color: #111;
  font-weight: 700;
}

.pte-grammar-report-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  color: #7b99a8 !important;
  font-size: 15px;
  letter-spacing: 1px;
  text-decoration: none;
}

.pte-grammar-report-nav.active {
  color: #111 !important;
}

.pte-grammar-report-nav span {
  min-width: 54px;
  padding: 3px 12px;
  border-radius: 13px;
  background: #eee;
  color: #61707a;
  text-align: center;
  font-size: 12px;
}

.pte-grammar-report-main {
  padding: 40px 30px 60px;
  min-width: 0;
}

.pte-grammar-report-back,
.pte-grammar-report-link {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 4px;
  background: #00827d;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.pte-grammar-report-back {
  margin-bottom: 16px;
}

.pte-grammar-report-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.pte-grammar-report-summary > div {
  min-height: 112px;
  padding: 22px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
}

.pte-grammar-report-summary small {
  display: block;
  margin-bottom: 12px;
  color: #444;
  font-size: 14px;
}

.pte-grammar-report-summary strong {
  color: #f26d2d;
  font-size: 32px;
  font-weight: 400;
}

.pte-grammar-report-charts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pte-grammar-report-overview[hidden] {
  display: none !important;
}

.pte-grammar-report-charts section,
.pte-grammar-report-question-panel {
  position: relative;
  min-height: 360px;
  padding: 28px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.08);
}

.pte-grammar-report-charts h2 {
  margin: 0 0 26px;
  color: #444;
  font-size: 18px;
  font-weight: 400;
}

.pte-grammar-report-grid {
  position: relative;
  height: 280px;
  margin: 0 30px;
  background: repeating-linear-gradient(to top, transparent 0, transparent 50px, #d8d8d8 51px, transparent 52px);
  border-bottom: 1px solid #ddd;
}

.pte-grammar-report-grid span {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #159b9b;
}

.pte-grammar-report-bars label {
  display: grid;
  grid-template-columns: 90px 36px 1fr;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  color: #666;
}

.pte-grammar-report-bars b {
  display: block;
  height: 58px;
  border-left: 1px solid #ddd;
  background: linear-gradient(to right, transparent 0, transparent 49%, #ddd 50%, transparent 51%);
}

.pte-grammar-report-bars i {
  display: block;
  height: 58px;
  max-width: 100%;
  border-radius: 4px;
  background: #159b9b;
}

.pte-grammar-report-question-panel {
  max-width: none;
  min-height: 640px;
  padding: 44px 46px;
}

.pte-grammar-report-question-panel[hidden] {
  display: none !important;
}

.pte-grammar-report-question-panel .pte-grammar-report-link {
  position: absolute;
  top: 20px;
  right: 20px;
}

.pte-report-show-audio {
  display: block;
}

.pte-report-question-source {
  margin: 24px 0;
  line-height: 1.7;
}

.pte-access-denied {
  max-width: 720px;
  margin: 80px auto;
  padding: 60px;
  text-align: center;
}

.pte-access-denied h1 {
  margin: 0;
  color: #1f2f3f;
  font-size: 36px;
}

@media (max-width: 800px) {
  .pte-login-page {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 18px 40px;
  }

  .pte-login-column {
    font-size: 18px;
  }

  .pte-login-whatsapp {
    font-size: 20px;
  }

  .pte-grammar-two-col {
    grid-template-columns: 1fr;
  }

  .pte-grammar-two-col > div:first-child {
    min-height: 0;
    border-right: 0;
    padding-right: 0;
  }

  .pte-grammar-result {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .pte-grammar-review-side {
    min-height: 0;
  }

  .pte-grammar-review-main {
    margin: 0;
    padding: 72px 18px 40px;
  }

  .pte-grammar-report-page,
  .pte-grammar-report-charts,
  .pte-grammar-report-summary {
    grid-template-columns: 1fr;
  }

  .pte-grammar-report-page {
    margin: 0;
  }
}

.pte-dashboard-footer {
  margin: 60px 0 -40px;
  color: #394b60;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1px;
}

.pte-history-card-head {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid #dedede;
}

.pte-history-card-head h2 {
  margin: 0;
  color: #0d2338;
  font-size: 19px;
  letter-spacing: 1.4px;
}

.pte-history-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.pte-history-filters button {
  height: 35px;
  min-width: 80px;
  padding: 0 18px;
  border: 1px solid #25b895;
  border-radius: 18px;
  background: #fff;
  color: #25b895;
  font-weight: 800;
  letter-spacing: 1.4px;
  cursor: default;
}

.pte-history-filters button.active {
  background: #2bb894;
  color: #fff;
  box-shadow: 0 8px 15px rgba(43, 184, 148, .28);
}

.pte-history-table-wrap {
  padding: 22px 20px 30px;
}

.pte-history-table {
  width: 100%;
  border-collapse: collapse;
  color: #4d5d70;
  font-size: 14px;
  letter-spacing: 1px;
}

.pte-history-table th {
  padding: 18px 20px;
  background: linear-gradient(90deg, #42da8b, #18827e);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.pte-history-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #d7e0ea;
  text-align: center;
}

.pte-dashboard-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px 28px;
  border-top: 1px solid #d7e0ea;
}

.pte-dashboard-pagination-summary {
  color: #4d5d70;
  font-size: 14px;
  letter-spacing: 1px;
}

.pte-dashboard-pagination-pages {
  display: inline-flex;
  align-items: center;
}

.pte-dashboard-pagination a,
.pte-dashboard-pagination .dots {
  min-width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd9e4;
  border-left-width: 0;
  border-radius: 0;
  background: #fff;
  color: #0d2338;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.pte-dashboard-pagination a:first-child {
  border-left-width: 1px;
  border-radius: 4px 0 0 4px;
}

.pte-dashboard-pagination a:last-child {
  border-radius: 0 4px 4px 0;
}

.pte-dashboard-pagination a.arrow {
  color: #12a58d;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.pte-dashboard-pagination a.active {
  border-color: #32b994;
  background: #32b994;
  color: #fff;
}

.pte-dashboard-pagination a.disabled {
  opacity: .45;
  pointer-events: none;
}

.pte-dashboard-pagination .dots {
  border-color: transparent;
  min-width: 32px;
}

.pte-history-status {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.pte-history-status.checked {
  background: #f15290;
}

.pte-history-status.pending {
  background: #ffab00;
}

.pte-history-action {
  color: #0075ff;
  text-decoration: none;
}

.pte-history-action span {
  color: #139e1d;
}

.pte-history-split-action {
  font-size: 20px;
}

.pte-history-split-action a {
  text-decoration: none;
}

.pte-history-split-action .analysis {
  color: #139e1d;
}

.pte-history-split-action .card {
  color: #0075ff;
}

.pte-history-split-action span {
  color: #0f2440;
}

.pte-shell {
  max-width: 1180px;
  margin: 30px auto;
  padding: 0 18px;
}

.pte-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.pte-hero h1,
.pte-test-screen h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 500;
}

.pte-card,
.pte-panel,
.pte-score-card {
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(30, 49, 55, .08);
  margin: 18px 0;
  padding: 24px;
}

.pte-admin-grid,
.pte-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pte-review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pte-panel form,
.pte-question-form {
  display: grid;
  gap: 14px;
}

.pte-question-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pte-panel label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.pte-panel input,
.pte-panel textarea,
.pte-panel select {
  max-width: 100%;
}

.pte-panel textarea {
  min-height: 82px;
}

.pte-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  background: #008bc3;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.pte-button.secondary {
  background: #e7edf5;
  color: #20364e !important;
  border: 1px solid #b8c8dc;
}

.pte-button.danger {
  background: #e31b2f;
}

.pte-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.pte-table {
  width: 100%;
  border-collapse: collapse;
}

.pte-table th,
.pte-table td {
  border-bottom: 1px solid #e1e8f2;
  padding: 12px;
  text-align: left;
}

.pte-test-screen {
  min-height: 100vh;
  background: #fff;
  padding: 18px 38px 90px;
  box-sizing: border-box;
}

.pte-player-shell .pte-player-root {
  position: absolute;
  inset: 97px 0 0;
  overflow: auto;
  background: #fff;
}

.pte-player-shell .pte-test-screen {
  min-height: calc(100vh - 97px);
  padding: 31px 176px 92px;
}

.pte-player-shell .pte-test-screen h1 {
  font-size: 36px;
  line-height: 1.18;
  white-space: nowrap;
}

.pte-player-shell .pte-test-top > div {
  font-weight: 700;
}

.pte-question-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pte-question-timer:before {
  content: "◴";
  font-size: 17px;
  line-height: 1;
}

.pte-player-shell .pte-separator {
  margin: 14px 0 16px;
}

.pte-player-shell .pte-prompt {
  max-width: 1420px;
}

.pte-player-shell .pte-bottom {
  left: 176px;
  right: 176px;
}

.pte-separator {
  height: 6px;
  margin: 16px 0 36px;
  background: #d8d8d8;
}

.pte-separator.active:before {
  content: "";
  display: block;
  width: 92px;
  height: 6px;
  background: #0789c4;
}

.pte-test-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pte-test-top > div {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 19px;
}

.pte-menu-button {
  width: 58px;
  height: 42px;
  border: 1px solid #c7c7c7;
  background: #eee;
  color: #1d2d3c;
  font-size: 26px;
  line-height: 1;
}

.pte-details-screen {
  padding: 32px 42px 40px;
}

.pte-test-details-grid {
  display: grid;
  grid-template-columns: 1fr minmax(420px, 46%);
  gap: 60px;
  padding: 16px 18px 38px;
  border-bottom: 1px solid #0076bd;
}

.pte-test-details-grid h2 {
  margin-top: 0;
  font-size: 23px;
  font-weight: 500;
}

.pte-test-details-grid p {
  max-width: 760px;
  font-size: 21px;
  line-height: 1.55;
}

.pte-pattern-table {
  width: 100%;
  border-collapse: collapse;
  align-self: start;
  font-size: 21px;
}

.pte-pattern-table th {
  padding: 22px 16px;
  background: #0a7eaf;
  color: #fff;
  text-align: left;
}

.pte-pattern-table td {
  padding: 22px 16px;
  border: 1px solid #cfcfcf;
}

.pte-start-line {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.pte-listing-details-screen {
  padding-top: 32px;
}

.pte-listing-details-panel {
  width: min(560px, 100%);
  margin: 32px auto 0;
}

.pte-listing-welcome {
  display: block;
  margin-bottom: 8px;
  color: #1a2b3b;
  font-size: 16px;
  font-weight: 800;
}

.pte-listing-table {
  font-size: 16px;
  text-align: center;
}

.pte-listing-table th {
  padding: 18px 20px;
  text-align: center;
}

.pte-listing-table td {
  padding: 18px 20px;
}

.pte-listing-table tfoot td {
  padding: 12px 20px;
}

.pte-listing-table .pte-button {
  min-height: 35px;
  padding: 7px 14px;
  font-weight: 500;
}

.pte-prompt {
  font-size: 18px;
}

.pte-question-content {
  max-width: 1360px;
  margin: 24px 0;
  font-size: 20px;
  line-height: 1.45;
}

.pte-question-audio,
.pte-player-box audio {
  display: block;
  margin: 18px 0;
  max-width: 430px;
  width: 100%;
}

.pte-question-image {
  display: block;
  max-width: min(700px, 48vw);
  max-height: 520px;
  object-fit: contain;
  margin: 20px 0;
}

.pte-media-row {
  display: flex;
  align-items: flex-start;
  gap: 70px;
  margin: 16px 0 40px;
}

.pte-media-row .pte-question-image {
  margin: 0;
}

.pte-media-row .pte-recorder {
  margin-top: 18px;
}

.pte-recorder,
.pte-player-box {
  width: 500px;
  max-width: 100%;
  border: 2px solid #cfcfcf;
  margin: 34px auto;
  background: #fff;
}

.pte-recorder-body,
.pte-player-box {
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
}

.pte-recorder-body span {
  color: red;
}

.pte-recorder-controls {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #e5e5e5;
  padding: 0 18px;
}

.pte-record-trigger {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: inline-grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.pte-record-trigger:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

.pte-record-trigger:disabled {
  cursor: default;
}

.pte-dot {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #f00;
  opacity: .45;
  display: block;
}

.pte-record-trigger.live .pte-dot,
.pte-dot.live {
  opacity: 1;
}

.pte-dot-stop {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #f00;
  display: block;
}

.pte-play {
  background: transparent;
  border: none;
  padding: 0;
  color: #92a0ac;
  font-size: 16px;
  cursor: default;
}

.pte-play.playable {
  color: #4a5568;
  cursor: pointer;
}

.pte-play.playable:hover {
  color: #1a202c;
}

.pte-progress {
  flex: 1;
  height: 5px;
  background: #c7c7c7;
}

.pte-progress i {
  display: block;
  height: 100%;
  background: #87919c;
}

.pte-actions,
.pte-bottom {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
}

.pte-bottom {
  position: fixed;
  left: 38px;
  right: 38px;
  bottom: 22px;
  justify-content: space-between;
}

.pte-answer-text {
  display: block;
  width: 100%;
  min-height: 180px;
  margin: 28px 0;
  padding: 16px;
  font-size: 17px;
  border: 1px solid #cfd9e8;
}

.pte-writing-toolbar {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 14px 24px;
  background: #e5e5e5;
  font-size: 18px;
}

.pte-writing-toolbar strong {
  margin-left: auto;
  font-weight: 500;
}

.pte-options {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.pte-options label {
  padding: 14px;
  border: 1px solid #d9e2ef;
  border-radius: 6px;
}

.pte-choice-panel {
  max-width: 720px;
  margin-left: auto;
  margin-right: 6%;
  font-size: 18px;
}

.pte-blank-content select {
  min-width: 94px;
  height: 28px;
  margin: 0 4px;
  vertical-align: middle;
}

.pte-two-column {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: start;
}

.pte-left-passage {
  color: #555;
  text-align: center;
}

.pte-inline-blank {
  min-width: 150px;
  height: 30px;
  margin: 0 5px;
  border: 1px solid #aaa;
  border-radius: 2px;
  vertical-align: middle;
}

.pte-drop-blank {
  min-width: 180px;
  height: 44px;
  margin: 0 6px;
  border: 2px dashed #c8c8c8;
  background: #fff;
  color: #111;
  vertical-align: middle;
}

.pte-word-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 90px 0 30px;
  padding: 20px;
  background: #e8e8e8;
}

.pte-word-bank button {
  min-height: 42px;
  padding: 0 18px;
  border: 2px solid #cfcfcf;
  background: #fff;
  font-size: 16px;
  font-style: italic;
}

.pte-word-bank button.active {
  border-color: #007bb5;
  background: #e5f5ff;
}

.pte-reorder {
  display: grid;
  grid-template-columns: minmax(280px, 38%) 120px minmax(280px, 38%);
  gap: 36px;
  min-height: 520px;
  margin: 0 0 40px;
}

.pte-reorder h3 {
  margin: 0;
  padding: 14px;
  background: #656565;
  color: #fff;
  text-align: center;
}

.pte-reorder > div:first-child,
.pte-reorder > div:last-child {
  border: 1px solid #cfcfcf;
}

.pte-reorder button {
  display: block;
  width: 100%;
  min-height: 78px;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  background: #fff;
  text-align: left;
  font-size: 17px;
}

.pte-reorder-arrows {
  display: grid;
  place-items: center;
  color: #666;
  font-size: 34px;
}

.pte-highlight-words {
  line-height: 1.8;
}

.pte-highlight-words button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.pte-highlight-words button.selected {
  background: #ffcccb;
  color: #1b2c42;
}

@media (max-width: 900px) {
  .pte-two-column,
  .pte-reorder {
    grid-template-columns: 1fr;
  }

  .pte-reorder-arrows {
    min-height: 60px;
  }
}

.pte-alert {
  padding: 14px 18px;
  background: #fff6dd;
  border: 1px solid #f3d27a;
  color: #7a5600;
  border-radius: 6px;
  font-weight: 700;
}

.pte-score-app {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #eef4fb;
  color: #516781;
  overflow: hidden;
}

.pte-score-app.pte-score-card-only {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 0 40px;
  background: #222;
  overflow: auto;
}

.pte-score-card-actions {
  width: 560px;
  max-width: calc(100vw - 32px);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 auto 12px;
}

.pte-score-card-actions .pte-button {
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.pte-score-card-actions .pte-button.secondary {
  background: #eef3f8;
  color: #1f2f3f;
}

.pte-score-topbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e3137;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .22);
}

.pte-score-logo {
  width: 120px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .03);
}

.pte-score-logo img {
  width: 78px;
  height: auto;
  display: block;
  padding: 4px;
  
}

.pte-score-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 12px;
  font-size: 18px;
}

.pte-score-user i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7bdc16;
}

.pte-score-user a {
  display: inline-flex;
  align-items: center;
  height: 45px;
  padding: 0 22px;
  border-radius: 4px;
  background: #2e72d6;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.pte-score-layout {
  position: absolute;
  inset: 66px 0 0 0;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  background: #eef4fb;
  min-height: 0;
}

.pte-score-sidebar {
  background: #e8f0f9;
  padding: 24px;
  height: calc(100vh - 66px);
  overflow: auto;
  box-shadow: 13px 0 24px rgba(22, 42, 65, .12);
}

.pte-score-sidebar h2 {
  margin: 0;
  color: #20364e;
  font-size: 25px;
  line-height: 1.2;
}

.pte-score-sidebar h3 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 12px;
  color: #93a3ba;
  font-size: 15px;
  font-weight: 800;
}

.pte-score-sidebar h3:after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cdd9e8;
}

.pte-score-sidebar a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  color: #516781;
  font-weight: 700;
  text-decoration: none;
  font-size: 17px;
}

.pte-score-sidebar a.active {
  color: #0f88ce;
}

.pte-score-sidebar a.pte-button {
  display: inline-flex;
  justify-content: center;
  margin: 8px 0 6px;
  padding: 8px 16px;
  color: #fff !important;
}

.pte-score-sidebar a span {
  border: 1px solid #ffab00;
  color: #ff9200;
  border-radius: 12px;
  padding: 2px 10px;
  background: #fff;
}

.pte-score-main {
  height: calc(100vh - 66px);
  overflow-y: auto;
  padding: 26px 28px 70px;
}

.pte-score-layout-question {
  grid-template-columns: 66px minmax(0, 1fr);
}

.pte-score-layout-question .pte-score-sidebar {
  position: relative;
  z-index: 30;
  width: 66px;
  padding: 0;
  background: #f8fbff;
  border-right: 1px solid #d9e4ef;
  box-shadow: none;
  white-space: nowrap;
  overflow-x: hidden;
  transition: width .18s ease, box-shadow .18s ease;
}

.pte-score-layout-question .pte-score-sidebar:hover,
.pte-score-layout-question .pte-score-sidebar:focus-within {
  width: 300px;
  box-shadow: 13px 0 24px rgba(27, 49, 77, .18);
}

.pte-score-layout-question .pte-score-sidebar h2,
.pte-score-layout-question .pte-score-sidebar > p,
.pte-score-layout-question .pte-score-sidebar > .pte-button,
.pte-score-layout-question .pte-score-sidebar h3,
.pte-score-layout-question .pte-score-summary-link {
  display: none;
}

.pte-score-layout-question .pte-score-sidebar:hover h2,
.pte-score-layout-question .pte-score-sidebar:focus-within h2,
.pte-score-layout-question .pte-score-sidebar:hover > p,
.pte-score-layout-question .pte-score-sidebar:focus-within > p,
.pte-score-layout-question .pte-score-sidebar:hover > .pte-button,
.pte-score-layout-question .pte-score-sidebar:focus-within > .pte-button,
.pte-score-layout-question .pte-score-sidebar:hover h3,
.pte-score-layout-question .pte-score-sidebar:focus-within h3,
.pte-score-layout-question .pte-score-sidebar:hover .pte-score-summary-link,
.pte-score-layout-question .pte-score-sidebar:focus-within .pte-score-summary-link {
  display: flex;
}

.pte-score-layout-question .pte-score-sidebar:hover h2,
.pte-score-layout-question .pte-score-sidebar:focus-within h2,
.pte-score-layout-question .pte-score-sidebar:hover > p,
.pte-score-layout-question .pte-score-sidebar:focus-within > p {
  display: block;
  padding-left: 18px;
  padding-right: 18px;
  white-space: normal;
}

.pte-score-layout-question .pte-score-sidebar:hover h3,
.pte-score-layout-question .pte-score-sidebar:focus-within h3 {
  display: flex;
  padding-left: 18px;
  padding-right: 18px;
  white-space: normal;
}

.pte-score-layout-question .pte-score-question-link {
  justify-content: center;
  min-height: 38px;
  padding: 6px 0;
  font-size: 0;
  color: #516781;
}

.pte-score-layout-question .pte-score-sidebar:hover .pte-score-question-link,
.pte-score-layout-question .pte-score-sidebar:focus-within .pte-score-question-link {
  justify-content: space-between;
  padding: 8px 22px;
  font-size: 16px;
}

.pte-score-layout-question .pte-score-question-link:before {
  content: attr(data-question-number);
  font-size: 16px;
  font-weight: 800;
}

.pte-score-layout-question .pte-score-sidebar:hover .pte-score-question-link:before,
.pte-score-layout-question .pte-score-sidebar:focus-within .pte-score-question-link:before {
  display: none;
}

.pte-score-layout-question .pte-score-question-link span {
  display: none;
}

.pte-score-layout-question .pte-score-sidebar:hover .pte-score-question-link span,
.pte-score-layout-question .pte-score-sidebar:focus-within .pte-score-question-link span {
  display: inline-flex;
}

.pte-score-layout-question .pte-score-question-link.active {
  background: #eaf3fb;
  color: #00a6c7;
}

.pte-score-question-link.is-filter-hidden {
  display: none !important;
}

.pte-score-layout-question .pte-score-main {
  padding: 0;
  background: #eef4fb;
}

.pte-score-main > .pte-score-card:first-child {
  margin-top: 0;
}

.pte-score-main h1 {
  margin: 0 0 24px;
  color: #25384d;
  font-size: 30px;
  font-weight: 800;
}

.pte-score-bar {
  height: 12px;
  border-radius: 999px;
  background: #ff5233;
  overflow: hidden;
}

.pte-score-bar span {
  display: block;
  height: 100%;
  background: #35b37e;
}

.pte-score-pill {
  display: inline-block;
  margin-left: 18px;
  padding: 8px 20px;
  border-radius: 11px;
  background: #ffab00;
  color: #111;
  font-size: 18px;
  font-weight: 500;
}

.pte-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.pte-summary-head h2 {
  margin: 0;
}

.pte-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pte-summary-chips span,
.pte-summary-chips button {
  padding: 6px 12px;
  border: 1px solid #8ea2b7;
  border-radius: 999px;
  background: #fff;
  color: #6b7d94;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pte-summary-chips span.active,
.pte-summary-chips button.active {
  border-color: #6b7784;
  background: #6b7784;
  color: #fff;
}

.pte-summary-chips button:disabled {
  cursor: wait;
  opacity: .7;
}

[data-pte-analysis-overview].is-loading {
  opacity: .72;
  pointer-events: none;
}

.pte-summary-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.pte-summary-legend em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6e8099;
  font-style: normal;
  font-weight: 700;
}

.pte-summary-legend em:before {
  content: "";
  width: 24px;
  height: 14px;
  border-radius: 4px;
  background: #d8e0eb;
}

.pte-summary-legend .correct:before,
.pte-score-bar .correct,
.pte-type-bar .correct {
  background: #39b37d;
}

.pte-summary-legend .incorrect:before,
.pte-score-bar .incorrect,
.pte-type-bar .incorrect {
  background: #ff5936;
}

.pte-summary-legend .partial:before,
.pte-type-bar .partial {
  background: #ffab10;
}

.pte-summary-legend .attempted:before {
  background: #39b37d;
}

.pte-summary-legend .unattempted:before {
  background: #ff5936;
}

.pte-summary-legend .neutral:before,
.pte-type-bar .neutral {
  background: #37aae0;
}

.pte-score-bar-large {
  display: flex;
  background: #edf2f7;
}

.pte-score-bar-large span {
  height: 100%;
}

.pte-summary-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: #5a6d84;
  font-size: 15px;
  font-weight: 800;
}

.pte-summary-stats span:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 50%;
  background: #6b7784;
  vertical-align: middle;
}

.pte-question-view {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: calc(100vh - 66px);
  color: #23364d;
}

.pte-question-filters {
  background: #fff;
  border-right: 1px solid #d8e3f1;
  box-shadow: 9px 0 18px rgba(27, 49, 77, .08);
  padding: 18px 16px;
  overflow: auto;
}

.pte-question-filter-head {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #516781;
}

.pte-question-filter-head strong {
  font-size: 18px;
}

.pte-question-filter-head span {
  font-size: 22px;
  font-weight: 800;
}

.pte-question-filter-head button {
  border: 1px solid #8fa5be;
  border-radius: 4px;
  background: #fff;
  color: #5c718a;
  padding: 7px 14px;
  font-weight: 800;
}

.pte-question-filter-group {
  border-bottom: 1px solid #d7e2ef;
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.pte-question-filter-group h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  color: #697d96;
  font-size: 14px;
  font-weight: 800;
}

.pte-question-filter-group h3:after {
  content: "-";
  font-size: 18px;
  color: #667c95;
}

.pte-question-filter-group ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pte-question-filter-group li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 6px;
  border-radius: 6px;
  color: #516781;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}

.pte-question-filter-group li:hover,
.pte-question-filter-group li:focus {
  background: #f0f6fc;
  outline: none;
}

.pte-question-filter-group li:not(.is-active) {
  opacity: .55;
}

.pte-question-filter-group b {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: #08b8cf;
  color: #fff;
  font-size: 12px;
}

.pte-question-filter-group b:before {
  content: "\2713";
}

.pte-question-filter-group li:not(.is-active) b {
  background: #d6e0ea;
  color: transparent;
}

.pte-question-filter-group li:not(.is-active) b:before {
  content: "";
}

.pte-question-content {
  min-width: 0;
  padding: 22px 24px 78px;
}

.pte-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.pte-question-title {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.pte-question-title h1 {
  margin: 0;
  color: #25384d;
  font-size: 26px;
  line-height: 1.2;
}

.pte-question-title .pte-score-pill {
  margin-left: 0;
  padding: 8px 22px;
  border-radius: 8px;
  font-size: 16px;
}

.pte-question-arrows {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pte-question-arrows a {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #2b3643;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.pte-question-summary-card {
  margin-top: 0;
  padding: 22px;
  border-radius: 6px;
}

.pte-question-summary-card .pte-score-bar-large {
  height: 12px;
  border-radius: 999px;
}

.pte-answer-analysis-card {
  padding: 0;
  overflow: hidden;
}

.pte-answer-analysis-card > h2 {
  margin: 0;
  padding: 20px 26px;
  font-size: 22px;
}

.pte-collapse-card {
  margin: 10px 36px;
  border: 1px solid #cbdcf0;
  background: #fff;
}

.pte-collapse-card:last-child {
  margin-bottom: 28px;
}

.pte-collapse-card summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 26px;
  cursor: pointer;
  color: #20364e;
  font-size: 16px;
  font-weight: 800;
  list-style: none;
}

.pte-collapse-card summary::-webkit-details-marker {
  display: none;
}

.pte-collapse-card summary:after {
  content: "+";
  color: #344b66;
  font-size: 24px;
  font-weight: 400;
}

.pte-collapse-card[open] summary:after {
  content: "-";
}

.pte-collapse-body {
  padding: 16px 26px 24px;
  border-top: 1px solid #edf3fa;
  background: #f8faff;
  color: #5b6e86;
  line-height: 1.65;
}

.pte-collapse-body audio {
  display: block;
  margin: 10px 0 18px;
  max-width: 380px;
  width: 100%;
}

.pte-question-type-label {
  margin-top: 0;
  color: #6f8198;
  font-weight: 700;
}

.pte-score-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pte-donut-row {
  display: flex;
  justify-content: center;
  padding: 18px 0 8px;
}

.pte-donut {
  width: 224px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 55%),
    conic-gradient(var(--donut-color-a) 0 var(--donut-a), var(--donut-color-b) var(--donut-a) 100%);
}

.pte-donut-three {
  background:
    radial-gradient(circle at center, #fff 0 54%, transparent 55%),
    conic-gradient(#ff5936 0 var(--slice-a), #39b37d var(--slice-a) calc(var(--slice-a) + var(--slice-b)), #ffab10 calc(var(--slice-a) + var(--slice-b)) 100%);
}

.pte-type-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.pte-type-row {
  display: grid;
  grid-template-columns: minmax(180px, 210px) minmax(640px, 1fr);
  gap: 0;
  align-items: center;
}

.pte-type-label {
  color: #7a8ea7;
  font-weight: 500;
  font-size: 15px;
  text-align: right;
  padding-right: 12px;
}

.pte-type-bar {
  display: flex;
  height: 30px;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(to right, rgba(214, 225, 242, 0.7) 1px, transparent 1px) 0 0 / 20% 100%,
    rgba(236, 242, 250, 0.8);
}

.pte-type-bar span {
  display: grid;
  place-items: center;
  height: 100%;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.pte-type-counts {
  display: none;
}

.pte-type-counts b {
  display: none;
}

.pte-type-counts .correct {
  background: #39b37d;
}

.pte-type-counts .incorrect {
  background: #ff5936;
}

.pte-type-counts .partial {
  background: #ffab10;
}

.pte-type-counts .neutral {
  background: #37aae0;
}

.pte-tooltip {
  position: relative;
  cursor: help;
}

.pte-tooltip:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 20;
  min-width: 170px;
  max-width: 280px;
  transform: translateX(-50%);
  padding: 10px 12px;
  border: 1px solid #d2dce8;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 47, 63, .16);
  color: #1f2f3f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
  pointer-events: none;
}

.pte-tooltip:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  z-index: 21;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
  pointer-events: none;
}

.pte-score-bar.pte-tooltip,
.pte-type-bar.pte-tooltip {
  overflow: visible;
}

.pte-score-bar.pte-tooltip:hover:after,
.pte-type-bar.pte-tooltip:hover:after {
  bottom: calc(100% + 12px);
}

.pte-official-score-card {
  position: relative;
  width: 720px;
  min-height: auto;
  margin: 18px 0 24px;
  padding: 0 25px 0;
  background: #fff;
  border: 3px solid #111;
  box-shadow: none;
  color: #333;
  box-sizing: border-box;
  overflow: visible;
  height: auto;
  display: flex;
  flex-direction: column;
}

.pte-official-header {
  margin: 0 -25px 18px;
  padding: 30px 25px 16px;
  background: #55b5ac;
}

.pte-official-header h1 {
  margin: 0 0 4px;
  color: #1d2f38;
  font-size: 21px;
  font-weight: 500;
}

.pte-official-header p {
  margin: 0;
  color: #19313a;
  font-size: 12px;
}

.pte-official-top {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 16px;
}

.pte-official-top img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}

.pte-official-top h2 {
  margin: 0 0 4px;
  color: #111;
  font-size: 20px;
}

.pte-official-overall {
  width: 86px;
  height: 86px;
  justify-self: center;
  display: grid;
  grid-template-rows: 24px 1fr;
  overflow: hidden;
  border-radius: 8px 8px 40px 40px;
  background: #b10093;
  color: #fff;
  text-align: center;
}

.pte-official-overall span {
  display: grid;
  place-items: center;
  background: #087078;
  font-size: 10px;
  font-weight: 800;
}

.pte-official-overall strong {
  display: grid;
  place-items: center;
  font-size: 38px;
  line-height: 1;
}

.pte-official-vertical {
  position: absolute;
  right: -22px;
  top: -20px;
  color: #17323a;
  font-size: 11px;
  font-weight: 800;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.pte-official-score-card h3 {
  margin: 13px 0 8px;
  color: #333;
  font-size: 18px;
}

.pte-official-skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 10px 0 14px;
  border-top: 1px solid #ddd;
  padding-top: 16px;
}

.pte-official-ring {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #333;
}

.pte-official-ring strong {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 5px solid #163664;
  border-radius: 999px;
  font-size: 21px;
}

.pte-official-ring.module-reading strong {
  border-color: #c7db00;
}

.pte-official-ring.module-speaking strong {
  border-color: #666;
}

.pte-official-ring.module-writing strong {
  border-color: #ad008f;
}

.pte-official-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}

.pte-official-info > div:first-child {
  grid-column: 1 / -1;
}

.pte-official-info p {
  margin: 6px 0;
  font-size: 12px;
  line-height: 1.45;
}

.pte-official-breakdown {
  position: relative;
  min-height: 162px;
}

.pte-official-breakdown:after {
  content: "";
  position: absolute;
  left: 152px;
  top: 42px;
  height: 116px;
  border-left: 5px solid #80889a;
}

.pte-overall-marker {
  position: absolute;
  top: 30px;
  color: #182f61;
  font-size: 14px;
  font-weight: 500;
}

.pte-official-info div:first-child p {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  max-width: 290px;
  margin: 4px 0;
}

.pte-official-info div:first-child i {
  display: block;
  height: 20px;
  min-width: 2px;
  background: #163664;
}

.pte-official-info div:first-child i.module-reading {
  background: #c7db00;
}

.pte-official-info div:first-child i.module-speaking {
  background: #666;
}

.pte-official-info div:first-child i.module-writing {
  background: #ad008f;
}

.pte-official-info > div:not(:first-child) h3 {
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.pte-official-note {
  margin: 18px 0 8px;
  font-size: 10px;
  line-height: 1.35;
}

.pte-official-footer {
  margin: 8px -25px 0;
  padding: 12px 20px;
  background: #55b5ac;
  color: #1d2f38;
  text-align: center;
  font-size: 12px;
  flex: 0 0 auto;
}

.pte-score-app.pte-score-card-only.pte-scorecard-editor {
  --page-w: 840px;
  --page-h: 1191px;
  --teal: #56b3aa;
  --dark-text: #333333;
  --body-text: #444444;
  --rule: #dddddd;
  --navy: #1d3d6d;
  --lime: #cbe000;
  --gray: #626262;
  --magenta: #b00091;
  align-items: stretch;
  background: #eef2f4;
  color: var(--dark-text);
  display: block;
  font-family: "DejaVu Sans Condensed", "Arial Narrow", Arial, sans-serif;
  justify-content: flex-start;
  overflow: auto;
  padding: 0;
}

.pte-scorecard-editor *,
.pte-scorecard-editor *:before,
.pte-scorecard-editor *:after {
  box-sizing: border-box;
}

.pte-card-editor-toolbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #d9e1e5;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 14px 22px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.pte-card-editor-toolbar h1 {
  color: #253138;
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 3px;
}

.pte-card-editor-toolbar p {
  color: #536168;
  font-size: 13px;
  margin: 0;
}

.pte-card-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.pte-card-editor-actions .pte-button {
  align-items: center;
  border: 1px solid #0b6677;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font: 600 14px/1 Arial, sans-serif;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  text-decoration: none;
}

.pte-card-editor-actions .pte-button:not(.secondary) {
  background: #0b6677;
  color: #ffffff;
}

.pte-card-editor-actions .pte-button.secondary {
  background: #ffffff;
  border-color: #c8d2d7;
  color: #253138;
}

.pte-card-editor-workspace {
  min-width: calc(var(--page-w) + 48px);
  overflow: auto;
  padding: 24px;
}

.pte-scorecard-editor-card {
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(27, 40, 48, 0.18);
  color: var(--dark-text);
  height: var(--page-h);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: var(--page-w);
}

.pte-scorecard-editor-card .top-band,
.pte-scorecard-editor-card .bottom-band {
  background: var(--teal);
  position: absolute;
  width: 100%;
}

.pte-scorecard-editor-card .top-band {
  height: 133px;
  left: 0;
  top: 0;
}

.pte-scorecard-editor-card .bottom-band {
  align-items: center;
  bottom: 0;
  display: flex;
  height: 61px;
  justify-content: center;
}

.pte-scorecard-editor-card .report-title {
  color: #333333;
  font-size: 30px;
  font-weight: 400;
  left: 38px;
  line-height: 1.05;
  position: absolute;
  top: 48px;
  white-space: nowrap;
}

.pte-scorecard-editor-card .report-code {
  color: #333333;
  font-size: 18px;
  left: 38px;
  line-height: 1;
  position: absolute;
  top: 90px;
  white-space: nowrap;
}

.pte-scorecard-editor-card .inline-value {
  display: inline-block;
  min-width: 10px;
}

.pte-scorecard-editor-card .avatar {
  height: 137px;
  left: 37px;
  object-fit: cover;
  position: absolute;
  top: 162px;
  width: 137px;
}

.pte-scorecard-editor-card .candidate-name {
  color: #000000;
  font-size: 27px;
  left: 219px;
  line-height: 1.05;
  max-width: 360px;
  min-width: 240px;
  overflow: hidden;
  position: absolute;
  text-overflow: ellipsis;
  top: 181px;
  white-space: nowrap;
}

.pte-scorecard-editor-card .registration {
  color: #000000;
  font-size: 19.5px;
  left: 219px;
  line-height: 1;
  position: absolute;
  top: 222px;
  white-space: nowrap;
}

.pte-scorecard-editor-card .registration strong {
  font-size: 16.5px;
}

.pte-scorecard-editor-card .separator-vertical {
  background: #d9d9d9;
  height: 151px;
  left: 607px;
  position: absolute;
  top: 178px;
  width: 1px;
}

.pte-scorecard-editor-card .overall-badge-wrap {
  height: 128px;
  left: 654px;
  position: absolute;
  top: 194px;
  width: 128px;
}

.pte-scorecard-editor-card .overall-badge {
  background: linear-gradient(#085f73 0 31px, var(--magenta) 31px 100%);
  border-radius: 12px 12px 64px 64px;
  height: 128px;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 128px;
}

.pte-scorecard-editor-card .overall-label {
  color: #c0e3de;
  font-size: 15px;
  font-weight: 700;
  left: 11px;
  line-height: 1;
  position: absolute;
  top: 14px;
  white-space: nowrap;
}

.pte-scorecard-editor-card .overall-score {
  color: #ffffff;
  font-size: 52px;
  font-weight: 700;
  left: 31px;
  line-height: 1;
  min-width: 66px;
  position: absolute;
  text-align: center;
  top: 49px;
}

.pte-scorecard-editor-card .side-name {
  color: #444444;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  position: absolute;
  right: 8px;
  text-align: center;
  top: 138px;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.pte-scorecard-editor-card .section-title {
  color: #444444;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  position: absolute;
}

.pte-scorecard-editor-card .rule {
  background: var(--rule);
  height: 1px;
  position: absolute;
}

.pte-scorecard-editor-card .communicative-title {
  left: 38px;
  top: 334px;
}

.pte-scorecard-editor-card .communicative-rule {
  left: 38px;
  top: 364px;
  width: 797px;
}

.pte-scorecard-editor-card .skill {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 112px;
}

.pte-scorecard-editor-card .skill-listening {
  left: 144px;
  top: 389px;
}

.pte-scorecard-editor-card .skill-reading {
  left: 287px;
  top: 389px;
}

.pte-scorecard-editor-card .skill-speaking {
  left: 429px;
  top: 389px;
}

.pte-scorecard-editor-card .skill-writing {
  left: 572px;
  top: 389px;
}

.pte-scorecard-editor-card .skill-circle {
  align-items: center;
  background: #ffffff;
  border: 6px solid currentColor;
  border-radius: 50%;
  display: flex;
  height: 98px;
  justify-content: center;
  width: 98px;
}

.pte-scorecard-editor-card .skill-circle span {
  color: #444444;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  min-width: 38px;
  text-align: center;
}

.pte-scorecard-editor-card .skill-label {
  color: #444444;
  font-size: 20px;
  line-height: 1;
  margin-top: 9px;
}

.pte-scorecard-editor-card .navy {
  color: var(--navy);
}

.pte-scorecard-editor-card .lime {
  color: var(--lime);
}

.pte-scorecard-editor-card .gray {
  color: var(--gray);
}

.pte-scorecard-editor-card .magenta {
  color: var(--magenta);
}

.pte-scorecard-editor-card .breakdown-title {
  left: 38px;
  top: 518px;
}

.pte-scorecard-editor-card .breakdown-rule {
  left: 38px;
  top: 549px;
  width: 335px;
}

.pte-scorecard-editor-card .chart {
  color: #7a7a7a;
  font-size: 15px;
  height: 178px;
  left: 52px;
  position: absolute;
  top: 567px;
  width: 275px;
}

.pte-scorecard-editor-card .chart-overall {
  color: #23386a;
  font-size: 18px;
  left: 172px;
  line-height: 1;
  position: absolute;
  top: 1px;
  white-space: nowrap;
}

.pte-scorecard-editor-card .overall-marker {
  background: rgba(87, 101, 128, 0.82);
  height: 165px;
  left: 204px;
  position: absolute;
  top: 18px;
  width: 7px;
  z-index: 2;
}

.pte-scorecard-editor-card .chart-row {
  height: 25px;
  left: 0;
  position: absolute;
  width: 270px;
}

.pte-scorecard-editor-card .row-listening {
  top: 30px;
}

.pte-scorecard-editor-card .row-reading {
  top: 61px;
}

.pte-scorecard-editor-card .row-speaking {
  top: 92px;
}

.pte-scorecard-editor-card .row-writing {
  top: 123px;
}

.pte-scorecard-editor-card .chart-label {
  line-height: 25px;
  position: absolute;
  right: 148px;
  text-align: right;
  top: 0;
  white-space: nowrap;
  width: 120px;
}

.pte-scorecard-editor-card .chart-label span {
  color: #23386a;
}

.pte-scorecard-editor-card .bar {
  height: 25px;
  left: 147px;
  position: absolute;
  top: 0;
}

.pte-scorecard-editor-card .bar.navy {
  background: var(--navy);
}

.pte-scorecard-editor-card .bar.lime {
  background: var(--lime);
}

.pte-scorecard-editor-card .bar.gray {
  background: var(--gray);
}

.pte-scorecard-editor-card .bar.magenta {
  background: var(--magenta);
}

.pte-scorecard-editor-card .candidate-info-title {
  left: 30px;
  top: 765px;
}

.pte-scorecard-editor-card .candidate-info-rule {
  left: 30px;
  top: 796px;
  width: 335px;
}

.pte-scorecard-editor-card .test-info-title {
  left: 473px;
  top: 765px;
}

.pte-scorecard-editor-card .test-info-rule {
  left: 473px;
  top: 796px;
  width: 335px;
}

.pte-scorecard-editor-card .info-block {
  color: #444444;
  font-size: 16.5px;
  line-height: 1;
  position: absolute;
}

.pte-scorecard-editor-card .candidate-info {
  left: 38px;
  top: 842px;
  width: 330px;
}

.pte-scorecard-editor-card .test-info {
  left: 481px;
  top: 842px;
  width: 330px;
}

.pte-scorecard-editor-card .info-row {
  align-items: baseline;
  display: flex;
  gap: 16px;
  height: 35px;
  white-space: nowrap;
}

.pte-scorecard-editor-card .info-row strong {
  flex: 0 0 auto;
}

.pte-scorecard-editor-card .info-value {
  display: inline-block;
  min-width: 36px;
}

.pte-scorecard-editor-card .info-value.wide {
  max-width: 205px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.pte-scorecard-editor-card .note {
  color: #444444;
  font-size: 15px;
  left: 38px;
  line-height: 1.15;
  position: absolute;
  top: 1105px;
  white-space: nowrap;
}

.pte-scorecard-editor-card .copyright {
  color: #333333;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.pte-scorecard-editor-card .editable {
  border-radius: 3px;
  outline: 0 solid transparent;
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.pte-scorecard-editor-card .editable:hover {
  background: rgba(255, 246, 183, 0.6);
  box-shadow: 0 0 0 1px rgba(194, 154, 0, 0.35);
}

.pte-scorecard-editor-card .editable:focus {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px #147d92;
}

.pte-scorecard-editor-card .number-field {
  font-variant-numeric: tabular-nums;
}

.pte-scorecard-editor.exporting .pte-scorecard-editor-card {
  box-shadow: none;
}

.pte-scorecard-editor.exporting .editable,
.pte-scorecard-editor.exporting .editable:hover,
.pte-scorecard-editor.exporting .editable:focus {
  background: transparent;
  box-shadow: none;
  outline: 0;
}

@media print {
  .pte-card-editor-toolbar {
    display: none !important;
  }

  .pte-score-app.pte-score-card-only.pte-scorecard-editor,
  .pte-card-editor-workspace {
    background: #ffffff !important;
    display: block !important;
    height: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
  }

  .pte-scorecard-editor-card {
    box-shadow: none !important;
    height: var(--page-h);
    margin: 0 !important;
    transform: scale(0.666);
    transform-origin: top left;
    width: var(--page-w);
  }

  .pte-scorecard-editor-card .editable,
  .pte-scorecard-editor-card .editable:hover,
  .pte-scorecard-editor-card .editable:focus {
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 920px) {
  .pte-card-editor-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

.pte-analysis-box {
  border: 1px solid #cddcf0;
  margin: 12px 0;
  padding: 18px 32px;
  background: #f8faff;
}

.pte-analysis-box.solution h3 {
  background: #e2fbff;
  margin: -18px -32px 18px;
  padding: 18px 32px;
}

.pte-metric {
  margin: 22px 0;
  padding: 0 36px 24px;
  border: 1px solid #d8e3ef;
  border-radius: 6px;
  background: #f8faff;
  box-shadow: 0 6px 18px rgba(30, 49, 55, .07);
}

.pte-metric-head {
  margin: 0 -36px 14px;
  padding: 14px 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(90deg, #151515, #bfc0c0);
}

.pte-metric-head span {
  margin-left: 8px;
  padding: 3px 9px;
  border: 1px solid #a6e500;
  border-radius: 999px;
  color: #b9ff20;
  font-size: 14px;
}

.pte-scale {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.pte-scale em {
  border: 1px solid #ff9b00;
  border-radius: 999px;
  padding: 4px 9px;
  color: #ff9b00;
  font-style: normal;
  font-size: 14px;
  line-height: 1.2;
}

.pte-scale em:first-child {
  border-color: #ff2f2f;
  color: #ff0000;
}

.pte-scale em:nth-child(2) {
  border-color: #ff9b00;
  color: #ff9b00;
}

.pte-scale em:nth-child(3) {
  border-color: #ffbf00;
  color: #ffbf00;
}

.pte-scale em:nth-child(n+4) {
  border-color: #18b928;
  color: #00b300;
}

.pte-metric h4 {
  margin: 22px 0 12px;
  color: #5b6e86;
  font-size: 17px;
}

.pte-word-analysis {
  margin: 0 0 14px;
  color: #536982;
  font-size: 16px;
  line-height: 1.75;
}

.pte-word-analysis mark {
  padding: 2px 4px;
}

.pte-word-analysis mark.good,
.pte-tag.good {
  background: #00b400;
  color: #fff;
}

.pte-word-analysis mark.bad,
.pte-tag.bad {
  background: #ffb8aa;
  color: #24364b;
}

.pte-word-analysis mark.plain {
  background: transparent;
}

.pte-tag {
  display: inline-block;
  margin: 4px 8px 4px 0;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 800;
}

.pte-word-analysis .pause {
  display: inline-block;
  height: 26px;
  border-left: 4px solid #ff8f7f;
  vertical-align: middle;
}

@media print {
  .pte-score-topbar,
  .pte-score-sidebar,
  .pte-score-main > .pte-score-card:not(.pte-official-score-card) {
    display: none !important;
  }

  .pte-score-app,
  .pte-score-layout,
  .pte-score-main {
    position: static !important;
    inset: auto !important;
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
    padding: 0 !important;
  }

  .pte-official-score-card {
    display: block !important;
    box-shadow: none;
    margin: 0;
  }
}

@media (max-width: 900px) {
  .pte-admin-grid,
  .pte-question-form,
  .pte-review-grid,
  .pte-score-layout,
  .pte-dashboard-body {
    grid-template-columns: 1fr;
  }

  .pte-dashboard-header {
    height: 88px;
  }

  .pte-dashboard-body {
    inset: 88px 0 0 0;
  }

  .pte-dashboard-sidebar {
    display: none;
  }

  .pte-dashboard-main {
    padding: 60px 20px 80px;
  }

  .pte-dashboard-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pte-dashboard-panel {
    margin-top: 80px;
  }

  .pte-score-sidebar {
    position: static;
    height: auto;
  }

  .pte-test-top,
  .pte-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
