/* Shared AMC, ICAS and HAST components use the existing VIPTest visual system. */
:root{--exam-ink:#202b43;--exam-rose:#d91457;--exam-muted:#606b7d;--exam-line:#dfe3ea;--exam-pink:#fff2f6}
[data-product=amc],[data-pathway=amc]{--pathway-bg:#829bbd}[data-product=icas],[data-pathway=icas]{--pathway-bg:#b98199}[data-product=hast],[data-pathway=hast]{--pathway-bg:#7d9f94}
.exam-site{background:#fff;color:var(--exam-ink);font:17px/1.7 'Atkinson Hyperlegible Next',Arial,sans-serif}.exam-site main{min-height:65vh}.exam-site h1,.exam-site h2:where(.vip-screen-title){font-size:clamp(34px,4.3vw,58px);line-height:1.12;letter-spacing:-.02em}.exam-site h1 span{color:var(--exam-rose)}.exam-site h2:not(:where(.vip-screen-title)){font-size:clamp(26px,3vw,36px);margin-bottom:18px}.exam-site h3{font-size:21px;margin:18px 0 10px}.exam-site p{margin:12px 0;color:var(--exam-muted)}.exam-site .eyebrow{font-size:13px;color:#b81149;font-weight:800;letter-spacing:.08em}.exam-lead{font-size:20px;line-height:1.7;max-width:780px}.exam-small{font-size:14px!important;line-height:1.6}.exam-breadcrumb{padding-top:28px;color:var(--exam-muted);font-size:14px}.exam-breadcrumb a{color:var(--exam-ink)}
.exam-hero{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:55px;padding-block:45px 55px;align-items:start}.exam-start{padding:22px;background:#f3f5f8;border:1px solid var(--exam-line);border-radius:24px}.exam-start h2{font-size:24px;margin:22px 0 12px}.exam-start ol{padding-left:22px;color:var(--exam-muted)}.exam-start .btn{width:100%}.exam-banner{display:block;width:100%;height:auto;border-radius:22px;object-fit:cover}.exam-banner-link{display:block;text-decoration:none;flex-shrink:0}.site-home #catalog .exam-banner-link{margin:0 0 24px}.site-home #catalog .exam-banner{min-height:155px;aspect-ratio:2.38;object-fit:cover}.exam-card-practice{margin:12px auto 0;font-weight:700;text-decoration:none;color:#b81149}.exam-section{padding-block:44px;border-bottom:1px solid var(--exam-line)}.exam-jump{display:flex;flex-wrap:wrap;gap:10px;padding:20px;background:#f5f6f8;border-radius:20px}.exam-jump a{display:flex;align-items:center;padding:10px 14px;color:var(--exam-ink);font-size:14px;font-weight:700;text-decoration:none;border-radius:999px;background:#fff}.exam-jump a:hover{background:var(--exam-pink);color:var(--exam-rose)}
.exam-table-wrap{overflow-x:auto;max-width:100%;margin:24px 0;border:1px solid var(--exam-line);border-radius:16px}.exam-table-wrap table{border-collapse:collapse;width:100%;font-size:16px}.exam-table-wrap th{background:var(--exam-ink);color:#fff;text-align:left;padding:16px 18px;white-space:nowrap}.exam-table-wrap td{padding:18px;vertical-align:top;border-bottom:1px solid var(--exam-line);color:var(--exam-muted);min-width:150px}.exam-table-wrap tr:last-child td{border:0}.exam-table-wrap tr:hover td{background:var(--exam-pink)}.exam-table-wrap td:first-child{font-weight:700;color:var(--exam-ink)}
.exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.exam-card,.exam-set{display:flex;flex-direction:column;min-width:0;padding:18px;background:#fff;border:1px solid var(--exam-line);border-radius:24px;transition:background .15s}.exam-card:hover,.exam-set:hover{background:var(--exam-pink)}.exam-card{cursor:pointer}.exam-card .product-copy{display:flex;flex:1;flex-direction:column;padding:8px 5px 0}.exam-card .product-copy h3{font-size:21px;min-height:2.6em}.exam-card .product-copy>p{font-size:16px}.exam-card .product-copy>.btn{width:100%;margin-top:12px}.exam-card .tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.exam-card .tags span{font-size:12px;padding:4px 8px;background:#eef1f6;border-radius:8px}.exam-card .product-copy>.directory-level{font-size:13px}.site-products #pathways .exam-banner-link{height:155px}.site-products #pathways .exam-banner{height:155px;object-fit:cover}.site-products #pathways .product-copy>.btn+.btn{margin-top:10px!important}.exam-products-row{margin-block:30px}.exam-set h2{font-size:27px;margin:0}.exam-set p{font-size:16px}.exam-set .eyebrow{font-size:12px}.exam-set .actions{margin-top:auto;padding-top:15px}.exam-downloads{display:flex;gap:16px;flex-wrap:wrap;margin-top:18px;font-size:14px}.exam-downloads a{color:#b81149;font-weight:700}.exam-details{border:1px solid var(--exam-line);border-radius:14px;padding:0 18px;margin:18px 0 0}.exam-details summary{cursor:pointer;font-weight:700;line-height:1.5;padding:16px 0}.exam-details summary:hover{color:var(--exam-rose)}.exam-details[open]{background:#fff8fb}.exam-details p{font-size:16px}.exam-notice{background:#fff2f6;border:1px solid #edccd7;border-radius:16px;padding:18px 22px;margin:24px 0;color:#72344a;font-size:15px;line-height:1.7}.exam-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-block:25px}.exam-steps article{padding:20px;background:#f5f6f8;border-radius:18px}.exam-steps span{color:#b81149;font-size:30px;font-weight:800}.exam-steps h3{margin:12px 0}.exam-steps p{font-size:16px}.exam-subjects{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.exam-footer{padding-block:35px;font-size:14px}.exam-footer p{font-size:13px;max-width:1000px}
.exam-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin:28px 0}.exam-filters label,.exam-review-filter{font-weight:700;font-size:15px;color:var(--exam-ink)}.exam-filters select,.exam-review-filter select{display:block;width:100%;margin-top:8px;min-height:48px;max-width:100%;border:1px solid #b7c1cf;border-radius:12px;padding:10px 12px;background:#fff;color:var(--exam-ink);font:700 16px 'Atkinson Hyperlegible Next',Arial}.exam-review-filter{display:block;margin:28px 0;max-width:350px}.exam-modes{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0;border:0;margin:25px 0}.exam-modes legend{font-weight:700;margin-bottom:12px}.exam-modes label{display:flex;gap:14px;align-items:center;padding:20px;border:1px solid var(--exam-line);border-radius:18px;cursor:pointer}.exam-modes label:has(input:checked){background:var(--exam-pink);border-color:var(--exam-rose)}.exam-modes input{accent-color:var(--exam-rose)}.exam-modes small{display:block;color:var(--exam-muted);font-size:14px;margin-top:7px}.exam-set-info{background:#f5f6f8;padding:20px;border-radius:16px}.exam-set-info p{margin:5px 0}.exam-session-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.exam-session-head h1,.exam-session-head h2:where(.vip-screen-title){font-size:30px}.exam-clock{display:block;font:800 28px/1.5 'Atkinson Hyperlegible Next',Arial;color:var(--exam-ink);white-space:nowrap}.exam-clock.urgent{color:#b81149}.exam-app progress{width:100%;height:8px;accent-color:var(--exam-rose);margin-top:20px}.exam-workspace{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:25px;margin-top:24px}.exam-question{min-width:0;padding:30px;border:1px solid var(--exam-line);border-radius:22px}.exam-question h2{font-size:24px;line-height:1.5}.exam-stimulus{padding:24px;background:#f5f6f8;border-radius:16px;margin-bottom:24px}.exam-stimulus h2{font-size:21px}.exam-stimulus p{white-space:pre-line;color:#344058;font-size:18px;font-family:Georgia,serif}.exam-diagram{display:block;max-width:100%;width:600px;height:auto;border:1px solid #e5e8ed;border-radius:12px;margin:16px 0;background:#fff}.exam-options{display:grid;gap:12px;margin:20px 0}.exam-option{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--exam-line);padding:16px;border-radius:14px;cursor:pointer;color:#202b43;line-height:1.6}.exam-option:hover,.exam-option:has(input:checked){background:var(--exam-pink);border-color:var(--exam-rose)}.exam-option input{margin-top:6px;accent-color:var(--exam-rose)}.exam-input,.exam-writing{display:block;width:100%;font:18px/1.6 'Atkinson Hyperlegible Next',Arial;padding:15px;border:1px solid #9faec0;border-radius:12px;margin-top:10px}.exam-input{max-width:420px}.exam-writing{min-height:420px;resize:vertical}.exam-question-map{padding:22px;background:#f5f6f8;border-radius:20px;align-self:start;position:sticky;top:20px}.exam-question-map h2{font-size:20px}#ex-map{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.exam-map-button{min-width:0!important;width:100%;height:36px!important;padding:0!important;border-radius:9px!important;font-size:13px!important;background:#fff;color:var(--exam-ink);border:1px solid #bdc5d1}.exam-map-button.answered{background:#202b43;color:white}.exam-map-button.current{outline:3px solid #d91457;outline-offset:1px}.exam-question-map .actions{gap:12px}.exam-question-map .actions button{width:100%}.exam-feedback{border:1px solid color-mix(in srgb,var(--exam-rose) 45%,#fff);background:#fff2f6;padding:18px;margin-top:22px}.exam-feedback p{color:#4d3b43}.exam-review{border:1px solid var(--exam-line);border-radius:18px;padding:24px;margin:18px 0}.exam-review summary{cursor:pointer;font-weight:700}.exam-review .correct{color:#1d644b}.exam-review .incorrect{color:#ad2247}.exam-review p{white-space:pre-line}.exam-result-score{font-size:36px!important;font-weight:800;color:#202b43!important}.exam-review-answer{padding:15px;border-radius:12px;background:#f5f6f8;white-space:pre-wrap}.exam-app [hidden],#bank-grid [hidden],#bank-empty[hidden]{display:none!important}#ex-confirm{max-width:500px;width:calc(100% - 40px);padding:30px;border:1px solid var(--exam-line);border-radius:22px;color:#202b43}#ex-confirm::backdrop{background:#202b4380}.menu-panel{max-height:70vh;overflow:auto}.exam-site a:focus-visible,.exam-site button:focus-visible,.exam-site input:focus-visible,.exam-site select:focus-visible,.exam-site textarea:focus-visible{outline:3px solid #d91457;outline-offset:3px}
@media(max-width:1000px){.exam-hero{gap:25px}.exam-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-steps{grid-template-columns:1fr 1fr}.exam-workspace{grid-template-columns:minmax(0,1fr) 210px}}
@media(max-width:720px){.exam-hero{grid-template-columns:1fr;padding-block:28px}.exam-hero h1{font-size:38px}.exam-grid{grid-template-columns:1fr}.exam-section{padding-block:30px}.exam-workspace{grid-template-columns:1fr}.exam-question-map{position:static;order:2}.exam-question{padding:20px}.exam-modes{grid-template-columns:1fr}.exam-session-head{flex-wrap:wrap}.exam-site .wrap{width:calc(100% - 32px)}.exam-steps{grid-template-columns:1fr}.exam-table-wrap td{min-width:130px;padding:13px}.exam-table-wrap th{padding:13px}.exam-filters{grid-template-columns:1fr 1fr;gap:12px}.exam-filters label{min-width:0}#ex-map{grid-template-columns:repeat(8,1fr)}}
@media(prefers-reduced-motion:reduce){.exam-card,.exam-set{transition:none}}
/* Inline artwork keeps the white title while its background responds to links. */
.exam-banner rect{transition:fill 160ms ease}
.exam-banner-link:is(:hover,:active,:focus-visible) .exam-banner rect,
.exam-start:is(:hover,:active,:focus-within) .exam-banner rect{fill:var(--vip-interaction-accent,var(--exam-rose))}
@media(prefers-reduced-motion:reduce){.exam-banner rect{transition:none}}
/* Product cards share equal-height layouts with a quiet neutral edge. */
@layer vip-interaction {
  .exam-card[data-product],
  .site-products #pathways .card[data-product],
  .site-home #catalog .testcard:is([data-pathway="amc"],[data-pathway="icas"],[data-pathway="hast"]) {
    box-sizing:border-box!important;
    border:1px solid #dfe3ea!important;
    border-radius:24px!important;
    display:flex!important;
    flex-direction:column!important;
    min-width:0;
  }
  .exam-card .product-copy,
  .site-products #pathways .card[data-product] .product-copy {
    display:flex!important;
    flex-direction:column!important;
    flex:1;
  }
  .exam-card .product-copy>p:not(.directory-level),
  .site-products #pathways .card[data-product] .product-copy>p:not(.directory-level),
  .site-home #catalog .testcard:is([data-pathway="amc"],[data-pathway="icas"],[data-pathway="hast"])>p {
    flex:1;
  }
  .exam-card .product-copy>.btn:last-child,
  .site-products #pathways .card[data-product] .product-copy>.btn:last-child {
    margin-bottom:0!important;
  }
}

/* Small, practical reminders fill the hero without repeating the exam guide. */
.exam-preflight {
  margin-top: 24px;
  padding: 18px 20px 20px;
  border: 1px solid var(--pathway-bg, #829bbd);
  
  border-radius: 18px;
  background: #f1f5fb;
}
[data-product="icas"] .exam-preflight { background: #fbf2f6; }
[data-product="hast"] .exam-preflight { background: #f0f7f4; }
.exam-preflight h2 {
  margin: 0 0 13px;
  color: #202b43;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
}
.exam-preflight ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.exam-preflight li { min-width: 0; font-size: 13px; line-height: 1.55; }
.exam-preflight strong { display: block; margin-bottom: 5px; color: #202b43; font-size: 14px; }
.exam-preflight span { display: block; color: #505d70; }
@media (max-width: 1000px) and (min-width: 721px), (max-width: 480px) {
  .exam-preflight ul { grid-template-columns: 1fr; gap: 12px; }
  .exam-preflight li { border-left: 2px solid var(--pathway-bg, #829bbd); padding-left: 12px; }
  .exam-preflight strong { margin-bottom: 2px; }
}
