/* ==========================================================================
   MULTILEV — sp-exam.css  (Speaking imtihon ekrani)
   ========================================================================== */
.sx { --sx-g: #5FBE9F; --sx-o: #F6A75E; --sx-b: #43A9C9; --sx-ink: #1F2A37; --sx-line: #C9DDE4; --sx-mut: #6B7785;
  position: fixed; inset: 0; z-index: 90; background: #E9EDF2; overflow-y: auto; padding: 24px; color: var(--sx-ink); word-spacing: .06em; }
.sx.hidden { display: none; }
body.sx-lock { overflow: hidden; }
.sx-scr { max-width: 1120px; margin: 0 auto; min-height: calc(100% - 4px); background: #fff; border-radius: 14px;
  box-shadow: 0 6px 24px rgba(30,50,80,.08); display: flex; flex-direction: column; overflow: hidden; }
.sx-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid #EEF1F4; font-size: 13px; color: var(--sx-mut); }
.sx-bar b { color: var(--sx-ink); }
.sx-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-x { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #E3E8EE; background: #fff; border-radius: 999px;
  padding: 6px 14px; font: inherit; font-weight: 700; font-size: 12.5px; color: var(--sx-mut); cursor: pointer; }
.sx-x:hover { border-color: #F3B4B4; color: #C0392B; }
.sx-x svg { width: 14px; height: 14px; }
.sx-in { flex: 1; padding: 30px 40px 36px; }

/* 1 – 2 – 3 qadamlar */
.sx-steps { display: flex; align-items: center; justify-content: center; margin: 0 auto; width: min(720px, 100%); }
.sx-st { flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 40px; font-weight: 600;
  background: var(--sx-o); box-shadow: 0 4px 10px rgba(0,0,0,.12); position: relative; z-index: 1; }
.sx-st small { position: absolute; bottom: -24px; font-size: 12px; color: var(--sx-mut); font-weight: 700; white-space: nowrap; }
.sx-st.on, .sx-st.done { background: var(--sx-g); }
.sx-ln { flex: 1; height: 16px; background: var(--sx-o); margin: 0 -4px; }
.sx-ln.done { background: var(--sx-g); }

.sx-main { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 30px; margin-top: 52px; align-items: start; }

/* Ko'rsatma */
.sx-intro { font-size: 22px; line-height: 1.45; align-self: center; }
.sx-intro .uz { font-size: 14.5px; color: var(--sx-mut); margin-top: 16px; line-height: 1.55; border-left: 3px solid var(--sx-g); padding-left: 12px; }
.sx-pbadge { background: var(--sx-b); color: #fff; font-size: 44px; font-weight: 500; padding: 18px 34px; border-radius: 6px; white-space: nowrap; }

/* Savol kartasi */
.sx-card { border: 2px solid var(--sx-line); border-radius: 4px; padding: 18px 20px 22px; box-shadow: 0 2px 8px rgba(0,0,0,.05); min-height: 240px; }
.sx-ch { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; min-height: 54px; }
.sx-sv { background: var(--sx-b); color: #fff; border-radius: 6px; padding: 8px 22px; font-size: 15px; font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,.15); white-space: nowrap; }
.sx-ind { display: flex; align-items: center; }
.sx-spin { display: none; width: 54px; height: 54px; border-radius: 50%; border: 6px solid #E4E7EA; border-top-color: #B9C0C7; animation: sxspin 1s linear infinite; }
.sx-card.listening .sx-spin { display: block; }
@keyframes sxspin { to { transform: rotate(360deg); } }
.sx-wave { display: none; align-items: center; gap: 3px; height: 34px; }
.sx-card.speaking .sx-wave { display: flex; }
.sx-wave i { display: block; width: 3px; height: 3px; border-radius: 2px; background: var(--sx-b); transition: height .07s linear; }
.sx-q { display: inline-block; border: 1.5px solid #333; padding: 6px 12px; font-size: 21px; line-height: 1.35; }
.sx-qs { margin: 0; padding-left: 24px; font-size: 18px; line-height: 1.5; }
.sx-qs li + li { margin-top: 4px; }
.sx-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.sx-imgs.one { grid-template-columns: 1fr; max-width: 560px; }
.sx-imgs img { width: 100%; aspect-ratio: 4 / 2.7; object-fit: cover; border-radius: 4px; display: block; background: #E3E9EE; }
.sx-tbl { border: 1.5px solid #333; width: 100%; border-collapse: collapse; font-size: 16px; }
.sx-tbl td, .sx-tbl th { border: 1.5px solid #333; padding: 8px 12px; vertical-align: top; text-align: left; font-weight: 400; width: 50%; }
.sx-tbl th[colspan] { text-align: center; font-size: 18px; }
.sx-tbl ul { margin: 6px 0 0; padding-left: 20px; line-height: 1.45; }

/* O'ng tomon: sanoq / taymer */
.sx-side { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; min-height: 200px; }
.sx-ring { width: 170px; height: 170px; border-radius: 50%; border: 3px solid #3F7A3A; display: grid; place-items: center; font-size: 96px; font-weight: 500; color: #111; line-height: 1; }
.sx-timer { background: var(--sx-b); color: #fff; font-size: 60px; font-weight: 500; padding: 14px 46px; letter-spacing: .02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sx-timer.warn { background: #E0605A; }
.sx-cap { font-size: 13px; font-weight: 700; color: var(--sx-mut); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; }
.sx-cap svg { width: 18px; height: 18px; }
.sx-listen { font-size: 15px; }
.sx-next { margin-top: 10px; border: 0; background: var(--sx-b); color: #fff; border-radius: 999px; padding: 10px 20px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.sx-next:hover { filter: brightness(.95); }

/* Telefon */
@media (max-width: 640px) {
  .sx { padding: 0; }
  .sx-scr { border-radius: 0; min-height: 100%; box-shadow: none; }
  .sx-bar { padding: 10px 14px; }
  .sx-in { padding: 16px 14px 28px; }
  .sx-st { width: 56px; height: 56px; font-size: 24px; }
  .sx-st small { font-size: 10.5px; bottom: -20px; }
  .sx-ln { height: 9px; }
  .sx-main { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .sx-side { order: -1; min-height: 0; flex-direction: row; flex-wrap: wrap; }
  .sx-ring { width: 84px; height: 84px; font-size: 44px; }
  .sx-timer { font-size: 34px; padding: 8px 26px; }
  .sx-next { margin-top: 0; }
  .sx-pbadge { font-size: 26px; padding: 10px 20px; }
  .sx-intro { font-size: 17px; }
  .sx-card { padding: 14px 14px 18px; min-height: 0; }
  .sx-ch { min-height: 40px; margin-bottom: 14px; }
  .sx-spin { width: 38px; height: 38px; border-width: 5px; }
  .sx-q { font-size: 17px; }
  .sx-qs { font-size: 16px; }
  .sx-imgs { gap: 8px; margin-top: 16px; }
  .sx-tbl { font-size: 13.5px; }
  .sx-tbl th[colspan] { font-size: 15px; }
  .sx-tbl td, .sx-tbl th { padding: 6px 8px; }
}
