@font-face{font-family:Sarabun;src:url('fonts/Sarabun-Regular.ttf') format('truetype');font-display:swap;font-weight:400}@font-face{font-family:Sarabun;src:url('fonts/Sarabun-Bold.ttf') format('truetype');font-display:swap;font-weight:600 800}
:root{--ink:#14373d;--muted:#526970;--accent:#176b5c;--dark:#103e46;--mint:#dff4eb;--paper:#f6f9f8;--line:#d6e2de;--white:#fff;--warning:#855310;--danger:#ac3035;--radius:16px;font-size:calc(16px * var(--font-scale,1))}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Sarabun,Tahoma,sans-serif;line-height:1.7}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,.button{cursor:pointer;min-height:46px;border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:.65rem 1rem;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:.5rem;text-align:center;transition:background .15s,border-color .15s}button:hover,.button:hover{background:#edf5f1;border-color:var(--accent);text-decoration:none}button:disabled{opacity:.55;cursor:not-allowed}.primary{background:var(--accent);border-color:var(--accent);color:white}.primary:hover{background:#115343;color:white}.ghost{background:transparent}.danger{color:var(--danger)}:focus-visible{outline:3px solid #c36c18;outline-offset:4px}input,textarea,select{border:1px solid #93aaa4;border-radius:9px;background:white;color:var(--ink);padding:.7rem .9rem;min-height:48px;max-width:100%}select{appearance:none;padding-right:2.8rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%2314373d' stroke-width='2'/%3E%3C/svg%3E");background-size:20px;background-repeat:no-repeat;background-position:right 12px center}label{display:block;font-weight:600;margin-bottom:.4rem}h1,h2,h3,h4,p{margin-top:0}h1{font-size:2.1rem;line-height:1.45;letter-spacing:-.025em;margin-bottom:.8rem}h2{font-size:1.5rem;line-height:1.5}h3{font-size:1.16rem;line-height:1.6}p{margin-bottom:1.1rem}small,.small{font-size:.875rem}.muted{color:var(--muted)}.eyebrow{font-size:.875rem;font-weight:700;letter-spacing:.025em;color:var(--accent);margin-bottom:.7rem}.skip{position:fixed;left:1rem;top:-6rem;background:white;padding:1rem;z-index:99}.skip:focus{top:1rem}.site-header{border-bottom:1px solid var(--line);background:rgba(255,255,255,.97)}.header-inner{max-width:1280px;margin:auto;padding:16px 32px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:700;white-space:nowrap}.brand:hover{text-decoration:none}.brand small{display:block;color:var(--muted);font-weight:400;font-size:.8rem}.brand-mark{display:grid;place-items:center;width:46px;height:50px;border-radius:12px;background:var(--dark);color:white;font:700 25px/1 Tahoma,sans-serif}.site-header nav{display:flex;gap:6px;margin-left:auto}.site-header nav a{padding:10px 12px;border-radius:8px;color:var(--muted);font-size:.94rem;white-space:nowrap}.site-header nav a[aria-current]{color:var(--accent);background:var(--mint);font-weight:700}.text-button{padding:6px 11px;flex-shrink:0}main{min-height:72vh;outline:none}.container{max-width:1216px;margin:auto;padding:42px 32px 70px}.narrow{max-width:900px}.loading{padding:80px;text-align:center}.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center;padding:20px 0 38px}.hero h1{font-size:clamp(2.1rem,3.65vw,3.3rem);line-height:1.35}.hero h1 span{color:var(--accent)}.hero p{max-width:560px;color:var(--muted);font-size:1.1rem}.hero-visual{background:var(--dark);min-height:335px;border-radius:24px;position:relative;overflow:hidden;color:white;padding:32px;display:flex;flex-direction:column;justify-content:space-between}.hero-visual svg{position:absolute;inset:0;width:100%;height:100%;opacity:.38}.hero-visual>*:not(svg){position:relative}.visual-number{font:700 108px/1 Tahoma,sans-serif;color:#bdebdc;letter-spacing:-6px}.visual-caption{max-width:210px}.visual-caption strong{display:block;font-size:1.4rem}.pill{display:inline-block;background:var(--mint);color:#185644;padding:3px 11px;border-radius:30px;font-size:.85rem;font-weight:600}.hero-visual .pill{align-self:flex-start;background:#28565d;color:#ddf4eb}.button-row,.flex{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:36px}.stat{padding:0 24px;border-right:1px solid var(--line)}.stat:first-child{padding-left:0}.stat:last-child{border:0}.stat strong{display:block;font:700 2rem/1.25 Tahoma,sans-serif}.stat span{font-size:.9rem;color:var(--muted)}.search-form{display:flex;gap:10px;width:100%}.search-form input{flex:1;min-width:0}.search-zone{padding:25px 30px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:38px}.search-zone label{font-size:1.15rem;margin-bottom:12px}.search-hint{font-size:.875rem;color:var(--muted);margin-top:10px;margin-bottom:0}.actions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0 42px}.action-card{display:block;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;color:var(--ink)}.action-card:hover{border-color:var(--accent);text-decoration:none}.action-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--mint);border-radius:10px;margin-bottom:18px;color:var(--accent)}.action-icon svg{width:24px;height:24px}.action-card h2{font-size:1.14rem;margin-bottom:8px}.action-card p{color:var(--muted);font-size:.9rem;margin:0}.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:32px 0 18px}.section-heading h2{margin:0}.chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}.chapter-link{display:flex;gap:16px;align-items:center;border-top:1px solid var(--line);padding:20px 0;color:var(--ink)}.chapter-link:hover{text-decoration:none;color:var(--accent)}.chapter-num{font:700 1rem Tahoma;background:#e7efec;border-radius:50%;min-width:40px;height:40px;display:grid;place-items:center}.chapter-link strong{display:block}.chapter-link small{color:var(--muted)}.stage-row{display:flex;gap:10px;flex-wrap:wrap}.stage-row a{flex:1;min-width:120px;padding:20px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink)}.stage-row a:hover{border-color:var(--accent);text-decoration:none}.stage-row strong{display:block}.stage-row small{color:var(--muted)}.note{padding:18px 22px;background:#eaf3f0;border-left:3px solid var(--accent);border-radius:0 10px 10px 0;margin:22px 0;color:#294f48}.note.warn{background:#fff5df;border-color:#ba7d26;color:#745016}.page-head{margin-bottom:28px}.page-head .muted{max-width:800px}.breadcrumb{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:.875rem;margin-bottom:22px}.breadcrumb a{min-height:30px}.layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:38px;align-items:start}.sidebar{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar a{padding:10px 12px;border-radius:8px;color:var(--muted)}.sidebar a.active{background:var(--mint);color:var(--accent);font-weight:700}.sidebar h2{font-size:.9rem;margin:18px 12px 10px;color:var(--muted)}.sidebar .sub{font-size:.875rem;padding-left:24px}.content{min-width:0}.topic-list{list-style:none;padding:0;margin:0}.topic-item{border-top:1px solid var(--line);padding:20px 0}.topic-item a{display:block;color:var(--ink);font-size:1.1rem;font-weight:600}.topic-item a:hover{color:var(--accent)}.topic-meta{font-size:.85rem;color:var(--muted);margin-top:6px}.reading-panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:34px 38px}.reading-panel h1{font-size:1.9rem}.prose{font-size:1.125rem;line-height:1.95;overflow-wrap:anywhere}.prose p{margin:0 0 1.35rem}.prose h3{margin:1.8rem 0 1rem;font-size:1.25rem}.table-wrap{max-width:100%;overflow-x:auto;margin:24px 0;border:1px solid var(--line);border-radius:10px}table{border-collapse:collapse;width:100%;font-size:1rem;line-height:1.7}th{text-align:left;background:#eaf2ee;font-weight:700}td,th{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top;min-width:100px}tr:last-child td{border-bottom:0}.reading-panel .table-wrap table{min-width:450px}.sources{border-top:1px solid var(--line);padding-top:22px;margin-top:26px}.sources h2{font-size:1.15rem}.sources ul{padding-left:22px;margin-bottom:0}.sources li{margin:10px 0;overflow-wrap:anywhere}.tag-links{display:flex;gap:8px;flex-wrap:wrap}.tag-links a{padding:8px 12px;background:white;border:1px solid var(--line);border-radius:8px;font-size:.9rem;min-height:44px}.related-panel{margin-top:28px}.back-context{background:#e2f1eb;border:1px solid #b4d9c9;padding:14px 18px;border-radius:12px;margin-bottom:24px;display:flex;align-items:center;gap:12px;justify-content:space-between}.back-context span{font-size:.9rem}.progress-track{height:7px;border-radius:10px;background:#e3ece8;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--accent);border-radius:10px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin-bottom:22px}.card-study{text-align:center;padding:42px;max-width:830px;margin:24px auto}.card-study h1{font-size:1.8rem;margin:24px 0 32px}.card-study .answer{border-top:1px solid var(--line);padding-top:26px;text-align:left;font-size:1.22rem}.rating-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.rating-buttons small{display:block;font-weight:400}.rating-buttons button{flex-direction:column;gap:0}.confidence-forgot{color:var(--danger)}.confidence-unsure{color:var(--warning)}.filter-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0}.filter-row>div{flex:1;min-width:180px}.filter-row select{width:100%}.card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.memory-list-item{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;display:block;color:var(--ink)}.memory-list-item h3{margin:8px 0}.memory-list-item:hover{text-decoration:none;border-color:var(--accent)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid select{width:100%}.check-label{display:flex;gap:10px;align-items:center;font-weight:400}.check-label input{width:20px;height:20px;min-height:20px}.exam-modes{display:grid;grid-template-columns:1fr 1fr;gap:20px}.exam-modes h2{margin-bottom:6px}.mode-label{color:var(--accent);font-size:.85rem;font-weight:700}.session-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.timer{font:700 1.35rem/1.4 Tahoma;color:var(--accent);white-space:nowrap}.question-shell{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:24px}.question-panel{padding:32px}.question-panel h1{font-size:1.45rem;margin:20px 0 28px}.choice-list{display:flex;flex-direction:column;gap:12px;border:0;padding:0;margin:0 0 24px}.choice{display:flex;align-items:start;gap:12px;border:1px solid #b9ccc5;border-radius:10px;padding:15px 16px;cursor:pointer;font-weight:400;min-height:56px;margin:0}.choice:hover{background:#f0f7f3}.choice.selected{border-color:var(--accent);background:#e9f5ef}.choice.correct{border:2px solid #247454;background:#e7f4eb}.choice.wrong{border:2px solid #ba4246;background:#fff0f0}.choice input{width:19px;height:19px;min-height:19px;flex-shrink:0;margin:5px 0 0;accent-color:var(--accent)}.choice-letter{font-weight:700;min-width:22px}.choice-state{display:block;font-size:.875rem;font-weight:700}.feedback{border:1px solid #bfd7cb;background:#f0f8f2;padding:24px;border-radius:12px;margin-top:24px}.feedback.wrong{background:#fff7f2;border-color:#e0c8b6}.feedback h2{font-size:1.2rem}.feedback .reading-links{list-style:none;padding:0}.reading-links li{padding:14px 0;border-bottom:1px solid var(--line)}.reading-links li:last-child{border:0}.reading-links strong{display:block;margin-bottom:8px}.question-map{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.question-map a{display:grid;place-items:center;min-height:36px;border:1px solid var(--line);border-radius:7px;font:.85rem Tahoma;color:var(--ink);padding:6px}.question-map a.current{outline:2px solid var(--accent);outline-offset:2px}.question-map a.answered{background:#dceddf}.question-map a.correct{background:#dff1e4}.question-map a.wrong{background:#ffdedc}.question-map a.blank{background:#f3eee2}.legend{display:flex;flex-wrap:wrap;gap:6px;font-size:.8rem;color:var(--muted);margin-top:14px}.question-aside h2{font-size:1rem}.question-aside .panel{padding:20px}.result-score{font:700 3.5rem/1.2 Tahoma;color:var(--accent)}.result-hero{display:flex;gap:30px;align-items:center;margin:26px 0}.result-counts{display:flex;gap:22px;flex-wrap:wrap}.result-counts strong{display:block;font-size:1.4rem}.wrong-text{color:var(--danger)}.result-list{list-style:none;margin:0;padding:0}.result-list li{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.result-list a{flex:1}.essay-input{width:100%;min-height:300px;line-height:1.9;resize:vertical}.rubric-row{display:grid;grid-template-columns:1fr 100px;gap:18px;padding:14px 0;border-bottom:1px solid var(--line);align-items:center}.rubric-row label{font-weight:400;margin:0}.rubric-row select{width:100%}.scope-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.scope-grid .panel{margin:0}.scope-grid .panel:last-child{grid-column:1/-1}.source-catalog{margin-top:36px}.source-group{padding:20px 0;border-top:1px solid var(--line);scroll-margin-top:20px}.source-group h3{font-size:1rem}.source-group a{display:block;margin:10px 0;overflow-wrap:anywhere}.empty{padding:40px 24px;text-align:center;border:1px dashed #a7bfb5;border-radius:12px}.question-list-row{padding:16px 0;border-bottom:1px solid var(--line)}.question-list-row a{display:block}.question-list-row small{display:block}.inline-error{color:var(--danger);font-weight:600;margin:10px 0}.history-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;gap:16px;justify-content:space-between;align-items:center}.footer-inner{max-width:1216px;padding:25px 32px;margin:auto;display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between;font-size:.85rem;color:var(--muted)}footer{border-top:1px solid var(--line)}#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);padding:12px 24px;background:var(--dark);color:white;border-radius:10px;max-width:calc(100% - 32px);z-index:100;display:none}#toast.show{display:block}.saved-note{font-size:.875rem;color:var(--accent)}details>summary{cursor:pointer;padding:12px 0;font-weight:600;min-height:44px}hr{border:0;border-top:1px solid var(--line);margin:28px 0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.home-progress{padding:20px 24px;border-radius:12px;background:#e5f1eb;margin:0 0 32px}.subtitle{font-size:1.05rem;color:var(--muted)}
@media(min-width:1500px){.container{max-width:1280px}.hero{gap:70px}}@media(max-width:1050px){.header-inner{padding:16px 24px;gap:14px}.site-header nav a{padding:10px 8px;font-size:.85rem}.brand{font-size:.9rem}.brand small{font-size:.75rem}.container{padding:32px 24px 55px}.actions-grid{grid-template-columns:repeat(2,1fr)}.layout{grid-template-columns:210px minmax(0,1fr);gap:24px}.reading-panel{padding:26px}.hero{gap:24px}.hero-visual{min-height:310px}.question-shell{grid-template-columns:1fr}.question-aside{order:2}.question-map{grid-template-columns:repeat(13,1fr)}.question-aside .panel{margin:0}.exam-modes{gap:16px}}
@media(max-width:760px){.header-inner{flex-wrap:wrap;padding:14px 18px 0;gap:12px}.brand{font-size:.95rem;flex:1}.text-button{margin-left:auto}.site-header nav{width:100%;order:3;justify-content:space-between;gap:0;margin:0;padding-bottom:8px}.site-header nav a{padding:10px 7px;font-size:.83rem;min-height:44px}.container{padding:26px 18px 45px}.hero{grid-template-columns:1fr;padding-top:0;gap:24px}.hero h1{font-size:2.2rem}.hero-visual{min-height:205px;padding:24px;display:grid;grid-template-columns:1fr 1fr;align-items:end}.hero-visual .pill{grid-column:1/-1;justify-self:start}.visual-number{font-size:90px;order:3;text-align:right}.visual-caption{align-self:end}.visual-caption strong{font-size:1.2rem}.hero p{font-size:1rem}.stats-strip{grid-template-columns:repeat(2,1fr);gap:22px 0;padding:24px 0}.stat{padding:0 18px}.stat:nth-child(3){padding-left:0}.stat:nth-child(2){border:0}.stat strong{font-size:1.8rem}.stat span{font-size:.85rem}.search-zone{padding:20px;margin-bottom:24px}.search-form{gap:8px}.search-form button{padding:.6rem .8rem}.actions-grid{gap:12px;margin-bottom:30px}.action-card{padding:19px}.action-card h2{font-size:1rem}.action-card p{font-size:.875rem}.chapter-grid{grid-template-columns:1fr}.section-heading{align-items:start}.section-heading h2{font-size:1.3rem}.section-heading a{font-size:.875rem}.layout{grid-template-columns:1fr;gap:24px}.sidebar{position:static;max-height:none}.sidebar nav{flex-direction:row;overflow-x:auto;gap:8px;padding-bottom:10px}.sidebar a{white-space:nowrap;border:1px solid var(--line)}.sidebar h2,.sidebar .sub{display:none}.reading-panel{padding:24px 20px;border-radius:12px}.reading-panel h1{font-size:1.65rem}.prose{font-size:1.0625rem;line-height:1.95}.page-head h1{font-size:1.9rem}.card-study{padding:26px 20px}.card-study h1{font-size:1.5rem}.card-study .answer{font-size:1.1rem}.rating-buttons{gap:8px}.rating-buttons button{padding:10px 7px;font-size:.875rem}.rating-buttons small{font-size:.8rem}.card-list,.exam-modes,.scope-grid,.form-grid{grid-template-columns:1fr}.scope-grid .panel:last-child{grid-column:auto}.panel{padding:22px}.back-context{align-items:start;flex-direction:column}.question-panel{padding:22px 18px}.question-panel h1{font-size:1.25rem}.choice{padding:13px 12px;gap:9px}.feedback{padding:20px 16px}.question-map{grid-template-columns:repeat(8,1fr)}.question-map a{min-height:40px}.result-hero{gap:22px;flex-wrap:wrap}.result-score{font-size:2.8rem}.result-counts{gap:16px}.table-wrap{border-radius:8px}.table-wrap th,.table-wrap td{min-width:70px;padding:10px;font-size:.9rem}.reading-panel .table-wrap th,.reading-panel .table-wrap td{min-width:120px}.result-list li{align-items:start}.stage-row a{min-width:100px;padding:14px}.footer-inner{padding:22px 18px}.session-bar{align-items:start}.timer{font-size:1.1rem}.rubric-row{grid-template-columns:1fr 80px;gap:10px}.source-group a{font-size:.95rem}h1{font-size:1.85rem}.history-row{flex-wrap:wrap}.home-progress{padding:18px}.search-zone input{font-size:1rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{.site-header,.sidebar,.back-context,footer,.button-row,#toast{display:none}.container{padding:0}.layout{display:block}.reading-panel{border:0;padding:0}.table-wrap{overflow:visible}body{background:white;color:black}}
.note a,.prose a,p a,.sources a,.source-group a{text-decoration:underline;text-underline-offset:3px}

main:focus{outline:none}

.structured-answer{max-width:76ch;white-space:normal;line-height:1.9}.structured-answer h4{font-size:1.15rem;line-height:1.6;margin:1.8rem 0 1rem;padding:.7rem 1rem;border-left:4px solid #287253;background:#eef5f0}.structured-answer p,.structured-answer li{margin-bottom:1rem;overflow-wrap:anywhere}.structured-answer ul{padding-left:1.5rem}.structured-answer .answer-subpoint{margin-left:1.1rem}.answer-reference{font-size:.92em}.answer-reference a{overflow-wrap:anywhere}

.study-table{overflow-x:auto;max-width:100%;margin:1.2rem 0}.study-table table{min-width:560px;width:100%;border-collapse:collapse}.study-table th,.study-table td{padding:.75rem;text-align:left;border:1px solid #d9e3dd;vertical-align:top}
.mission-case{min-width:0;overflow-wrap:anywhere}.mission-case .study-table{overflow-wrap:normal}

/* Scoring observations remain separate from the authored exam answer. */
.assessment-notes{margin-block:1rem;border-top:1px solid var(--border,#dce3e5);padding-block:.5rem}.assessment-notes summary{cursor:pointer;min-height:44px;padding:.65rem .3rem;font-weight:700}.assessment-notes summary:focus-visible{outline:3px solid currentColor;outline-offset:3px}.assessment-observation{padding-block:.5rem 1rem;border-bottom:1px solid var(--border,#dce3e5)}.assessment-observation h4{margin-block:.5rem;line-height:1.6}.assessment-observation blockquote{margin:0;padding:.5rem 1rem;border-inline-start:3px solid currentColor;overflow-wrap:anywhere}.assessment-observation p{margin-block:.6rem}

.worked-score{margin:1.5rem 0;padding:1rem;border-left:4px solid var(--accent,#087f8c);background:var(--surface,#f4f8fa)}.worked-score summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.worked-score blockquote{margin:1rem 0;padding-left:1rem;border-left:2px solid #99b5bd;overflow-wrap:anywhere}

.site-header nav{flex-wrap:wrap;min-width:0}
