:root{--j-ink:#263c5a;--j-muted:#63758b;--j-primary:#2c69b2;--j-accent:#2d73af;--j-tint:#e9f5ff}
.td-focus-active{background:#f5f8fc!important}
.td-focus-active main{max-width:1120px!important}
#td-focus-bar{box-shadow:0 5px 15px #263c5a09;background:#fffffff5;backdrop-filter:blur(10px);min-height:70px;box-sizing:border-box}
#td-focus-bar [hidden]{display:none!important}
#td-focus-bar a,.td-j-primary,.td-j-secondary{min-height:48px;border-radius:16px;font-size:17px;line-height:1.5;font-weight:700;box-sizing:border-box}
.td-j-primary,.td-j-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;text-decoration:none!important;border:0;cursor:pointer;font-family:inherit}
.td-j-primary{background:#2c69b2;color:#fff!important;box-shadow:0 5px 0 #20538f}
.td-j-primary:hover{background:#235b9d;transform:translateY(-1px)}
.td-j-secondary{background:#eef3fa;color:#2d4f78!important;border:1px solid #dbe5f2}
.td-j-continue-wait{font-family:inherit;font-size:15px;background:#f1f4f8;border:1px solid #e0e6ee;border-radius:14px;color:#788697;padding:13px 20px;cursor:default}
.td-j-home{padding:12px 4px 50px!important}
.td-j-hero{position:relative;display:flex;align-items:center;min-height:215px;border:1px solid #dce8f3;background:linear-gradient(110deg,#f6edff,#edf7ff 55%,#fff8e9);border-radius:30px;overflow:hidden;margin:10px 0 28px;padding:30px 38px;box-sizing:border-box}
.td-j-hero-copy{position:relative;z-index:1;width:65%}
.td-j-hero-copy h1{color:var(--j-ink)!important;font-size:clamp(27px,4vw,39px)!important;line-height:1.6!important;margin:9px 0!important}
.td-j-hero-copy p{color:#4c6580;font-size:18px;line-height:1.9;margin:8px 0}
.td-j-landscape{position:absolute;inset:0 35% 0 0;opacity:.9;display:flex;align-items:flex-end}
.td-j-landscape svg{width:100%;height:auto}
.td-j-eyebrow{display:inline-flex;gap:8px;align-items:center;padding:6px 13px;border-radius:12px;background:#ffffffc9;color:var(--j-accent);font-size:15px;font-weight:700}
.td-j-subjects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.td-j-subject,.td-j-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;background:#fff;color:var(--j-ink)!important;border:2px solid #e0e8f2;border-radius:26px;text-decoration:none!important;padding:23px;overflow:hidden;box-shadow:0 6px 0 #e3ebf5;transition:transform .16s,border-color .16s}
.td-j-subject:hover,.td-j-choice:hover{transform:translateY(-4px);border-color:var(--j-accent)}
.td-j-subject:focus-visible,.td-j-choice:focus-visible,.td-j-step-card:focus-visible,.td-j-level:focus-visible,.td-j-primary:focus-visible,.td-j-secondary:focus-visible{outline:4px solid #eab852;outline-offset:4px}
.td-j-subject h2{font-size:23px!important;color:var(--j-accent)!important;line-height:1.7;margin:12px 0 4px!important}
.td-j-subject p,.td-j-choice p{font-size:16px;line-height:1.8;color:var(--j-muted);margin:3px 0 16px}
.td-j-subject-symbol{position:absolute;top:18px;inset-inline-end:18px;font-size:24px;background:#fff;border-radius:12px;padding:7px;box-shadow:0 2px 10px #2344660c}
.td-j-card-action{font-weight:700;color:var(--j-accent);font-size:16px;margin-top:auto}
.td-j-art{display:flex;justify-content:center;align-items:center;background:var(--j-tint);border-radius:18px;width:100%;height:117px;overflow:hidden;flex-shrink:0}
.td-j-art svg{display:block;width:100%;height:100%;max-width:240px}
.td-j-art svg text{display:none}
.td-j-choices{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.td-j-choice{padding:28px 30px;min-height:340px}
.td-j-choice .td-j-art{height:140px;margin:0 0 14px;background:var(--j-tint)}
.td-j-choice-challenge{--j-accent:#a97527!important;--j-tint:#fff4dc!important;background:linear-gradient(#fff,#fffcf5)}
.td-j-choice h2{font-size:30px!important;line-height:1.7;color:var(--j-accent)!important;margin:5px 0!important}
.td-j-choice-icon{position:absolute;top:22px;inset-inline-end:22px;font-size:33px}
.td-j-entry .td-j-levels{border:0;padding:0;margin:0 0 20px;min-width:0}
.td-j-levels legend{font-weight:700;color:#314b6c;margin:0 0 10px;font-size:18px}
.td-j-level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.td-j-level{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-family:inherit;font-size:14px;line-height:1.65;padding:8px 4px;min-height:64px;background:#f8faff;color:#344e6e;border:2px solid #e0e8f3;border-radius:14px;cursor:pointer;box-shadow:none!important}
.td-j-level>span:first-child{font-size:20px}
.td-j-level[aria-pressed=true]{background:#e9f3ff;border-color:#3a79c4;color:#23558e}
.td-j-level-error{font-size:15px!important;color:#a34e3f!important;margin:4px 0!important}
.td-j-native-select,.td-j-sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;border:0!important}
.td-j-progress-panel{display:flex;flex-direction:column;gap:16px;background:var(--j-tint);border:1px solid #dce8f3;border-radius:23px;padding:20px 24px;margin:0 0 22px}
.td-j-progress-panel>div{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.td-j-progress-panel strong{font-size:16px;color:var(--j-ink);font-weight:600}
.td-j-progress-panel progress{width:100%;height:12px;border:0;border-radius:20px;overflow:hidden;appearance:none;accent-color:var(--j-accent)}
.td-j-progress-panel progress::-webkit-progress-bar{background:#fff;border-radius:20px}
.td-j-progress-panel progress::-webkit-progress-value{background:var(--j-accent);border-radius:20px}
.td-j-progress-panel progress::-moz-progress-bar{background:var(--j-accent);border-radius:20px}
.td-j-route{padding:0!important;background:transparent!important;box-shadow:none!important}
.td-j-route>h2{font-size:26px!important;margin:22px 5px!important;color:var(--j-ink)}
.td-j-path{list-style:none!important;padding:0!important;margin:0 auto!important;max-width:850px;counter-reset:none}
.td-focus-active #td-new-lessons .td-j-route-step{display:grid;grid-template-columns:58px minmax(0,1fr);gap:17px;align-items:center;padding:0 0 24px!important;position:relative;border:0!important;list-style:none}
.td-j-route-step:before{content:'';position:absolute;inset-inline-start:28px;top:52px;bottom:-1px;border-inline-start:3px dashed #cfdbec}
.td-j-route-step:last-child:before{display:none}
.td-j-marker{position:relative;z-index:1;width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:22px;font-weight:700;color:#536e90;background:#fff;border:3px solid #dbe6f4;box-sizing:border-box;box-shadow:0 4px 0 #e5edf7}
.td-j-step-current .td-j-marker{border-color:var(--j-accent);background:var(--j-tint);color:var(--j-accent)}
.td-j-step-done .td-j-marker{background:#e6f6ec;color:#2d7d52;border-color:#91c7a5}
.td-focus-active #td-new-lessons .td-j-step-card{display:block!important;position:relative;min-height:134px;padding:18px 23px 18px 140px;background:#fff;border:2px solid #dfe7f2;border-radius:23px;box-shadow:0 5px 0 #e5edf7;text-decoration:none!important;color:var(--j-ink);box-sizing:border-box}
.td-j-step-card:hover{border-color:var(--j-accent)!important}
.td-j-step-current .td-j-step-card{border-color:var(--j-accent)!important;background:linear-gradient(100deg,#fff,var(--j-tint))!important}
.td-j-step-card h3{font-size:21px!important;font-weight:700;line-height:1.8;color:var(--j-ink)!important;margin:4px 0!important}
.td-j-step-number{font-size:13px;letter-spacing:.1px;color:var(--j-accent);font-weight:700}
.td-j-step-status{display:block;color:#69809a;font-weight:500;font-size:14px}
.td-j-step-current .td-j-step-status{color:var(--j-accent);font-weight:700}
.td-j-step-done .td-j-step-status{color:#328157}
.td-j-step-card .td-j-art{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:105px;height:90px}
.td-j-unit{list-style:none;padding:12px 75px 18px 0!important;border:0!important;margin:0!important;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.td-j-unit>span{font-size:13px;background:#e9eff8;padding:4px 10px;border-radius:10px;color:#6a7c91}
.td-j-unit h3{font-size:18px!important;line-height:1.7;margin:0!important;color:#405a7a}
.td-j-extra-challenges{margin:28px 0 10px!important}
.td-j-position{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 18px;color:#718399;font-size:14px;direction:rtl}
.td-j-lesson .entry-title{margin-bottom:22px!important}
.td-j-lesson-actions{display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap;margin-top:30px;padding-top:22px;border-top:1px solid #e5ebf3;clear:both;direction:rtl}
.td-j-result-actions{display:flex;gap:12px;flex-wrap:wrap}
.td-j-result-note{font-size:18px;color:#3a7856;line-height:1.8;margin:0}
.td-j-hint{font-size:15px!important;color:#77879a;line-height:1.8;clear:both;margin-top:28px!important}
.td-j-finished .tdlg-question,.td-j-finished .tdlg-progress{display:none}
.td-j-finished .tdlg-result{font-size:22px;line-height:1.8;background:#eef8ef;border:1px solid #c9e6cf;padding:20px;border-radius:18px}
.td-j-review{width:min(820px,calc(100vw - 30px));max-height:calc(100dvh - var(--td-header-height,85px) - 40px);margin:calc(var(--td-header-height,85px) + 15px) auto 15px;padding:24px 30px;border:1px solid #dce6f3;border-radius:26px;box-shadow:0 22px 100px #233e6b33;color:var(--j-ink);box-sizing:border-box;direction:rtl}
.td-j-review::backdrop{background:#20355040}
.td-j-review-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid #e2eaf4}
.td-j-review-head h2{font-size:25px;margin:0}
.td-j-review-content{font-size:19px;line-height:2;padding:15px 0}
.td-j-review-content h2,.td-j-review-content h3{font-size:22px}
.td-j-review-content .td-media{grid-template-columns:1fr 1fr}
.td-j-early-group{padding:20px;border:1px solid #dde8f3;background:var(--j-tint);border-radius:26px}
.td-j-early-card{position:relative!important;min-height:190px!important;border-radius:23px!important;border:2px solid #dce6f3!important;box-shadow:0 5px 0 #dce7f2!important;background:#fff!important}
.td-j-early-card>.td-j-step-number{position:absolute;top:10px;inset-inline-start:12px;z-index:1}
.td-j-early-card:hover{border-color:var(--j-accent)!important;transform:translateY(-2px)}
.td-j-early-lesson{background:#fff;border:2px solid #dfe8f3;border-radius:24px;padding:22px;margin:0 0 24px;box-shadow:0 5px 0 #e4ecf6}
.td-j-foundation{border-radius:26px!important;border:2px solid #dce7f3!important;background:linear-gradient(145deg,#fff,var(--j-tint))!important;padding:26px!important}
.td-j-foundation>h3{font-size:26px!important;color:var(--j-ink)}
.td-j-foundation button{border-radius:16px!important;min-height:48px;font-size:18px}
@media(min-width:850px){.td-j-route-step:nth-of-type(even){margin-inline-end:38px}.td-j-route-step:nth-of-type(odd){margin-inline-start:38px}}
@media(max-width:800px){.td-j-subjects{grid-template-columns:repeat(2,minmax(0,1fr))}.td-j-hero{padding:24px;min-height:185px}.td-j-hero-copy{width:80%}.td-j-landscape{opacity:.55;inset-inline-start:20%}.td-j-choice{padding:22px;min-height:300px}.td-j-choice h2{font-size:25px!important}.td-j-choice .td-j-art{height:115px}}
@media(max-width:520px){#td-focus-bar{min-height:65px}#td-focus-bar span{order:0;width:auto;max-width:42%;font-size:12px}#td-focus-bar a,#td-focus-bar button{font-size:13px;padding:10px 12px;min-height:44px}.td-j-subjects{gap:14px}.td-j-subject{padding:13px;border-radius:22px}.td-j-subject h2{font-size:20px!important}.td-j-subject p{font-size:13px}.td-j-subject .td-j-art{height:90px}.td-j-subject-symbol{font-size:17px;top:10px;inset-inline-end:10px}.td-j-card-action{font-size:14px}.td-j-hero{padding:21px;min-height:180px;margin-bottom:20px}.td-j-hero-copy{width:100%}.td-j-hero-copy p{font-size:16px}.td-j-landscape{opacity:.22}.td-j-choices{gap:14px}.td-j-choice{padding:15px;min-height:290px;border-radius:22px}.td-j-choice .td-j-art{height:95px}.td-j-choice-icon{top:14px;inset-inline-end:14px;font-size:25px}.td-j-choice h2{font-size:23px!important}.td-j-choice p{font-size:14px}.td-j-choice .td-j-card-action{font-size:13px}.td-j-progress-panel{padding:17px}.td-j-progress-panel strong{font-size:14px}.td-focus-active #td-new-lessons .td-j-route-step{grid-template-columns:41px minmax(0,1fr);gap:10px;padding-bottom:18px!important}.td-j-marker{width:40px;height:40px;font-size:17px}.td-j-route-step:before{inset-inline-start:19px;top:40px}.td-focus-active #td-new-lessons .td-j-step-card{padding:14px 14px 14px 76px;min-height:125px;border-radius:20px}.td-j-step-card h3{font-size:18px!important}.td-j-step-card .td-j-art{width:58px;height:65px;left:8px}.td-j-unit{padding:12px 50px 16px 0!important;gap:7px}.td-j-unit h3{font-size:16px!important}.td-j-step-status{font-size:12px}.td-j-lesson-actions{gap:12px}.td-j-lesson-actions .td-j-primary{width:100%}.td-j-result-actions{width:100%}.td-j-result-actions .td-j-primary{width:100%}.td-j-review{padding:18px}.td-j-review-content{font-size:17px}.td-j-review-head h2{font-size:21px}.td-j-review-head .td-j-secondary{font-size:14px}.td-j-foundation{padding:18px!important}}
@media(prefers-reduced-motion:reduce){.td-j-subject,.td-j-choice{transition:none}.td-j-subject:hover,.td-j-choice:hover,.td-j-primary:hover{transform:none}}

.td-j-route-step{scroll-margin-top:calc(var(--td-header-height,85px) + 105px)}

.td-schoolbag-icon{display:inline-block;width:1.35em;height:1.5em;min-width:1.35em;background:url("schoolbag.svg") center/contain no-repeat;vertical-align:middle;flex-shrink:0;line-height:1}
