
:root{--font-ui:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--text:#121212;--muted:#6b655f;--line:#dfd8d0;--line-soft:#eee8e1;--surface:#fbf8f3;--surface-hover:#f6f0e9;--blue:#d93f1c;--blue-soft:#fde9e1;--green:#2b8a62;--green-soft:#e9f4ee;--red:#b62d30;--bookmark:#d93f1c;--radius:10px;--orange:#f4512a;--orange-dark:#d93f1c;--bg:#fbf8f3}
body{background:var(--bg)}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f4512a;outline-offset:3px}.brand-logo{max-height:52px;width:90px;object-fit:contain}.topbar{background:#fbf8f3}.part-banner{background:#f6f0e9}.question-number.is-current,.submit-btn,.entry-btn.primary{background:#f4512a}.start-screen{background:#fbf8f3}.start-card{border-radius:24px;border-color:var(--line)}.start-brand img{width:132px;max-height:88px;object-fit:contain}.mode-card.is-selected{border-color:#f4512a;background:#fff3ed}.entry-btn{border-radius:999px}.k-native-home{margin:8px 12px;background:#121212;color:#fff;border:0;border-radius:999px;padding:8px 16px;font-weight:700}.topbar .k-native-home{font-size:12px;white-space:nowrap}
body.kent-learning{overflow:auto;height:auto;min-height:100vh;font-size:15px;line-height:1.6}.k-shell{min-height:100vh;display:flex;flex-direction:column}.k-shell h1,.k-shell h2,.k-shell h3{letter-spacing:-.045em;line-height:1.15}.k-shell p{margin:0 0 14px}.k-shell h1,.k-shell h2,.k-shell h3,.k-shell h4{margin-top:0}.k-header{padding:8px max(28px,calc((100vw - 1280px)/2));display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);background:rgba(251,248,243,.97);min-height:94px}.k-logo{border:0;background:none;padding:0;flex-shrink:0}.k-logo img{width:112px;height:78px;object-fit:contain}.k-product{display:flex;flex-direction:column;border-left:1px solid var(--line);padding-left:24px}.k-product b{font-size:19px;letter-spacing:-.04em}.k-product span{font-size:12px;color:var(--muted)}.k-header nav{margin-left:auto;display:flex;align-items:center;gap:26px}.k-header nav button{border:0;background:none;font-weight:650;padding:10px 0;font-size:14px}.k-header nav button.active{color:var(--orange-dark)}.k-header nav i{font-style:normal;background:#fde9e1;border-radius:99px;padding:3px 7px;font-size:11px}.k-home{width:min(1280px,calc(100% - 64px));margin:0 auto;flex:1;padding:52px 0 70px}.k-hero{display:grid;grid-template-columns:1.35fr 1fr;gap:64px;align-items:center;padding:18px 0 45px}.k-eyebrow{font-size:11px;letter-spacing:.15em;font-weight:800;color:var(--orange-dark);text-transform:uppercase;margin:0 0 18px!important;display:flex;gap:10px;align-items:center}.k-eyebrow:before{content:"";width:24px;height:2px;background:currentColor;flex-shrink:0}.k-hero h1{font-size:clamp(36px,4.4vw,61px);font-weight:850;margin:0 0 22px;line-height:1.08}.k-hero em{font-style:normal;color:var(--orange)}.k-lead{font-size:16px;color:var(--muted);max-width:620px;line-height:1.8}.k-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 16px}.k-btn{border:1px solid transparent;border-radius:999px;padding:11px 22px;min-height:45px;background:#fff;font-weight:750;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:22px;line-height:1.5}.k-btn:hover{filter:brightness(.96)}.k-primary{background:var(--orange);color:#fff;box-shadow:0 8px 24px #f4512a22}.k-dark{background:#121212;color:#fff}.k-outline{border-color:var(--line);background:transparent}.k-text{padding:0 6px;min-height:0;background:none;border:0;font-size:inherit;color:var(--orange-dark)}.k-small{font-size:12px;color:var(--muted)}.k-method{background:#f6f0e9;border:1px solid var(--line);border-radius:26px;padding:28px 30px}.k-method>div{display:flex;gap:18px;margin-top:21px}.k-method>div>span{display:grid;place-items:center;border:1px solid #e4cfc1;background:#fff3ed;color:var(--orange-dark);border-radius:12px;flex:0 0 44px;height:44px;font-size:13px;font-weight:800}.k-method b{font-size:16px}.k-method p{font-size:13px;color:var(--muted);margin:2px 0 0}.k-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin-bottom:44px}.k-stats>div{padding:0 26px;border-right:1px solid var(--line);display:flex;flex-direction:column}.k-stats>div:first-child{padding-left:0}.k-stats>div:last-child{border:0}.k-stats b{font-size:30px;letter-spacing:-.06em}.k-stats span{font-size:12px;color:var(--muted)}.k-section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:24px}.k-section-head h2{font-size:30px;margin:0}.k-section-head .k-eyebrow{margin-bottom:12px!important}.k-unit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.k-unit{text-align:left;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;display:flex;flex-direction:column}.k-unit>div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:var(--muted)}.k-unit h3{margin:22px 0 8px;font-size:21px}.k-unit p{font-size:13px;color:var(--muted)}.k-unit-link{font-size:12px;color:var(--orange-dark);font-weight:750;margin-top:auto;padding-top:8px}.k-unit:hover{border-color:#f4512a}.k-unit.locked{background:#f6f0e9;opacity:.75}.k-unit.locked .k-unit-link{color:var(--muted)}.k-unit.done{border-color:#9fc4ae}.k-tag{font-size:10px;font-weight:800;letter-spacing:.06em;display:inline-block;background:#f6f0e9;padding:4px 9px;border-radius:6px;line-height:1.6}.k-banner{display:flex;align-items:center;gap:18px;padding:18px 22px;border:1px solid #f2c5b4;border-radius:16px;background:#fff3ed;margin:0 0 28px}.k-banner span{color:var(--muted);font-size:13px}.k-banner .k-btn{margin-left:auto}.k-message{position:relative;margin:14px auto 0;padding:12px 48px 12px 20px;width:min(1280px,calc(100% - 48px));background:#fff3ed;border:1px solid #f2c5b4;border-radius:12px;font-size:14px}.k-message button{position:absolute;right:15px;top:7px;font-size:22px;background:none;border:0}.k-foot{display:flex;justify-content:space-between;gap:20px;padding:20px max(28px,calc((100vw - 1280px)/2));border-top:1px solid var(--line);font-size:11px;color:var(--muted);margin-top:auto}.k-field{display:flex;flex-direction:column;gap:7px;min-width:0}.k-field>span{font-size:12px;font-weight:650;color:#5d554f}.k-field input,.k-field select,.k-field textarea{width:100%;padding:10px 12px;min-height:43px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);font-size:14px;line-height:1.5}.k-field textarea{resize:vertical}.k-field input::placeholder,.k-field textarea::placeholder{color:#8b837d;font-size:12px}.k-lesson{width:min(1440px,calc(100% - 56px));margin:0 auto;padding:28px 0 50px}.k-lesson-top{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}.k-lesson-top .k-eyebrow{margin-bottom:7px!important}.k-lesson-top h1{font-size:34px;margin:0}.k-steps{display:flex;border:1px solid var(--line);border-radius:16px;background:#fff;padding:16px 20px;gap:16px;margin-bottom:26px}.k-steps>div{display:flex;align-items:center;gap:9px;flex:1;font-size:11px;color:var(--muted)}.k-steps>div>span{border:1px solid var(--line);border-radius:50%;height:27px;width:27px;flex-shrink:0;display:grid;place-items:center}.k-steps .current{color:var(--orange-dark)}.k-steps .current>span{background:var(--orange);color:#fff;border-color:var(--orange)}.k-steps .passed{color:var(--green)}.k-steps .passed>span{background:#e9f4ee;border-color:#9fc4ae}.k-lesson-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:26px;align-items:start}.k-source{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow-y:auto;padding-right:4px}.k-reference{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.k-ref-head{display:flex;flex-direction:column;padding:15px 20px;border-bottom:1px solid var(--line);background:#f6f0e9}.k-ref-head b{font-size:14px}.k-ref-head span{font-size:11px;color:var(--muted)}.k-ref-body{padding:22px;font-size:14px;overflow-x:auto;max-height:52vh;overflow-y:auto}.k-ref-body .question-group{padding:0;margin:0;border:0}.k-ref-body .group-header h3{font-size:18px}.k-ref-body .text-slot{width:86px;min-width:0;height:29px}.k-ref-body .option-pool{position:static;width:auto;min-width:0}.k-ref-body .matching-layout,.k-ref-body .reference-map-layout,.k-ref-body .spatial-layout{display:block}.k-ref-body .option-pool{margin-top:15px}.k-ref-body .pool-chip{font-size:12px}.k-ref-body input:disabled,.k-ref-body button:disabled{opacity:1;color:#5d554f;cursor:default}.k-ref-body .question-card{padding:14px 0}.k-ref-body .choice-row{padding:8px}.k-ref-body .matching-row{font-size:12px;gap:8px}.k-audio{background:#fff;border:1px solid var(--line);border-radius:16px;margin:16px 0 10px;padding:16px 20px}.k-audio-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px}.k-audio-heading label{font-size:11px;color:var(--muted)}.k-audio-heading select{border:1px solid var(--line);border-radius:6px;background:#fff;padding:3px}.k-audio audio{width:100%;height:42px}.k-audio details{font-size:12px}.k-audio summary{cursor:pointer;font-weight:650;color:var(--orange-dark)}.k-audio details .k-field{margin:12px 0}.k-evidence-note{padding:0 12px}.k-thinking{min-width:0}.k-thinking-head{margin:0 0 18px}.k-thinking-head h2{font-size:26px;margin:12px 0 0}.k-help{font-size:13px;line-height:1.7;color:var(--muted)}.k-q-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:16px;overflow:hidden}.k-q-title{display:flex;align-items:start;gap:12px;margin-bottom:18px;font-size:14px;line-height:1.5}.k-q-title>span{background:#f6f0e9;border-radius:8px;min-width:30px;text-align:center;padding:4px 7px;font-size:12px;font-weight:800;flex-shrink:0}.k-q-title>b{padding-top:4px}.k-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.k-step-actions{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:20px 0}.k-location{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px;margin-bottom:14px}.k-location button{border:1px solid var(--line);background:#f6f0e9;border-radius:9px;padding:10px;font-size:12px;min-height:43px}.k-location>button:last-child{grid-column:1 / -1;color:var(--orange-dark)}.k-tip{background:#fff3ed;border:1px solid #f2c5b4;padding:18px 20px;border-radius:14px;margin-bottom:20px;font-size:13px}.k-tip p{color:var(--muted);margin:6px 0 0}.k-order-row{display:grid;grid-template-columns:1.1fr .9fr 1fr;gap:12px;align-items:center;border-top:1px solid var(--line-soft);padding:14px 0;font-size:13px}.k-answer-options{border:0;padding:0;margin:0 0 18px}.k-answer-options legend{font-size:12px;font-weight:650;margin-bottom:10px}.k-answer-options label{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:10px;margin-bottom:8px;font-size:13px}.k-result{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:20px;border-radius:16px;background:#f6f0e9;margin-bottom:18px}.k-result h2{font-size:38px;margin:0}.k-result h2 span{color:var(--muted);font-size:22px}.k-result .k-eyebrow{font-size:9px;margin-bottom:8px!important}.k-result>p{max-width:270px;font-size:13px;color:var(--muted);margin:0}.k-q-card>p{font-size:13px}.k-green{background:#e9f4ee;color:var(--green)}.k-red{background:#fde9e1;color:#b62d30}.k-needs-repair{border-color:#f2c5b4}.k-diagnosis{border-top:1px solid var(--line-soft);padding-top:18px;margin-top:18px}.k-diagnosis h4{font-size:14px;margin:0 0 12px}.k-categories{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:18px}.k-categories label{display:flex;align-items:start;gap:7px;font-size:11px}.k-categories input{accent-color:var(--orange);margin-top:4px}.k-repair-task{border:1px solid var(--line);border-radius:12px;padding:16px;margin:16px 0;background:#fbf8f3;font-size:13px}.k-repair-task p{font-size:12px;color:var(--muted);margin:7px 0 12px}.k-success{background:#e9f4ee;color:var(--green);border-radius:9px;padding:12px;font-size:12px}.k-retry{background:#fbf8f3;padding:16px;border-radius:12px;font-size:13px}.k-retry>.k-field,.k-retry>.k-answer-options{margin:16px 0}.k-lock-note{font-size:12px;color:var(--orange-dark)}.k-page-title{font-size:42px;margin-bottom:16px}.k-journal{margin-top:25px}.k-journal article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin:14px 0}.k-journal h3{font-size:19px;margin:12px 0}.k-journal p{font-size:13px;color:var(--muted);margin:6px 0}.k-journal small{font-size:11px;color:var(--muted)}.k-journal details{font-size:12px;margin-top:10px}.k-error-chips{display:flex;flex-wrap:wrap;gap:10px}.k-error-chips span{background:#f6f0e9;border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-size:12px}.k-error-chips b{color:var(--orange-dark);padding-left:6px}.k-empty{padding:55px 25px;text-align:center;border:1px dashed var(--line);border-radius:22px;margin:40px 0}.k-empty h2{font-size:25px}.k-empty p{color:var(--muted)}.k-route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.k-map-tools{font-size:11px;padding:12px 20px;color:var(--muted);border-top:1px solid var(--line)}.k-ref-body .reference-map-image,.k-ref-body .diagram-image{cursor:crosshair}.k-source::-webkit-scrollbar,.k-ref-body::-webkit-scrollbar{width:5px;height:5px}.k-source::-webkit-scrollbar-thumb,.k-ref-body::-webkit-scrollbar-thumb{background:#d8cfc5;border-radius:10px}
@media(min-width:1600px){.k-home{padding-top:70px}.k-hero{padding-bottom:60px}}
@media(max-width:1050px){.k-header{padding:8px 24px;gap:16px}.k-header nav{gap:16px}.k-product span{display:none}.k-hero{gap:30px}.k-hero h1{font-size:42px}.k-method{padding:24px}.k-unit-grid{grid-template-columns:repeat(2,1fr)}.k-lesson-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:18px}.k-order-row{grid-template-columns:1fr 1fr}.k-order-row>div{grid-column:1 / -1}.k-fields{grid-template-columns:1fr}.k-steps{gap:10px;padding:14px}.k-steps b{font-size:10px}.k-q-card{padding:16px}.k-result{gap:15px}.k-result>p{max-width:200px}}
@media(max-width:720px){.k-header{flex-wrap:wrap;gap:14px;padding:8px 20px}.k-logo img{width:84px;height:62px}.k-product{padding-left:16px}.k-header nav{width:100%;justify-content:space-between;border-top:1px solid var(--line);gap:12px}.k-header nav button{font-size:12px;padding:8px 0}.k-home{width:calc(100% - 40px);padding:30px 0}.k-hero{grid-template-columns:1fr;gap:25px;padding:0 0 28px}.k-hero h1{font-size:39px}.k-lead{font-size:14px}.k-method{padding:22px}.k-method>div{margin-top:17px}.k-method>div>span{height:36px;flex-basis:36px}.k-stats{padding:18px 0;margin-bottom:30px}.k-stats>div{padding:0 12px}.k-stats b{font-size:25px}.k-stats span{font-size:10px}.k-section-head{align-items:start;flex-direction:column;gap:16px}.k-section-head .k-field{width:100%}.k-section-head h2{font-size:25px}.k-unit-grid{grid-template-columns:1fr}.k-banner{align-items:start;flex-direction:column;gap:8px}.k-banner .k-btn{margin:0}.k-foot{padding:18px 20px;flex-direction:column;gap:5px}.k-lesson{width:calc(100% - 32px);padding:24px 0}.k-lesson-top{gap:12px}.k-lesson-top h1{font-size:26px}.k-lesson-top .k-eyebrow{font-size:9px}.k-lesson-top .k-btn{font-size:11px;padding:8px 13px;min-height:36px}.k-steps{overflow-x:auto;gap:18px}.k-steps>div{min-width:100px}.k-steps b{font-size:10px}.k-lesson-grid{grid-template-columns:1fr}.k-source{position:static;max-height:none;padding:0}.k-ref-body{max-height:40vh}.k-thinking-head h2{font-size:24px}.k-fields{grid-template-columns:1fr 1fr;gap:12px}.k-field input,.k-field select,.k-field textarea{font-size:16px}.k-categories{grid-template-columns:1fr}.k-result{padding:18px}.k-result h2{font-size:32px}.k-page-title{font-size:33px}.k-journal article{flex-direction:column;align-items:start}.k-journal h3{font-size:17px}}
@media(max-width:400px){.k-fields{grid-template-columns:1fr}.k-hero h1{font-size:33px}.k-header nav button{font-size:11px}.k-hero-actions .k-btn{padding:10px 17px}}

