:root{font:16px/1.6 system-ui,'Yu Gothic',sans-serif;color:#182d49;background:#eef2f6;--blue:#1a5599;--border:#b8c6d5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 28px;background:#173c69;color:white}.brand{color:white;text-decoration:none;font-weight:700}.demo-label{font-size:14px}.demo-notice{margin:0;padding:10px 28px;background:#fff3c9;color:#604900;font-size:14px}main{max-width:1320px;margin:24px auto;padding:0 24px}.panel{background:white;border:1px solid var(--border);padding:28px;border-radius:4px}#start-screen{max-width:760px;margin:40px auto}h1{font-size:24px;margin:0 0 24px;line-height:1.65}h2{font-size:20px}button,.link-button{border:1px solid var(--border);padding:11px 20px;border-radius:3px;min-height:44px}.primary{background:var(--blue);border-color:var(--blue);color:white}.secondary{background:white;color:#234363}.finish{background:#fff;border-color:#9e3333;color:#922a2a}.link-button{display:inline-block;text-decoration:none}.spec{display:flex;flex-wrap:wrap;gap:36px;padding:20px 0;border-block:1px solid #d7dfe9}.spec dt{font-size:14px;color:#586d83}.spec dd{font-size:24px;font-weight:700;margin:4px 0}.exam-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#dae5f1;padding:15px 24px;border:1px solid var(--border);margin-bottom:16px}#timer{font-size:28px;font-variant-numeric:tabular-nums;padding-left:12px}.urgent{color:#a32020}.exam-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px}.position{font-size:14px;color:#53687e}.question-panel{min-height:510px;display:flex;flex-direction:column}.question-panel h1:focus,#result-title:focus{outline:none}fieldset{border:0;margin:12px 0 20px;padding:0}legend{font-size:14px;color:#53687e;margin-bottom:10px}fieldset label{display:flex;gap:14px;align-items:center;border:1px solid var(--border);padding:17px;margin:10px 0;cursor:pointer}fieldset label.selected{background:#e5f0ff;border-color:var(--blue)}input{accent-color:var(--blue)}input[type=radio],input[type=checkbox]{width:19px;height:19px;flex-shrink:0}.review-line{display:flex;justify-content:space-between;gap:14px;align-items:center}.review-line label{display:flex;align-items:center;gap:8px}.text-button{background:none;border:0;color:var(--blue);text-decoration:underline;font-size:14px;padding:6px}.question-actions{display:flex;justify-content:space-between;gap:18px;margin-top:auto;padding-top:28px}.hint,#save-status{font-size:13px;color:#53687e;margin-bottom:0}.question-index h2{margin-top:0}.question-index label,#result-screen>label{display:block;font-size:14px;margin-bottom:6px}select{width:100%;border:1px solid var(--border);background:white;padding:9px;margin-bottom:14px;border-radius:3px}#question-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}#question-grid button{padding:6px 2px;min-height:40px;font-size:14px;background:white;color:#24425f}#question-grid button.answered{background:#dbeaff;border-color:#81a9d8}#question-grid button.current{outline:2px solid #153d70;outline-offset:1px;font-weight:700}.legend{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:#53687e}.score{display:flex;align-items:center;gap:28px}.score strong{font-size:64px;color:var(--blue)}.score span{background:#e5edf8;padding:6px 14px;font-weight:700}#result-screen{max-width:960px;margin:auto}#result-screen>h2{margin-top:36px}#result-list details{border:1px solid var(--border);margin:12px 0;padding:16px}summary{cursor:pointer;font-weight:600}#result-list p{margin:12px 0}dialog{max-width:560px;width:calc(100% - 32px);border:1px solid var(--border);border-radius:5px;padding:28px;color:#182d49}dialog::backdrop{background:#10243f88}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #f0a800;outline-offset:3px}#error{background:#ffeded;color:#9e2222;padding:14px}@media(max-width:850px){.exam-layout{grid-template-columns:1fr}.question-index{padding:18px}#question-grid{grid-template-columns:repeat(10,1fr)}.exam-toolbar{flex-wrap:wrap;padding:12px}.question-panel{min-height:460px;padding:20px}main{padding:0 12px;margin-top:16px}.review-line{align-items:flex-start;flex-wrap:wrap}.demo-notice{padding:10px 16px}header{padding:12px 16px;flex-wrap:wrap}h1{font-size:20px}.spec{gap:22px}#start-screen{margin:20px auto;padding:22px}.score strong{font-size:52px}}@media(max-width:480px){#question-grid{grid-template-columns:repeat(5,1fr)}.exam-toolbar>strong{font-size:14px}#timer{font-size:24px}.dialog-actions{flex-direction:column}.spec dd{font-size:20px}}
.choice-explanation{border-left:4px solid #b8c6d5;padding:8px 16px;margin:12px 0;background:#f5f8fb}.choice-explanation h4{margin:4px 0}.explanation a{display:inline-block;margin-left:12px}.explanation p{white-space:pre-wrap;overflow-wrap:anywhere}#category-results table,#demo-results table{width:100%;border-collapse:collapse}#category-results td,#category-results th,#demo-results td,#demo-results th{padding:10px;text-align:left;border-bottom:1px solid #b8c6d5}caption{text-align:left;padding:8px 0}
@font-face{font-family:AppJapanese;src:local('Noto Sans JP');font-weight:100 900;font-display:swap}
body.exam-page{--brand:#d92d27;--text:#29272b;--text-secondary:#6f6c73;--border:#e6e1df;--shadow-panel:0 18px 60px rgba(49,30,24,.07),0 2px 8px rgba(49,30,24,.025);--shadow-action:0 4px 10px rgba(191,38,32,.18)}
/* Exam preparation: clear instructions with a restrained desktop exam layout. */
body.exam-page{font-family:AppJapanese,'Noto Sans JP','Yu Gothic',sans-serif;background:#faf9f8;color:var(--text);-webkit-font-smoothing:antialiased}
.exam-page header{padding:20px 36px;background:white;border-bottom:1px solid var(--border)}
.exam-page header .brand{font-size:25px;color:var(--text);letter-spacing:-.035em}
.exam-page-label{font-size:12px;color:var(--text-secondary)}
.exam-page main{display:block;max-width:1120px;margin:28px auto;padding:0 28px}
.exam-page:has(#start-screen:not([hidden])) main{max-width:920px}
.exam-page #start-screen{background:white;border:1px solid var(--border);border-radius:14px;padding:32px 36px;box-shadow:var(--shadow-panel)}
.before-heading .eyebrow{font-size:10px;letter-spacing:.12em;margin:0 0 8px;color:var(--brand)}
.exam-page .before-heading h1{font-size:30px;line-height:1.5;letter-spacing:-.035em;margin:0 0 8px}
.before-heading>p:last-child{font-size:14px;color:var(--text-secondary);margin:0 0 26px}
.before-section{margin:24px 0}
.before-section h2{font-size:15px;font-weight:650;background:#f5f3f2;border-radius:5px;padding:10px 14px;margin:0 0 10px;letter-spacing:.01em}
.before-info{margin:0;font-size:13px}.before-info>div{display:grid;grid-template-columns:150px 1fr;gap:0;padding:0;border-bottom:1px solid var(--border)}
.before-info dt{background:#faf9f8;font-weight:550;color:#585154;padding:10px 14px}.before-info dd{padding:10px 20px;margin:0}
.before-section ol,.before-section ul{padding-left:26px;margin:12px 0 0;font-size:13px;line-height:1.9;color:#514b4f}
.before-section li{padding-left:3px;margin:4px 0}
.before-caution h2{background:#fff2ed;color:#9b3e30}
.before-disclaimer{font-size:11px;color:var(--text-secondary);padding-top:16px;border-top:1px solid var(--border);margin:20px 0}
.before-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-top:8px}
.before-back{padding:10px 22px;border:1px solid #cfc6c3;color:#595155;font-size:13px;border-radius:7px;text-decoration:none;font-weight:550;white-space:nowrap}
.before-back:hover{background:#faf7f5}
.before-start-group{min-width:290px;text-align:right}.before-start-group #availability{font-size:11px;color:var(--text-secondary);margin:0 0 8px}
.exam-page .before-start-group .primary{background:var(--brand);color:white;border:1px solid var(--brand);border-radius:7px;padding:12px 28px;font-size:14px;min-height:46px;margin:0;box-shadow:var(--shadow-action)}
.exam-page .before-start-group .primary:hover:not(:disabled){background:#c32722}.exam-page .before-start-group .primary:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.exam-page .before-start-group .secondary{font-size:12px;padding:8px;margin-top:10px}
@media(max-width:650px){.exam-page header{padding:16px 20px}.exam-page header .brand{font-size:20px}.exam-page-label{font-size:10px}.exam-page main{margin:20px auto;padding:0 16px}.exam-page #start-screen{padding:24px 20px}.exam-page .before-heading h1{font-size:25px}.before-info>div{grid-template-columns:100px 1fr}.before-info dd{padding-inline:12px}.before-actions{align-items:stretch;flex-direction:column-reverse;gap:14px}.before-start-group{min-width:0;text-align:left}.before-back{text-align:center}.before-section ol,.before-section ul{font-size:12px}}

.exam-page header .brand span{color:var(--brand)}
/* Answering UI: preserve exam controls and apply the shared brand. */
.exam-page:has(#exam-screen:not([hidden])) main{max-width:1440px;margin:20px auto;padding:0 28px}
.exam-page:has(#exam-screen:not([hidden])) .exam-page-label{font-size:0}
.exam-page:has(#exam-screen:not([hidden])) .exam-page-label::after{content:'CBT模試';font-size:12px}
.exam-page .exam-toolbar{background:white;border:1px solid var(--border);border-radius:10px;padding:14px 24px;margin-bottom:18px;box-shadow:0 2px 8px rgba(49,30,24,.025);font-size:14px}
.exam-page #timer{font-size:29px;font-weight:700;letter-spacing:.025em;color:var(--text);padding-left:12px}.exam-page #timer.urgent{color:var(--brand)}
.exam-page #finish{background:white;border-color:#e8aaa6;color:var(--brand);font-size:13px;border-radius:7px;padding:9px 20px}
.exam-page .exam-layout{grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}
.exam-page .question-panel,.exam-page .question-index{border:1px solid var(--border);border-radius:12px;box-shadow:0 3px 14px rgba(49,30,24,.025);padding:28px;background:white}
.exam-page .question-panel{min-height:620px}
.exam-page #position{font-size:14px;font-weight:650;color:var(--text-secondary);margin:0 0 18px}
.exam-page #title{font-size:22px;line-height:1.8;font-weight:650;letter-spacing:-.02em;margin:0 0 16px}
.exam-page #answer-choices{margin:8px 0 20px}.exam-page #answer-choices legend{font-size:12px;color:var(--text-secondary);margin-bottom:8px}
.exam-page #answer-choices label{border:1px solid #dcd6d4;border-radius:8px;padding:19px 20px;min-height:74px;gap:16px;margin:12px 0;background:white;font-size:16px;line-height:1.8}
.exam-page #answer-choices label:hover{border-color:#d89d97;background:#fffbf9}.exam-page #answer-choices label.selected{background:#fff3f0;border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.exam-page input{accent-color:var(--brand)}.exam-page .review-line{font-size:13px;padding:4px 0 20px}
.exam-page #clear{background:white;border:1px solid #dcd6d4;border-radius:6px;padding:7px 16px;min-height:38px;color:var(--text-secondary);font-size:12px}
.exam-page .question-actions{border-top:1px solid var(--border);padding-top:22px;margin-top:auto}
.exam-page #previous{background:white;border-radius:7px;border:1px solid #cfc6c3;color:var(--text);font-size:14px;min-width:140px}
.exam-page #next{background:var(--brand);border:1px solid var(--brand);color:white;border-radius:7px;font-size:14px;min-width:150px;box-shadow:var(--shadow-action)}
.exam-page #save-status{font-size:11px;color:var(--text-secondary);margin:16px 0 0}.exam-page .question-panel>p:last-child{font-size:10px;color:var(--text-secondary);margin:8px 0 0}
.exam-page .question-index{padding:24px 20px}.exam-page .question-index h2{font-size:19px;margin:0 0 16px;letter-spacing:-.025em}
.exam-page #filter{border:1px solid #dcd6d4;border-radius:6px;padding:9px 12px;font-size:12px;color:var(--text);margin-bottom:16px}
.exam-page #question-grid{gap:7px}.exam-page #question-grid button{background:white;border:1px solid #dcd6d4;border-radius:5px;color:var(--text);min-height:39px;font-size:12px;font-variant-numeric:tabular-nums}
.exam-page #question-grid button.answered{background:#4d4b50;border-color:#4d4b50;color:white}.exam-page #question-grid button.current{outline:2px solid var(--brand);outline-offset:1px;color:var(--brand);background:#fff3f0;border-color:transparent;font-weight:700}
.exam-page .question-index>p{font-size:10px;line-height:1.9;color:var(--text-secondary);margin:18px 0 0;border-top:1px solid var(--border);padding-top:16px}
.exam-page dialog{border:1px solid var(--border);border-radius:12px;color:var(--text);box-shadow:var(--shadow-panel)}.exam-page dialog h2{font-size:22px}.exam-page dialog p{font-size:14px}.exam-page dialog button{border-radius:7px;font-size:13px}.exam-page dialog .primary{background:var(--brand);border-color:var(--brand)}
.exam-page #free-upgrade-dialog{max-width:510px}.exam-page #free-upgrade-dialog .eyebrow{font-size:10px;letter-spacing:.12em;color:var(--brand);margin:0 0 8px}.exam-page #free-upgrade-dialog h2{margin:0 0 12px}.exam-page #free-upgrade-dialog p:not(.eyebrow){color:var(--text-secondary);line-height:1.9}.dialog-primary-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--brand);border-radius:7px;background:var(--brand);color:white;font-size:13px;font-weight:600;text-decoration:none}
.exam-page button:focus-visible,.exam-page input:focus-visible,.exam-page select:focus-visible{outline:3px solid #df827d;outline-offset:3px}
@media(max-width:1000px) and (min-width:851px){.exam-page .exam-layout{grid-template-columns:minmax(0,1fr) 260px}.exam-page .question-panel{padding:24px}.exam-page #title{font-size:19px}.exam-page #answer-choices label{font-size:14px}}
@media(max-width:850px){.exam-page .exam-layout{grid-template-columns:1fr}.exam-page .question-panel{min-height:540px;padding:22px}.exam-page #title{font-size:19px}.exam-page #answer-choices label{font-size:14px;padding:16px}.exam-page .exam-toolbar{padding:12px 16px}.exam-page:has(#exam-screen:not([hidden])) main{padding:0 16px}.exam-page #question-grid{grid-template-columns:repeat(10,1fr)}}
@media(max-width:520px){.exam-page #question-grid{grid-template-columns:repeat(5,1fr)}.exam-page #previous,.exam-page #next{min-width:0;flex:1}.exam-page .exam-toolbar{gap:12px}.exam-page #timer{font-size:24px}}
/* Results: actual values stay connected to the existing grading response. */
.exam-page:has(#result-screen:not([hidden])) main{max-width:1200px;margin:30px auto;padding:0 32px}
.exam-page #result-screen{max-width:none;margin:0;border:0;background:transparent;padding:0}
.exam-page:has(#result-screen:not([hidden])) .exam-page-label{font-size:0}.exam-page:has(#result-screen:not([hidden])) .exam-page-label::after{content:'CBT模試 ／ 結果';font-size:12px}
.result-heading{text-align:center;margin:0 0 26px}.result-heading .eyebrow{font-size:10px;color:var(--brand);margin:0 0 8px;letter-spacing:.12em}.exam-page .result-heading h1{font-size:30px;margin:0 0 8px;line-height:1.5;letter-spacing:-.035em}.result-heading>p:last-child{font-size:14px;color:var(--text-secondary);margin:0}
.result-score-card{display:grid;grid-template-columns:1fr 1fr;gap:18px 40px;padding:28px 36px;background:white;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-panel)}
.result-label{font-size:12px;color:var(--text-secondary);margin:0 0 6px}.exam-page .result-score-card .score{gap:20px;flex-wrap:wrap}.exam-page #score{font-size:65px;line-height:1.25;font-weight:750;color:var(--brand);letter-spacing:-.04em}.exam-page #pass{font-size:12px;background:#eef5f0;color:#3b6650;border-radius:6px;padding:6px 12px}
.result-counts{align-self:center;border-left:1px solid var(--border);padding-left:32px}.result-counts p{font-size:14px;line-height:1.9;margin:6px 0}.result-score-note{grid-column:1/-1;font-size:10px;color:var(--text-secondary);margin:0}
.result-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;margin:22px 0}.result-category-card,.result-next-card{border:1px solid var(--border);border-radius:12px;padding:26px;background:white}
.exam-page .result-grid h2{font-size:20px;line-height:1.5;margin:0 0 18px;letter-spacing:-.025em}.result-category-card table{width:100%;border-collapse:collapse;font-size:12px}.result-category-card caption{text-align:left;color:var(--text-secondary);font-size:10px;margin-bottom:14px}.result-category-card th{text-align:left;color:var(--text-secondary);font-size:10px;padding:10px 6px;border-bottom:1px solid var(--border)}.result-category-card td{padding:16px 6px;border-bottom:1px solid var(--border)}.result-category-card td:not(:first-child){white-space:nowrap;font-weight:600;text-align:right}
.result-next-card>.eyebrow{font-size:10px;margin:0 0 8px;color:var(--brand)}.result-next-card>p:not(.eyebrow){font-size:12px;color:var(--text-secondary);line-height:1.9}.result-outline{display:block;padding:11px 16px;margin:20px 0;border:1px solid #e6aaa5;border-radius:7px;text-align:center;color:var(--brand);font-size:13px;font-weight:600;text-decoration:none}.result-outline:hover{background:#fff4f0}.result-next-card #locked{background:#f8f6f4;padding:14px;border-radius:7px;font-size:11px;margin:20px 0 0}.result-text-link{display:inline-block;color:var(--brand);font-size:12px;margin-right:20px}
.result-upgrade{display:flex;align-items:center;gap:32px;justify-content:space-between;padding:26px 30px;background:#fff3ef;border:1px solid #f1c9c1;border-radius:12px}.result-upgrade h2{font-size:21px;margin:0 0 8px;letter-spacing:-.03em}.result-upgrade p{font-size:11px;color:var(--text-secondary);margin:0;line-height:1.8}.result-price{padding-left:30px;border-left:1px solid #edcbc2;white-space:nowrap}.result-price>span{font-size:10px;color:var(--brand);display:block}.result-price strong{font-size:35px;color:var(--brand);line-height:1.4;letter-spacing:-.04em}.result-price small{font-size:15px;margin-left:4px}.result-primary{padding:13px 20px;background:var(--brand);color:white;border-radius:7px;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap;box-shadow:var(--shadow-action)}
.result-explanations{margin-top:32px}.result-explanations>h2{font-size:20px}.exam-page #result-list details{border:1px solid var(--border);border-radius:8px;background:white;padding:16px 20px;font-size:13px;margin:12px 0}.exam-page #result-list summary{font-size:13px}.result-home{display:block;text-align:right;font-size:12px;color:var(--text-secondary);margin:24px 0}
@media(max-width:850px){.exam-page:has(#result-screen:not([hidden])) main{padding:0 20px}.result-grid{grid-template-columns:1fr}.result-upgrade{flex-wrap:wrap;gap:20px}.result-price{padding-left:20px}.result-score-card{padding:24px;gap:18px}.result-counts{padding-left:18px;font-size:12px}.exam-page #score{font-size:52px}}
@media(max-width:520px){.result-score-card{grid-template-columns:1fr}.result-counts{border-left:0;padding:12px 0 0;border-top:1px solid var(--border)}.exam-page .result-heading h1{font-size:25px}.result-category-card,.result-next-card{padding:20px}.result-upgrade{padding:22px}.result-price{border:0;padding:0}.result-primary{width:100%;text-align:center}}
/* Result elevation: subtle layered shadows without reducing legibility. */
.exam-page .result-score-card{border-color:#e9e1dc;box-shadow:0 16px 38px rgba(55,35,28,.075),0 3px 8px rgba(55,35,28,.035),inset 0 1px 0 #fff}
.exam-page .result-category-card,.exam-page .result-next-card{border-color:#e7e0dc;box-shadow:0 9px 24px rgba(55,35,28,.055),0 2px 5px rgba(55,35,28,.025),inset 0 1px 0 #fff}
.exam-page .result-upgrade{box-shadow:0 10px 26px rgba(147,61,43,.065),0 2px 5px rgba(147,61,43,.025),inset 0 1px 0 #fff8f5;border-color:#ecc6bd}
.exam-page .result-outline{background:white;box-shadow:0 3px 6px rgba(82,43,34,.035),inset 0 1px 0 #fff;border-bottom-color:#d49690}
.exam-page .result-outline:hover{background:#fff6f3;box-shadow:0 5px 12px rgba(82,43,34,.07)}
.exam-page .result-primary{box-shadow:0 5px 12px rgba(176,40,32,.19),inset 0 1px 0 rgba(255,255,255,.18);border:1px solid #c62a23;border-bottom-color:#ab241e}
.exam-page .result-primary:hover{background:#c82a24;box-shadow:0 7px 16px rgba(176,40,32,.22)}
.exam-page .result-primary:active,.exam-page .result-outline:active{box-shadow:0 1px 3px rgba(82,43,34,.08)}
.exam-page #result-list details{box-shadow:0 3px 9px rgba(55,35,28,.025),inset 0 1px 0 #fff}
.exam-page #result-list details[open]{border-color:#dec7bd;box-shadow:0 6px 18px rgba(55,35,28,.05)}
@media(prefers-reduced-motion:no-preference){.exam-page .result-outline,.exam-page .result-primary{transition:background-color .18s ease,box-shadow .18s ease}}
/* Premium purchase: clear one-time pricing and the existing secure checkout. */
body.purchase-page{background:#faf9f8;color:#29272b;font-family:AppJapanese,'Noto Sans JP','Yu Gothic',sans-serif;--blue:#d92d27;--border:#e6e1df}
.purchase-page header.home-header{height:80px;padding:0 36px;background:white;color:#29272b;border-bottom:1px solid var(--border)}.purchase-account{color:#625d61;font-size:12px;text-decoration:none}
.purchase-page main{display:block;max-width:1240px;margin:0 0 0 220px;padding:30px 40px}
.purchase-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff8f4 url('/login-background.png') center bottom/cover no-repeat;border:1px solid #f0e5de;border-radius:14px;padding:24px 30px;margin-bottom:28px;overflow:hidden}
.purchase-hero .eyebrow{font-size:10px;letter-spacing:.13em;color:#d92d27;margin:0 0 8px}.purchase-hero h1{font-size:32px;line-height:1.5;letter-spacing:-.04em;margin:0 0 8px}.purchase-hero>div>p:last-child{font-size:14px;color:#6f6c73;margin:0}.purchase-mascot{width:210px;height:180px;object-fit:contain;flex-shrink:0}
.purchase-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}.purchase-features>h2{font-size:23px;line-height:1.5;letter-spacing:-.03em;margin:0 0 16px}.purchase-features dl{margin:0}.purchase-features dl>div{display:block;padding:18px 0;border-bottom:1px solid #e6e1df}.purchase-features dl>div:last-child{border-bottom:0}.purchase-features dt{font-size:17px;font-weight:650;color:#29272b;margin:0 0 4px;letter-spacing:-.025em}.purchase-features dd{font-size:12px;color:#6f6c73;margin:0;line-height:1.9}
.purchase-card{border:1px solid #e6e1df;border-radius:14px;background:white;padding:30px;box-shadow:0 16px 38px rgba(55,35,28,.075),0 3px 8px rgba(55,35,28,.035),inset 0 1px 0 white}.purchase-card .eyebrow{font-size:10px;letter-spacing:.13em;color:#d92d27;margin:0 0 6px}.purchase-card h2{font-size:25px;margin:0 0 16px;letter-spacing:-.025em}.purchase-once{font-size:12px;font-weight:600;background:#fff0eb;color:#d92d27;display:inline-block;border-radius:20px;padding:5px 16px}.purchase-price{font-size:58px;font-weight:750;letter-spacing:-.055em;color:#d92d27;line-height:1.3;margin:10px 0 16px}.purchase-price small{font-size:24px;margin-left:6px;letter-spacing:0}
.purchase-conditions{display:flex;flex-wrap:wrap;gap:10px}.purchase-conditions span{font-size:12px;font-weight:600;padding:5px 10px;border:1px solid #e6e1df;border-radius:6px;background:#faf9f8}.purchase-additions{font-size:12px;color:#6f6c73;line-height:1.9;margin:16px 0 22px}
.purchase-checkout{border-top:1px solid #e6e1df;padding-top:22px;text-align:center}.purchase-once-note{font-size:13px;color:#625459;margin:0 0 14px}.purchase-page #status{font-size:11px;color:#6f6c73;margin:0 0 12px;line-height:1.8}.purchase-page #test{font-size:11px;padding:10px;background:#fff7e7;color:#805b23;border:1px solid #eadbc0;border-radius:7px}.purchase-page #error{font-size:11px;border-radius:7px;text-align:left}.purchase-page #buy{width:100%;background:#d92d27;border:1px solid #c82a23;border-bottom-color:#ab241e;border-radius:7px;color:white;font-size:14px;font-weight:650;padding:13px 20px;margin:0;box-shadow:0 5px 12px rgba(176,40,32,.19),inset 0 1px 0 rgba(255,255,255,.18)}.purchase-page #buy:hover:not(:disabled){background:#c82a24}.purchase-page #buy:disabled{opacity:.6}.purchase-page #retry{font-size:12px;background:white;border-radius:7px;margin-top:12px}.purchase-checkout-note{font-size:10px;color:#6f6c73;line-height:1.9;margin:14px 0 0}
.purchase-learning-links{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;border-top:1px solid #e6e1df;margin-top:22px;padding-top:18px}.purchase-learning-links a{font-size:11px;color:#d92d27}.purchase-footer{display:flex;justify-content:space-between;gap:24px;margin:24px 0}.purchase-footer p{font-size:10px;color:#6f6c73;margin:0}.purchase-footer a{font-size:12px;color:#625459;white-space:nowrap}
@media(max-width:1050px) and (min-width:851px){.purchase-page main{margin-left:180px;padding:28px}.purchase-layout{gap:22px}.purchase-card{padding:24px}.purchase-hero h1{font-size:27px}.purchase-mascot{width:140px;height:170px}.purchase-price{font-size:48px}}
@media(max-width:850px){.purchase-page header.home-header{height:68px;padding:0 20px}.purchase-page main{margin:0;padding:24px 20px}.purchase-layout{grid-template-columns:1fr}.purchase-card{grid-row:1}.purchase-hero{padding:22px}.purchase-hero h1{font-size:26px}.purchase-mascot{width:120px;height:150px}.purchase-hero>div>p:last-child{font-size:12px}.purchase-footer{flex-wrap:wrap}}
@media(max-width:520px){.purchase-hero{gap:10px;padding:18px}.purchase-mascot{width:85px;height:130px}.purchase-hero h1{font-size:23px}.purchase-card{padding:24px}.purchase-price{font-size:52px}}
.purchase-page.purchase-outcome-page .purchase-hero,.purchase-outcome-page .purchase-layout{display:none}.purchase-page #purchase-outcome{max-width:900px;margin:0 auto;background:#fff;border:1px solid #e6e1df;border-radius:16px;padding:36px;box-shadow:0 3px 6px #34201c04,0 14px 32px #34201c07;text-align:center}.outcome-hero{padding:16px 24px 24px;border-radius:12px;background:linear-gradient(90deg,#fff8f5e8,#fff8f5a0),url('/login-background.png') center bottom/cover}.outcome-hero>span{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#d92d27;color:white;font-size:32px;margin:0 auto 20px;box-shadow:0 5px 15px #d92d2720}.outcome-hero h1{font-size:30px;letter-spacing:-.035em;margin:8px 0 14px}.outcome-hero>p:last-child{font-size:14px;color:#6f6c73;line-height:1.9;margin:0}#outcome-plan{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0;padding:22px 0;border-top:1px solid #ece7e5;border-bottom:1px solid #ece7e5}#outcome-plan>div{border-left:1px solid #ece7e5}#outcome-plan>div:first-child{border:0}#outcome-plan span{display:block;font-size:12px;color:#817974;margin-bottom:8px}#outcome-plan strong{font-size:21px;color:#b83b34}#outcome-benefits{font-size:12px;color:#6f6c73;line-height:1.9;margin-bottom:26px}.outcome-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:650px;margin:0 auto}.outcome-actions a{display:block;font-size:13px;font-weight:600;text-decoration:none;padding:14px 18px;border-radius:8px}.outcome-actions .outcome-primary{color:white;background:linear-gradient(#e83b32,#cf2722);border:1px solid #c82922;box-shadow:0 3px 0 #b92520,0 7px 14px #d92d2720}.outcome-actions .outcome-secondary{color:#b83b34;border:1px solid #dfaca6;background:white}.outcome-actions .outcome-text{font-size:12px;font-weight:400;color:#817974;text-decoration:underline;padding:10px}.purchase-page #outcome-preview,.purchase-page #outcome-test{font-size:12px;color:#a33732;padding:12px;background:#fff0ed;border-radius:8px}#outcome-cancel-actions{grid-template-columns:1fr;max-width:380px;margin-top:26px}#outcome-cancel-actions p{font-size:12px;color:#817974}#outcome-cancel-note{font-size:11px;color:#817974;border-top:1px solid #ece7e5;padding-top:20px;margin-top:20px}.outcome-canceled .outcome-hero>span{background:#fff;border:1px solid #dfd5cf;color:#817974;box-shadow:none}.outcome-actions a:focus-visible{outline:3px solid #d92d2770;outline-offset:3px}
@media(max-width:560px){.purchase-page #purchase-outcome{padding:22px 18px}.outcome-hero{padding:18px 12px}.outcome-hero h1{font-size:23px}.outcome-hero>p:last-child{font-size:12px}#outcome-plan strong{font-size:16px}#outcome-plan span{font-size:10px}.outcome-actions{grid-template-columns:1fr;gap:12px}#outcome-benefits{font-size:11px}}
/* Keep the primary start action and previous result visually separate. */
.exam-page .before-start-group{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px}
.exam-page .before-start-group #availability{flex-basis:100%;margin:0}
.exam-page .before-start-group .secondary{margin:0;min-height:46px;padding:12px 18px;border:1px solid #d8d0cb;border-radius:7px;background:#fff}
@media(max-width:650px){.exam-page .before-start-group{flex-direction:column;align-items:stretch;gap:14px}.exam-page .before-start-group #availability{flex-basis:auto}.exam-page .before-start-group button{width:100%}}

/* Explicit mock-exam verdict and per-question answer comparison. */
.exam-page #pass{display:inline-flex;align-items:center;justify-content:center;padding:10px 24px;border-radius:12px;font-size:32px;font-weight:800;line-height:1.3;border:1px solid #b9dcca;background:#ecf8f1;color:#176441}
.exam-page #pass[data-outcome=fail]{color:#a43a25;background:#fff1e9;border-color:#e8c7b8}
.exam-page #result-list summary{display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none;font-weight:700;min-height:40px}.exam-page #result-list summary::-webkit-details-marker{display:none}
.answer-status{display:inline-flex;align-items:center;padding:5px 12px;border-radius:7px;font-size:14px;background:#eaf6ef;color:#176441;white-space:nowrap}
[data-answer-state=incorrect] .answer-status{background:#fff0e8;color:#a53d24}[data-answer-state=unanswered] .answer-status{background:#f0eef1;color:#625c68}
.answer-toggle{margin-left:auto;font-size:12px;font-weight:500;color:#726973}.answer-toggle:after{content:' ＋'}details[open] .answer-toggle:after{content:' −'}
.exam-page #result-list details[data-answer-state=incorrect]{border-left:4px solid #cb6b50}.exam-page #result-list details[data-answer-state=correct]{border-left:4px solid #42946e}.exam-page #result-list details[data-answer-state=unanswered]{border-left:4px solid #a19aa5}
.review-question{font-weight:650;padding-top:18px;border-top:1px solid #eee8e4}.review-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 24px}.review-answer{padding:16px;border:1px solid #cee2d5;border-radius:10px;background:#f4faf6}.review-answer.incorrect{background:#fff6f1;border-color:#eed6c8}.review-answer>span{display:block;font-size:12px;color:#726973;margin-bottom:8px}.review-answer strong{font-size:15px;line-height:1.8;color:#245f42}.review-answer.incorrect strong{color:#a1432d}
@media(max-width:560px){.exam-page #pass{font-size:26px;padding:9px 18px}.review-answers{grid-template-columns:1fr}.exam-page #result-list summary{gap:8px;flex-wrap:wrap}.answer-status{font-size:13px;padding:4px 9px}.answer-toggle{font-size:11px}}
