@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&family=Onest:wght@400;500;600;700;800&display=swap');
*{box-sizing:border-box}body{margin:0;background:#f6f4ef;color:#243b53;font:16px/1.5 system-ui,'Golos Text',Arial,sans-serif;min-height:100vh;display:flex;flex-direction:column}header{background:#D0021B;color:white;border-bottom:5px solid #d0021b;padding:28px 20px 34px}.wrap,main,footer{width:min(1120px,100%);margin:0 auto}.brand{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.07em;font-weight:700;color:#e8e4dc}.brand svg{width:38px;height:38px;stroke:white;fill:none;stroke-width:1.6}h1{font-size:clamp(30px,5vw,52px);line-height:1.1;margin:20px 0 10px;letter-spacing:-.03em}header p{margin:0;color:#e8e4dc}main{padding:28px 20px;flex:1}.intro,.top,.foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.intro{margin-bottom:20px}h2{font-size:24px;margin:0 0 4px}h3{font-size:22px;line-height:1.2;margin:16px 0 8px}.intro p,.muted,.meta{color:#59554e;margin:0}.clock{font-size:14px;font-weight:650;font-variant-numeric:tabular-nums;padding:8px 12px;border:1px solid #d8d4ca;border-radius:8px;background:white}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{background:white;border:1px solid #d8d4ca;border-radius:14px;padding:24px;min-width:0;box-shadow:0 5px 16px #243b5308}.resource{display:flex;flex-direction:column}.resource p{flex:1;color:#44413b}.symbol{font-size:24px;font-weight:800;letter-spacing:-.04em;background:#f6f4ef;border-radius:10px;padding:10px 14px}.express .symbol{background:#fbecef;color:#d0021b}.status{font-size:12px;font-weight:700;border-radius:99px;padding:5px 9px}.on{background:#e5f4ed;color:#176343}.off{background:#eeece6;color:#59554e}.meta{font-size:13px;font-weight:650}.access{font-size:14px;min-height:48px;color:#44413b;padding:8px 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px;border:0;border-radius:8px;background:#D0021B;color:white;font:inherit;font-weight:650;text-decoration:none;min-height:46px;cursor:pointer;margin:4px 0}.resource .button{width:100%}.express .button{background:#d0021b}.disabled{background:#eeece6!important;color:#59554e;cursor:default;pointer-events:none}.button.secondary{background:#f6f4ef;color:#243b53}.button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #c78d24;outline-offset:3px}.hint{margin-top:22px;border:1px solid #d8d4ca;border-left:4px solid #d0021b;background:white;border-radius:8px;padding:15px 18px;font-size:14px;color:#44413b}.foot{margin-top:20px}.foot a{color:#243b53}footer{padding:0 20px 24px;color:#59554e;font-size:13px;display:flex;justify-content:space-between;gap:12px}.narrow{max-width:620px;margin:24px auto}.eyebrow{font-size:13px;font-weight:bold}.editorcard{margin-bottom:16px}.slots{display:grid;gap:10px;margin:12px 0}.slot{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.3fr auto;gap:10px;align-items:end;background:#f6f4ef;padding:12px;border-radius:8px}label{display:block;font-size:13px;font-weight:650}input,select{width:100%;margin-top:5px;border:1px solid #bbb7ae;border-radius:7px;min-height:42px;padding:8px;background:white;color:#243b53;font:inherit}.mode{max-width:300px}.error,.success{padding:12px;border-radius:8px;background:#fbecef;color:#982338}.success{background:#e5f4ed;color:#176343}.remove{background:white;color:#d0021b;border:1px solid #d8d4ca}.editorcard .meta{margin:0 0 10px}.toolbar{display:flex;gap:10px;flex-wrap:wrap}form .button{margin-right:8px} @media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slot{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.grid{grid-template-columns:1fr}header{padding:22px 16px 28px}main{padding:20px 14px}.card{padding:18px}.slot{grid-template-columns:1fr 1fr}.slot label:first-child,.slot label:nth-child(4){grid-column:span 2}.intro{align-items:flex-start}footer{flex-wrap:wrap}}

body{font-family:'Golos Text',Arial,sans-serif}h1,h2,h3,h4,.symbol,.clock,.stat b,button,.button{font-family:'Onest','Golos Text',Arial,sans-serif}button,.button{border-radius:4px}header{border-bottom-color:#D0021B}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #D0021B;outline-offset:2px}

body{background:#fff;color:#243b53;line-height:1.55}.wrap,main,footer{width:min(1320px,100%)}header{background:#D0021B;padding:38px 28px 42px;border-bottom:6px solid #D0021B}.brand{letter-spacing:.07em;color:#f6f4ef}header h1{font-family:'Onest','Golos Text',Arial,sans-serif;font-weight:800;font-size:clamp(34px,6vw,66px);letter-spacing:-.05em}header p{max-width:900px;color:#f6f4ef}main{padding:32px 28px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-left:1px solid #243b53;border-top:1px solid #243b53}.card{border-radius:0;border:1px solid #243b53;box-shadow:none;padding:26px}.grid .card{border-top:0;border-left:0}.symbol{border-radius:0;background:#f6f4ef;color:#243b53;padding:9px 14px;font-family:'Onest','Golos Text',Arial,sans-serif}.express .symbol,.lectures .symbol{background:#D0021B;color:#fff}.status{border-radius:0;letter-spacing:.02em}.resource h3{font-size:clamp(21px,2.4vw,30px);letter-spacing:-.03em}.resource p{color:#44413b}.button,.express .button{border-radius:0;background:#D0021B;font-weight:700;justify-content:space-between}.button:hover{background:#D0021B}.button.secondary{color:#243b53;background:#f6f4ef}.clock{border:1px solid #243b53;border-radius:0}.hint{border-radius:0;background:#f6f4ef;border:0;border-left:4px solid #D0021B}.resource.lectures{background:#f6f4ef}.resource.lectures .button{background:#D0021B}.resource.lectures .button:hover{background:#D0021B}footer{border-top:1px solid #243b53;padding-top:16px}.access{min-height:44px}input,select{border-radius:3px}h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.035em}@media(max-width:600px){main{padding:18px 14px}header{padding:25px 16px}.grid{grid-template-columns:1fr}.card{padding:20px}.resource h3{font-size:24px}}

/* Единая светлая навигация, без черных элементов. */
body{background:#f6f4ef;color:#243b53}header{background:#d0021b;padding:24px 24px 28px;border-bottom:0}header h1{font-size:clamp(30px,5vw,50px);margin:10px 0 8px;letter-spacing:-.03em}.brand{color:#fff}.wrap,main,footer{width:min(1240px,100%)}main{padding:24px 24px 28px}.intro{margin-bottom:20px}.clock{border:1px solid #e0d8cf;border-radius:10px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:0}.grid .card,.card{border:1px solid #e4ddd5;border-radius:16px;padding:22px;box-shadow:0 6px 20px #243b5308;background:#fff}.resource.lectures{grid-column:1/-1;background:white;display:grid;grid-template-columns:1fr minmax(200px,28%);column-gap:25px;align-items:center}.resource.lectures .top{grid-column:1/-1}.resource.lectures .step,.resource.lectures h3,.resource.lectures .meta,.resource.lectures p{grid-column:1}.resource.lectures .access{grid-column:1;min-height:auto}.resource.lectures .button{grid-column:2;grid-row:3/7;align-self:center}.resource p{margin:8px 0 10px}.resource h3{margin:8px 0 5px;font-size:clamp(22px,2.4vw,28px)}.symbol,.express .symbol,.lectures .symbol{display:grid;place-items:center;width:52px;height:52px;padding:12px;background:#fce8eb;color:#d0021b;border-radius:12px}.symbol svg{width:28px;height:28px}.step{color:#d0021b;font-family:'Onest','Golos Text',Arial,sans-serif;font-size:12px;letter-spacing:.055em;font-weight:750;margin:15px 0 0}.status{border-radius:999px}.button,.express .button,.resource.lectures .button{border-radius:9px;background:#d0021b;color:white;justify-content:center}.button:hover,.resource.lectures .button:hover{background:#aa0017}.button.secondary{color:#243b53;background:#f6f4ef}.button.disabled{background:#eeece6!important;color:#59554e!important}.resource .access{margin-top:auto;min-height:36px}.hint{border-radius:10px;background:white}.card p{color:#526d80}.resource .meta{color:#526d80}.intro h2{color:#243b53}.intro p{color:#526d80}footer{border-top:1px solid #e4ddd5}.hint{font-size:13px}@media(max-width:650px){header{padding:20px 16px}main{padding:16px 13px}.grid{grid-template-columns:1fr;gap:12px}.resource.lectures{display:flex;grid-column:auto}.resource.lectures .button{width:100%}.grid .card,.card{padding:18px}.intro h2{font-size:25px}.clock{font-size:12px}}

/* KMT unified visual theme */
:root{--ink:#243b53;--red:#D0021B;--paper:#F6F4EF;--line:#e4ddd5;--muted:#526D80}
body{font-family:'Golos Text',Arial,sans-serif;color:#243b53;background:#F6F4EF}
h1,h2,h3,h4,h5,h6,button,.button,.btn,.clock,.stat b,.score,.counter,summary{font-family:'Onest','Golos Text',Arial,sans-serif}
input,textarea,select{font-family:'Golos Text',Arial,sans-serif}
header,.hero{background:#D0021B;color:#fff;border-bottom-color:#D0021B}
header small,header p,header .brand,.hero small,.hero p{color:#fff}
button,.button,.btn{border-radius:9px}
input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{border-radius:9px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #D0021B;outline-offset:2px}

.button:not(.disabled):not(.secondary){background:#D0021B;color:white}.button.secondary{color:#243b53;background:#F6F4EF}

/* KMT unified appearance, revision 20261205-37 */
:root{--ink:#243B53;--red:#D0021B;--paper:#F6F4EF;--line:#e4ddd5;--muted:#526D80}
body{font-family:'Golos Text',Arial,sans-serif!important;color:#243B53;background:#F6F4EF}
h1,h2,h3,h4,h5,h6,button,.button,.btn,.clock,.stat b,.score,.counter,summary{font-family:'Onest','Golos Text',Arial,sans-serif!important}
input,textarea,select{font-family:'Golos Text',Arial,sans-serif!important}
header,.hero{background:#D0021B!important;color:#fff!important;border-bottom-color:#D0021B!important}
header small,header p,header .brand,header .kmt-brand,header .kmt-mdk,.hero small,.hero p{color:#fff!important}
header .kmt-brand{font-family:'Onest','Golos Text',Arial,sans-serif!important;font-size:13px;font-weight:700;letter-spacing:.065em;line-height:1.45;display:block;margin:0 0 5px;text-transform:uppercase}
header .brand.kmt-brand{display:flex;align-items:center;gap:12px}
header .kmt-mdk{font-family:'Golos Text',Arial,sans-serif!important;display:block;font-weight:500;line-height:1.45;font-size:clamp(13px,1.4vw,17px);margin:6px 0 12px;white-space:normal;overflow-wrap:anywhere;letter-spacing:normal;text-transform:none}
header .kmt-title{font-family:'Onest','Golos Text',Arial,sans-serif!important;font-size:clamp(25px,4vw,46px);font-weight:750;line-height:1.14;letter-spacing:-.025em;margin:8px 0;color:#fff!important}
header > .wrap{width:min(1240px,100%);margin:0 auto;padding:0}
header .kmtLessonHeading .kmt-mdk{margin:3px 0 6px;font-size:clamp(12px,1.4vw,16px)}
header .kmtLessonHeading .kmt-brand{margin-bottom:3px}
nav button.active,button.active,button.primary:not(:disabled),a.primary:not(.disabled),details[open]>summary,#sidebar details[open] summary,.choice.on:not(.good):not(.bad),button.on{background:#D0021B!important;color:#fff!important;border-color:#D0021B!important}
.choice.good{background:#d9f2e4;color:#155b36;border-color:#258353}.choice.bad{background:#fbe3e5;color:#922b3a;border-color:#D0021B}
button,.button,.btn{border-radius:9px}
@media screen{header,.hero{padding:20px 24px 24px}header .brand{color:#fff}}
@media screen and (max-width:650px){header,.hero{padding:14px 14px 18px}header .kmt-brand{font-size:11px}header .kmt-title{font-size:clamp(24px,6vw,32px)}header .kmt-mdk{font-size:12px;margin:5px 0 8px}}
@media print{body{background:#fff!important}}