.k-image-panel{margin:12px 0;padding:16px 20px;background:#fff;border:1px solid var(--line);border-radius:14px;font-size:12px}.k-image-panel summary{cursor:pointer;color:var(--orange-dark);font-weight:650}.k-image-panel .k-field{margin:12px 0}.k-missing-map{min-height:160px;width:100%;background:#f6f0e9;padding:20px;font-size:13px;border:1px dashed var(--line);border-radius:10px}

/* ===== KENT UI v1.1: compact shell + guided single-question workspace ===== */
:root{--k-paper:#fbf8f3;--k-tint:#f6f0e9;--k-cream:#fff3e9;--k-accent:#f4512a;--k-ink:#121212;--k-faint:#e6d9ce}
.k-shell .k-header{min-height:58px;padding:5px max(24px,calc((100vw - 1360px)/2));gap:13px}
.k-shell .k-logo img{width:66px;height:45px;object-fit:contain}
.k-shell .k-product{padding-left:14px}
.k-shell .k-product b{font-size:16px;line-height:1.2}
.k-shell .k-product span{font-size:10px}
.k-shell .k-header nav{gap:22px}
.k-shell .k-header nav button{padding:6px 0;font-size:12px;transition:color .18s ease}
.k-shell .k-header nav button:hover{color:var(--k-accent)}
.k-shell.k-page-lesson .k-header{position:sticky;top:0;z-index:80;min-height:52px;box-shadow:0 5px 20px rgba(18,18,18,.025)}
.k-shell.k-page-lesson .k-logo img{width:56px;height:37px}
.k-shell.k-page-lesson .k-product span{display:none}
.k-shell.k-page-lesson .k-product b{font-size:14px}
.k-shell.k-page-lesson .k-foot{display:none}

/* Dashboard: prioritise resuming the work */
.k-shell .k-home{width:min(1280px,calc(100% - 52px));padding:26px 0 48px}
.k-shell .k-hero{grid-template-columns:1.4fr 1fr;gap:36px;padding:8px 0 24px}
.k-shell .k-hero h1{font-size:clamp(32px,3.5vw,51px);margin-bottom:12px;line-height:1.12}
.k-shell .k-eyebrow{margin-bottom:10px!important}
.k-shell .k-lead{font-size:14px;line-height:1.65}
.k-shell .k-hero-actions{margin:18px 0 12px}
.k-shell .k-method{padding:20px 24px;border-radius:22px}
.k-shell .k-method>div{gap:12px;margin-top:12px}
.k-shell .k-method>div>span{flex-basis:36px;height:36px;border-radius:10px}
.k-shell .k-method b{font-size:13px}
.k-shell .k-method p{font-size:11px}
.k-shell .k-stats{padding:15px 0;margin-bottom:28px}
.k-shell .k-stats b{font-size:25px}
.k-shell .k-section-head{margin-bottom:16px}
.k-shell .k-section-head h2{font-size:24px}
.k-shell .k-unit-grid{gap:13px}
.k-shell .k-unit{position:relative;overflow:hidden;background:#f6f0e9;border-color:#e4d8cd;border-radius:18px;padding:19px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.k-shell .k-unit h3{font-size:19px;margin:18px 0 8px}
.k-shell .k-unit p{font-size:12px}
.k-shell .k-unit:not(.locked):hover{transform:translateY(-3px);border-color:#ee9979;box-shadow:0 10px 24px rgba(82,45,27,.09);background:#fbf3ec}
.k-shell .k-unit.is-current{background:linear-gradient(135deg,#fff2e9 0%,#f8ede4 100%);border-color:#ed9a7c;box-shadow:0 6px 20px rgba(172,86,45,.09)}
.k-shell .k-unit.is-current:before{content:"";position:absolute;left:0;top:15px;bottom:15px;width:4px;border-radius:0 8px 8px 0;background:var(--k-accent)}
.k-shell .k-unit.is-current .k-unit-link{color:#c63e1c}
.k-shell .k-unit.done{background:#eef4ed;border-color:#bbd2be}
.k-shell .k-unit.locked{background:#f2ede6;opacity:.72}

/* Lesson: move chrome out of the student's attention path */
.k-shell .k-lesson{width:min(1440px,calc(100% - 36px));padding:12px 0 100px}
.k-shell .k-lesson-top{margin-bottom:10px;gap:12px}
.k-shell .k-lesson-top h1{font-size:24px;line-height:1.13}
.k-shell .k-lesson-top .k-eyebrow{font-size:10px;margin-bottom:3px!important}
.k-shell .k-exit{padding:7px 13px;min-height:35px;font-size:12px;white-space:nowrap}
.k-shell .k-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:0 0 13px;background:transparent;border:0;padding:0;overflow:visible}
.k-shell .k-steps>div{min-width:0;display:flex;align-items:center;gap:7px;background:#f2ece5;border:1px solid #e6d9ce;border-radius:10px;padding:7px 9px;color:#7b736e}
.k-shell .k-steps>div>span{width:22px;height:22px;flex:0 0 22px;font-size:10px;background:#fbf8f3}
.k-shell .k-steps>div>b{font-size:10px;line-height:1.28;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.k-shell .k-steps>div.current{background:#fff1e8;color:#b73615;border-color:#ebae92;box-shadow:inset 0 -2px 0 rgba(244,81,42,.14)}
.k-shell .k-steps>div.current>span{background:var(--k-accent);border-color:var(--k-accent);color:white}
.k-shell .k-steps>div.passed{background:#f0f6ef;color:#3b7350;border-color:#cfe0cc}
.k-shell .k-steps>div.passed>span{border-color:#bad9c0;background:#e2f1e5}
.k-shell .k-lesson-grid{display:grid;grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr);gap:16px;align-items:start}
.k-shell .k-source{top:66px;max-height:calc(100vh - 163px);overflow-y:auto;padding-right:5px;scrollbar-width:thin;scrollbar-color:#d8cabd transparent}
.k-shell .k-source .k-audio{margin:0 0 10px;padding:11px 14px;background:#f7f0e9;border-color:#e8d9cc;border-radius:15px}
.k-shell .k-source .k-audio-heading{margin:0 0 6px}
.k-shell .k-source .k-audio audio{height:35px}
.k-shell .k-source .k-audio details{margin-top:5px}
.k-shell .k-source .k-reference{border-color:#e5d9cf;border-radius:15px;background:#fffdfa}
.k-shell .k-source .k-ref-head{padding:10px 14px;background:#f7f0e9}
.k-shell .k-source .k-ref-head b{font-size:12px}
.k-shell .k-source .k-ref-head span{font-size:10px}
.k-shell .k-ref-body{padding:13px 15px;max-height:47vh;font-size:13px}
.k-shell .k-ref-body [data-q-anchor].k-source-active{background:#fff1e5!important;outline:2px solid rgba(244,81,42,.42);outline-offset:2px;border-radius:5px;transition:background .15s ease}
.k-shell .k-evidence-note{margin:8px 3px;font-size:10px;line-height:1.5}
.k-shell .k-thinking{border:1px solid #e7dacf;border-radius:18px;padding:15px;background:#f8f2ec;min-height:390px;box-shadow:0 5px 20px rgba(65,43,24,.035)}
.k-shell .k-focus-status{display:flex;gap:7px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:7px}
.k-shell .k-stage-tag{display:inline-flex;align-items:center;border:1px solid #e9c5b2;color:#b83a18;background:#fff0e7;padding:4px 9px;border-radius:99px;font-size:10px;font-weight:850;letter-spacing:.06em}
.k-shell .k-focus-question{font-size:10px;font-weight:850;color:#817167;letter-spacing:.035em}
.k-shell .k-thinking-head{margin:0 0 12px}
.k-shell .k-thinking-head h2{font-size:23px;line-height:1.2;margin:0 0 4px}
.k-shell .k-step-explainer{font-size:11px;color:#72665e;margin:0!important;line-height:1.55}
.k-shell .k-thinking-body{animation:k-focus-enter .16s ease-out}
.k-shell .k-thinking-body>.k-help,.k-shell .k-thinking-body>.k-tip{font-size:11px;line-height:1.55}
.k-shell .k-thinking-body>.k-help{margin-bottom:10px}
.k-shell .k-thinking .k-q-card{padding:16px;background:#fffdfa;border:1px solid #e6d9ce;border-radius:14px;box-shadow:0 4px 12px rgba(57,38,21,.035);margin-bottom:8px}
.k-shell .k-thinking .k-q-title{border-bottom:1px solid #f0e6dd;margin-bottom:13px;padding-bottom:12px}
.k-shell .k-thinking .k-fields{gap:10px;margin-bottom:12px}
.k-shell .k-thinking .k-field{gap:5px}
.k-shell .k-thinking .k-field>span{font-size:11px;color:#504740;font-weight:730}
.k-shell .k-thinking .k-field input,.k-shell .k-thinking .k-field textarea,.k-shell .k-thinking .k-field select{padding:8px 10px;min-height:38px;font-size:12px;border-color:#ddcfc3;background:#fff}
.k-shell .k-thinking .k-field textarea{min-height:64px}
.k-shell .k-thinking .k-order-row{padding:10px 0}
.k-shell .k-thinking .k-result{padding:12px 15px;margin:0 0 10px}
.k-shell .k-thinking .k-result h2{font-size:27px}
.k-shell .k-thinking .k-categories{gap:7px}
.k-shell .k-thinking .k-repair-task{background:#fbf4ee}
.k-shell .k-thinking :is(input,select,textarea):focus{border-color:var(--k-accent);box-shadow:0 0 0 3px rgba(244,81,42,.09)}

/* Fixed, purpose-built learning navigator */
.k-shell .k-focus-dock{position:fixed;bottom:0;left:0;right:0;z-index:90;background:rgba(251,248,243,.97);border-top:1px solid #d8c8bb;box-shadow:0 -9px 28px rgba(37,24,15,.08);backdrop-filter:blur(16px)}
.k-shell .k-focus-dock-inner{width:min(1440px,calc(100% - 36px));min-height:65px;margin:auto;padding:8px 0;display:flex;align-items:center;gap:16px}
.k-shell .k-dock-meta{width:170px;min-width:140px;display:grid;gap:1px;line-height:1.35}
.k-shell .k-dock-meta b{font-size:11px;white-space:nowrap}
.k-shell .k-dock-meta span{font-size:10px;color:#83776f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.k-shell .k-dock-questions{flex:1;min-width:0;display:flex;gap:5px;align-items:center;overflow-x:auto;padding:4px 3px;scrollbar-width:thin}
.k-shell .k-question-chip{flex:0 0 auto;min-width:31px;height:31px;padding:0 6px;background:#f5eee7;color:#4f4640;border:1px solid #dccdc1;border-radius:9px;font-size:11px;font-weight:800;transition:background .17s,border-color .17s,transform .17s}
.k-shell .k-question-chip:hover{transform:translateY(-1px);border-color:#de805e;background:#fff1e7}
.k-shell .k-question-chip.is-ready:not(.is-active){border-color:#b3ceb8;background:#eff5ed;color:#36744d}
.k-shell .k-question-chip.is-active{background:#f4512a;color:#fff;border-color:#f4512a;box-shadow:0 3px 10px rgba(244,81,42,.18)}
.k-shell .k-shared-step-label{font-size:12px;color:#6b6059;font-weight:750}
.k-shell .k-dock-actions{flex:0 0 auto;display:flex;align-items:center;gap:8px}
.k-shell .k-dock-btn{padding:8px 13px;min-height:36px;font-size:11px;white-space:nowrap;gap:8px}
.k-shell .k-lock-note{font-size:11px;line-height:1.4;max-width:210px}
.k-shell .k-message{position:fixed;top:65px;left:50%;transform:translateX(-50%);width:min(650px,calc(100% - 40px));z-index:120;box-shadow:0 12px 28px rgba(100,55,30,.13)}
@keyframes k-focus-enter{from{opacity:.75;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.k-shell .k-home{padding-top:30px}.k-shell .k-hero{padding-bottom:28px}}
@media(max-width:1120px){
 .k-shell .k-lesson-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:10px}
 .k-shell .k-dock-meta{display:none}
 .k-shell .k-steps>div{padding:6px}.k-shell .k-steps>div>b{font-size:9px}
 .k-shell .k-home{width:calc(100% - 40px)}
 .k-shell .k-hero{gap:22px}
}
@media(max-width:780px){
 .k-shell .k-header{padding:5px 12px;gap:9px;flex-wrap:wrap;min-height:53px}
 .k-shell .k-logo img{width:55px;height:40px}
 .k-shell .k-product{padding-left:10px}
 .k-shell .k-product b{font-size:14px}
 .k-shell .k-product span{display:none}
 .k-shell .k-header nav{margin-left:auto;width:auto;border:0;gap:11px;justify-content:flex-end}
 .k-shell .k-header nav button{font-size:11px;padding:5px 0}
 .k-shell .k-header nav button:last-child{display:none}
 .k-shell .k-home{width:calc(100% - 28px);padding:18px 0 36px}
 .k-shell .k-hero{grid-template-columns:1fr;gap:14px}
 .k-shell .k-hero h1{font-size:34px}
 .k-shell .k-method{padding:15px}
 .k-shell .k-method>div{margin-top:9px}
 .k-shell .k-stats{gap:5px}
 .k-shell .k-stats>div{padding:0 8px}
 .k-shell .k-lesson{width:calc(100% - 24px);padding:10px 0 118px}
 .k-shell .k-lesson-top h1{font-size:20px}
 .k-shell .k-steps{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none}
 .k-shell .k-steps>div{flex:0 0 auto;min-width:0;max-width:170px}
 .k-shell .k-steps>div>b{max-width:115px}
 .k-shell .k-lesson-grid{grid-template-columns:1fr}
 .k-shell .k-source{position:static;top:auto;max-height:none;overflow:visible;padding:0}
 .k-shell .k-ref-body{max-height:30vh}
 .k-shell .k-thinking{padding:13px;min-height:280px}
 .k-shell .k-thinking-head h2{font-size:20px}
 .k-shell .k-focus-dock-inner{width:calc(100% - 18px);gap:7px;flex-wrap:wrap}
 .k-shell .k-dock-questions{width:100%;flex-basis:100%;justify-content:center;order:0}
 .k-shell .k-dock-actions{order:1;width:100%;justify-content:space-between}
 .k-shell .k-dock-btn{flex:1;padding:7px 8px}
 .k-shell .k-lock-note{max-width:none}
}
@media(max-width:420px){.k-shell .k-header nav{gap:7px}.k-shell .k-header nav button{font-size:10px}.k-shell .k-thinking .k-fields{grid-template-columns:1fr}.k-shell .k-lesson-top .k-exit{font-size:10px}.k-shell .k-hero h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.k-shell .k-unit,.k-shell .k-question-chip,.k-shell .k-thinking-body{transition:none;animation:none}.k-shell .k-unit:hover,.k-shell .k-question-chip:hover{transform:none}}
/* Bound wide Cambridge tables to their own scroll container on narrow screens. */
@media(max-width:780px){
 .k-shell .k-lesson-grid{grid-template-columns:minmax(0,1fr)}
 .k-shell .k-source,.k-shell .k-thinking,.k-shell .k-reference,.k-shell .k-ref-body{min-width:0;max-width:100%}
 .k-shell .k-reference{overflow:hidden}
 .k-shell .k-ref-body{overflow-x:auto;overscroll-behavior-x:contain}
 .k-shell .k-ref-body .question-group{min-width:0}
 .k-shell .k-ref-body .completion-template{min-width:0}
}
.k-shell .k-native-short{display:none}
.k-shell .k-source-details>summary{display:none}
.k-shell .k-source-details{min-width:0}
@media(max-width:780px){
 .k-shell .k-header nav button:last-child{display:inline-flex}
 .k-shell .k-native-wide{display:none}
 .k-shell .k-native-short{display:inline}
 .k-shell .k-source-details{border:1px solid #e8d9cc;border-radius:12px;margin-bottom:8px;background:#f7f0e9;overflow:hidden}
 .k-shell .k-source-details>summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;padding:10px 12px;font-size:11px;font-weight:850;color:#b43a1a}
 .k-shell .k-source-details>summary span{color:#87756a;font-size:9px;font-weight:650}
 .k-shell .k-source-details .k-reference{margin:0 9px 9px}
 .k-shell .k-source-details .k-evidence-note{margin:8px 12px}
}
.k-shell #k-test-picker{background:#f6f0e9;border-color:#decbbd;color:#29211c;font-weight:750;transition:border-color .18s,box-shadow .18s}
.k-shell #k-test-picker:hover,.k-shell #k-test-picker:focus{border-color:#eb9d7d;box-shadow:0 0 0 3px rgba(244,81,42,.08)}

/* ===== KENT Listening v1.2 — fixed lesson workstation ===== */
/* One compact app header carries the lesson identity, leaving the stage for learning. */
.k-shell.k-page-lesson .k-header{gap:12px;min-height:50px;padding-top:4px;padding-bottom:4px;flex-shrink:0}
.k-shell.k-page-lesson .k-logo img{width:48px;height:35px}
.k-shell.k-page-lesson .k-product{padding-left:11px}
.k-shell.k-page-lesson .k-product b{font-size:13px;white-space:nowrap}
.k-shell.k-page-lesson .k-lesson-identity{display:flex;flex-direction:column;gap:0;min-width:0;margin-left:8px;padding-left:18px;border-left:1px solid #ded4ca;line-height:1.3}
.k-shell .k-lesson-identity>span{color:#b84625;font-size:9px;letter-spacing:.07em;font-weight:850;text-transform:uppercase;white-space:nowrap}
.k-shell .k-lesson-identity>strong{color:#201b18;font-size:15px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.k-shell .k-header-progress{display:flex;gap:6px;align-items:center;margin-left:4px}
.k-shell .k-header-progress span{padding:4px 9px;border-radius:999px;border:1px solid #e7d6ca;background:#f6efe8;font-size:10px;font-weight:800;color:#66554c;white-space:nowrap}
.k-shell.k-page-lesson .k-header nav{gap:15px}
.k-shell.k-page-lesson .k-header nav button{font-size:11px}

/* Audio belongs to the whole lesson, never above only the left column. */
.k-shell .k-lesson-audio{flex:0 0 auto;min-width:0;margin:0 0 9px}
.k-shell .k-audio-strip{display:grid;grid-template-columns:minmax(145px,180px) minmax(0,1fr) auto minmax(75px,118px);gap:12px;align-items:center;margin:0;padding:8px 13px;border:1px solid #e1d3c6;border-radius:13px;background:#f5ede5;min-height:57px}
.k-shell .k-audio-id{display:flex;align-items:center;gap:9px;min-width:0}
.k-shell .k-audio-symbol{width:33px;height:33px;flex:0 0 33px;display:grid;place-items:center;background:#f4512a;color:white;border-radius:10px;font-size:18px;font-weight:700}
.k-shell .k-audio-id>div{min-width:0;display:flex;flex-direction:column;gap:0;line-height:1.35}
.k-shell .k-audio-id b{font-size:12px;white-space:nowrap}
.k-shell .k-audio-id>div>span{font-size:9px;color:#76675d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.k-shell .k-player-slot{min-width:0;display:flex;align-items:center}
.k-shell .k-player-slot audio{display:block;width:100%;height:38px;min-width:0}
.k-shell .k-player-slot[inert] audio{opacity:.48;filter:grayscale(.7)}
.k-shell .k-audio-utility{display:flex;align-items:center;gap:7px;white-space:nowrap}
.k-shell .k-audio-utility label{font-size:10px;font-weight:750;color:#73645a}
.k-shell .k-audio-utility select{border:1px solid #dccdc1;background:#fffaf6;border-radius:8px;padding:5px 7px;color:#211b17;font-size:11px}
.k-shell .k-audio-status{font-size:10px;font-weight:700;line-height:1.3;color:#a14b28;max-height:33px;overflow:hidden}
.k-shell .k-lesson{padding:8px 0 78px}
.k-shell .k-steps{margin-bottom:9px;gap:5px}
.k-shell .k-steps>div{padding:5px 8px;border-radius:9px;min-height:32px}
.k-shell .k-steps>div>span{width:20px;height:20px;flex-basis:20px;font-size:9px}
.k-shell .k-steps>div>b{font-size:10px}
.k-shell .k-source .k-reference{border-radius:16px;background:#fffdfa;border:1px solid #e5d9cf}
.k-shell .k-source .k-ref-head{padding:10px 14px}
.k-shell .k-thinking{border-radius:16px}
.k-shell .k-source-details{min-width:0}
.k-shell .k-ref-body{overscroll-behavior:contain}
.k-shell .k-thinking{overscroll-behavior:contain}

/* On a desktop, outer page is immobile. Each of two aligned panels owns its scroll. */
@media(min-width:901px) and (min-height:580px){
 body.kent-learning:has(.k-page-lesson){height:100dvh;min-height:0;overflow:hidden}
 .k-shell.k-page-lesson{height:100dvh;min-height:0;overflow:hidden}
 .k-shell.k-page-lesson .k-header{position:relative;top:auto}
 .k-shell.k-page-lesson .k-lesson{width:min(1440px,calc(100% - 36px));flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;margin:0 auto;padding:8px 0 76px}
 .k-shell.k-page-lesson .k-steps{flex:0 0 auto}
 .k-shell.k-page-lesson .k-lesson-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr);gap:13px;align-items:stretch}
 .k-shell.k-page-lesson .k-source{position:static;top:auto;max-height:none;height:100%;min-height:0;min-width:0;overflow:hidden;padding:0;display:flex;flex-direction:column}
 .k-shell.k-page-lesson .k-source-details[open]{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
 .k-shell.k-page-lesson .k-source-details>.k-reference{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}
 .k-shell.k-page-lesson .k-reference .k-ref-head{flex:0 0 auto}
 .k-shell.k-page-lesson .k-ref-body{flex:1;min-height:0;max-height:none;overflow:auto}
 .k-shell.k-page-lesson .k-evidence-note{flex:0 0 auto;margin:5px 2px 0;font-size:9px;line-height:1.25}
 .k-shell.k-page-lesson .k-thinking{height:100%;min-height:0;max-height:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d4c4b7 transparent}
 .k-shell.k-page-lesson .k-focus-dock-inner{min-height:62px}
}
@media(min-width:901px) and (max-width:1120px){
 .k-shell .k-header-progress{display:none}
 .k-shell .k-audio-strip{grid-template-columns:140px minmax(0,1fr) auto 80px;gap:8px}
 .k-shell.k-page-lesson .k-lesson-grid{gap:10px}
}
@media(max-width:900px){
 .k-shell.k-page-lesson .k-header{flex-wrap:wrap;gap:7px;padding:6px 14px}
 .k-shell.k-page-lesson .k-header nav{margin-left:auto;gap:12px}
 .k-shell.k-page-lesson .k-lesson-identity{padding-left:10px;margin-left:2px}
 .k-shell.k-page-lesson .k-lesson-identity>span{font-size:8px}
 .k-shell.k-page-lesson .k-lesson-identity>strong{font-size:12px}
 .k-shell.k-page-lesson .k-header-progress{display:none}
 .k-shell .k-lesson{padding-top:9px}
 .k-shell .k-audio-strip{grid-template-columns:minmax(120px,165px) minmax(0,1fr) auto;gap:8px}
 .k-shell .k-audio-status{display:none}
}
@media(min-width:781px) and (max-width:900px){
 .k-shell .k-lesson-grid{grid-template-columns:1fr}
 .k-shell .k-source{position:static;max-height:none;overflow:visible}
 .k-shell .k-ref-body{max-height:38vh}
}
@media(max-width:780px){
 .k-shell.k-page-lesson .k-header{gap:6px}
 .k-shell.k-page-lesson .k-header nav{width:100%;justify-content:space-between;border-top:1px solid #e7dcd3;margin:1px 0 0;padding-top:2px}
 .k-shell.k-page-lesson .k-header nav button{font-size:10px}
 .k-shell.k-page-lesson .k-logo img{width:38px;height:30px}
 .k-shell.k-page-lesson .k-product{padding-left:8px}
 .k-shell.k-page-lesson .k-product b{font-size:12px}
 .k-shell.k-page-lesson .k-lesson-identity{flex:1}
 .k-shell .k-audio-strip{grid-template-columns:1fr auto;gap:6px 10px;padding:9px}
 .k-shell .k-audio-id{grid-column:1}
 .k-shell .k-audio-utility{grid-column:2;grid-row:1}
 .k-shell .k-player-slot{grid-column:1/-1;grid-row:2}
 .k-shell .k-audio-strip audio{height:35px}
 .k-shell .k-source-details{max-width:100%}
 .k-shell .k-lesson-grid{align-items:start}
 .k-shell .k-thinking{min-height:0}
}
/* Chromium lays out <details> contents inside an internal anonymous wrapper.
   Absolutely place its reference on desktop so it cannot outgrow the frozen frame. */
@media(min-width:901px) and (min-height:580px){
 .k-shell.k-page-lesson .k-source-details[open]{position:relative;display:block;height:100%;flex:1;min-height:0}
 .k-shell.k-page-lesson .k-source-details>.k-reference{position:absolute;inset:0 0 20px;display:flex;height:auto;min-height:0;flex-direction:column}
 .k-shell.k-page-lesson .k-ref-body{flex:1;min-height:0;height:0;max-height:none;overflow:auto}
 .k-shell.k-page-lesson .k-evidence-note{position:absolute;bottom:1px;left:3px;right:3px;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .k-shell.k-page-lesson .k-image-panel{position:absolute;right:11px;bottom:27px;z-index:4;max-width:min(420px,90%);max-height:calc(100% - 40px);overflow:auto;margin:0;padding:7px 10px;border-radius:9px;box-shadow:0 6px 23px rgba(45,27,15,.12)}
}

/* ===== KENT Listening v1.4 — Exam Results & Error-to-Improvement ===== */
body:has(.kr-screen){height:auto!important;min-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0!important;background:#fbf8f3!important}
.kr-screen{--kr-orange:#f4512a;--kr-black:#121212;--kr-line:#e9ddd3;--kr-muted:#7c7068;min-height:100dvh;color:var(--kr-black);background:#fbf8f3;font-family:"Be Vietnam Pro",Arial,sans-serif;font-size:14px;line-height:1.5}
.kr-screen *{box-sizing:border-box}
.kr-screen button,.kr-screen input,.kr-screen select,.kr-screen textarea{font:inherit}
.kr-screen button{cursor:pointer}
.kr-screen :focus-visible{outline:3px solid rgba(244,81,42,.4);outline-offset:3px}
.kr-header{min-height:62px;padding:8px max(22px,calc((100vw - 1250px)/2));display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--kr-line);background:#fbf8f3}
.kr-brand{display:flex;align-items:center;gap:10px;min-width:0;font-weight:850;font-size:14px}.kr-brand img{width:67px;height:38px;object-fit:contain}.kr-brand span{display:flex;flex-direction:column}.kr-brand small{color:var(--kr-muted);font-size:10px;font-weight:650}
.kr-header-actions,.kr-hero-actions,.kr-retry-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.kr-btn{border:1px solid var(--kr-line);background:#fffaf6;border-radius:11px;padding:9px 15px;min-height:37px;color:var(--kr-black);text-decoration:none;font-size:12px;font-weight:850;display:inline-flex;align-items:center;justify-content:center}.kr-btn:hover{transform:translateY(-1px);border-color:var(--kr-orange)}.kr-primary{color:#fff!important;background:var(--kr-orange);border-color:var(--kr-orange)}.kr-ghost{background:transparent}.kr-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.kr-content{width:min(1250px,calc(100% - 44px));margin:0 auto;padding:22px 0 60px;display:grid;gap:16px}
.kr-hero{background:#161310;color:#fff;border-radius:22px;min-height:210px;display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:stretch;overflow:hidden;border:1px solid #3b2920}.kr-lead{padding:28px 36px;display:flex;flex-direction:column;justify-content:center;gap:7px}.kr-lead>small{font-size:10px;font-weight:900;color:#ffb59a;letter-spacing:.13em}.kr-lead h1{font-size:clamp(24px,3.3vw,41px);line-height:1.12;letter-spacing:-.05em;margin:0;font-weight:950}.kr-lead p{color:#cfc3ba;font-size:12px;margin:5px 0 8px}.kr-hero-actions span{font-size:11px;color:#cfbfb3}.kr-hero-score{background:#f4512a;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px 22px;min-height:190px}.kr-hero-score span{font-size:10px;font-weight:900;letter-spacing:.1em;text-align:center}.kr-hero-score strong{font-size:91px;line-height:1.15;letter-spacing:-.08em;font-weight:950;font-family:"Space Grotesk","Be Vietnam Pro",sans-serif}.kr-hero-score small{font-weight:900;font-size:14px}
.kr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kr-metric{padding:17px 18px;border:1px solid var(--kr-line);background:#f7f1eb;border-radius:16px;display:flex;flex-direction:column;gap:2px}.kr-metric span{color:var(--kr-muted);font-size:11px;font-weight:750}.kr-metric strong{font-size:26px;letter-spacing:-.05em;font-weight:950}.kr-metric small{color:var(--kr-muted);font-size:10px}
.kr-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.kr-section{border:1px solid var(--kr-line);border-radius:18px;padding:22px 24px;background:#fffdfa;min-width:0}.kr-section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px}.kr-section-heading small{font-size:9px;font-weight:900;color:#ad502e;letter-spacing:.12em}.kr-section h2{font-size:20px;font-weight:900;letter-spacing:-.035em;margin:2px 0 0}.kr-tag{background:#f8eee6;border:1px solid #e5d5c9;color:#765447;border-radius:99px;padding:5px 10px;font-size:11px;font-weight:800;white-space:nowrap}
.kr-bar-row{margin:13px 0}.kr-bar-top{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;margin-bottom:7px}.kr-bar-top span{font-size:10px;color:var(--kr-muted);text-align:right}.kr-bar-track{height:9px;background:#efe4db;border-radius:99px;overflow:hidden}.kr-bar-track i{display:block;background:var(--kr-orange);height:100%;border-radius:99px;transition:width .3s}
.kr-subtle{color:var(--kr-muted);font-size:12px;line-height:1.65;margin:0 0 14px}.kr-causes{display:flex;flex-wrap:wrap;gap:8px}.kr-causes span{border-radius:99px;background:#f8f0e9;border:1px solid #e8d8cb;padding:7px 10px;font-size:11px}.kr-causes b{color:#b34422;margin-left:4px}
.kr-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kr-plan{border:1px solid #ecdfd4;background:#faf5ef;padding:17px;border-radius:13px;display:flex;flex-direction:column;gap:9px}.kr-plan-no{font-size:11px;font-weight:950;color:var(--kr-orange)}.kr-plan strong{font-size:15px}.kr-plan p{font-size:12px;color:#5c4f45;margin:0}.kr-plan small{font-size:10px;color:var(--kr-muted);margin-top:auto}
.kr-screen audio{width:100%;max-width:100%;height:45px;accent-color:var(--kr-orange)}.kr-listened{font-size:11px;color:#835b4b;font-weight:800}
.kr-error{border:1px solid #e8d8cb;border-radius:14px;background:#fff9f4;margin:10px 0;overflow:hidden}.kr-error[open]{border-color:#eea98b;box-shadow:0 8px 20px rgba(100,40,15,.06)}.kr-error.kr-done{background:#f6faf6;border-color:#c3dccc}.kr-error>summary{display:flex;align-items:center;gap:12px;padding:11px 15px;cursor:pointer;list-style:none}.kr-error>summary::-webkit-details-marker{display:none}.kr-question-no{width:39px;min-width:39px;height:35px;display:grid;place-items:center;background:#15120f;color:#fff;border-radius:10px;font-size:12px;font-weight:900}.kr-error-name{display:flex;flex-direction:column;gap:3px;flex:1;font-weight:850}.kr-error-name small{font-size:10px;font-weight:650;color:var(--kr-muted)}.kr-pill{background:#fde0d3;color:#b0341e;border-radius:99px;padding:5px 9px;font-size:10px;white-space:nowrap}.kr-pill-good{background:#e0f4e8;color:#126641}.kr-error-body{border-top:1px solid #efe2d8;padding:17px 20px}.kr-error-body>p{font-size:12px;margin:0 0 8px}.kr-link{border:0;padding:4px 0 11px;background:transparent;color:#bb4a29;font-size:12px;font-weight:850;text-decoration:underline}.kr-form-grid{display:grid;grid-template-columns:minmax(155px,.8fr) minmax(0,1.5fr);gap:12px}.kr-form-grid label,.kr-retry{font-size:11px;display:flex;flex-direction:column;gap:6px;font-weight:750}.kr-form-grid select,.kr-form-grid textarea,.kr-retry input{width:100%;padding:10px;background:#fff;border:1px solid #dfcfc3;border-radius:9px;color:#211915;min-width:0;resize:vertical}.kr-check{display:flex;align-items:center;gap:9px;margin:15px 0;font-size:11px;cursor:pointer}.kr-check input{accent-color:var(--kr-orange);width:17px;height:17px}.kr-retry{margin-bottom:12px}.kr-retry-actions span{color:var(--kr-muted);font-size:10px}.kr-success{padding:15px;background:#e8f5ea;border:1px solid #c0dcc6;border-radius:10px;color:#186b3c;font-size:12px}.kr-message{background:#ffefe9;border:1px solid #f4a88a;color:#9a2f14;padding:12px;border-radius:10px;margin:10px 0;font-size:12px;font-weight:800}
.kr-history-chart{height:145px;padding:12px 8px 0;display:flex;align-items:flex-end;gap:12px;border-bottom:1px solid var(--kr-line);overflow-x:auto}.kr-history-point{min-width:50px;flex:1;max-width:120px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px}.kr-history-col{width:65%;min-height:5px;background:linear-gradient(#ff8b63,#f4512a);border-radius:7px 7px 1px 1px;order:0}.kr-history-point b{font-size:9px;order:-1;white-space:nowrap}.kr-history-point span{font-size:9px;color:var(--kr-muted)}.kr-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:300px;overflow:auto}.kr-history-row{display:flex;justify-content:space-between;gap:12px;text-align:left;padding:11px;background:#f8f1eb;border:1px solid var(--kr-line);border-radius:10px}.kr-history-row.is-current{border-color:#f4512a;background:#fff0e9}.kr-history-row span{font-weight:850;font-size:11px}.kr-history-row small{display:block;font-size:9px;color:var(--kr-muted);font-weight:500}.kr-history-row>b{white-space:nowrap;font-size:12px}.kr-footer{padding:18px max(22px,calc((100vw - 1250px)/2));border-top:1px solid var(--kr-line);font-size:10px;color:var(--kr-muted);display:flex;justify-content:space-between;gap:10px}
.kr-header-shortcut{background:#fff6ee;border:1px solid #f9c6b0;color:#ad4424;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:850;cursor:pointer}
@media(max-width:850px){.kr-header{padding:10px 18px;flex-wrap:wrap}.kr-header-actions{gap:5px}.kr-header-actions .kr-btn{padding:8px 10px}.kr-content{width:calc(100% - 26px);padding-top:12px}.kr-two{grid-template-columns:1fr}.kr-hero{grid-template-columns:minmax(0,1fr) 160px}.kr-lead{padding:22px}.kr-hero-score strong{font-size:70px}.kr-metrics{grid-template-columns:repeat(2,1fr)}.kr-section{padding:17px}.kr-plan-grid{grid-template-columns:1fr}}
@media(max-width:540px){.kr-hero{grid-template-columns:1fr}.kr-hero-score{min-height:120px;display:grid;grid-template-columns:1fr auto;gap:5px 15px;padding:18px}.kr-hero-score strong{grid-column:2;grid-row:1 / 3;font-size:61px}.kr-lead{padding:20px}.kr-lead h1{font-size:27px}.kr-metrics{gap:7px}.kr-metric{padding:12px}.kr-metric strong{font-size:21px}.kr-section-heading{align-items:flex-start;flex-direction:column;gap:7px}.kr-form-grid{grid-template-columns:1fr}.kr-history-list{grid-template-columns:1fr}.kr-error-body{padding:13px}.kr-error>summary{gap:7px;padding:10px}.kr-header-actions{width:100%}.kr-header-actions .kr-btn{flex:1;font-size:10px}.kr-footer{flex-direction:column}}

.kr-more-causes{margin-top:10px;color:#8c4d36;font-size:11px}.kr-more-causes summary{cursor:pointer;font-weight:800}.kr-other-causes{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px;background:#f7efe8;border-radius:9px;margin-top:6px;max-height:220px;overflow-y:auto}.kr-other-causes label{display:flex;flex-direction:row;gap:7px;align-items:center;color:#4c4139;font-size:10px;font-weight:650}.kr-other-causes input{accent-color:#f4512a}@media(max-width:540px){.kr-other-causes{grid-template-columns:1fr}}

/* IPA v1.4.5 Exam UI contract: source-native card, topbar, player,
   workspace and navigator geometry. Only KENT branding is applied. */
.exam-shell .brand-logo{object-fit:contain}
/* The separate KENT Results Dashboard remains accessible in native Review. */
.exam-shell .kr-header-shortcut{background:#fff6ee;color:#ad4424;border-color:#f9c6b0}
@media(max-width:850px){
  .exam-shell .completion-template{overflow-x:auto;overscroll-behavior-x:contain}
  .exam-shell .completion-template table{min-width:540px}
}
/* v1.8 warning appears only for archived results of pre-fix Cambridge 19 T4;
   KENT Results view only, never changes IPA Exam Mode. */
.kr-legacy-fidelity{margin:12px 0;padding:14px 18px;border:1px solid #bc6422;background:#fff1dd;color:#402614;border-radius:8px;line-height:1.5}

