.ctc-shell{--ctc-blue:#1b4f9e;--ctc-ink:#132642;--ctc-muted:#586c85;--ctc-line:#dfe6ef;--ctc-bg:#f6f9fd;max-width:1160px;margin:22px auto 56px;padding:0 16px;color:var(--ctc-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
.ctc-shell *{box-sizing:border-box}.ctc-shell h1,.ctc-shell h2,.ctc-shell h3{margin:0 0 12px;color:var(--ctc-ink);line-height:1.3;font-family:inherit}.ctc-shell h1{font-size:clamp(24px,3vw,31px)}.ctc-shell h2{font-size:21px}.ctc-shell h3{font-size:18px}.ctc-shell p{margin:0 0 14px}.ctc-shell a{color:var(--ctc-blue)}
.ctc-heading{display:flex;align-items:center;gap:15px;margin-bottom:24px}.ctc-heading p{margin:0;color:var(--ctc-muted);font-size:14px}.ctc-mark{display:grid;place-items:center;min-width:58px;height:58px;background:var(--ctc-blue);color:#fff;font-weight:850;border-radius:15px;letter-spacing:1px}
.ctc-card{background:#fff;border:1px solid var(--ctc-line);padding:24px;border-radius:16px;margin-bottom:18px;box-shadow:0 4px 20px rgba(20,52,92,.035)}.ctc-auth{max-width:540px}.ctc-shell label{display:block;font-size:14px;font-weight:650;margin:0 0 16px}.ctc-shell label input{display:block;width:100%;min-height:44px;padding:10px 12px;border:1px solid #b8c7d9;border-radius:9px;margin-top:5px;font:inherit;background:#fff;color:var(--ctc-ink)}.ctc-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.ctc-btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;background:var(--ctc-blue);color:#fff!important;border:1px solid var(--ctc-blue);padding:11px 16px;border-radius:9px;font-size:14px;font-weight:700;text-decoration:none!important;cursor:pointer;line-height:1.4;min-height:43px}.ctc-btn:hover{filter:brightness(.92)}.ctc-btn:disabled{opacity:.5;cursor:not-allowed}.ctc-secondary{background:#fff;color:var(--ctc-blue)!important}.ctc-alert{padding:13px 15px;border-radius:9px;margin-bottom:16px;border:1px solid #e6b4b4;background:#fff3f3;color:#842c2c}.ctc-success{border-color:#b9dfc9;background:#effaf2;color:#1a6c3b}.ctc-warning{border-color:#efdfa0;background:#fffbe9;color:#825e0d}.ctc-error{border-color:#e6b4b4;background:#fff3f3;color:#842c2c}.ctc-muted{color:var(--ctc-muted)}
.ctc-pack-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:15px}.ctc-pack-grid .ctc-card{margin:0;display:flex;flex-direction:column;gap:8px}.ctc-pack-grid p{color:var(--ctc-muted)}.ctc-pack-grid .ctc-btn{margin-top:auto}.ctc-tag{display:inline-block;align-self:flex-start;color:#275e9e;background:#edf5ff;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:750;letter-spacing:.02em;margin-bottom:9px}.ctc-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--ctc-muted);margin-bottom:15px}.ctc-inline{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ctc-scroll{overflow-x:auto}.ctc-table{width:100%;border-collapse:collapse;min-width:540px}.ctc-table th,.ctc-table td{text-align:left;padding:11px;border-bottom:1px solid var(--ctc-line);font-size:14px}.ctc-table th{color:var(--ctc-muted);font-weight:750}
.ctc-exam-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;align-items:start;gap:18px}.ctc-exam-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:24px}.ctc-clock{flex:none;text-align:right;background:#edf4ff;padding:11px 15px;border:1px solid #d3e3f8;border-radius:10px}.ctc-clock small{display:block;font-size:12px;color:var(--ctc-muted)}.ctc-clock strong{font-size:22px;font-variant-numeric:tabular-nums}.ctc-stem{font-size:17px;margin-bottom:22px}.ctc-rich p{margin-bottom:12px}.ctc-question-image{display:block;width:auto;max-width:100%;height:auto;max-height:340px;object-fit:contain;margin:12px 0 22px;border:1px solid var(--ctc-line);border-radius:9px}
.ctc-options{display:grid;gap:10px}.ctc-option{display:flex;align-items:center;gap:13px;min-height:52px;padding:12px;border:1px solid var(--ctc-line);border-radius:10px;background:#fff;text-align:left;color:var(--ctc-ink)}.ctc-option b{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:7px;background:#f0f4fa;color:var(--ctc-blue)}.ctc-option span{flex:1;min-width:0}.ctc-option small{font-size:12px;color:var(--ctc-muted)}.ctc-option-btn{font:inherit;width:100%;cursor:pointer}.ctc-option-btn:hover{border-color:#5d91d6;background:#f9fbff}.ctc-option.ctc-selected{background:#edf5ff;border-color:#2565b6}.ctc-option.ctc-selected b{background:var(--ctc-blue);color:#fff}.ctc-exam-actions{display:flex;justify-content:space-between;gap:12px;margin-top:25px}.ctc-sync{font-size:13px;margin-top:20px;padding:8px 0;color:var(--ctc-muted)}.ctc-sync.ctc-success{background:none;border:none;color:#20804b}.ctc-sync.ctc-warning,.ctc-sync.ctc-error{background:none;border:none;color:#a16a0f}
.ctc-exam-side{position:sticky;top:20px}.ctc-exam-side p{color:var(--ctc-muted);font-size:13px}.ctc-number-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.ctc-number{display:grid;place-items:center;aspect-ratio:1;background:#f6f8fb;border:1px solid #d7e0ec;color:#52657b;border-radius:7px;cursor:pointer;font-size:13px;font-weight:700}.ctc-number.ctc-has-answer{background:#d9f1e4;border-color:#85c8a3;color:#216440}.ctc-number.ctc-current{outline:3px solid #3f83cf;outline-offset:1px}.ctc-legend{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--ctc-muted);margin:13px 0 18px}.ctc-finish{width:100%;background:#bf3743;border-color:#bf3743}
.ctc-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 22px}.ctc-scores>div{border:1px solid var(--ctc-line);background:#f8fbff;border-radius:12px;padding:14px;text-align:center}.ctc-scores small{display:block;color:var(--ctc-muted)}.ctc-scores strong{font-size:28px}.ctc-total{text-align:right;background:#edf4ff;border-radius:10px;padding:9px 22px}.ctc-total small{display:block;color:var(--ctc-muted)}.ctc-total strong{display:block;font-size:32px}.ctc-review{margin-bottom:15px}.ctc-explanation{border-left:4px solid #4488cb;background:#f5f9ff;margin-top:14px;padding:14px 16px;border-radius:6px}.ctc-explanation strong{display:block;margin-bottom:6px}
@media(max-width:800px){.ctc-exam-layout{grid-template-columns:1fr}.ctc-exam-side{position:static;order:2}.ctc-card{padding:17px}.ctc-number-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(max-width:490px){.ctc-heading{gap:9px}.ctc-mark{min-width:45px;height:45px}.ctc-exam-top{gap:8px}.ctc-clock{padding:7px 9px}.ctc-clock strong{font-size:17px}.ctc-stem{font-size:16px}.ctc-option{padding:9px;gap:9px}.ctc-number-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.ctc-scores strong{font-size:23px}.ctc-exam-actions .ctc-btn{padding:9px 11px}}

/* v0.2 standalone CAT app - remove WordPress theme chrome without touching the active theme. */
html:has(body.ctc-standalone){scroll-behavior:smooth}
body.ctc-standalone{margin:0!important;padding:0!important;background:#f5f7fc;color:#162542;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6;min-height:100vh}
body.ctc-standalone *,body.ctc-standalone *:before,body.ctc-standalone *:after{box-sizing:border-box}
body.ctc-standalone a:focus-visible,body.ctc-standalone button:focus-visible,body.ctc-standalone input:focus-visible{outline:3px solid #6a85f8;outline-offset:3px}
.ctc-marketing-main,.ctc-app-main{display:block;width:100%}.ctc-app-main{min-height:calc(100vh - 160px)}
.ctc-app-header{position:relative;z-index:25;background:#fff;border-bottom:1px solid #e9edf5}.ctc-app-header-inner{max-width:1280px;margin:auto;padding:0 32px;min-height:77px;display:flex;align-items:center;justify-content:space-between;gap:22px}.ctc-app-brand{display:inline-flex;align-items:center;gap:11px;color:#172946;text-decoration:none!important}.ctc-app-brand strong{font-size:17px;letter-spacing:-.04em}.ctc-app-logo{--ctc-accent:#3559e8;flex:none}.ctc-app-brand-tag{font-size:10px;font-weight:800;letter-spacing:.11em;color:#8d9bb1;border-left:1px solid #dde4f0;padding-left:11px;margin-left:2px}.ctc-app-header nav{display:flex;align-items:center;gap:22px}.ctc-app-header nav a{color:#52627e;font-size:13px;font-weight:710;text-decoration:none}.ctc-app-header nav a:hover{color:#3559e8}.ctc-app-header nav .ctc-app-nav-cta{background:#3559e8;padding:11px 15px;border-radius:10px;color:#fff}.ctc-app-footer{max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;gap:12px;padding:29px 32px;color:#93a0b5;font-size:12px}.ctc-app-footer span{text-align:right}
body.ctc-app-page .ctc-shell{--ctc-blue:#3559e8;--ctc-ink:#162541;--ctc-muted:#718099;--ctc-line:#e2e9f4;--ctc-bg:#f6f8fd;max-width:1190px;margin:0 auto;padding:47px 24px 65px;font-family:inherit;line-height:1.6;color:var(--ctc-ink)}
body.ctc-app-page .ctc-heading{margin-bottom:30px}.ctc-mark{border-radius:13px;box-shadow:0 10px 22px rgba(53,89,232,.14)}body.ctc-app-page .ctc-shell h1{font-size:clamp(26px,3vw,36px);letter-spacing:-.038em;font-weight:800}body.ctc-app-page .ctc-shell h2{letter-spacing:-.025em}.ctc-card{border-color:#e5ebf4;border-radius:18px;box-shadow:0 8px 27px rgba(19,38,78,.03)}body.ctc-app-page .ctc-btn{background:#3559e8;border-color:#3559e8;min-height:47px;border-radius:10px;padding:12px 18px}body.ctc-app-page .ctc-btn.ctc-secondary{background:#fff;color:#3559e8!important;border-color:#cedaf1}
.ctc-auth-scene{min-height:calc(100vh - 151px);display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);background:#fff}.ctc-auth-aside{background:#101e3e;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;padding:65px max(8%,calc((100vw - 1260px)/2)) 65px 11%}.ctc-auth-aside:before{content:"";inset:0;position:absolute;z-index:-1;background:radial-gradient(circle at 93% 18%,rgba(105,110,245,.23),transparent 35%),radial-gradient(circle at 5% 92%,rgba(70,232,194,.1),transparent 33%)}.ctc-auth-aside:after{content:"";position:absolute;bottom:-190px;left:-130px;width:530px;height:530px;border-radius:50%;border:1px solid rgba(200,215,250,.07);box-shadow:0 0 0 95px rgba(200,215,250,.025),0 0 0 190px rgba(200,215,250,.012);z-index:-1}.ctc-auth-aside-inner{max-width:520px;position:relative}.ctc-auth-kicker{color:#88eccd;font-size:11px;font-weight:850;letter-spacing:.18em}.ctc-auth-aside h1{color:#fff;font-size:clamp(38px,3.7vw,58px);font-weight:830;letter-spacing:-.055em;line-height:1.15;margin:25px 0}.ctc-auth-aside h1 em{font-style:normal;color:#8dabe9}.ctc-auth-aside p{color:#b9c9e1;font-size:16px;line-height:1.85;max-width:480px}.ctc-auth-points{margin:42px 0 50px;display:grid;gap:17px}.ctc-auth-points>div{display:flex;align-items:center;gap:12px;color:#d7e3f8;font-size:13px;font-weight:620}.ctc-auth-points>div span{display:grid;place-items:center;background:#244873;border:1px solid #41608b;color:#8de4d4;width:26px;height:26px;border-radius:8px;font-weight:800}.ctc-auth-aside-bottom{border-top:1px solid #344866;padding-top:26px;color:#859bb9;font-size:12px}
.ctc-auth-content{display:grid;place-items:center;padding:70px 35px}.ctc-auth-content-inner{width:100%;max-width:460px}.ctc-auth-topline{display:block;font-size:11px;letter-spacing:.15em;color:#5270d8;font-weight:850;margin-bottom:17px}.ctc-auth-content h2{font-size:clamp(29px,3vw,41px);line-height:1.17;letter-spacing:-.045em;color:#152441;font-weight:820;margin:0 0 14px}.ctc-auth-caption{color:#728099;line-height:1.7;font-size:14px;margin:0 0 30px}.ctc-auth-form{display:flex;flex-direction:column;gap:19px}.ctc-auth-form label{display:block;margin:0;color:#35455e;font-size:13px;font-weight:730}.ctc-auth-form label input{display:block;width:100%;margin-top:9px;border:1px solid #d6dfed;background:#f9fbff;border-radius:11px;padding:13px 15px;height:53px;outline:none;font:inherit;font-size:14px;color:#1b2d49;box-shadow:none}.ctc-auth-form label input:focus{border-color:#7896ee;background:white;box-shadow:0 0 0 4px rgba(53,89,232,.08)}.ctc-auth-form label input::placeholder{color:#9aa7bb}.ctc-auth-form .ctc-auth-submit{background:#3559e8;border:1px solid #3559e8;color:white!important;margin-top:6px;width:100%;min-height:53px;border-radius:11px;font-size:14px;font-weight:780;display:flex;align-items:center;justify-content:space-between;padding:0 20px;cursor:pointer;box-shadow:0 12px 26px rgba(53,89,232,.18);text-decoration:none}.ctc-auth-form .ctc-auth-submit:hover{background:#2748d2;transform:translateY(-1px)}.ctc-auth-switch{text-align:center;margin:5px 0 0;color:#7a879a;font-size:13px}.ctc-auth-switch a,.ctc-auth-helper a{color:#3559e8;font-weight:760;text-decoration:none}.ctc-auth-helper{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-5px;color:#8492a6;font-size:12px}.ctc-auth-resend{margin-top:26px;border-top:1px solid #edf1f7;padding-top:25px}.ctc-auth-resend summary{cursor:pointer;font-weight:750;color:#435775;font-size:13px}.ctc-auth-resend form{margin-top:17px;gap:14px}.ctc-auth-resend button{background:#fff!important;color:#3559e8!important;border-color:#cdd9f1!important;width:100%;box-shadow:none!important}.ctc-auth-legal{font-size:12px;color:#919db0;line-height:1.6;margin:22px 0 0}.ctc-auth-content .ctc-alert{margin:0 0 24px;border-radius:10px;font-size:13px}.ctc-hidden{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}
@media(max-width:980px){.ctc-auth-aside{padding:55px 7%}.ctc-auth-content{padding:55px 35px}.ctc-auth-aside h1{font-size:40px}.ctc-auth-aside p{font-size:14px}}
@media(max-width:760px){.ctc-auth-scene{grid-template-columns:1fr}.ctc-auth-aside{display:none}.ctc-auth-content{padding:52px 24px 68px;min-height:calc(100vh - 150px)}.ctc-auth-content-inner{max-width:450px}.ctc-app-header-inner{padding:0 19px;min-height:68px}.ctc-app-brand-tag{display:none}.ctc-app-header nav{gap:13px}.ctc-app-header nav a{font-size:12px}.ctc-app-header nav a:nth-child(2){display:none}.ctc-app-footer{padding:24px 19px;flex-direction:column}.ctc-app-footer span{text-align:left}.ctc-app-main .ctc-shell{padding:30px 16px 52px}.ctc-shell .ctc-card{padding:17px}}
@media(max-width:410px){.ctc-auth-content{padding-left:18px;padding-right:18px}.ctc-auth-helper{flex-direction:column;align-items:flex-start}.ctc-app-brand strong{font-size:15px}.ctc-app-logo{width:35px;height:35px;font-size:20px}}
@media(prefers-reduced-motion:reduce){.ctc-auth-scene *,body.ctc-standalone *{transition:none!important}}

/* Imported figural images retain their proportions on mobile exam and review. */
.ctc-imported-figure{display:block;width:auto;max-width:100%;max-height:340px;height:auto;object-fit:contain;border-radius:9px;margin:8px 0;border:1px solid #e4ebf5;background:#fff}.ctc-option .ctc-imported-figure{max-height:210px}.ctc-stimulus{background:#f7faff;border:1px solid #dbe5f4;border-radius:12px;padding:15px;margin:0 0 20px}.ctc-stimulus>strong{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#4a6296;display:block;margin-bottom:9px}.ctc-stimulus img{display:block;width:auto;max-height:350px;max-width:100%;object-fit:contain;margin:12px 0}.ctc-rich img,.ctc-options img{height:auto;max-width:100%}

/* v0.3.2: room catalog & exam entry, layered above existing participant styles. */
.ctc-room-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:32px;border-radius:22px;padding:36px 40px;margin-bottom:30px;background:linear-gradient(125deg,#132446 8%,#1e3f79 70%,#355be2);color:#fff}
.ctc-room-hero:after{content:"";position:absolute;width:300px;height:300px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-95px;bottom:-170px;box-shadow:0 0 0 75px rgba(255,255,255,.028);z-index:-1}
.ctc-room-eyebrow{font-size:11px;color:#9de4d3;letter-spacing:.15em;font-weight:850}
.ctc-shell .ctc-room-hero h2{color:#fff;max-width:570px;font-weight:800;font-size:clamp(25px,3.2vw,35px);margin:13px 0 12px;letter-spacing:-.04em}
.ctc-room-hero p{color:#cad7eb;max-width:610px;font-size:14px;margin:0!important}.ctc-room-hero-number{flex:0 0 155px;text-align:center;padding:17px;border:1px solid rgba(255,255,255,.15);border-radius:18px;background:rgba(255,255,255,.06)}.ctc-room-hero-number strong{display:block;font-size:46px;line-height:1.2;font-variant-numeric:tabular-nums}.ctc-room-hero-number span{font-size:11px;color:#c6d6ed}
.ctc-room-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0 16px}.ctc-room-toolbar h2{margin:0!important}.ctc-room-toolbar a,.ctc-room-back a{font-size:13px;color:#3559e8;font-weight:750;text-decoration:none}
.ctc-room-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,305px),1fr));gap:18px}.ctc-room-grid .ctc-card{margin:0}.ctc-room-pack{display:flex;flex-direction:column;min-height:258px;padding:25px!important;transition:transform .2s ease,box-shadow .2s ease}.ctc-room-pack:hover{transform:translateY(-2px);box-shadow:0 14px 40px rgba(17,37,79,.07)}.ctc-room-pack-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.ctc-room-pack-code{font-size:12px;color:#94a3b8;font-weight:750}.ctc-room-pack h3{font-size:19px;line-height:1.4;letter-spacing:-.025em;margin:7px 0!important}.ctc-room-pack>p{font-size:13px;line-height:1.65;color:#718099;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.ctc-room-meta{display:flex;flex-wrap:wrap;gap:9px;margin:auto 0 18px;padding-top:16px}.ctc-room-meta>span{background:#f3f6fb;border:1px solid #e4ebf5;border-radius:8px;padding:6px 10px;font-size:12px;color:#5d7092}.ctc-room-meta b{color:#1a365d}.ctc-room-pack-footer{display:flex;justify-content:space-between;gap:14px;align-items:center;border-top:1px solid #eef1f7;padding-top:16px}.ctc-room-pack-footer small{font-size:12px;color:#7b8aa4}.ctc-room-pack-footer .ctc-btn{padding:9px 12px;min-height:40px;font-size:12px}.ctc-room-unavailable{font-size:12px;color:#8794a8;font-weight:750}.ctc-room-continue{display:flex;justify-content:space-between;align-items:center;gap:20px;border-color:#b9d3fa;background:linear-gradient(105deg,#f6faff,#fff)}.ctc-room-continue .ctc-tag{margin-bottom:7px}.ctc-room-continue h3{margin:0 0 7px!important}.ctc-room-continue p{margin:0!important;color:#6d7e99;font-size:13px}.ctc-room-continue .ctc-btn{flex:none}.ctc-room-empty{text-align:center;padding:55px 25px!important}.ctc-room-empty-icon{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:15px;background:#eef3fb;color:#5976af;font-size:30px;margin-bottom:17px}.ctc-room-empty p{max-width:630px;margin:0 auto 20px!important;font-size:14px;color:#687b96}.ctc-room-footnote{color:#8c98ab;font-size:12px;margin-top:24px}.ctc-room-back{margin:-9px 0 19px}.ctc-room-ready{max-width:830px;padding:35px!important}.ctc-room-ready h2{font-size:27px;margin:0 0 12px!important}.ctc-room-ready>p{color:#687b96;max-width:660px}.ctc-room-ready-facts{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}.ctc-room-ready-facts>span{padding:10px 14px;border-radius:10px;border:1px solid #e3eaf6;background:#f7faff;font-size:13px;color:#566e91}.ctc-room-ready-facts b{color:#213f76}.ctc-room-instructions{font-size:13px;border-left:3px solid #8aaceb;padding:8px 0 8px 12px;margin-bottom:23px!important;background:#f7faff}.ctc-room-dashboard-link{margin:0 0 26px}
@media(max-width:760px){.ctc-room-hero{padding:25px;gap:18px}.ctc-room-hero-number{flex-basis:110px}.ctc-room-hero-number strong{font-size:32px}.ctc-room-toolbar{align-items:flex-start;flex-direction:column}.ctc-room-continue{flex-direction:column;align-items:stretch}.ctc-room-ready{padding:22px!important}}
@media(max-width:470px){.ctc-room-hero{display:block}.ctc-room-hero-number{display:none}.ctc-room-pack{min-height:245px}.ctc-room-pack-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.ctc-room-pack{transition:none}.ctc-room-pack:hover{transform:none}}

/* v0.4.0 Catalog Tryout: keeps the independent CAT design system. */
.ctc-store-shell .ctc-store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:17px;margin:22px 0 35px}
.ctc-store-product{display:flex;flex-direction:column;gap:12px;min-height:270px}
.ctc-store-product h2{font-size:20px;margin:4px 0}.ctc-store-product p{line-height:1.6;flex:1;color:#64738b;margin:0}
.ctc-store-price{font-size:30px;font-weight:830;letter-spacing:-.045em;color:#193f95}
.ctc-store-product form{margin:12px 0 0}.ctc-store-product .ctc-btn{display:inline-block;text-align:center;cursor:pointer}
.ctc-store-note{color:#687a96;font-size:13px;line-height:1.7}
@media(max-width:600px){.ctc-store-shell .ctc-store-grid{grid-template-columns:1fr}}

/* v0.5.1: self-contained guest checkout; exam/figural selectors unchanged. */
.ctc-guest-checkout{max-width:920px;margin:0 auto}
.ctc-guest-card{padding:clamp(19px,4vw,35px);border-radius:18px}
.ctc-guest-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:23px}
.ctc-guest-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;min-width:0;color:#344765}
.ctc-guest-form label:nth-of-type(4){grid-column:1/-1}
.ctc-guest-form input,.ctc-guest-form textarea{width:100%;min-width:0;box-sizing:border-box;min-height:46px;padding:10px 14px;border:1px solid #d7e2f2;border-radius:10px;background:#fbfcff;font:inherit;color:#173357}
.ctc-guest-form textarea{min-height:96px;resize:vertical}
.ctc-guest-form button.ctc-btn{grid-column:1/-1;min-height:48px;cursor:pointer;text-align:center}
.ctc-guest-form .ctc-store-note{grid-column:1/-1;margin:0;color:#6d7f98;font-size:12px;line-height:1.6}
.ctc-guest-form .ctc-hidden{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:680px){.ctc-guest-form{grid-template-columns:1fr}.ctc-guest-form label:nth-of-type(4){grid-column:auto}}

/* Optional bank-instruction panel for the public guest checkout receipt. */
.ctc-guest-checkout .ctc-checkout-instructions{border:1px solid #dbe6f4;background:#f7faff;border-radius:13px;padding:15px 18px;margin:15px 0}.ctc-guest-checkout .ctc-checkout-instructions p{margin:7px 0 0;overflow-wrap:anywhere}.ctc-guest-checkout .ctc-checkout-instructions strong{color:#24466b}

/* 0.5.8: catalog header alignment and functional filters, self-contained. */
.ctc-store-shell .ctc-store-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}
.ctc-store-shell .ctc-store-header .ctc-heading{flex:0 1 390px;min-width:275px;gap:14px;margin:0;align-items:center}
.ctc-store-shell .ctc-store-header .ctc-mark{flex:0 0 58px;width:58px;min-width:58px;height:58px}
.ctc-store-shell .ctc-heading-copy{min-width:0;min-height:58px;display:flex;flex-direction:column;justify-content:space-between;gap:2px}
.ctc-store-shell .ctc-heading-copy h1{line-height:1.1;margin:0;font-size:clamp(24px,2.6vw,31px)}
.ctc-store-shell .ctc-heading-copy p{line-height:1.25;margin:0;font-size:12px}
.ctc-store-shell .ctc-store-filters{flex:1 1 645px;min-width:0;max-width:720px;display:flex;flex-direction:column;gap:8px}
.ctc-store-shell .ctc-store-filter-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ctc-store-shell .ctc-store-filter-row label{margin:0;min-width:0;font-size:11px;line-height:1.25;color:#5d6e87;font-weight:750}
.ctc-store-shell .ctc-store-filter-row label span{display:block;margin-bottom:4px}
.ctc-store-shell .ctc-store-filter-row select{display:block;width:100%;min-width:0;height:36px;font:inherit;font-size:12px;background:#fff;color:#172b4a;border:1px solid #d6e2f0;padding:5px 25px 5px 8px;border-radius:9px}
.ctc-store-shell .ctc-store-filter-search{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.ctc-store-shell .ctc-store-filter-search input{min-width:0;flex:1;max-width:300px;height:35px;padding:7px 11px;border:1px solid #d6e2f0;border-radius:9px;font-size:12px;background:white}
.ctc-store-shell .ctc-store-filter-search button,.ctc-store-shell .ctc-store-empty button{cursor:pointer;border:1px solid #d7e1f0;border-radius:8px;background:#fff;color:#3657b6;font-size:12px;font-weight:750;padding:8px 11px;min-height:35px}
.ctc-store-shell .ctc-store-grid{margin-top:0}
.ctc-store-shell .ctc-store-product[hidden],.ctc-store-shell .ctc-store-empty[hidden]{display:none!important}
.ctc-store-shell .ctc-store-results{color:#75859b;font-size:12px;margin:-21px 0 26px}
.ctc-store-shell .ctc-store-empty{padding:30px;border-radius:14px;background:#f5f8ff;color:#405575;margin:15px 0 20px}
.ctc-store-shell .ctc-sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1040px){.ctc-store-shell .ctc-store-header{align-items:stretch;flex-wrap:wrap}.ctc-store-shell .ctc-store-header .ctc-heading{flex:1 1 100%}.ctc-store-shell .ctc-store-filters{flex:1 1 100%;max-width:none}.ctc-store-shell .ctc-store-filter-search{justify-content:flex-end}}
@media(max-width:560px){.ctc-store-shell .ctc-store-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ctc-store-shell .ctc-store-filter-search input{max-width:none}.ctc-store-shell .ctc-store-header{gap:17px}.ctc-store-shell .ctc-store-header .ctc-mark{flex-basis:45px;width:45px;min-width:45px;height:54px}.ctc-store-shell .ctc-heading-copy{min-height:54px}.ctc-store-shell .ctc-heading-copy h1{font-size:25px}.ctc-store-shell .ctc-heading-copy p{font-size:11px}}

/* v0.5.9 · shared page-heading baseline — applies to every CAT-marked page. */
.ctc-shell .ctc-heading{align-items:flex-start}
.ctc-shell .ctc-heading .ctc-mark{width:58px;min-width:58px;height:58px;flex:none}
.ctc-shell .ctc-heading .ctc-heading-copy{display:flex;min-height:58px;min-width:0;flex-direction:column;justify-content:space-between;gap:2px}
.ctc-shell .ctc-heading .ctc-heading-copy h1{margin:0!important;line-height:1.12}
.ctc-shell .ctc-heading .ctc-heading-copy p{margin:0!important;line-height:1.22}
.ctc-shell.ctc-store-shell .ctc-store-header .ctc-heading{align-items:flex-start}
@media(max-width:560px){.ctc-shell .ctc-heading .ctc-mark{width:45px;min-width:45px;height:54px}.ctc-shell .ctc-heading .ctc-heading-copy{min-height:54px}}

/* Shared three equal-width hamburger strokes, identical height to registration CTA. */
.ctc-menu-toggle{display:none;flex:none;width:44px;height:44px;padding:11px 10px;align-items:center;justify-content:space-between;flex-direction:column;border:1px solid #d8e1f2;background:#fff;border-radius:10px;color:#2b4269;cursor:pointer}
.ctc-menu-toggle span{display:block;width:100%;height:2.5px;min-height:2.5px;border-radius:2px;background:currentColor}
.ctc-app-mobile-cta{display:none}
@media(max-width:760px){
 .ctc-app-header-inner{position:relative;gap:9px;flex-wrap:nowrap}
 .ctc-app-brand{min-width:0;gap:7px;flex:0 1 auto}
 .ctc-app-brand strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .ctc-app-header .ctc-menu-toggle{display:flex}
 .ctc-app-mobile-cta{display:inline-flex;align-items:center;justify-content:center;flex:none;height:44px;padding:0 11px;border-radius:10px;background:#3559e8;color:#fff!important;font-size:12px;font-weight:750;white-space:nowrap;text-decoration:none!important;margin-left:auto}
 .ctc-app-header nav{display:none;position:absolute;left:19px;right:19px;top:calc(100% - 1px);padding:12px;flex-direction:column;align-items:stretch;gap:2px;background:#fff;border:1px solid #e2e9f4;border-radius:0 0 13px 13px;box-shadow:0 14px 25px #1d31501c}
 .ctc-app-header nav.ctc-nav-open{display:flex}
 .ctc-app-header nav a,.ctc-app-header nav a:nth-child(2){display:block;padding:11px 12px;font-size:13px}
 .ctc-app-header nav .ctc-app-nav-cta{display:none}
}
@media(max-width:370px){.ctc-app-header-inner{gap:6px}.ctc-app-brand strong{font-size:12px}.ctc-app-mobile-cta{font-size:11px;padding:0 8px}.ctc-app-header .ctc-menu-toggle{width:42px;height:44px}}

/* Exam sponsor placement: square creatives, separate from all exam controls. */
.ctc-room-preview-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:18px;align-items:start}
.ctc-room-preview-layout .ctc-room-ready{max-width:none;min-width:0;margin:0}
.ctc-room-preview-layout:not(:has(.ctc-ad-widget)){grid-template-columns:minmax(0,1fr)}
.ctc-room-preview-layout:not(:has(.ctc-ad-widget)) .ctc-room-ready{max-width:830px}
.ctc-exam-sidebar-stack{min-width:0;display:flex;flex-direction:column;gap:16px;position:sticky;top:20px}
.ctc-exam-sidebar-stack .ctc-exam-side{position:static;top:auto;margin-bottom:0}
.ctc-exam-sidebar-stack .ctc-exam-sponsor-anchor{display:none}
.ctc-ad-widget{width:100%;min-width:0;background:#fff;border:1px solid #e5ebf4;border-radius:16px;overflow:hidden;box-shadow:0 8px 27px #13264e08;padding:9px;box-sizing:border-box}
.ctc-ad-visual{position:relative;width:100%;aspect-ratio:1/1;background:#f3f6fb;border-radius:10px;overflow:hidden}
.ctc-ad-frame{position:absolute;inset:0}.ctc-ad-frame[hidden]{display:none!important}.ctc-ad-frame img{display:block;width:100%;height:100%;object-fit:contain}.ctc-ad-frame a{display:block;width:100%;height:100%}
.ctc-ad-caption{display:block;padding:6px 3px 0;text-align:center;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#7c8899}
@media(max-width:800px){.ctc-room-preview-layout{grid-template-columns:1fr}.ctc-room-preview-layout .ctc-ad-widget{max-width:340px;justify-self:center}.ctc-exam-sidebar-stack{position:static;order:2}.ctc-exam-sidebar-stack>.ctc-ad-widget{order:2;max-width:340px;align-self:center}.ctc-exam-sidebar-stack>.ctc-exam-side{order:1}}

/* Shared brand mark on standalone app pages, matching existing landing logo. */
.ctc-app-logo{display:grid;place-items:center;flex:none;width:41px;height:41px;border-radius:12px;background:#3559e8;color:#fff;font-weight:900;letter-spacing:-.06em;font-size:23px;box-shadow:0 6px 18px #3559e838}
.ctc-app-logo span{color:#8bf7da}
@media(max-width:410px){.ctc-app-logo{width:35px;height:35px;font-size:20px}}

/* v0.5.10: Keep the pre-exam panel hidden whenever the CAT session is active.
   The display:grid layout must never override the browser's [hidden] state. */
.ctc-room-preview-layout[hidden]{display:none!important}

/* v0.5.10: Results-only refinements; preserve existing card geometry. */
.ctc-card.ctc-result-overview{background:#eff6ff;border-color:#d5e5f8}
.ctc-review .ctc-option.ctc-selected.ctc-answer-wrong{background:#fff0f1;border-color:#e7abb2}
.ctc-review .ctc-option.ctc-selected.ctc-answer-wrong>b{background:#cb475a;color:#fff}
.ctc-review .ctc-answer-key-check{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;padding:0;border:1px solid #d2e3fa;border-radius:6px;background:#eaf3ff;color:#2460a5;line-height:1}
.ctc-review .ctc-answer-key-check svg{display:block;flex:none}
.ctc-review-summary{display:flex;flex-wrap:wrap;gap:7px 0;align-items:baseline;margin:14px 0!important;font-size:14px;color:var(--ctc-ink)}
.ctc-review-summary>span{display:inline-block;min-width:0;overflow-wrap:anywhere}
.ctc-review-summary>span+span{margin-left:11px;padding-left:11px;border-left:1px solid #b8c8dc}
.ctc-answer-status-correct{color:#255fc1}
.ctc-answer-status-wrong{color:#bb3242}
.ctc-answer-status-empty{color:var(--ctc-muted)}
@media(max-width:490px){.ctc-review-summary>.ctc-answer-key-summary{flex-basis:100%;margin-left:0;padding-left:0;border-left:0}}

/* v0.5.11: Registration password reveal control; identical input box size and spacing. */
.ctc-auth-form .ctc-password-field{display:block;position:relative;min-width:0}
.ctc-auth-form .ctc-password-field input{padding-right:58px}
.ctc-auth-form .ctc-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#73829b;cursor:pointer;touch-action:manipulation}
.ctc-auth-form .ctc-password-toggle:hover,.ctc-auth-form .ctc-password-toggle:focus-visible{background:#eaf0fc;color:#274f9a}
.ctc-auth-form .ctc-password-toggle:focus-visible{outline:2px solid #3559e8;outline-offset:1px}
.ctc-auth-form .ctc-password-toggle .ctc-eye-hide{display:none}
.ctc-auth-form .ctc-password-toggle[aria-pressed="true"] .ctc-eye-show{display:none}
.ctc-auth-form .ctc-password-toggle[aria-pressed="true"] .ctc-eye-hide{display:block}
