:root{
  --catalog-paper:#f7f8fa;--catalog-navy:#172447;--catalog-muted:#506079;
  --catalog-line:#ccd3df;--edition-blue:#304baf;--paper:#f7f8fa;--ink:#172447;--blue:#304baf;
}
body{background:var(--catalog-paper);color:var(--catalog-navy)}
.wrap{max-width:1400px}
.mast{background:#fff;border-bottom:1px solid #dce1e9}
.brandmark{color:#3654bb}
.mast .header-buy,.ink-button{background:var(--edition-blue);border-radius:9px;color:white}
.mast .header-buy:hover,.ink-button:hover{background:#223a91}
.headrow{min-height:68px}
:focus-visible{outline:3px solid #5575dd!important;outline-offset:3px}
.exam-shell{padding-top:clamp(33px,4.8vw,72px);padding-bottom:clamp(42px,5vw,78px)}
.exam-intro {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 28px; margin-bottom: clamp(54px, 5.6vw, 84px);
}
.free-channel {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 18px; border: 1px solid #adc0da; border-radius: 10px;
  background: #fff; color: #294f85; font-size: 15px; line-height: 1.35; font-weight: 550;
}
.free-channel svg { flex: none; color: #246d9a; }
.free-channel:hover, .free-channel:focus-visible { background: #edf4fa; border-color: #7699bd; }
.free-channel:active { background: #e0ebf7; }
.term{font:550 13px/1.4 var(--sans);color:#536487;margin:0 0 8px}
.term span{display:inline-block;margin:0 6px;color:#9aa8c0}
.exam-intro h1,.section-title h1,.home-archive h2{font-weight:650;letter-spacing:-.061em;line-height:1.02}
.exam-intro h1{font-size:clamp(43px,5.75vw,86px)}
.intro-note{max-width:33ch;margin:0 0 3px;color:var(--catalog-muted);font-size:clamp(15px,1.25vw,18px);line-height:1.5}
.exam-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2vw,30px)}
.exam-card{overflow:hidden;border:1px solid #d2d9e4;border-radius:18px;background:white;display:flex;flex-direction:column;box-shadow:0 3px 8px #1d315408}
.exam-visual{position:relative;overflow:hidden;isolation:isolate;height:clamp(215px,19.5vw,300px)}
.oral-visual{background:radial-gradient(ellipse at 50% 120%,#536ed0,#2e4caa 67%,#263f91)}
.written-visual{background:radial-gradient(ellipse at 35% 100%,#dbf0e7,#acd8ce 70%,#9bc9c3)}
.exam-visual:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.48;background-image:radial-gradient(circle,#fff9 .75px,transparent .95px);background-size:15px 15px}
.written-visual:before{background-image:radial-gradient(circle,#5e9d99 .75px,transparent .95px)}
.oral-set{position:absolute;inset:0;max-width:600px;margin:auto}
.reading-sheet{position:absolute;left:17%;top:9%;width:37%;height:82%;object-fit:cover;object-position:top;background:white;box-shadow:1px 4px 0 #d3d8df,0 8px 16px #12245540;transform:rotate(-7deg)}
.oral-slip{width:28%;height:78%;position:absolute;top:10%;right:17%;padding:2% 2.3%;background:#fffef7;box-shadow:1px 4px 0 #cad1dc,2px 10px 16px #1724514a;transform:rotate(9deg);display:flex;flex-direction:column;gap:3%;color:#23324a}
.oral-slip img{display:block;width:100%;height:0;min-height:0;flex:1;object-fit:cover;object-position:center 37%}
.slip-rule{font:500 clamp(7px,.65vw,10px)/1.3 var(--sans);display:flex;justify-content:space-between;border-bottom:1px solid #bec8d3;padding-bottom:4px}
.oral-slip strong{font:700 clamp(15px,1.55vw,25px)/1.1 Georgia,serif}
.oral-slip small,.stack-front span{font:500 clamp(7px,.69vw,11px)/1.3 var(--sans)}
.photo-stack{position:absolute;inset:0;display:grid;place-items:center}
.stack-front,.stack-back{grid-area:1/1;height:85%;aspect-ratio:1.47;background:#fffdf8;box-shadow:0 5px 13px #1e474935;border:1px solid #c4d4d0}
.stack-back{transform:rotate(6deg) translate(4%,2%);background:#e9f2ec}
.stack-front{padding:clamp(5px,.7vw,10px);display:flex;flex-direction:column;gap:3%;transform:rotate(-5deg)}
.stack-front img{display:block;width:100%;height:0;flex:1;object-fit:contain;background:#f0f1ec}
.stack-front span{display:flex;align-items:center;gap:8px;color:#263e3e}
.stack-front i{background:#a2b4ae;height:1px;flex:1}
.look{position:absolute;bottom:12px;right:14px;display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:7px 12px;background:#fffffff5;color:#253553;border-radius:20px;font-size:13px;font-weight:550;box-shadow:0 2px 10px #1225401a}
.look i{display:inline-block;width:11px;height:11px;border:1.5px solid;border-radius:50%;position:relative}
.look i:after{content:"";position:absolute;width:5px;height:1.5px;right:-4px;bottom:-2px;background:currentColor;transform:rotate(45deg)}
.exam-info{padding:clamp(20px,2vw,32px);display:flex;flex-direction:column;flex:1}
.exam-info h2{font-size:clamp(25px,2.3vw,36px);line-height:1.09;letter-spacing:-.048em;font-weight:620}
.exam-info>p{font-size:clamp(15px,1.16vw,17px);line-height:1.55;color:var(--catalog-muted);margin:10px 0 20px;max-width:53ch}
.exam-info>p{flex:1}
.exam-facts{display:grid;grid-template-columns:1fr 1fr;margin:0 0 20px;padding:15px 0 0;border-top:1px solid #dbe0e9}
.exam-facts>div,.exam-facts>div:last-child{display:block;border:0;padding:0}
.exam-facts>div+div{border-left:1px solid #dbe0e9;padding-left:clamp(14px,2vw,32px)}
.exam-facts dt{color:#586881;font-size:13px;margin:0 0 4px}
.exam-facts dd{text-align:left;font-size:clamp(18px,1.5vw,23px);font-weight:600;letter-spacing:-.035em}
.exam-action{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:8px;padding:13px 18px;min-height:48px;background:#304baf;color:white;font-weight:550}
.written-card .exam-action{background:#1d5656}
.exam-action span{font-size:20px;line-height:1}
[data-design="classic"] .exam-reference {
  scroll-margin-block-start: clamp(144px, 14vw, 208px);
  margin-top: clamp(48px, 7.2vw, 100px); padding: clamp(20px, 2.8vw, 40px);
  border-radius: 18px; background: #f1ede4;
}
[data-design="classic"] .archive-entry {
  display: block; width: auto; margin: 0; padding: 0;
}
[data-design="classic"] .archive-copy h2 {
  font-size: clamp(20px, 1.7vw, 26px); line-height: 1.14; font-weight: 590; letter-spacing: -.035em;
}
[data-design="classic"] .archive-copy p {
  margin: 6px 0 0; max-width: 52ch; font-size: 14px; line-height: 1.5;
}
[data-design="classic"] .archive-copy .archive-date {
  margin: 0 0 8px; font: 480 13px/1.35 var(--sans); letter-spacing: normal; color: #665f53;
}
.archive-region-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px;
  color: #385481; font-size: 15px; font-weight: 530;
}
.archive-region-link:hover, .archive-region-link:focus-visible {
  text-decoration: underline; text-underline-offset: 4px;
}
.exam-schedule {
  margin-top: 14px; border: 1px solid var(--catalog-line); border-radius: 14px;
  background: #f1f4f8; color: var(--catalog-navy);
}
.exam-schedule[open] { background: #fff; }
.exam-schedule summary {
  display: grid; grid-template-columns: 1fr auto 9px; align-items: center; gap: 8px 18px;
  min-height: 62px; padding: 13px clamp(18px, 2vw, 30px);
  border-radius: inherit; list-style: none; cursor: pointer;
}
.exam-schedule summary::-webkit-details-marker { display: none; }
.exam-schedule summary::after {
  content: ""; width: 7px; height: 7px; border: solid #536682; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.exam-schedule[open] summary::after { transform: rotate(225deg); }
.exam-schedule summary:hover { background: #e9eef6; }
.schedule-title { font-size: 18px; line-height: 1.25; font-weight: 590; letter-spacing: -.025em; }
.schedule-status { color: var(--catalog-muted); font-size: 13px; }
.schedule-content { padding: 10px clamp(18px, 2vw, 30px) 20px; scroll-margin-top: 84px; }
.schedule-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px 5%; }
.schedule-tables table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.schedule-tables caption { padding-bottom: 10px; text-align: left; font-size: 17px; font-weight: 570; }
.schedule-tables th, .schedule-tables td { padding: 9px 0; border-top: 1px solid #dce1e8; text-align: left; vertical-align: top; }
.schedule-tables th { width: 6.2em; padding-right: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 550; }
.schedule-tables td { color: var(--catalog-muted); }
.schedule-source { margin-top: 18px; color: var(--catalog-muted); font-size: 14px; line-height: 1.55; }
.schedule-source a {
  color: #2d4c86; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #9eafc8;
}
.schedule-source a:hover { text-decoration-color: currentColor; }
@media (max-width: 650px) {
  .exam-schedule summary { grid-template-columns: 1fr 9px; gap: 3px 12px; }
  .schedule-status { grid-column: 1; }
  .exam-schedule summary::after { grid-column: 2; grid-row: 1 / 3; }
  .schedule-tables { grid-template-columns: minmax(0, 1fr); }
  .schedule-content { scroll-margin-top: 106px; }
}
[data-design="classic"] .exam-schedule {
  margin-top: 20px; border: 0; border-radius: 12px; background: transparent;
}
[data-design="classic"] .exam-schedule summary {
  grid-template-columns: minmax(0, 1fr) 12px; gap: 4px 18px;
  min-height: 82px; padding: 16px 20px; border-radius: 12px; background: #fbfaf7;
}
[data-design="classic"] .schedule-title { grid-area: 1 / 1; align-self: end; }
[data-design="classic"] .schedule-status { grid-area: 2 / 1; align-self: start; }
[data-design="classic"] .exam-schedule summary::after { grid-area: 1 / 2 / span 2; }
[data-design="classic"] .exam-schedule summary:is(:hover, :focus-visible) { background: #fff; }
[data-design="classic"] .schedule-content {
  margin-top: 20px; padding: clamp(16px, 2.3vw, 32px); border-radius: 12px; background: #fbfaf7;
}
@media (min-width: 741px) {
  @supports (grid-template-rows: subgrid) {
    [data-design="classic"] .exam-pair { row-gap: 0; }
    [data-design="classic"] .exam-pair > .exam-card,
    [data-design="classic"] .exam-info { display: grid; grid-template-rows: subgrid; row-gap: 0; }
    [data-design="classic"] .exam-pair > .exam-card { grid-row: span 5; }
    [data-design="classic"] .exam-info { grid-row: span 4; }
  }
}
@media (min-width: 800px) {
  @supports (grid-template-rows: subgrid) and selector(details::details-content) {
    [data-design="classic"] .exam-reference {
      display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
      align-items: center; column-gap: clamp(32px, 6vw, 88px);
    }
    /* Keep the summary beside the archive while the dates open across both columns. */
    [data-design="classic"] .home-archive { grid-area: 1 / 1; position: relative; z-index: 1; }
    [data-design="classic"] .exam-schedule {
      display: grid; grid-area: 1 / 1 / span 2 / -1; grid-template: subgrid / subgrid; margin: 0;
    }
    [data-design="classic"] .exam-schedule summary { grid-area: 1 / 2; align-self: center; }
    [data-design="classic"] .exam-schedule::details-content { grid-area: 2 / 1 / 3 / -1; }
  }
}
.archive-entry, .season-index { display: grid; align-items: center; gap: clamp(22px, 4vw, 62px); }
.archive-entry {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-block: clamp(28px, 3.6vw, 54px);
}
.archive-date { display: block; margin-bottom: 10px; font: 650 clamp(17px, 1.8vw, 26px)/1.15 var(--sans); letter-spacing: -.04em; color: var(--catalog-navy); }
.home-seasons h2 { font-weight: 620; line-height: 1.08; letter-spacing: -.045em; }
.home-archive p, .home-seasons p { margin-top: 10px; max-width: 51ch; line-height: 1.55; }
.home-archive p { color: var(--catalog-muted); }
.archive-jump { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #24459d; font-weight: 600; }
.archive-jump:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-seasons { background: #e9f2ef; color: #143e40; }
.season-index { grid-template-columns: minmax(0, 1fr) auto; padding-block: clamp(28px, 4vw, 56px); }
.home-seasons h2 { font-size: clamp(29px, 3.2vw, 44px); }
.home-seasons p { color: #375c58; }
.home-seasons .season-rows, .season-list { display: grid; gap: 10px; }
.home-seasons .season-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.telegram-review, .season-list .telegram-review {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 54px; padding: 12px 18px; border: 0; border-radius: 10px;
  background: var(--edition-blue); color: #fff; font-size: 16px; font-weight: 600;
}
.telegram-review:hover, .season-list .telegram-review:hover { background: #233b92; color: #fff; text-decoration: none; }
.telegram-review > span { color: inherit; font: inherit; }
.section-title .telegram-review { display: inline-flex; max-width: 100%; margin-top: 16px; }
@media (max-width: 760px) {
  .archive-entry { grid-template-columns: 1fr; gap: 8px; }
  .archive-jump { justify-self: start; }
  .season-index { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .home-seasons .season-rows { grid-template-columns: 1fr; }
}
.material-preview{width:min(92vw,760px);max-height:90svh;overflow:auto;border:1px solid #cdd6e3;border-radius:16px;background:#fff;padding:clamp(16px,2.5vw,32px);color:var(--catalog-navy)}
.material-preview::backdrop{background:#122344aa}
.preview-heading,.preview-foot{display:flex;align-items:center;justify-content:space-between;gap:14px}
.preview-heading h2{font-size:clamp(25px,3vw,40px);letter-spacing:-.045em}
.preview-heading button{border:1px solid #cbd3df;background:#f4f6fa;width:44px;height:44px;border-radius:50%;font-size:23px}
.material-preview figure{margin:18px 0}
.material-preview figure img{display:block;max-height:52svh;max-width:100%;height:auto;margin:auto}
.material-preview figcaption{font-size:14px;color:var(--catalog-muted);margin-top:14px;line-height:1.5}
.preview-foot{font-size:14px;flex-wrap:wrap}
.preview-foot>a:first-child{text-decoration:underline;text-underline-offset:4px}
.catalog .section-title{padding:clamp(22px,3vw,44px) 0 clamp(25px,3.2vw,48px)}
.section-title h1{font-size:clamp(38px,5.1vw,76px)}
.catalog .crumb{color:#586781}
.catalog .vip-spread,.catalog .oral-spread,.catalog .archive,.season-note,.evidence-aside{border:1px solid var(--catalog-line);border-radius:16px;overflow:hidden}
.vip-index{background:#e4eafb}
.subject-index,.season-note{background:white}
.evidence-aside,.catalog .archive{background:#e6f0ed}
.match-stats {
  scroll-margin-top: 12px; margin-bottom: clamp(24px, 3vw, 42px); padding: clamp(18px, 2.7vw, 38px);
  border: 1px solid var(--catalog-line); border-radius: 16px; background: #fff;
}
.match-header, .match-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.match-header h2 { font-size: clamp(23px, 2.35vw, 34px); line-height: 1.15; font-weight: 610; letter-spacing: -.04em; }
.match-years { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: #edf1f6; }
.match-years a { display: flex; align-items: center; min-height: 42px; padding: 0 12px; border-radius: 7px; color: #425676; font-size: 14px; font-weight: 550; }
.match-years a[aria-current] { color: #233f81; background: #fff; box-shadow: 0 1px 4px #2032541f; }
.match-years a:hover { text-decoration: underline; text-underline-offset: 3px; }
.match-summary { margin: 22px 0 12px; padding: 14px 18px; border-radius: 9px; background: #ecf4f1; color: #1d5354; }
.match-average { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; font-size: 14px; }
.match-average strong { font-size: clamp(32px, 3vw, 43px); line-height: 1.1; font-weight: 610; letter-spacing: -.045em; }
.match-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #3f5559; font-size: 13px; }
.match-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #337969; }
.match-legend span:last-child::before { background: #476cb4; }
.match-rows {
  display: grid; grid-template-rows: repeat(6, auto); grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(22px, 4vw, 60px); margin: 0;
}
.match-rows > .match-row {
  --bar-color: #337969; display: grid; grid-template-columns: minmax(8.2em, .95fr) minmax(0, 1fr);
  gap: 10px; align-items: center; min-height: 43px; padding: 9px 0; border: 0; border-bottom: 1px solid #e7ecf2;
  font-size: 15px; line-height: 1.35;
}
.match-row.below-ninety { --bar-color: #476cb4; }
.match-row dt { color: #3c4d66; }
.match-row dd { display: grid; grid-template-columns: 1fr 3.6em; gap: 8px; align-items: center; margin: 0; color: var(--bar-color); text-align: right; font-weight: 590; font-variant-numeric: tabular-nums; }
.match-track { display: block; height: 5px; border-radius: 5px; background: #eaf0f2; overflow: hidden; }
.match-track::before { content: ""; display: block; height: 100%; width: var(--share, 0%); border-radius: inherit; background: var(--bar-color); }
.match-status { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; color: #495b73; font-size: 14px; line-height: 1.45; }
.match-status::before { content: ""; flex: 0 0 28px; height: 5px; border-radius: 5px; }
.match-status::before, .match-row.missing .match-track { background: repeating-linear-gradient(135deg, #b3c0cf 0 2px, #edf1f5 2px 5px); }
.match-row.missing .match-value { color: #556a82; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 790px) {
  .match-stats { scroll-margin-top: 48px; }
  .match-rows { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-auto-flow: row; }
}
@media (max-width: 480px) {
  .match-summary { align-items: flex-start; gap: 10px; padding: 14px; }
  .match-years a { min-height: 44px; }
  .match-rows > .match-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); font-size: 14px; }
  .match-row dd { grid-template-columns: 1fr 3.35em; gap: 6px; }
}
.chapter-link{padding:18px;color:var(--catalog-navy);background:white;border:1px solid var(--catalog-line);border-radius:10px}
.chapter-links{gap:12px}
.exam-switch{background:#e8edf6;border-color:#d3dceb;border-radius:12px}
.exam-switch a{border-radius:8px}
.exam-switch a[aria-current="true"]{background:white;color:#253d92;box-shadow:0 1px 5px #17244722}
.oral-spread{background:#fff}
.specimen{background:#e1e8fa}
.exam-sheet-grid{gap:16px;border:0;background:transparent}
.exam-offer-sheet,.exam-offer-sheet+.exam-offer-sheet{border:1px solid #cdd7df;border-radius:14px;background:white}
.exam-offer-sheet:nth-child(2){background:#e9f1ef;border-color:#b5cec5}
.exam-offer-sheet:nth-child(3){background:#e7edfb;border-color:#becce9}
.offer-title{align-items:flex-start;flex-direction:column;gap:8px}
.offer-price,.plan-dialog .offer-price{font:600 clamp(26px,2.7vw,42px)/1.15 var(--sans);letter-spacing:-.055em}
.exam-offer-sheet .ink-button{width:100%;justify-content:space-between;gap:6px}
.spec-list dt{color:#546478}
.spec-list>div{border-color:#ccd5dd}
.season-list { border: 0; align-content: start; }
.toc{padding:20px;border:1px solid var(--catalog-line);border-radius:12px;background:white}
.reading-body{padding:0 clamp(16px,2.4vw,36px);border:1px solid var(--catalog-line);background:white;border-radius:14px}
.reading-body section:first-child{border:0}
.past-offer,.plan-dialog{border-radius:14px;background:white}
.catalog-footer{background:#172447}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .reading-sheet,.oral-slip,.stack-front,.stack-back,.exam-action span{transition:transform 360ms cubic-bezier(.2,.72,.2,1)}
  .oral-card:hover .reading-sheet{transform:translate(-2%,0) rotate(-10deg)}
  .oral-card:hover .oral-slip,.oral-card:focus-within .oral-slip{transform:translate(3%,-3%) rotate(12deg)}
  .written-card:hover .stack-front,.written-card:focus-within .stack-front{transform:translate(-2%,-2%) rotate(-7deg)}
  .written-card:hover .stack-back{transform:translate(6%,3%) rotate(9deg)}
  .exam-action:hover span{transform:translateX(4px)}
}
@media(prefers-reduced-motion:no-preference){
  .exam-intro,.exam-card{animation:catalog-arrival .52s cubic-bezier(.18,.74,.25,1) backwards}
  .oral-card{animation-delay:.05s}.written-card{animation-delay:.11s}
  @keyframes catalog-arrival{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}
@media(max-width:960px) and (min-width:741px){
  .headrow{gap:10px}.headrow nav{gap:12px}.mast .brand{font-size:20px}
  .intro-note{max-width:29ch}.oral-slip{right:15%;width:33%}
}
@media(max-width:800px){.exam-sheet-grid{gap:12px}.catalog .vip-index{padding-right:36%;padding-bottom:26px}.subject-index{border-color:var(--catalog-line)}}
@media(max-width:740px){
  .headrow{min-height:60px}.mast nav.shown{background:#fff}
  .exam-shell{padding-top:28px}.intro-note{max-width:42ch;margin:10px 0 0}
  .exam-intro { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: clamp(38px, 7vw, 52px); }
  .exam-intro h1{font-size:clamp(40px,8.4vw,56px)}.exam-pair{grid-template-columns:1fr;gap:20px}
  .exam-visual{height:clamp(182px,46vw,270px)}.exam-info{padding:19px}.exam-info>p{margin-bottom:15px}
  .exam-card{border-radius:14px}.look{min-height:44px;bottom:8px;right:8px}
  .exam-facts{padding-top:12px;margin-bottom:15px}
  .oral-slip{right:12%;width:28%}.reading-sheet{left:15%;width:40%}
  .chapter-links{gap:8px}.chapter-link{padding:16px}
  .exam-switch a{font-size:14px}.catalog .archive{border-radius:12px}
}
@media(max-width:375px){.headrow{gap:5px}.mast .brand{font-size:17px}.mast .header-buy{font-size:12px;padding-inline:8px}.menubtn{font-size:12px;padding-left:2px}.exam-info{padding:16px}.exam-facts dt{font-size:12px}}

.oral-slip:after,.stack-front:after{content:"";position:absolute;bottom:0;right:0;width:15px;height:15px;transform-origin:bottom right;background:linear-gradient(135deg,transparent 46%,#c5cbd2 48%,#f8f6f0 74%,#c7cdd3);pointer-events:none}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .oral-slip:after,.stack-front:after{transition:transform 350ms cubic-bezier(.22,.72,.25,1)}
  .exam-card:hover .oral-slip:after,.exam-card:hover .stack-front:after{transform:scale(1.65)}
}
@media(prefers-reduced-motion:no-preference){
  .material-preview[open]{animation:unfold-preview .24s cubic-bezier(.18,.74,.25,1)}
  @keyframes unfold-preview{from{opacity:0;transform:translateY(10px) scale(.975)}to{opacity:1;transform:none}}
}

/* The review index forms the lower edge of the shared masthead. */
.mast { border-bottom:0; box-shadow:0 3px 10px #17244712; }
.review-ribbon { background:#20325b; color:#fff; }
.ribbon-inner,.ribbon-years,.ribbon-heading { display:flex; align-items:center; }
.ribbon-inner { min-height:52px; justify-content:space-between; gap:12px; }
.ribbon-heading { min-height:44px; gap:12px; color:white; }
.ribbon-heading strong { font-size:19px; font-weight:610; letter-spacing:-.025em; }

.ribbon-years { gap:8px; }
.ribbon-years a { position:relative; isolation:isolate; color:white; font-size:14px; font-weight:550; padding:0 14px; min-height:44px; align-content:center; }
.ribbon-years a::before { content:""; position:absolute; inset:5px 0; z-index:-1; border:1px solid #7e93b5; border-radius:18px; }
.ribbon-years a:hover::before,.ribbon-years a[aria-current]::before { background:#39547e; border-color:#acc0dc; }
.ribbon-heading:hover strong,.ribbon-heading[aria-current] strong { text-decoration:underline; text-underline-offset:4px; }
.review-ribbon a:focus-visible { outline-color:#bce4da!important; }
.mast .readline { background:#77cbbb; }
html { scroll-padding-top:128px; }
.reading-spread .toc { top:135px; }
@media(max-width:740px){
  .ribbon-inner { min-height:46px; gap:5px; }
  .ribbon-heading { gap:7px; }
  .ribbon-heading strong { font-size:15px; }

  .ribbon-years { gap:5px; }
  .ribbon-years a { padding:0 9px; font-size:13px; }
  .ribbon-years a::before { inset-block:7px; }
  .ribbon-years a { white-space: nowrap; }
  html { scroll-padding-top:114px; }
}

/* Secondary navigation sits one level below the purchase button. */
#navigation a[href="vip.html"]{
  background:#edf1fa;color:#263f82;border-radius:7px;padding-inline:12px;
}
#navigation a[href="vip.html"]:hover,#navigation a[href="vip.html"][aria-current]{
  background:#dfe7fa;color:#1e3475;
}
.intro-plans,.zone-link{
  color:#294797;font-weight:550;text-decoration:underline;text-decoration-color:#aab9da;
  text-underline-offset:4px;
}
.intro-plans{
  display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:clamp(15px,1.3vw,18px);
}
.intro-plans span{display:inline-block;text-decoration:none}
.intro-plans:hover,.zone-link:hover{text-decoration-color:currentColor}
.catalog .vip-index{
  display:flex;flex-direction:column;align-items:flex-start;padding:clamp(22px,3.5vw,52px);
}
.vip-index-art{
  position:static;align-self:flex-end;margin-top:18px;width:clamp(90px,11vw,144px);
  max-width:40%;transform:rotate(5deg);z-index:auto;
}
.vip-source-sheet{
  display:block;width:100%;height:auto;box-shadow:2px 3px 0 #ccd3df,0 6px 15px #23325722;
}
.catalog .zone-code{
  display:inline-block;background:#e7edf9;color:#244283;border-radius:5px;padding:4px 8px;
}
.footer-layout>div:last-child{gap:8px}
.footer-layout>div:last-child a{
  min-height:44px;padding:0 14px;border-radius:8px;border:1px solid #6c7e9d;color:#fff;font-weight:550;
}
.footer-layout>div:last-child a[href^="https://t.me"]{
  color:#153e43;background:#c9e9e3;border-color:#c9e9e3;
}
@media(max-width:740px){
  .intro-plans{margin-top:8px}
  #navigation.shown a[href="vip.html"]{padding-block:9px}
  .vip-index-art{margin-top:8px}
}

.next-season{
  margin-top:clamp(20px,2.5vw,36px);padding-top:20px;border-top:1px solid #b7ccc8;
}
.next-season h3{font-size:clamp(20px,1.75vw,26px);font-weight:600;letter-spacing:-.035em;line-height:1.2}
.next-season p,.order-access{font-size:15px;line-height:1.5;color:var(--catalog-muted)}
.next-season p{max-width:40ch;margin:8px 0 14px}
.next-season .ink-button{min-height:44px}
.plan-region:not([hidden]){display:block;margin-top:6px;color:#304b95;font-weight:550}
.order-access{margin-top:14px}

/* Keep the three answers in the same reading order across plans and screens. */
.offer .spec-list dt,.plan-dialog .spec-list dt{font-size:14px;font-weight:600;color:#354865;margin-bottom:6px}
.offer .spec-list dd,.plan-dialog .spec-list dd{line-height:1.5}
.oral-offer-sheet .spec-list>div{grid-template-columns:minmax(110px,.48fr) minmax(0,1fr)}
@media(max-width:800px){
  .oral-offer-sheet .spec-list>div,.exam-offer-sheet .spec-list>div{display:block}
}

.subject-example{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:12px 18px;margin-top:20px;
}
.subject-example .line-link{margin:0}
.answer-print{
  display:block;width:clamp(135px,13vw,190px);max-width:100%;
  padding:5px;background:#fff;border:1px solid #d4ddd9;
  box-shadow:0 4px 10px #25374420;transform:rotate(-3deg);cursor:zoom-in;
}
.answer-print img{display:block;width:100%;height:auto}
@media(max-width:480px){
  .subject-example{flex-direction:column-reverse;align-items:flex-start;gap:16px}
  .answer-print{width:min(100%,225px);align-self:center}
}

.exam-offer-sheet .offer-title{
  display:grid;grid-template-columns:minmax(max-content,1fr) minmax(0,.92fr);
  align-content:center;align-items:end;gap:5px 6px;
}
.exam-offer-sheet .offer-title h3{grid-area:1/1}
.exam-offer-sheet .offer-price{grid-area:2/1;align-self:start}
.plan-art{
  grid-area:1/2/3/3;align-self:center;justify-self:end;
  display:block;width:min(100%,136px);height:auto;
}
@media(max-width:800px){.plan-art{width:min(100%,112px)}}

.footer-documents{
  display:flex;flex-wrap:wrap;align-items:center;gap:0 26px;
  padding-block:7px 12px;border-top:1px solid #465374;
}
.footer-documents a{
  display:inline-flex;align-items:center;min-height:44px;
  color:#d3dceb;font-size:14px;text-underline-offset:4px;
}
.footer-documents a:hover,.footer-documents a:focus-visible{text-decoration:underline;color:white}

/* A shared reading section below the exam choices. */
.reference-band {
  background: #e9edf3;
  border-top: 1px solid #cdd5e1;
  padding-block: clamp(34px, 4.6vw, 74px);
}
.reference-band h2 {
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin-bottom: clamp(20px, 2.4vw, 36px);
}
.vip-directory {
  display: grid;
  grid-template-columns: minmax(210px, .75fr) minmax(0, 1.5fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: start;
}
.vip-directory h2 { margin: 0; }
.resource-links { border-top: 1px solid #a9b7c9; }
.resource-links .chapter-link {
  padding: 19px 4px;
  border: 0;
  border-bottom: 1px solid #bcc7d5;
  border-radius: 0;
  background: transparent;
}
.resource-links .chapter-link strong { font-size: clamp(18px, 1.6vw, 24px); }
.resource-links .chapter-link i { font-size: 21px; }
.mast .header-buy {
  background: #2849b4;
  box-shadow: inset 0 -2px 0 #193382;
  font-weight: 620;
}
.mast .header-buy::after { content: '→'; margin-left: 9px; }
.buy-short { display: none; }
@media (max-width: 970px) and (min-width: 741px), (max-width: 560px) {
  .buy-short { display: inline; }
  .buy-label { display: none; }
}
@media (max-width: 740px) {
  .vip-directory { grid-template-columns: 1fr; }
  .resource-links .chapter-link { padding-block: 16px; }
}
@media (max-width: 375px) { .mast .header-buy::after { display: none; } }
