/* EDUSA brand: primary #0054a7 · secondary #e55c28 · text #333 · success teal #0c9b78 */
html.etp-blank-body,
body.etp-blank-body{
  margin:0;
  padding:0;
  background:#f3f1ec;
  color:#333;
  min-height:100%;
}
body.etp-blank-body.admin-bar{padding-top:32px}
@media screen and (max-width:782px){
  body.etp-blank-body.admin-bar{padding-top:46px}
}
.etp-blank-page{
  min-height:100vh;
  background:#f3f1ec;
  padding:24px 16px 40px;
}
.etp-blank-shell{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:0;
  background:transparent;
  border-radius:0;
  box-shadow:none;
  box-sizing:border-box;
}

.etp-app{
  --etp-primary:#0054a7;
  --etp-secondary:#e55c28;
  --etp-accent:#0b2447;
  --etp-success:#0c9b78;
  --etp-bg:#fff;
  --etp-card:#fff;
  --etp-line:#d8e2ec;
  --etp-text:#333333;
  --etp-muted:#5a6b7d;
  --etp-soft:#eef5fb;
  --etp-navy:#0b2447;
  color:var(--etp-text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:18px;
  margin:0;
}
.etp-app [hidden]{display:none !important}

.etp-gate:not([hidden]){
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 16px;
  background:#e8eef5;
}
body.etp-gate-active{
  background:#e8eef5;
}
.etp-app--gated .etp-exam,
.etp-exam[hidden],
.etp-exam--cbt[hidden]{
  display:none !important;
}

.etp-empty{
  background:var(--etp-card);
  border:1px solid var(--etp-line);
  border-radius:12px;
  padding:28px;
  max-width:640px;
  margin:0 auto;
}
.etp-gate__card{
  background:var(--etp-card);
  border:1px solid var(--etp-line);
  border-radius:16px;
  box-shadow:0 8px 32px rgba(11,36,71,.08);
  width:100%;
  max-width:440px;
  margin:0 auto;
  padding:clamp(24px,4.5vw,36px) clamp(20px,4vw,32px);
  box-sizing:border-box;
}
.etp-gate__head{
  margin:0 0 clamp(20px,3.5vw,28px);
  padding-bottom:clamp(16px,3vw,20px);
  border-bottom:1px solid var(--etp-line);
  text-align:center;
}
.etp-gate__title{
  margin:0 0 10px;
  font-size:clamp(1.25rem,2.8vw,1.5rem);
  line-height:1.3;
  font-weight:700;
  color:var(--etp-primary);
  letter-spacing:-.01em;
}
.etp-gate__meta{
  color:var(--etp-muted);
  margin:0;
  font-size:clamp(.9rem,2.2vw,.98rem);
  line-height:1.45;
  font-weight:500;
}
.etp-gate__warn,.etp-result__warn{
  background:#fff7e8;
  border:1px solid #f0d9a8;
  border-radius:8px;
  padding:10px 12px;
  margin:0 0 18px;
  color:#7a4d00;
  font-size:.92rem;
  line-height:1.45;
}
.etp-gate__form{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.etp-gate__form .etp-field{
  display:block;
  margin:0;
  font-weight:600;
  font-size:.92rem;
  line-height:1.35;
  color:var(--etp-navy);
}
.etp-gate__form .etp-field input,
.etp-gate__form .etp-field select{
  display:block;
  width:100%;
  margin-top:8px;
  padding:12px 14px;
  border:1px solid var(--etp-line);
  border-radius:10px;
  font-weight:400;
  font-size:1rem;
  line-height:1.35;
  background:#fff;
  box-sizing:border-box;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.etp-gate__form .etp-field input:focus,
.etp-gate__form .etp-field select:focus{
  outline:none;
  border-color:var(--etp-primary);
  box-shadow:0 0 0 3px rgba(0,84,167,.12);
}
.etp-field__error{
  display:block;
  margin-top:6px;
  font-size:.85rem;
  line-height:1.35;
  color:#b42318;
  font-weight:500;
}
.etp-field--invalid input,
.etp-field--invalid select{
  border-color:#b42318;
  box-shadow:0 0 0 3px rgba(180,35,24,.1);
}
.etp-gate__actions{
  margin-top:6px;
  padding-top:4px;
}
.etp-gate__actions .etp-btn--primary{
  width:100%;
  min-height:48px;
  padding:14px 20px;
  border-radius:10px;
  font-size:1rem;
  letter-spacing:.01em;
}
.etp-blank-shell--result{
  max-width:840px;
  padding:8px 0 32px;
  background:transparent;
  border-radius:0;
  box-shadow:none;
}
.etp-result{
  width:100%;
  max-width:840px;
  margin:0 auto;
}
.etp-result__card{
  background:#fff;
  border:1px solid #e4e8ee;
  border-radius:16px;
  padding:36px 40px 32px;
  width:100%;
  max-width:840px;
  margin:0 auto;
  box-sizing:border-box;
  box-shadow:0 8px 28px rgba(11,36,71,.06);
}
.etp-advice{
  margin:22px 0 8px;
  padding-top:8px;
  border-top:1px solid var(--etp-line);
}
.etp-advice > h2{
  margin:0 0 14px;
  font-size:1.25rem;
  color:var(--etp-navy);
}
.etp-advice__block{
  margin:0 0 16px;
  padding:14px 16px;
  border:1px solid var(--etp-line);
  border-radius:10px;
  background:#fff;
}
.etp-advice__block h3{
  margin:0 0 8px;
  font-size:1.05rem;
  color:var(--etp-primary);
}
.etp-advice__block p{margin:0 0 8px;line-height:1.5}
.etp-advice__block p:last-child{margin-bottom:0}
.etp-advice__scores{
  margin:0 0 10px;
  padding-left:18px;
}
.etp-advice__channels{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:12px;
  margin-top:8px;
  align-items:stretch;
}
.etp-advice__channel{
  display:flex;
  flex-direction:column;
  min-width:0;
  border:1px solid var(--etp-line);
  border-radius:10px;
  padding:14px;
  background:#f7fafc;
  overflow:hidden;
}
.etp-advice__channel h4{
  margin:0 0 6px;
  font-size:.98rem;
  color:var(--etp-navy);
}
.etp-advice__summary{
  font-weight:700;
  margin:0 0 8px;
}
.etp-advice__stages{
  margin:0 0 12px;
  padding-left:18px;
  flex:1 1 auto;
}
.etp-advice__stages span{color:var(--etp-muted);font-weight:400}
.etp-advice__cta{
  margin-top:auto;
  padding-top:4px;
}
.etp-advice__cta .etp-btn{
  display:flex;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:0;
  padding:10px 12px;
  font-size:14px;
  line-height:1.3;
  letter-spacing:0;
  white-space:normal;
  text-align:center;
  min-height:44px;
  height:auto;
}
.etp-btn{
  appearance:none;border:0;border-radius:8px;padding:12px 18px;font-weight:700;
  cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  text-decoration:none;font-size:18px;letter-spacing:.02em;
}
.etp-btn--primary{background:var(--etp-primary);color:#fff}
.etp-btn--accent{
  background:var(--etp-accent, var(--etp-navy));
  color:#fff;
  width:100%;
  margin-top:16px;
  padding:14px 18px;
  font-size:18px;
  text-transform:uppercase;
  box-shadow:0 6px 16px rgba(11,36,71,.22);
}
.etp-btn--accent:hover{filter:brightness(1.08)}
.etp-btn--navy{
  background:var(--etp-navy);
  color:#fff;
}
.etp-btn--navy:hover{filter:brightness(1.08);color:#fff}
.etp-btn--outline{
  background:#fff;
  color:var(--etp-primary);
  border:1px solid var(--etp-primary);
}
.etp-btn--outline:hover{
  background:#eef5fb;
  color:var(--etp-primary);
}

/* ===== CBT exam shell (giống thi TOEIC trên máy) ===== */
.etp-blank-page--cbt{
  padding:0;
  background:#e8eef5;
  min-height:100vh;
}
.etp-blank-shell--cbt{
  max-width:none;
  width:100%;
  margin:0;
  padding:0;
  background:transparent;
  box-shadow:none;
  border-radius:0;
}
body.etp-cbt-active{
  background:#e8eef5;
  overflow:hidden;
}

.etp-exam--cbt{
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100dvh;
  max-height:100vh;
  max-height:100dvh;
  height:100vh;
  height:100dvh;
  background:#e8eef5;
  padding-bottom:env(safe-area-inset-bottom, 0);
}

.etp-cbt-bar{
  flex:0 0 auto;
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  min-height:56px;
  padding:10px 18px;
  padding-top:max(10px, env(safe-area-inset-top, 0px));
  background:#0b2447;
  color:#fff;
  z-index:20;
}
.etp-cbt-bar__brand{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:8px;
  min-width:0;
  justify-self:start;
  flex-shrink:0;
  position:relative;
  z-index:2;
}
.etp-cbt-bar__skill{
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  opacity:.9;
}
.etp-cbt-bar__skill[hidden]{display:none !important}
.etp-cbt-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  height:36px;
  padding:4px 8px;
  border-radius:6px;
  background:#fff;
  line-height:0;
  text-decoration:none;
  box-shadow:0 1px 0 rgba(0,0,0,.12);
}
.etp-cbt-logo img{
  display:block;
  height:28px;
  width:auto;
  max-width:120px;
  object-fit:contain;
}
.etp-cbt-bar__center{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:min(52%, calc(100% - 320px));
  margin:0;
  padding:0 8px;
  text-align:center;
  pointer-events:none;
  z-index:1;
  overflow:hidden;
}
.etp-cbt-bar__pos{
  display:block;
  font-size:16px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}
.etp-cbt-bar__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-shrink:0;
  justify-self:end;
  min-width:max-content;
  position:relative;
  z-index:2;
}
.etp-cbt-pill--preview{
  background:#fff;
  color:#0b2447;
  box-shadow:0 1px 0 rgba(0,0,0,.08);
}
.etp-cbt-pill--preview:hover{
  background:#eef3f9;
  color:#0b2447;
}
.etp-app--review-mode .etp-cbt-bar__center{
  padding:0 8px;
}
.etp-cbt-answered{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:3.5rem;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  color:#0b2447;
  font-size:13px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  line-height:1.2;
  white-space:nowrap;
  box-shadow:0 1px 0 rgba(0,0,0,.08);
}
.etp-cbt-answered[hidden],
.etp-cbt-pill[hidden],
.etp-cbt-submit[hidden]{
  display:none !important;
}
.etp-cbt-skip{
  appearance:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:6px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:14px;
  font-weight:600;
  padding:8px 14px;
  cursor:pointer;
  white-space:nowrap;
}
.etp-cbt-skip[hidden]{display:none !important}
.etp-cbt-skip:hover{
  background:rgba(255,255,255,.16);
}
.etp-cbt-skip__icon{
  font-size:15px;
  line-height:1;
  opacity:.95;
}
.etp-app--dirs .etp-cbt-bar__pos{
  font-size:16px;
  font-weight:700;
  line-height:1.2;
}
.etp-cbt-example-note{
  margin:14px 0 0;
  padding:12px 14px;
  background:#eef5fb;
  border:1px solid #d0e0ef;
  border-radius:6px;
}
.etp-cbt-example-note .etp-cbt-caption{margin:0}
.etp-cbt-directions--listen .etp-cbt-directions__body h2{
  text-align:center;
  font-size:28px;
  margin:0 0 18px;
}
.etp-cbt-pill{
  appearance:none;
  border:0;
  border-radius:999px;
  background:#1a3a66;
  color:#fff;
  font-size:14px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  padding:8px 14px;
  cursor:pointer;
  line-height:1;
}
.etp-cbt-pill:hover{background:#245088}
.etp-cbt-pill--timer{min-width:7.25rem}
.etp-cbt-pill.is-hidden-time{opacity:.75}
.etp-cbt-submit{
  appearance:none;
  border:0;
  border-radius:4px;
  background:#f5b400;
  color:#0b2447;
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
  padding:10px 16px;
  cursor:pointer;
  line-height:1;
}
.etp-cbt-submit:hover{filter:brightness(1.05)}
.etp-cbt-submit:disabled{opacity:.65;cursor:not-allowed}

.etp-cbt-audio{
  flex:0 0 auto;
  background:#0b2447;
  border-bottom:1px solid #163a66;
  padding:8px 16px;
  color:#fff;
}
.etp-cbt-audio audio{
  display:block;
  width:100%;
  height:36px;
  margin:0 0 6px;
}
/* Listening exam: no visible audio chrome / seek bar; <audio> still plays. */
.etp-cbt-audio--exam.etp-cbt-audio--hidden-ui{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  border:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  flex:none;
}
.etp-cbt-audio--exam.etp-cbt-audio--hidden-ui .etp-cbt-audio__bar,
.etp-cbt-audio--exam.etp-cbt-audio--hidden-ui .etp-cbt-audio__begin,
.etp-cbt-audio--exam.etp-cbt-audio--hidden-ui audio{
  pointer-events:none;
}
.etp-cbt-audio__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.etp-cbt-audio__label{opacity:.95}
.etp-cbt-audio__time{
  font-variant-numeric:tabular-nums;
  opacity:.9;
}
.etp-cbt-audio__begin{
  appearance:none;
  display:block;
  width:100%;
  margin-top:8px;
  border:0;
  border-radius:4px;
  background:#f5b400;
  color:#0b2447;
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
  padding:10px 14px;
  cursor:pointer;
}
.etp-cbt-audio__begin:hover{filter:brightness(1.05)}
.etp-cbt-audio__begin[hidden]{display:none !important}
.etp-cbt-welcome{
  max-width:720px;
}
.etp-cbt-welcome__inner{
  background:#fff;
  border:1px solid #c5d0dc;
  border-radius:4px;
  padding:32px 30px;
  box-shadow:0 1px 6px rgba(11,36,71,.05);
}
.etp-cbt-welcome__inner h2{
  margin:0 0 12px;
  font-size:22px;
  color:var(--etp-navy);
}
.etp-cbt-welcome__inner p{
  margin:0 0 12px;
  font-size:17px;
  line-height:1.55;
}
.etp-cbt-welcome__list{
  margin:0 0 18px;
  padding-left:1.2em;
  font-size:16px;
  line-height:1.55;
  color:var(--etp-text);
}
.etp-cbt-welcome__list li{margin:0 0 6px}

/* Question area fills between header and footer — no inset card */
.etp-cbt-stage{
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  box-sizing:border-box;
  background:#fff;
}

.etp-cbt-split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:minmax(0,1fr);
  gap:0;
  width:100%;
  max-width:none;
  margin:0;
  flex:1 1 auto;
  min-height:0;
  height:100%;
  background:#fff;
  border:0;
  border-radius:0;
  overflow:hidden;
  box-shadow:none;
}
.etp-cbt-split--solo{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
.etp-cbt-split--group .etp-cbt-left{
  background:#fff;
}
.etp-cbt-left,
.etp-cbt-right{
  background:#fff;
  border:0;
  border-radius:0;
  padding:24px 28px;
  box-shadow:none;
  min-height:0;
  max-height:none;
  height:100%;
  overflow:auto;
}
.etp-cbt-left{
  border-right:1px solid #eceff3;
  background:#fff;
  display:flex;
  flex-direction:column;
}
.etp-cbt-right{
  display:block;
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.etp-cbt-right__end{
  display:block;
  width:100%;
  height:16px;
  min-height:16px;
  flex-shrink:0;
  pointer-events:none;
}
/* Listening Part 3/4 grouped sets (3 questions): keep last option visible above foot/nav. */
.etp-cbt-split--group .etp-cbt-right{
  padding:12px 16px 12px;
  scroll-padding-bottom:24px;
}
.etp-cbt-split--group .etp-cbt-right__end{
  height:72px;
  min-height:72px;
}
.etp-cbt-split--group .etp-cbt-qblock{
  margin:0 0 10px;
  padding-bottom:8px;
}
.etp-cbt-split--group .etp-cbt-stem{
  margin:0 0 6px;
  font-size:15px;
  line-height:1.4;
}
.etp-cbt-split--group .etp-cbt-qhead{
  margin-bottom:8px;
}
.etp-cbt-split--group .etp-cbt-options{
  gap:6px;
}
.etp-cbt-split--group .etp-cbt-opt{
  padding:7px 10px;
  min-height:34px;
  gap:8px;
}
.etp-cbt-split--group .etp-cbt-opt__text,
.etp-cbt-split--group .etp-cbt-opt__text--letter{
  font-size:15px;
  line-height:1.28;
}
.etp-cbt-qhead{
  font-size:13px;
  font-weight:700;
  color:var(--etp-text);
  text-transform:none;
  letter-spacing:0;
  margin-bottom:12px;
}
.etp-cbt-qno{
  font-size:18px;
  font-weight:700;
  color:var(--etp-text);
  margin:0 0 8px;
  line-height:1.3;
}
.etp-cbt-hint{
  margin:0 0 8px;
  font-size:18px;
  font-weight:600;
  color:var(--etp-navy);
  line-height:1.45;
}
.etp-cbt-hint-sub{
  margin:0;
  font-size:15px;
  color:var(--etp-muted);
  line-height:1.5;
}
.etp-cbt-stem{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.5;
  color:var(--etp-text);
}
.etp-cbt-passage{
  font-size:16px;
  line-height:1.6;
  margin-bottom:0;
  color:var(--etp-text);
}
/* Refer line outside the white passage card (sibling before .etp-cbt-passage). */
/* Passage card can use full equal column (no artificial narrow max-width) */
.etp-cbt-left > .etp-doc__refer{
  margin:0 0 10px;
  padding:0;
  font-size:15px;
  font-weight:700;
  color:var(--etp-text);
  max-width:none;
}
.etp-cbt-passage .etp-doc{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:8px;
  padding:18px 20px;
  max-width:none;
  box-shadow:0 1px 3px rgba(15,23,42,.04);
}
.etp-cbt-passage .etp-doc--mail,
.etp-cbt-passage .etp-doc--letter,
.etp-cbt-passage .etp-doc--form,
.etp-cbt-passage .etp-doc--web,
.etp-cbt-passage .etp-doc--chat,
.etp-cbt-passage .etp-doc--article,
.etp-cbt-passage .etp-doc--stack,
.etp-cbt-passage .etp-doc--text{
  border-left:1px solid #e2e8f0; /* no navy accent bar */
}
.etp-cbt-passage .etp-doc__headers{
  margin:0 0 12px;
  padding-bottom:10px;
  border-bottom:1px solid #eef2f6;
}
.etp-cbt-passage .etp-doc__row{
  display:flex;
  flex-wrap:wrap;
  gap:6px 10px;
  margin:0 0 4px;
  font-size:15px;
  line-height:1.45;
}
.etp-cbt-passage .etp-doc__k{
  font-weight:700;
  color:var(--etp-text);
  min-width:4.5rem;
}
.etp-cbt-passage .etp-doc__v{
  flex:1;
  min-width:0;
  word-break:break-word;
}
.etp-cbt-passage .etp-doc__title{
  margin:0 0 12px;
  font-size:17px;
  font-weight:700;
  color:var(--etp-text);
  line-height:1.35;
  text-align:center;
}
.etp-cbt-passage .etp-doc__url{
  margin:0 0 8px;
  font-size:13px;
  color:#64748b;
  word-break:break-all;
}
.etp-cbt-passage .etp-doc__nav{
  margin:0 0 10px;
  font-size:13px;
  color:#334155;
}
/* ETS-like memo tint + web chrome + mail frame (Reading Test 01 GV Tân). */
.etp-cbt-passage .etp-doc.etp-doc--memo{
  background:#eef2f6;
  border:1px solid #c5d0dc;
  padding:0;
  overflow:visible;
}
.etp-cbt-passage .etp-doc--memo > .etp-doc__title{
  background:#d9e2ec;
  margin:0;
  padding:10px 20px;
  letter-spacing:.14em;
  text-align:center;
}
.etp-cbt-passage .etp-doc--memo > .etp-doc__headers,
.etp-cbt-passage .etp-doc--memo > .etp-doc__body{
  padding:12px 20px 0;
}
.etp-cbt-passage .etp-doc--memo > .etp-doc__body{
  padding-bottom:18px;
}
.etp-cbt-passage .etp-doc__chrome{
  border:1px solid #94a3b8;
  background:#f1f5f9;
  border-radius:4px;
  padding:8px 12px;
  margin:0 0 12px;
}
.etp-cbt-passage .etp-doc__chrome .etp-doc__url{
  margin:0;
  font-family:ui-monospace,Consolas,monospace;
  font-size:13px;
  color:#334155;
}
.etp-cbt-passage .etp-doc__chrome .etp-doc__nav{
  margin:6px 0 0;
  padding-top:6px;
  border-top:1px solid #cbd5e1;
  font-weight:400;
}
.etp-cbt-passage .etp-doc__nav-current{
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
}
.etp-cbt-passage .etp-doc__fill{
  font-style:italic;
  font-weight:400;
  text-decoration:underline;
  text-underline-offset:2px;
}
.etp-cbt-passage .etp-doc__sign{
  font-family:"Segoe Script","Lucida Handwriting","Comic Sans MS",cursive;
  font-size:18px;
  font-weight:400;
  line-height:1.2;
  color:var(--etp-text);
  margin:2px 0 4px;
}
.etp-cbt-passage p.etp-doc__closing,
.etp-cbt-passage .etp-doc--stack p.etp-doc__closing,
.etp-cbt-passage .etp-doc__body p.etp-doc__closing,
.etp-cbt-passage .etp-doc--email p.etp-doc__closing{
  margin:0 0 1.55em;
}
.etp-cbt-passage .etp-doc__art{
  margin:10px 0 0;
}
.etp-cbt-passage .etp-doc__art .etp-doc__graphic{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
}
.etp-cbt-passage .etp-doc__art .etp-doc__graphic--logo{
  width:56px;
  max-width:18%;
  margin:6px auto 8px;
}
.etp-cbt-passage .etp-doc--adframe{
  border:3px double #334155;
  padding:12px 14px;
  box-sizing:border-box;
}
.etp-cbt-passage .etp-doc__adhead{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin:0 0 10px;
}
.etp-cbt-passage .etp-doc__adhead .etp-doc__title{
  text-align:left;
  margin:0 0 4px;
}
.etp-cbt-passage .etp-doc__adhead .etp-doc__subtitle{
  text-align:left;
  margin:0;
}
.etp-cbt-passage .etp-doc__adhead .etp-doc__graphic{
  width:132px;
  max-width:38%;
  height:auto;
  flex:0 0 auto;
}
.etp-cbt-passage .etp-doc__graphic--logo{
  width:92px;
  max-width:30%;
  height:auto;
  display:block;
  margin:6px auto 8px;
}
.etp-cbt-passage .etp-doc__rule{
  border:0;
  border-top:1px solid #334155;
  margin:8px 0 12px;
}
.etp-cbt-passage .etp-doc__list--ckright{
  list-style:none;
  padding-left:0;
  margin:0 0 10px;
}
.etp-cbt-passage .etp-doc__list--ckright li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:0 0 6px;
}
.etp-cbt-passage .etp-doc__ckbox{
  flex:0 0 18px;
  width:16px;
  height:16px;
  border:1.5px solid #334155;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:700;
  line-height:1;
  color:var(--etp-text);
}
.etp-cbt-passage .etp-doc__list--ckleft{
  list-style:none;
  padding-left:0;
  margin:0 0 10px;
}
.etp-cbt-passage .etp-doc__list--ckleft li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0 0 6px;
}
.etp-cbt-passage .etp-doc__circ{
  text-align:center;
  vertical-align:middle;
}
.etp-cbt-passage .etp-doc__circ span{
  display:inline-flex;
  width:1.4em;
  height:1.4em;
  border:1.5px solid #0f172a;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  font-weight:700;
  line-height:1;
}
.etp-cbt-passage .etp-doc__surveyhead{
  text-align:center;
  font-size:15px;
  font-weight:700;
  color:var(--etp-text);
  margin:0 0 10px;
}
.etp-cbt-passage .etp-doc__credit{
  text-align:center;
  font-size:15px;
  font-weight:600;
  color:#111827;
  margin:8px 0 0;
}
.etp-cbt-passage .etp-doc__table td.etp-doc__credit{
  text-align:center;
  font-weight:400;
  background:#fff;
  padding:8px 6px;
}
.etp-cbt-passage .etp-doc__dyk{
  text-align:center;
  font-weight:700;
  font-size:16px;
  letter-spacing:.06em;
  margin:0 0 12px;
  color:var(--etp-text);
}
.etp-cbt-passage .etp-doc__schedhead{
  text-align:center;
  background:#e8eef4;
  border:1px solid #94a3b8;
  padding:10px 12px 8px;
  margin:0 0 10px;
  color:var(--etp-text);
}
.etp-cbt-passage .etp-doc__schedhead .etp-doc__title{
  font-size:15px;
  margin:0 0 6px;
}
.etp-cbt-passage .etp-doc__schedhead p{
  margin:0 0 4px;
  font-size:14px;
}
.etp-cbt-passage .etp-doc__schedhead .etp-doc__schedsub{
  margin:8px 0 0;
  font-weight:700;
}
.etp-cbt-passage .etp-doc__foodrow{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin:0 0 10px;
}
.etp-cbt-passage .etp-doc__foodrow .etp-doc__list{
  flex:1;
  margin:0;
}
.etp-cbt-passage .etp-doc__foodrow .etp-doc__graphic{
  width:148px;
  max-width:40%;
  height:auto;
  flex:0 0 auto;
}
.etp-cbt-passage .etp-doc--mailframe{
  border:1px solid #94a3b8;
  border-radius:4px;
  padding:12px 14px;
  background:#fff;
  box-sizing:border-box;
}
.etp-cbt-passage .etp-doc--stack .etp-doc__block.etp-doc--mailframe{
  border:1px solid #64748b;
  background:#fff;
}
.etp-cbt-passage .etp-doc__mailhead{
  margin:0 0 10px;
  font-size:16px;
  font-weight:700;
  text-align:center;
  color:var(--etp-text);
}
.etp-cbt-passage .etp-doc__title--plain{
  font-weight:400;
  font-size:16px;
  letter-spacing:.04em;
}
.etp-cbt-passage .etp-doc__crumb,
.etp-cbt-passage p.etp-doc__crumb,
.etp-cbt-passage p.etp-doc__subtitle.etp-doc__crumb{
  font-weight:700;
  font-size:15px;
  letter-spacing:0;
  text-align:left;
  margin:0 0 10px;
  color:var(--etp-text);
}
.etp-cbt-passage p.etp-doc__subtitle{
  font-weight:400;
  font-size:15px;
  letter-spacing:0;
  text-align:left;
  margin:0 0 10px;
}
.etp-cbt-passage p.etp-doc__subtitle strong{
  font-weight:700;
}
.etp-cbt-passage .etp-doc__title--uline{
  text-decoration:underline;
  text-underline-offset:3px;
}
.etp-cbt-passage .etp-doc__list--check{
  list-style:none;
  padding-left:1.45rem;
}
.etp-cbt-passage .etp-doc__list--check li{
  position:relative;
}
.etp-cbt-passage .etp-doc__list--check li::before{
  content:"✓";
  position:absolute;
  left:-1.3rem;
  top:0;
  font-weight:700;
  color:#334155;
}
.etp-cbt-passage .etp-doc--chatui{
  padding:0 18px 12px 12px;
  position:relative;
  overflow:visible;
}
.etp-cbt-passage .etp-doc__chatbar{
  background:#e2e8f0;
  border-bottom:1px solid #cbd5e1;
  margin:0 -18px 10px -12px;
  padding:7px 12px;
  min-height:26px;
  display:flex;
  align-items:center;
}
.etp-cbt-passage .etp-doc__chatbubbles{
  display:inline-block;
  width:16px;
  height:12px;
  border:2px solid #64748b;
  border-radius:3px;
  position:relative;
  background:#fff;
}
.etp-cbt-passage .etp-doc__chatbubbles::after{
  content:"";
  position:absolute;
  left:6px;
  top:3px;
  width:16px;
  height:12px;
  border:2px solid #64748b;
  border-radius:3px;
  background:#e2e8f0;
}
.etp-cbt-passage .etp-doc__sub,
.etp-cbt-passage .etp-doc__note{
  margin:0 0 10px;
  font-size:14px;
  color:#64748b;
}
.etp-cbt-passage .etp-doc__list{
  margin:0 0 10px;
  padding-left:1.25rem;
}
.etp-cbt-passage .etp-doc__list.etp-doc__list--indent{
  padding-left:2.2rem;
}
.etp-cbt-passage .etp-doc__list li{margin:0 0 4px}
/* Part 6 blank: thin line at digit baseline — ───31─── (not bold, no extra underline). */
.etp-cbt-passage .etp-blank{
  display:inline-flex;
  align-items:flex-end;
  gap:3px;
  margin:0 2px;
  padding:0;
  border:0 !important;
  border-bottom:0 !important;
  text-decoration:none !important;
  box-shadow:none;
  font-weight:400;
  font-size:1em;
  line-height:1.15;
  color:#1e3a5f;
  letter-spacing:0;
  white-space:nowrap;
  vertical-align:baseline;
  min-width:0;
}
.etp-cbt-passage .etp-blank::before,
.etp-cbt-passage .etp-blank::after{
  content:"";
  display:block;
  width:1.75em;
  height:1px;
  background:currentColor;
  border:0;
  flex:0 0 auto;
  margin-bottom:0.06em; /* flush with digit baseline */
}
.etp-cbt-passage .etp-doc__body p,
.etp-cbt-passage .etp-doc--text p,
.etp-cbt-passage .etp-doc--notice p,
.etp-cbt-passage .etp-doc--article p,
.etp-cbt-passage .etp-doc--letter p,
.etp-cbt-passage .etp-doc--web p,
.etp-cbt-passage .etp-doc--form p,
.etp-cbt-passage .etp-doc--stack p{
  margin:0 0 10px;
}
.etp-cbt-passage .etp-doc--stack .etp-doc__block{
  margin:0 0 20px;
  padding:14px 12px 16px;
  border:1px dashed #cbd5e1;
  border-radius:6px;
  background:#fafbfc;
}
.etp-cbt-passage .etp-doc--stack .etp-doc__block:last-child{
  margin-bottom:0;
}
.etp-cbt-passage .etp-doc--stack .etp-doc__block + .etp-doc__block{
  margin-top:4px;
}
.etp-cbt-fig--graphic img,
.etp-cbt-passage img.etp-doc__graphic{
  max-width:100%;
  height:auto;
  display:block;
}
.etp-cbt-passage .etp-doc--graphic{
  max-width:none;
  width:100%;
}
.etp-cbt-passage .etp-doc--graphic .etp-doc__list--form{
  list-style:decimal;
  padding-left:1.4rem;
  margin:0 0 8px;
}
.etp-cbt-passage .etp-doc--graphic .etp-doc__list--form li{
  margin:0 0 8px;
}
.etp-cbt-passage .etp-doc--graphic .etp-doc__blankline{
  letter-spacing:0.02em;
  color:#64748b;
}
.etp-cbt-passage .etp-doc--graphic .etp-doc__form-name{
  list-style-position:outside;
}
.etp-cbt-passage .etp-doc--graphic .etp-doc__form-label{
  display:block;
  font-weight:600;
  margin:0 0 6px;
}
.etp-cbt-passage .etp-doc--graphic .etp-doc__name-row{
  display:flex;
  gap:16px;
  max-width:22rem;
}
.etp-cbt-passage .etp-doc--graphic .etp-doc__name-field{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.etp-cbt-passage .etp-doc--graphic .etp-doc__blankbox{
  display:block;
  height:1.6em;
  border:1px solid #94a3b8;
  border-radius:2px;
  background:#fff;
}
.etp-cbt-passage .etp-doc--graphic .etp-doc__sublabel{
  font-size:12px;
  color:#64748b;
  text-align:center;
}
.etp-cbt-passage .etp-doc__table{
  width:100%;
  border-collapse:collapse;
  margin:0 0 12px;
  font-size:14px;
}
.etp-cbt-passage .etp-doc__table th,
.etp-cbt-passage .etp-doc__table td{
  border:1px solid #e2e8f0;
  padding:6px 8px;
  text-align:left;
  vertical-align:top;
}
.etp-cbt-passage .etp-doc__table th{
  background:#f8fafc;
  font-weight:600;
}
.etp-cbt-passage .etp-doc__table .etp-doc__sel{
  text-align:center;
  font-weight:700;
  color:#0f172a;
}
.etp-cbt-passage .etp-doc__table .etp-doc__cap{
  text-align:center;
  background:#fff;
  font-weight:700;
}
.etp-cbt-passage .etp-doc__table--calendar th,
.etp-cbt-passage .etp-doc__table--calendar td{
  text-align:center;
}
.etp-cbt-passage .etp-doc__table--calendar th:first-child,
.etp-cbt-passage .etp-doc__table--calendar td:first-child{
  text-align:left;
}
.etp-cbt-passage .etp-doc__flow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:stretch;
  list-style:none;
  padding:0;
  margin:8px 0 0;
}
.etp-cbt-passage .etp-doc__flow > li{
  flex:1 1 6.5rem;
  min-width:6rem;
  border:1px solid #cbd5e1;
  border-radius:6px;
  padding:8px 10px;
  text-align:center;
}
.etp-cbt-passage .etp-doc__flow-step{
  display:block;
  font-weight:700;
  margin:0 0 4px;
}
.etp-cbt-passage .etp-doc__table--trips td{width:50%}
.etp-cbt-passage .etp-doc__table--grid td{
  width:50%;
  text-align:center;
  vertical-align:middle;
  padding:14px 10px;
}
.etp-cbt-passage .etp-doc__table--grid strong{
  display:block;
  margin:0 0 4px;
}
.etp-cbt-left.etp-cbt-left--graphic{
  display:flex;
  flex-direction:column;
  min-height:0;
  padding:14px 16px;
}
.etp-cbt-left.etp-cbt-left--graphic > .etp-cbt-passage{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  min-height:0;
  margin:0;
}
.etp-cbt-left.etp-cbt-left--graphic > .etp-cbt-passage .etp-doc{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
/* Long HTML (chat/mail/article): size to content so the left column can scroll. */
.etp-cbt-left.etp-cbt-left--graphic > .etp-cbt-passage .etp-doc.etp-doc--chat,
.etp-cbt-left.etp-cbt-left--graphic > .etp-cbt-passage .etp-doc.etp-doc--stack,
.etp-cbt-left.etp-cbt-left--graphic > .etp-cbt-passage .etp-doc.etp-doc--mail,
.etp-cbt-left.etp-cbt-left--graphic > .etp-cbt-passage .etp-doc.etp-doc--notice,
.etp-cbt-left.etp-cbt-left--graphic > .etp-cbt-passage .etp-doc.etp-doc--article,
.etp-cbt-left.etp-cbt-left--graphic > .etp-cbt-passage .etp-doc.etp-doc--ad,
.etp-cbt-left.etp-cbt-left--graphic > .etp-cbt-passage .etp-doc.etp-doc--memo{
  flex:0 0 auto;
  justify-content:flex-start;
}
.etp-app--review-mode .etp-cbt-left{
  overflow-x:hidden;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.etp-cbt-passage .etp-doc--chat .etp-doc__msg{
  margin:0 0 10px;
  padding:8px 10px;
  background:#f8fafc;
  border-radius:6px;
  border:1px solid #eef2f6;
}
.etp-cbt-passage .etp-doc--chat .etp-doc__who{
  font-weight:700;
  font-size:14px;
  margin:0 0 4px;
}
.etp-cbt-passage .etp-doc--chat .etp-doc__time{
  font-weight:400;
  color:#64748b;
}
.etp-cbt-passage .etp-doc--chat .etp-doc__msg p{
  margin:0;
}
.etp-cbt-fig{
  margin:0 0 14px;
  display:flex;
  justify-content:center;
}
.etp-cbt-fig img{
  display:block;
  max-width:100%;
  height:auto;
  max-height:min(520px,58vh);
  border-radius:8px;
  object-fit:contain;
}
.etp-cbt-fig--passage img{
  max-height:min(640px,70vh);
  width:auto;
  border:1px solid #e2e8f0;
  background:#fff;
  box-shadow:0 1px 3px rgba(15,23,42,.04);
}
.etp-cbt-fig--fill{
  flex:1 1 auto;
  align-items:center;
  justify-content:center;
  min-height:0;
  margin:0;
}
.etp-cbt-fig--fill img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:none;
  object-fit:contain;
}
.etp-cbt-fig--example img{
  max-height:min(520px,62vh);
  width:auto;
}

.etp-cbt-options{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.etp-cbt-opt{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:12px 14px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#fff;
  cursor:pointer;
  box-shadow:none;
  transition:border-color .12s, background .12s;
}
.etp-cbt-opt:hover{
  border-color:#cbd5e1;
  background:#f8fafc;
}
.etp-cbt-opt:has(input:checked){
  border-color:var(--etp-primary);
  box-shadow:none; /* no thick left bar */
  background:#eef5fb;
}
.etp-cbt-opt__input{
  appearance:auto;
  -webkit-appearance:radio;
  width:18px;
  height:18px;
  margin:0;
  flex-shrink:0;
  accent-color:var(--etp-primary);
  cursor:pointer;
}
.etp-cbt-opt__letter{
  font-weight:700;
  color:var(--etp-navy);
  min-width:2em;
  flex-shrink:0;
  line-height:1.2;
}
.etp-cbt-opt__text{
  font-size:16px;
  line-height:1.35;
  color:var(--etp-text);
}
.etp-cbt-opt__text--letter{
  font-size:16px;
  font-weight:700;
  color:var(--etp-navy);
}

.etp-cbt-directions{
  max-width:820px;
}
.etp-cbt-directions__inner{
  background:#fff;
  border:1px solid #c5d0dc;
  border-radius:4px;
  padding:28px 30px;
  box-shadow:0 1px 6px rgba(11,36,71,.05);
}
.etp-cbt-directions__body{
  font-size:17px;
  line-height:1.55;
}
.etp-cbt-directions__body h2{
  margin:0 0 12px;
  font-size:22px;
  color:var(--etp-navy);
}
.etp-cbt-directions__body p{margin:0 0 12px}
.etp-cbt-caption{
  margin:12px 0 0;
  font-size:16px;
  line-height:1.5;
}
.etp-cbt-actions{margin:22px 0 0;text-align:right}

.etp-cbt-foot{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 18px;
  padding-bottom:max(6px, env(safe-area-inset-bottom, 0px));
  background:#fff;
  border-top:1px solid #d5dee8;
  z-index:20;
}
.etp-cbt-mark{
  display:inline-flex;
  align-items:center;
  margin:0;
  cursor:pointer;
  user-select:none;
  flex-shrink:0;
  -webkit-tap-highlight-color:transparent;
}
.etp-cbt-mark__input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  pointer-events:none;
}
.etp-cbt-mark__ui{
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:0;
  min-height:0;
  height:36px;
  padding:0 12px;
  border:1px solid #c5d0dc;
  border-radius:4px;
  background:#fff;
  color:var(--etp-navy);
  box-sizing:border-box;
  transition:border-color .12s, background .12s, color .12s;
}
.etp-cbt-mark__icon{
  display:block;
  flex-shrink:0;
  width:16px;
  height:16px;
}
.etp-cbt-mark__caption{
  font-size:13px;
  font-weight:700;
  line-height:1;
  letter-spacing:.02em;
}
.etp-cbt-mark:hover .etp-cbt-mark__ui{
  border-color:var(--etp-primary);
  color:var(--etp-primary);
}
.etp-cbt-mark.is-on .etp-cbt-mark__ui,
.etp-cbt-mark:has(.etp-cbt-mark__input:checked) .etp-cbt-mark__ui{
  border-color:var(--etp-secondary);
  background:#fff5f0;
  color:var(--etp-secondary);
}
.etp-cbt-mark.is-on .etp-cbt-mark__icon path,
.etp-cbt-mark:has(.etp-cbt-mark__input:checked) .etp-cbt-mark__icon path{
  fill:currentColor;
  stroke:currentColor;
}
.etp-cbt-mark.is-disabled,
.etp-cbt-mark:has(.etp-cbt-mark__input:disabled){
  opacity:.45;
  cursor:not-allowed;
  pointer-events:none;
}
.etp-cbt-nav.is-at-end [data-etp-next]{order:3}
.etp-cbt-nav.is-at-end [data-etp-review]{order:2}
.etp-cbt-nav.is-at-end [data-etp-back]{order:1}
.etp-cbt-nav__btn{
  appearance:none;
  border:1px solid #c5d0dc;
  background:#fff;
  color:var(--etp-navy);
  border-radius:4px;
  padding:7px 14px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  line-height:1.2;
  min-height:36px;
  box-sizing:border-box;
}
.etp-cbt-nav__btn:hover{border-color:var(--etp-primary);color:var(--etp-primary)}
.etp-cbt-nav__btn:disabled{opacity:.45;cursor:not-allowed}
.etp-cbt-nav__btn--primary{
  background:var(--etp-primary);
  border-color:var(--etp-primary);
  color:#fff;
}
.etp-cbt-nav__btn--primary:hover{filter:brightness(1.06);color:#fff}

.etp-review-modal{
  position:fixed;
  inset:0;
  background:rgba(11,36,71,.45);
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.etp-review-modal[hidden]{display:none !important}
.etp-review-modal__card{
  width:min(720px,100%);
  max-height:min(86vh,820px);
  overflow:auto;
  background:#fff;
  border-radius:12px;
  padding:18px 18px 16px;
  box-shadow:0 12px 40px rgba(0,0,0,.2);
}
.etp-review-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.etp-review-modal__head h2{
  margin:0;
  font-size:20px;
  color:var(--etp-navy);
}
.etp-review-modal__close{
  appearance:none;
  border:0;
  background:transparent;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  color:var(--etp-muted);
  padding:0 4px;
}
.etp-review-modal__filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}
.etp-review-modal__filters button{
  appearance:none;
  border:1px solid #c5d0dc;
  background:#f7fafc;
  border-radius:999px;
  padding:7px 12px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  color:var(--etp-navy);
}
.etp-review-modal__filters button:hover{
  border-color:var(--etp-primary);
  color:var(--etp-primary);
}
.etp-cbt-qblock{
  margin:0 0 22px;
  padding:0;
  padding-bottom:16px;
  border:0;
  border-bottom:1px solid #eef2f6;
  background:transparent;
}
.etp-cbt-qblock:last-child{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:0;
}
.etp-cbt-qblock:last-child{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:0;
}
.etp-cbt-verdict{
  margin:0 0 10px;
  font-size:14px;
  font-weight:700;
}
.etp-cbt-verdict--ok{color:#0c9b78}
.etp-cbt-verdict--bad{color:#e55c28}
.etp-cbt-verdict--blank{color:var(--etp-muted)}
.etp-cbt-opt.is-key{
  border-color:#0c9b78;
  background:#eaf8f3;
  box-shadow:inset 3px 0 0 #0c9b78;
}
.etp-cbt-opt.is-picked-wrong{
  border-color:#e55c28;
  background:#fff5f0;
  box-shadow:inset 3px 0 0 #e55c28;
}
.etp-cbt-opt.is-picked-ok{
  border-color:#0c9b78;
  background:#eaf8f3;
}
.etp-app--listening-lock .etp-cbt-nav,
.etp-app--listening-lock .etp-cbt-mark{display:none !important}
/* Empty foot bar was eating bottom space — hide while Listening exam lock */
.etp-app--listening-lock .etp-cbt-foot{display:none !important}

/* Confirm / Directions / Part intro: center in the stage */
.etp-cbt-welcome,
.etp-cbt-directions{
  width:100%;
  max-height:100%;
  margin:auto;
  align-self:center;
  flex:0 1 auto;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:28px 20px;
}

.etp-map__part{margin:0 0 14px}
.etp-map__part-title{
  font-size:13px;
  font-weight:800;
  color:var(--etp-navy);
  margin:0 0 8px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.etp-map__grid{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:8px;
}
.etp-map__btn.is-correct{
  background:#eaf8f3;
  border-color:#0c9b78;
}
.etp-map__btn.is-correct .etp-map__status{color:#0c9b78}
.etp-map__btn.is-wrong{
  background:#fff5f0;
  border-color:#e55c28;
}
.etp-map__btn.is-wrong .etp-map__status{color:#e55c28}

.etp-result__head{
  margin:0 0 22px;
  padding-bottom:16px;
  border-bottom:1px solid #eef2f6;
}
.etp-result__skill{
  margin:6px 0 0;
  font-size:13px;
  font-weight:700;
  color:var(--etp-muted);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.etp-result__hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:20px 28px;
  align-items:stretch;
  margin:0 0 28px;
  padding:22px 24px;
  background:#f5f8fc;
  border:1px solid #e6edf4;
  border-radius:12px;
}
.etp-result__hero--full{
  grid-template-columns:1fr;
}
.etp-result__score-main{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-right:8px;
  border-right:1px solid #e2e8f0;
}
.etp-result__score-label{
  margin:0 0 6px;
  font-size:13px;
  font-weight:600;
  color:var(--etp-muted);
  letter-spacing:.02em;
}
.etp-result__score-line{
  margin:0;
  display:flex;
  align-items:baseline;
  gap:8px;
  line-height:1;
}
.etp-result__score-max{
  font-size:18px;
  font-weight:600;
  color:var(--etp-muted);
}
.etp-result__scoreboard{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
.etp-result__score-tile{
  background:#fff;
  border:1px solid #e6edf4;
  border-radius:10px;
  padding:14px 16px;
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.etp-result__score-tile span{
  font-size:13px;
  font-weight:600;
  color:var(--etp-muted);
}
.etp-result__score-tile em{
  font-style:normal;
  font-size:13px;
  color:var(--etp-muted);
}
.etp-result__score-tile--total{
  background:#eef5fb;
  border-color:#cddcea;
}
.etp-result__parts{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin:0 0 8px;
}
.etp-result__parts--n4{grid-template-columns:repeat(4, minmax(0,1fr))}
.etp-result__parts--n2{grid-template-columns:repeat(2, minmax(0,1fr))}
.etp-result__parts--n7,
.etp-result__parts--n6{
  grid-template-columns:repeat(4, minmax(0,1fr));
}
.etp-result__part{
  border:1px solid #e6edf4;
  border-radius:10px;
  padding:14px 16px;
  background:#fff;
  min-width:0;
}
.etp-result__part-name{
  font-size:13px;
  font-weight:800;
  color:var(--etp-navy);
  margin-bottom:8px;
}
.etp-result__part-score{font-size:18px;margin-bottom:4px;line-height:1.25}
.etp-result__part-meta{font-size:13px;color:var(--etp-muted)}
.etp-result__actions{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin:24px 0 14px;
  align-items:stretch;
}
.etp-result__actions--2{grid-template-columns:repeat(2, minmax(0,1fr))}
.etp-result__actions--1{grid-template-columns:minmax(0,1fr)}
.etp-result__actions .etp-btn{
  width:100%;
  margin:0;
  padding:14px 16px;
  font-size:16px;
  font-weight:600;
  line-height:1.25;
  letter-spacing:0;
  text-transform:none;
  text-align:center;
  box-sizing:border-box;
  white-space:normal;
}
.etp-result__note{
  margin:0;
  padding-top:4px;
  font-size:14px;
  color:var(--etp-muted);
  line-height:1.5;
}

.etp-zoom{
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(11,36,71,.82);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.etp-zoom__close{
  position:absolute;
  top:12px;
  right:16px;
  appearance:none;
  border:0;
  background:transparent;
  color:#fff;
  font-size:36px;
  cursor:pointer;
  line-height:1;
}
.etp-zoom__stage{
  max-width:min(960px,100%);
  max-height:90dvh;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}
.etp-zoom__stage img{
  display:block;
  max-width:none;
  width:auto;
  min-width:100%;
  height:auto;
}
.etp-zoomable{cursor:zoom-in}

.etp-review-modal__map{
  display:block;
}
.etp-map__btn{
  display:grid;
  grid-template-columns:14px 1fr 14px;
  align-items:center;
  gap:2px;
  width:100%;
  min-height:40px;
  border:1.5px solid #c5cdd6;
  border-radius:8px;
  background:#fff;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  padding:4px 6px;
  color:var(--etp-text);
  line-height:1;
}
.etp-map__status{font-size:11px;color:#c0392b;text-align:left}
.etp-map__btn.is-done .etp-map__status{color:#0c9b78}
.etp-map__no{text-align:center}
.etp-map__flag{font-size:11px;color:var(--etp-secondary);text-align:right}
.etp-map__btn:hover{border-color:var(--etp-primary);color:var(--etp-primary)}
.etp-map__btn.is-done{
  background:#eef5fb;
  border-color:#9cc5e8;
}
.etp-map__btn.is-current{
  box-shadow:0 0 0 2px rgba(0,84,167,.35);
  border-color:var(--etp-primary);
}
.etp-map__btn.is-flagged{
  border-color:var(--etp-secondary);
}
.etp-review-modal__legend{
  display:flex;
  flex-wrap:wrap;
  gap:12px 16px;
  margin-top:14px;
  font-size:13px;
  color:var(--etp-muted);
}
.etp-dot{
  display:inline-block;
  width:14px;
  height:14px;
  border-radius:50%;
  border:2px solid #b8c9da;
  margin-right:6px;
  vertical-align:middle;
  background:#fff;
  box-sizing:border-box;
}
.etp-dot--done{background:var(--etp-primary);border-color:var(--etp-primary)}
.etp-dot--flagged{background:var(--etp-secondary);border-color:var(--etp-secondary)}
.etp-dot--current{box-shadow:0 0 0 2px rgba(0,84,167,.35);border-color:var(--etp-primary)}

/* CBT-style Submit / error dialog */
.etp-dialog{
  position:fixed;
  inset:0;
  background:rgba(11,36,71,.5);
  z-index:120;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.etp-dialog[hidden]{display:none !important}
.etp-dialog__card{
  width:min(480px,100%);
  background:#fff;
  border:1px solid #c5d0dc;
  border-radius:4px;
  box-shadow:0 12px 36px rgba(0,0,0,.22);
  overflow:hidden;
}
.etp-dialog__head{
  background:#0b2447;
  color:#fff;
  padding:14px 18px;
}
.etp-dialog__head h2{
  margin:0;
  font-size:17px;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.etp-dialog__body{
  padding:20px 18px 10px;
  color:var(--etp-text);
}
.etp-dialog__msg{
  margin:0 0 14px;
  font-size:16px;
  line-height:1.5;
}
.etp-dialog__note{
  margin:0 0 8px;
  font-size:14px;
  color:var(--etp-muted);
  line-height:1.45;
}
.etp-dialog__table{
  border:1px solid #d5dee8;
  border-radius:4px;
  overflow:hidden;
  margin:0 0 14px;
}
.etp-dialog__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  font-size:15px;
  border-top:1px solid #e8eef5;
  background:#fff;
}
.etp-dialog__row:first-child{border-top:0}
.etp-dialog__row:nth-child(even){background:#f7fafc}
.etp-dialog__row strong{
  font-variant-numeric:tabular-nums;
  color:var(--etp-navy);
  font-size:16px;
}
.etp-dialog__row strong.is-warn{color:var(--etp-secondary)}
.etp-dialog__stats{
  list-style:none;
  margin:0 0 14px;
  padding:0;
  border:1px solid #d5dee8;
  border-radius:4px;
  overflow:hidden;
}
.etp-dialog__stats li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  font-size:15px;
  border-top:1px solid #e8eef5;
}
.etp-dialog__stats li:first-child{border-top:0}
.etp-dialog__stats strong{
  font-variant-numeric:tabular-nums;
  color:var(--etp-navy);
}
.etp-dialog__stats strong.is-warn{color:var(--etp-secondary)}
.etp-dialog__actions{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
  padding:12px 16px 16px;
  background:#f3f6fa;
  border-top:1px solid #e0e7ef;
}
.etp-dialog__btn{
  appearance:none;
  border:1px solid #c5d0dc;
  background:#fff;
  color:var(--etp-navy);
  border-radius:4px;
  padding:10px 16px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  min-width:96px;
}
.etp-dialog__btn:hover{border-color:var(--etp-primary);color:var(--etp-primary)}
.etp-dialog__btn--primary{
  background:var(--etp-primary);
  border-color:var(--etp-primary);
  color:#fff;
}
.etp-dialog__btn--primary:hover{filter:brightness(1.06);color:#fff}
.etp-dialog__btn--submit{
  background:#f5b400;
  border-color:#f5b400;
  color:#0b2447;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.etp-dialog__btn--submit:hover{filter:brightness(1.05);color:#0b2447}

.etp-result__card > h2{font-size:28px;color:#0054a7;margin:0;line-height:1.2;font-weight:700}
.etp-result__card > h3{font-size:18px;margin:8px 0 12px;font-weight:700;color:var(--etp-navy)}
.etp-result__card > p{font-size:18px}
.etp-result__stats{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  align-content:center;
  font-size:16px;
  color:var(--etp-text);
}
.etp-result__stats li{
  background:#fff;
  border:1px solid #e6edf4;
  border-radius:10px;
  padding:14px 16px;
  min-width:0;
}
.etp-result__stats li span{
  display:block;
  margin:0 0 6px;
  font-size:13px;
  font-weight:600;
  color:var(--etp-muted);
}
.etp-result__stats strong{font-weight:700;color:#0b2447;font-size:22px;line-height:1.2}
.etp-result__correct{color:#0054a7 !important}
.etp-result__score-line .etp-result__toeic{font-size:44px}
.etp-result__score-tile .etp-result__toeic{font-size:28px}
.etp-result__list{display:grid;gap:10px;margin-top:16px}
.etp-review{border:1px solid var(--etp-line);border-radius:10px;padding:12px 14px;background:#fff;font-size:18px}
.etp-review.is-correct{border-color:#9cc5e8;background:#eef5fb}
.etp-review.is-wrong{border-color:#f0c4b0;background:#fff5f0}
.etp-review__head{font-weight:700;margin-bottom:6px}
.etp-review__ok{color:#0054a7}
.etp-review__bad{color:#e55c28}
.etp-review__exp{color:var(--etp-muted);font-size:.92rem}

.etp-list__items{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.etp-list__link{
  display:block;padding:14px 16px;border:1px solid var(--etp-line);border-radius:12px;background:#fff;
  text-decoration:none;color:inherit;
}
.etp-list__link:hover{border-color:var(--etp-primary)}
.etp-list__title{display:block;font-weight:700;margin-bottom:4px;color:var(--etp-primary)}
.etp-list__meta{color:var(--etp-muted);font-size:.9rem}
.etp-list__empty{color:var(--etp-muted)}

/* Hub landing grid (slots=6) */
.etp-list--hub{
  margin:8px 0 4px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  /* Clear fixed float-contact bar (theme z-index 999) */
  padding-bottom:72px;
}
.etp-list__items--hub{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  list-style:none;
  margin:0;
  padding:0;
}
.etp-list__items--hub > .etp-list__item{
  min-width:0;
  max-width:100%;
}
.etp-list__card{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  min-height:168px;min-width:0;width:100%;max-width:100%;
  padding:18px 18px 16px;box-sizing:border-box;
  border-radius:14px;border:1px solid #e2e8f2;background:#fff;
  box-shadow:0 2px 10px rgba(11,36,71,.05);
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  overflow:hidden;
  text-align:center;
}
a.etp-list__card:hover{
  border-color:var(--etp-primary);
  box-shadow:0 8px 22px rgba(0,84,167,.12);
  transform:translateY(-2px);
}
.etp-list__card--soon{
  background:#f7f9fc;opacity:.92;cursor:not-allowed;
}
.etp-list__badge{
  display:inline-block;font-size:12px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;
  color:#0e7490;background:#e0f2f5;border:1px solid #b7e0e6;border-radius:20px;padding:4px 10px;
}
.etp-list__top{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:0 0 4px}
.etp-list__ico{width:28px;height:28px;flex:0 0 auto;color:#0054a7;display:block}
.etp-list__item.is-soon .etp-list__ico{color:#94a3b8}
.etp-list__item.is-soon .etp-list__badge{color:#64748b;background:#eef2f7;border-color:#d5dde8}
.etp-list__card .etp-list__title{
  font-size:16px;line-height:1.35;color:#0b2447;margin:0;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  word-break:break-word;text-align:center;
}
.etp-list__card .etp-list__meta{font-size:14px;margin:0;text-align:center}
.etp-list__cta{
  margin-top:auto;display:inline-flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;color:#fff;background:var(--etp-primary);
  border-radius:8px;padding:8px 14px;
}
.etp-list__cta--soon{background:#94a3b8;color:#fff}
@media (max-width:1100px){
  .etp-list__items--hub{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .etp-list__items--hub{grid-template-columns:minmax(0,1fr)}
  .etp-list--hub{padding-bottom:88px}
}

/* ===== Responsive: tablet + mobile ===== */
@media (max-width:1100px){
  .etp-cbt-split{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  .etp-cbt-split--solo{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  .etp-cbt-left,
  .etp-cbt-right{
    padding:18px 16px;
  }
  .etp-cbt-stage{padding:0;}
  .etp-map__grid{grid-template-columns:repeat(8,minmax(0,1fr))}
}

/* Tablet portrait & large phones: stack passage / options */
@media (max-width:900px){
  .etp-app{font-size:16px}
  body.etp-cbt-active{
    overflow:hidden;
    overscroll-behavior:none;
  }
  .etp-exam--cbt{
    max-height:100dvh;
    height:100dvh;
  }
  .etp-cbt-bar{
    gap:8px;
    padding:8px 10px;
    padding-top:max(8px, env(safe-area-inset-top, 0px));
  }
  .etp-cbt-bar__brand{min-width:0}
  .etp-cbt-bar__skill{font-size:11px}
  .etp-cbt-bar__center{
    padding:0 4px;
    max-width:min(46%, calc(100% - 220px));
  }
  .etp-cbt-bar__pos{
    font-size:13px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .etp-cbt-bar__actions{
    gap:6px;
    flex-shrink:0;
  }
  .etp-cbt-answered{
    min-width:3rem;
    padding:7px 10px;
    font-size:12px;
  }
  .etp-cbt-skip{
    font-size:12px;
    padding:8px 10px;
    min-height:40px;
  }
  .etp-cbt-pill{
    padding:8px 10px;
    font-size:13px;
    min-height:40px;
  }
  .etp-cbt-pill--timer{min-width:7.25rem}
  .etp-cbt-submit{
    padding:10px 12px;
    font-size:13px;
    min-height:40px;
  }
  .etp-cbt-audio{padding:8px 10px}
  .etp-cbt-audio__bar{font-size:12px}
  .etp-cbt-audio__begin{
    min-height:44px;
    font-size:14px;
  }

  .etp-cbt-stage{
    padding:0;
    -webkit-overflow-scrolling:touch;
  }
  .etp-cbt-split,
  .etp-cbt-split--solo{
    grid-template-columns:1fr;
    grid-template-rows:minmax(0,.42fr) minmax(0,.58fr);
    min-height:0;
    height:100%;
    border-radius:0;
  }
  .etp-cbt-left{
    border-right:0;
    border-bottom:1px solid #eceff3;
    max-height:none;
    height:auto;
    min-height:0;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    padding:16px 18px;
    background:#fff;
  }
  .etp-cbt-right{
    max-height:none;
    height:auto;
    min-height:0;
    overflow:auto;
    padding:14px;
  }
  .etp-cbt-split--group .etp-cbt-right{
    padding:10px 10px 10px;
    scroll-padding-bottom:24px;
  }
  .etp-cbt-split--group .etp-cbt-right__end{
    height:64px;
    min-height:64px;
  }
  .etp-cbt-split--group .etp-cbt-qblock{
    margin:0 0 8px;
    padding-bottom:6px;
  }
  .etp-cbt-split--group .etp-cbt-stem{
    font-size:14px;
    line-height:1.35;
  }
  .etp-cbt-split--group .etp-cbt-opt{
    padding:6px 9px;
    min-height:32px;
    gap:8px;
  }
  .etp-cbt-split--group .etp-cbt-opt__text,
  .etp-cbt-split--group .etp-cbt-opt__text--letter{
    font-size:14px;
    line-height:1.25;
  }
  .etp-cbt-fig img{
    max-height:min(280px,36vh);
  }
  .etp-cbt-fig--passage img{
    max-height:min(420px,55vh);
  }
  .etp-cbt-fig--fill img{
    max-height:min(420px,55vh);
  }
  .etp-cbt-fig--example img{max-height:min(320px,48vh)}
  .etp-cbt-passage .etp-doc{padding:12px 12px;font-size:15px}
  .etp-cbt-hint{font-size:16px}
  .etp-cbt-stem{font-size:16px}
  .etp-cbt-passage{font-size:15px}
  .etp-cbt-opt{
    padding:10px 11px;
    min-height:40px;
    gap:10px;
    -webkit-tap-highlight-color:transparent;
  }
  .etp-cbt-opt__input{
    width:20px;
    height:20px;
    margin-top:0;
  }
  .etp-cbt-opt__text{font-size:16px}
  .etp-cbt-opt__text--letter{font-size:16px}

  .etp-cbt-welcome,
  .etp-cbt-directions{
    max-width:min(820px, 100%);
    margin:auto;
    align-self:center;
  }
  .etp-cbt-welcome__inner,
  .etp-cbt-directions__inner{
    padding:20px 16px;
  }
  .etp-cbt-welcome__inner h2,
  .etp-cbt-directions__body h2{font-size:20px}
  .etp-cbt-actions{
    position:sticky;
    bottom:0;
    margin:16px 0 0;
    padding-top:10px;
    background:linear-gradient(to bottom, transparent, #fff 30%);
    text-align:stretch;
  }
  .etp-cbt-actions .etp-cbt-nav__btn{
    width:100%;
    min-height:48px;
  }

  .etp-cbt-foot{
    flex-wrap:nowrap;
    align-items:center;
    gap:8px;
    padding:6px 10px;
    padding-bottom:max(6px, env(safe-area-inset-bottom, 0px));
    box-shadow:0 -4px 16px rgba(11,36,71,.06);
  }
  .etp-cbt-mark__ui{
    flex-direction:row;
    height:36px;
    min-width:0;
    min-height:0;
    padding:0 10px;
    gap:5px;
  }
  .etp-cbt-mark__icon{
    width:16px;
    height:16px;
  }
  .etp-cbt-mark__caption{font-size:12px}
  .etp-cbt-nav{
    width:auto;
    flex:1 1 auto;
    display:grid;
    grid-template-columns:1fr 1.15fr 1fr;
    gap:6px;
    min-width:0;
  }
  .etp-cbt-nav__btn{
    min-height:36px;
    padding:7px 6px;
    font-size:13px;
    -webkit-tap-highlight-color:transparent;
  }

  .etp-review-modal{
    padding:0;
    align-items:stretch;
  }
  .etp-review-modal__card{
    width:100%;
    max-height:100dvh;
    height:100dvh;
    border-radius:0;
    padding:14px 12px max(14px, env(safe-area-inset-bottom, 0px));
  }
  .etp-review-modal__filters{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .etp-review-modal__filters button{
    min-height:44px;
    border-radius:8px;
    font-size:14px;
  }
  .etp-map__grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
  }
  .etp-map__btn{
    min-height:48px;
    font-size:14px;
  }

  .etp-dialog{
    padding:12px;
    padding-bottom:max(12px, env(safe-area-inset-bottom, 0px));
    align-items:flex-end;
  }
  .etp-dialog__card{
    width:100%;
    max-height:min(90dvh, 640px);
    overflow:auto;
  }
  .etp-dialog__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .etp-dialog__btn{
    min-height:48px;
    width:100%;
  }

  .etp-gate:not([hidden]){
    padding:20px 12px;
  }
  .etp-empty{
    margin:12px;
    padding:20px 16px;
    max-width:none;
  }
  .etp-gate__card{
    max-width:none;
  }
  .etp-gate__form .etp-field input,
  .etp-gate__form .etp-field select{
    font-size:16px; /* avoid iOS zoom */
    min-height:48px;
  }
  .etp-advice__channels{
    grid-template-columns:1fr;
  }
  .etp-btn{
    min-height:48px;
    width:100%;
  }
  .etp-advice__cta .etp-btn{
    width:100%;
    min-height:44px;
  }
  .etp-blank-shell--result{
    margin:0;
    border-radius:0;
    padding:12px 0 max(20px, env(safe-area-inset-bottom, 0px));
    max-width:none;
    box-shadow:none;
    background:transparent;
  }
  .etp-result__card{
    padding:24px 18px 22px;
    border-radius:12px;
  }
  .etp-result__hero{
    grid-template-columns:1fr;
    padding:16px;
    gap:16px;
  }
  .etp-result__score-main{
    border-right:0;
    padding-right:0;
    padding-bottom:12px;
    border-bottom:1px solid #e2e8f0;
  }
  .etp-result__scoreboard,
  .etp-result__stats,
  .etp-result__parts,
  .etp-result__parts--n2,
  .etp-result__parts--n4,
  .etp-result__parts--n6,
  .etp-result__parts--n7,
  .etp-result__actions,
  .etp-result__actions--2{
    grid-template-columns:1fr;
  }
  .etp-result__score-line .etp-result__toeic{font-size:36px}
}

/* Phones */
@media (max-width:640px){
  .etp-cbt-bar__actions .etp-cbt-pill:not(.etp-cbt-pill--timer){
    /* keep progress compact */
    padding:8px 8px;
  }
  .etp-cbt-stage{padding:0;}
  .etp-cbt-left{
    max-height:none;
  }
  .etp-cbt-qno{font-size:20px;margin-bottom:10px}
  .etp-cbt-options{gap:10px}
  .etp-cbt-mark{max-width:none}
  .etp-cbt-mark__ui{
    flex-direction:row;
    height:36px;
    min-width:0;
    min-height:0;
    padding:0 10px;
  }
  .etp-cbt-nav{gap:5px}
  .etp-cbt-nav__btn{font-size:12px;padding:7px 4px;min-height:36px}
  .etp-map__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .etp-review-modal__legend{
    gap:8px 12px;
    font-size:12px;
  }
  .etp-cbt-welcome__inner p,
  .etp-cbt-welcome__list,
  .etp-cbt-directions__body{
    font-size:15px;
  }
}

/* Tablet landscape: keep two equal columns when wide enough */
@media (min-width:901px) and (max-width:1100px) and (orientation:landscape){
  .etp-cbt-split,
  .etp-cbt-split--solo{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:minmax(0,1fr);
  }
  .etp-cbt-left,
  .etp-cbt-right{
    max-height:none;
    min-height:0;
  }
}

/* Short landscape phones */
@media (max-height:500px) and (orientation:landscape){
  .etp-cbt-bar{padding:6px 10px}
  .etp-cbt-bar__skill{display:none}
  .etp-cbt-stage{padding:0;}
  .etp-cbt-split{
    grid-template-columns:1fr 1fr;
    grid-template-rows:minmax(0,1fr);
    min-height:0;
    height:100%;
  }
  .etp-cbt-left{
    border-right:1px solid #d5dee8;
    border-bottom:0;
    max-height:none;
    min-height:0;
  }
  .etp-cbt-right{
    max-height:none;
    min-height:0;
    overflow:auto;
  }
  .etp-cbt-foot{padding:4px 10px}
  .etp-cbt-nav__btn{min-height:32px;padding:6px 8px}
}
