@font-face{font-family:Vazirmatn;src:url('fonts/Vazirmatn-variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--bg:#f7f6f0;--ink:#26362d;--muted:#7c8177;--line:#e4e5da;--green:#3c614b;--mint:#e6eedf;--orange:#d77950;--white:#fffef9}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Vazirmatn,Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.45;cursor:default}:focus-visible{outline:3px solid #d78949;outline-offset:4px}.sidebar{width:250px;position:fixed;right:0;top:0;bottom:0;padding:34px 24px;background:#eeefe6;border-left:1px solid var(--line);display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:12px;align-items:center;font-family:'DM Sans',Arial;font-size:23px;font-weight:700;direction:ltr}.brand small{font-family:Vazirmatn;display:block;font-size:10px;font-weight:400;direction:rtl;margin-top:4px;color:var(--muted)}.brand-icon{position:relative;background:#314c3c;color:#f8f5dc;border-radius:12px;font-size:28px;width:51px;height:54px;display:grid;place-items:center}.brand-icon>span{font-size:19px;position:absolute;right:-5px;top:-11px;color:#c17f4f}.side-label{color:#899080;font-size:10px;margin:50px 14px 16px}nav{display:flex;flex-direction:column;gap:7px}nav a{display:flex;gap:13px;align-items:center;padding:13px 15px;border-radius:9px;font-size:13px;color:#6b7669}nav a.active{background:var(--green);color:white;box-shadow:0 6px 14px #3c614b12}nav svg{width:19px;height:19px}nav a small{font-size:9px;margin-right:auto;border:1px solid #adb6a7;padding:1px 5px;border-radius:5px}.side-bottom{margin-top:auto}.level{display:flex;gap:12px;align-items:center;border-top:1px solid #dce0d3;padding:23px 0 16px;font-size:12px}.level-icon{font-family:'DM Sans';border:1px solid #a4b39a;border-radius:50%;width:37px;height:37px;display:grid;place-items:center}.level small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.side-bottom p{font-size:9px;color:var(--muted);line-height:1.8}.text-button{border:0;background:none;padding:5px 0;font-size:10px;color:#65705f;display:block}.app{margin-right:250px}header{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 46px}.breadcrumb{font-size:11px;color:#889080}.breadcrumb span{padding:0 15px;color:#b9bdaf}.breadcrumb b{font-weight:500;color:#54624f}.header-badge{border:1px solid #dce1d2;background:#fffefa;padding:8px 12px;border-radius:30px;font-family:'DM Sans';font-size:10px;direction:ltr;display:flex;align-items:center;gap:8px}.header-badge i{width:6px;height:6px;background:#799461;border-radius:100%}main{padding:37px 46px;max-width:1500px;margin:auto;min-height:calc(100vh - 153px)}.eyebrow{font-size:10px;letter-spacing:2px;color:#7c8a6c;font-family:'DM Sans';font-weight:600}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.7;font-weight:700}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:20px}.page-heading p{color:var(--muted);font-size:12px;margin-top:7px}.date-pill{font-size:10px;color:#7d8575;border:1px solid var(--line);border-radius:30px;padding:8px 13px;white-space:nowrap}.hero{background:#e5ecdc;border:1px solid #dce3d1;border-radius:16px;min-height:248px;padding:32px 34px;display:grid;grid-template-columns:1.3fr 1fr;position:relative;overflow:hidden;gap:20px}.hero h2{font-size:26px;line-height:1.9;max-width:450px;margin:9px 0}.hero p{font-size:12px;color:#65765f;max-width:400px;line-height:2.1}.hero .actions{margin-top:23px}.btn{border:0;background:var(--green);color:#fffdf4;border-radius:7px;padding:11px 20px;font-size:12px;display:inline-flex;gap:17px;align-items:center;justify-content:center;transition:.2s}.btn:hover{background:#294b37;transform:translateY(-1px)}.btn.light{background:#fffdf3;color:#456043;border:1px solid #d3dbc7}.btn.outline{background:transparent;color:var(--green);border:1px solid #c9d3c1}.btn.small{font-size:10px;padding:7px 12px}.hero-art{direction:ltr;display:flex;align-items:center;justify-content:center;position:relative;min-height:200px}.word-art{font-family:'Playfair Display',Georgia,serif;font-size:56px;line-height:1.1;transform:rotate(-6deg);position:relative;z-index:1}.word-art em{color:#65835d;font-weight:400}.word-art small{display:block;font-family:'DM Sans';font-size:9px;letter-spacing:3px;margin:18px 0 0 9px;font-weight:500}.orbit{position:absolute;width:220px;height:220px;border:1px solid #c4d2b8;border-radius:50%;transform:rotate(-25deg)}.orbit:after{content:'';position:absolute;border:1px solid #c4d2b8;border-radius:50%;inset:14px -24px;transform:rotate(60deg)}.star{color:#bd8054;font-size:45px;position:absolute;top:8px;left:15px}.art-label{position:absolute;bottom:4px;right:13px;border:1px solid #aebb9f;background:#eef2e5;padding:7px 14px;font-size:9px;transform:rotate(6deg);z-index:2}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0 32px}.stat{border:1px solid var(--line);background:var(--white);border-radius:11px;padding:18px 20px;display:flex;align-items:center;gap:14px}.stat .iconbox{background:#f1f2e9;padding:10px;border-radius:9px;display:grid;place-items:center;color:#76886a}.stat svg{width:19px;height:19px}.stat b{font:600 26px 'DM Sans',Arial;display:block;line-height:1.1}.stat span{font-size:10px;color:var(--muted);display:block;margin-top:6px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:27px 0 17px}.section-heading h2{font-size:17px;font-weight:600}.section-heading small{font-size:10px;color:var(--muted);margin-right:10px}.section-heading a{font-size:11px;color:#738365}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:24px}.path-card,.tip-card,.panel{border:1px solid var(--line);background:var(--white);border-radius:12px;padding:24px}.path-step{display:flex;align-items:center;gap:17px;padding:16px 0;position:relative;border-bottom:1px solid #efefe6}.path-step:last-child{border-bottom:0}.path-step .number{width:32px;height:32px;border:1px solid #d6ddca;border-radius:50%;display:grid;place-items:center;font:12px 'DM Sans';background:#f3f5ec;flex-shrink:0}.path-step:first-child .number{background:var(--green);color:white}.path-step h3{font-size:12px;margin-bottom:5px;font-weight:600}.path-step p{font-size:10px;color:var(--muted)}.path-step .arrow{margin-right:auto;color:#95a18b}.tip-card{background:#efe9dd;position:relative;overflow:hidden}.tip-card .eyebrow{color:#a0805e}.tip-card h3{font-size:18px;line-height:1.9;margin:14px 0 10px}.tip-card p{font-size:12px;line-height:2.2;color:#8b7e68}.tip-card .tip-foot{margin-top:24px;display:flex;gap:8px;align-items:center;font-size:10px;color:#96856a}.courses{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.course{border:1px solid var(--line);background:var(--white);border-radius:12px;padding:22px;transition:.2s;cursor:pointer;display:block}.course:hover{border-color:#9eaf8d;transform:translateY(-3px)}.course-top{display:flex;align-items:center;justify-content:space-between}.course-code{font:600 10px 'DM Sans';letter-spacing:1px;color:#7d8b70}.course-icon{width:40px;height:40px;background:#eef1e4;border-radius:10px;display:grid;place-items:center;color:#74865e}.course-icon svg{width:21px;height:21px}.course h3{font-size:16px;margin:20px 0 5px}.course p{font-size:10px;color:var(--muted);line-height:2}.course .bar{height:4px;background:#eceee3;border-radius:8px;margin:22px 0 11px;overflow:hidden}.bar i{display:block;background:#78945e;height:100%;border-radius:5px}.course-foot{display:flex;justify-content:space-between;font-size:9px;color:#8b9380}.notice{padding:16px 20px;background:#ecefe4;border:1px solid #dbe1cf;border-radius:9px;font-size:11px;line-height:2;color:#66745a;margin-bottom:22px}.notice.warm{background:#f5ecdf;border-color:#e8d8bf;color:#907348}.toolbar{display:flex;gap:12px;align-items:center;margin:24px 0;flex-wrap:wrap}.search{flex:1;min-width:200px;border:1px solid var(--line);background:var(--white);padding:12px 16px;border-radius:8px;outline:none}.search:focus{border-color:#7e9670}.select{border:1px solid var(--line);background:var(--white);padding:11px 13px;border-radius:8px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.tab{border:1px solid #dce1d3;background:transparent;border-radius:20px;padding:8px 14px;font-size:11px}.tab.active{background:var(--green);color:white;border-color:var(--green)}.exercise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.exercise-card{padding:21px;border:1px solid var(--line);border-radius:11px;background:var(--white);cursor:pointer;position:relative;display:flex;flex-direction:column;min-height:190px;transition:.18s}.exercise-card:hover{border-color:#9caf8c;box-shadow:0 5px 15px #283c2710}.exercise-card .top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b947f}.exercise-card h3{font-size:16px;line-height:1.6;font-family:'DM Sans',Vazirmatn,Arial;margin:15px 0 9px;direction:ltr;text-align:left;font-weight:500}.exercise-card p{font-size:10px;color:var(--muted)}.exercise-card .bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:18px}.tag{font-size:9px;color:#6e8560;background:#eef3e5;border-radius:4px;padding:3px 6px;white-space:nowrap}.tag.warm{color:#a38159;background:#f6eddf}.bookmark{background:none;border:0;color:#94a284;font-size:19px;padding:0 5px}.bookmark.on{color:#c78d4e}.empty{text-align:center;padding:70px 20px;border:1px dashed #d5ddc8;border-radius:12px;color:#879278}.empty h2{font-size:20px;color:#526449;margin-bottom:12px}.empty p{line-height:2.1;max-width:550px;margin:auto;font-size:12px}.empty .btn{margin-top:24px}.reader-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:20px}.reader-heading h1{font:500 23px 'DM Sans';direction:ltr;text-align:left}.reader-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:20px}.timer{direction:ltr;background:#e9edde;border:1px solid #d5deca;padding:8px 13px;border-radius:7px;font-family:'DM Sans';font-variant-numeric:tabular-nums}.reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start;direction:ltr}.source-panel,.answer-panel{direction:rtl}.source-panel{background:white;border:1px solid #dedfd5;border-radius:10px;padding:12px;overflow:hidden}.page-image{width:100%;height:auto;display:block}.image-label{font-size:10px;color:#8b9383;margin:10px 5px}.answer-panel{position:sticky;top:20px}.answer-panel .panel{padding:20px;margin-bottom:14px}.answer-panel h2{font-size:14px;margin-bottom:15px}.answer-panel p{font-size:10px;color:#818b77;line-height:2}.answer-row{display:flex;align-items:center;gap:8px;padding:7px 0;direction:ltr}.answer-row b{width:30px;font:12px 'DM Sans'}.answer-row select{flex:1;background:#f9faf3;border:1px solid #dbe2cf;border-radius:5px;padding:7px;font:12px 'DM Sans'}.answer-row.correct select{border-color:#70a270;background:#eaf4e5}.answer-row.wrong select{border-color:#c58a74;background:#f8eae1}.key-label{font-size:10px;color:#9d654c;min-width:12px}.answer-panel textarea{width:100%;height:120px;resize:vertical;background:#fafbf5;border:1px solid #dce2d2;border-radius:7px;padding:11px;font-size:11px;line-height:2}.full{width:100%;margin-top:12px}.result-box{margin-top:12px;padding:13px;background:#e7eedf;border:1px solid #cfdabe;border-radius:7px;font-size:12px;line-height:2}.self-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}.native-text{font-family:Georgia,'Times New Roman',serif;direction:ltr;text-align:left;line-height:1.9;color:#333f32;font-size:17px;padding:24px;white-space:pre-line}.native-text h3{font:600 18px 'DM Sans';margin:22px 0 10px}.headlines{display:grid;gap:8px;direction:ltr;text-align:left;padding:20px;border-bottom:1px solid var(--line)}.headline{font-family:Georgia,serif;font-size:16px;line-height:1.6;border-bottom:1px solid #f0f1e8;padding:8px}.headline b{font:600 12px 'DM Sans';display:inline-block;color:#7c946a;width:25px}.mode-tabs{display:flex;gap:7px;margin-bottom:15px}.mode-tabs button.active{background:var(--green);color:white}.bookpager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:11px}.pager{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:28px}.pager span{padding:0 15px;color:#85917a;font-size:11px}.shelf-count{color:#87957d;font-size:11px}.exam-preview{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.exam-number{font:100px 'Playfair Display';color:#a2b195}.exam-list{display:grid;gap:14px;margin-top:25px}.exam-list div{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px}.exam-list small{color:#959d8a}.settings-line{font-size:11px;line-height:2;color:#829073;margin-top:14px}footer{height:65px;padding:0 46px;display:flex;align-items:center;justify-content:space-between;color:#929988;font-size:9px;border-top:1px solid var(--line)}footer span[dir]{font:8px 'DM Sans';letter-spacing:1.8px}#toast{position:fixed;bottom:25px;left:30px;background:#324e3c;color:white;padding:12px 20px;border-radius:8px;box-shadow:0 5px 30px #0002;transform:translateY(100px);transition:.3s;z-index:100;font-size:12px}#toast.show{transform:translateY(0)}@media(min-width:1600px){main{padding-top:45px}.hero{min-height:280px}}@media(max-width:1150px){.sidebar{width:215px;padding:30px 18px}.app{margin-right:215px}main{padding:30px}header{padding:0 30px}.stats{gap:8px}.stat{padding:15px 12px;gap:10px}.stat .iconbox{padding:8px}.reader-layout{grid-template-columns:minmax(0,1fr) 240px}.exercise-grid{grid-template-columns:repeat(2,1fr)}.hero-art{transform:scale(.85)}.hero h2{font-size:23px}}@media(max-width:800px){.sidebar{width:75px;padding:24px 10px}.brand{justify-content:center}.brand>div,.side-label,.side-bottom,nav a span,nav a small{display:none}.brand-icon{width:44px;height:48px;font-size:25px}nav{margin-top:40px}nav a{padding:14px;justify-content:center}.app{margin-right:75px}.courses{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr 1fr;padding:25px}.word-art{font-size:44px}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.tip-card{display:none}.reader-layout{grid-template-columns:1fr}.answer-panel{position:static;grid-row:1}.answer-panel>.panel{margin-bottom:8px}.answer-panel textarea{height:70px}.answer-panel .answer-rows{display:grid;grid-template-columns:repeat(2,1fr);gap:0 15px}.exam-preview{grid-template-columns:1fr}}@media(max-width:540px){.sidebar{position:fixed;bottom:0;top:auto;left:0;right:0;width:100%;height:67px;border-left:0;border-top:1px solid #d5ddc9;background:#eff1e6;padding:6px;display:block}.brand{display:none}nav{margin:0;flex-direction:row;justify-content:space-around;gap:0}nav a{padding:11px 14px;border-radius:9px}nav a svg{width:21px;height:21px}.app{margin:0;padding-bottom:67px}header{height:65px;padding:0 20px}.breadcrumb{font-size:10px}.breadcrumb span{padding:0 7px}.header-badge{font-size:8px;padding:7px 9px}main{padding:25px 18px}h1{font-size:23px}.page-heading{margin-bottom:20px}.date-pill{display:none}.hero{grid-template-columns:1fr;min-height:0;padding:25px}.hero-art{display:none}.hero h2{font-size:24px}.hero p{font-size:11px}.stat b{font-size:23px}.stat{padding:15px}.stats{margin-bottom:25px}.courses{gap:10px}.course{padding:17px}.course h3{font-size:14px}.course p{font-size:9px}.course-icon{width:32px;height:32px}.section-heading small{display:none}.section-heading h2{font-size:16px}.exercise-grid{grid-template-columns:1fr}.exercise-card{min-height:165px}.toolbar{gap:8px}.search{width:100%;flex-basis:100%}.select{flex:1;font-size:11px}.reader-heading{flex-wrap:wrap}.reader-heading h1{font-size:20px}.reader-toolbar{gap:6px}.reader-toolbar .btn{font-size:10px;padding:8px 10px}.native-text{font-size:16px;padding:14px}.headlines{padding:10px}.headline{font-size:15px}.panel{padding:20px}.exam-number{font-size:70px}footer{padding:15px 20px;height:auto;gap:12px;flex-wrap:wrap}footer span[dir]{font-size:7px}.tabs{gap:6px}.tab{font-size:10px;padding:7px 10px}.page-heading p{font-size:11px}}
.tk-hero{display:flex;align-items:center;justify-content:space-between;background:#ede7d9;border:1px solid #e2dac8;border-radius:15px;padding:30px 35px;margin-bottom:25px;gap:25px}.tk-hero h2{font-size:28px;line-height:1.8;margin:10px 0}.tk-hero p{font-size:12px;line-height:2;color:#8b7b62;margin-bottom:20px}.tk-hero-word{font:44px 'Playfair Display',Georgia;direction:ltr;line-height:1.3;color:#7d8163;transform:rotate(-5deg)}.tk-hero-word em{color:#b0845e}.tk-tabs{margin:25px 0 18px}.tk-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tk-card{border:1px solid var(--line);background:var(--white);padding:22px;border-radius:11px;display:flex;flex-direction:column;transition:.2s}.tk-card:hover{border-color:#aab99a;transform:translateY(-2px)}.tk-card h3{font-size:16px;line-height:1.8;margin:20px 0 7px}.tk-card>p{font:12px 'DM Sans';line-height:1.6;text-align:right;color:#7e896f}.tk-skill-tags{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.tk-card-foot{display:flex;justify-content:space-between;color:#8a957c;font-size:9px;border-top:1px solid var(--line);padding-top:16px;margin-top:auto;gap:8px}.tk-source{background:#ecefe3;border:1px solid #d8e0cd;border-radius:10px;margin:24px 0;padding:16px 20px;font-size:11px;line-height:2;color:#6f7f60}.tk-source summary{cursor:pointer;font-weight:600}.tk-source p{margin:12px 0}.tk-source img{display:block;max-width:100%;width:800px;margin:15px auto;border-radius:6px}.tk-phrase-list{display:grid;gap:12px}.tk-phrase{background:var(--white);border:1px solid var(--line);padding:24px;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:20px}.tk-de{font-family:'DM Sans',Arial,sans-serif;font-size:19px;line-height:1.8;color:#34553c;text-align:left;white-space:pre-wrap}.tk-fa{font-size:12px;line-height:2.1;color:#8a897c;margin-top:7px}.tk-phrase-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.tk-writing{margin-top:22px}.tk-writing h2{font-size:16px;margin-bottom:12px}.tk-writing>p{font-size:12px;color:#89917d;line-height:2.2}.tk-writing textarea{display:block;width:100%;min-height:160px;resize:vertical;border:1px solid #d8e0cd;border-radius:7px;padding:15px;margin:18px 0;background:#fafbf5;line-height:2;font-size:14px;direction:ltr;text-align:left}.tk-lesson-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:20px;align-items:start}.tk-lesson-grid .tk-writing{margin-top:0}.tk-lesson>h2{font-size:17px;margin:5px 0 16px}.tk-lesson>p{font-size:14px;line-height:2.5;color:#64745c}.tk-lesson pre{font-family:'DM Sans',Arial;white-space:pre-wrap;font-size:15px;line-height:2.2;padding:20px;border-radius:8px;border:1px solid #dce4d1;background:#f0f4e6;color:#516b43;text-align:left;margin:22px 0}.tk-example{padding:14px 0;border-bottom:1px solid var(--line)}.tk-lesson>.notice{margin-top:22px;margin-bottom:0}.tk-quiz{margin-top:24px}.tk-quiz>p{font-size:11px;color:#869377}.tk-quiz fieldset{border:1px solid #dde4d2;border-radius:8px;margin:22px 0;padding:20px;min-width:0}.tk-quiz legend{font-size:15px;line-height:2;padding:0 8px;max-width:100%}.tk-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tk-options label{display:flex;align-items:center;gap:8px;border:1px solid #e1e6d7;background:#f8faf2;border-radius:6px;padding:12px;font-family:'DM Sans',Vazirmatn,Arial;font-size:14px;line-height:1.7;cursor:pointer}.tk-options input{accent-color:#4d7145;flex-shrink:0}.tk-correct,.tk-wrong{padding:14px;margin-top:18px;background:#eaf3e4;color:#507445;border-radius:7px;font-size:13px}.tk-wrong{background:#f9ede4;color:#9a6b4d}.tk-qfeedback p{font-family:Vazirmatn;font-size:11px;line-height:2.2;margin-top:6px;direction:rtl}.tk-path{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.tk-path .number{font:27px 'Playfair Display';color:#a4ad93}.tk-path h2{font-size:20px;margin:12px 0}.tk-path p{font-size:12px;line-height:2.2;color:#8b947e}.tk-path-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.tk-path-links a{font-size:10px;background:#edf2e5;border:1px solid #dde6d0;border-radius:5px;padding:8px;color:#6a825a}.tk-flash{max-width:800px;min-height:360px;text-align:center;padding:45px;margin:25px auto}.tk-flash h2{font-size:24px;line-height:2;margin:25px 0 10px}.tk-flash>p{font-size:12px;line-height:2.2;color:#879278}.tk-flash-answer{padding:20px 0;margin:15px 0}.tk-flash-answer .tk-de{text-align:center;font-size:23px;margin-bottom:20px}.tk-flash .text-button{margin:20px auto 0}.tk-home-link{margin:22px 0;background:#eee9dc;border:1px solid #e3dbc6;border-radius:12px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.tk-home-link h3{font-size:16px;margin-bottom:6px}.tk-home-link p{font-size:11px;color:#8c8068;line-height:2}@media(max-width:1100px){.tk-card-grid{grid-template-columns:repeat(2,1fr)}.tk-hero-word{font-size:35px}.tk-lesson-grid{grid-template-columns:1fr}.tk-options{grid-template-columns:1fr}.tk-de{font-size:18px}}@media(max-width:600px){.tk-card-grid{grid-template-columns:1fr}.tk-hero{padding:25px}.tk-hero-word{display:none}.tk-hero h2{font-size:25px}.tk-phrase{padding:20px;flex-direction:column;align-items:stretch}.tk-phrase-actions{justify-content:flex-end}.tk-path{grid-template-columns:1fr}.tk-flash{padding:25px 20px}.tk-flash h2{font-size:20px}.tk-flash-answer .tk-de{font-size:20px}.tk-home-link{flex-direction:column;align-items:start}.tk-lesson>p{font-size:13px}.tk-quiz fieldset{padding:12px}.tk-quiz legend{font-size:13px}}
.writing-intro,.writing-workspace{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.writing-intro h2,.exam-intro h2{font-size:25px;line-height:1.9;margin:13px 0}.writing-intro p{font-size:12px;line-height:2.2;color:#7f8e73}.writing-flow{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;background:#eef2e5;border-radius:8px;padding:15px;margin-top:20px;color:#6a815a}.writing-intro .exam-list{margin-top:8px}.writing-intro .exam-list>div{padding:12px 0}.writing-tips{margin-top:26px}.writing-tips h2,.writing-review h2{font-size:18px;margin-bottom:16px}.writing-tips li{padding:7px 0;font-size:13px;line-height:2;color:#6c7e60}.writing-tips>p{font-size:11px;color:#8a957c;line-height:2;margin:15px 0}.writing-workspace h2{font-size:17px;line-height:1.8}.writing-situation{font-size:13px;line-height:2.5;margin-top:16px;color:#6f7f63}.leadpoints{font:14px 'DM Sans',Arial;text-align:left;line-height:1.9;padding-left:23px;margin-top:20px}.leadpoints li{padding:7px 0}.writing-help summary,.writing-review summary{cursor:pointer;font-size:13px;font-weight:600}.writing-stems{padding-top:15px}.writing-stems p[dir]{font:16px 'DM Sans';line-height:2.1;text-align:left;color:#547045}.writing-stems>p{font-size:11px;color:#7c8b70;line-height:2;margin:15px 0}.writing-label{display:block;font-size:12px;color:#6c7b61;margin:22px 0 9px}.writing-editor .search{width:100%;font-size:15px}.writing-editor textarea{display:block;width:100%;min-height:490px;resize:vertical;border:1px solid #d9e1ce;background:#fcfdf8;border-radius:7px;padding:20px;font:16px 'DM Sans',Arial;line-height:1.9;color:#344e35;text-align:left}.writing-count{display:flex;justify-content:space-between;gap:15px;margin-top:12px;font-size:10px;color:#869576}.writing-review{margin-top:24px}.writing-review>p{font-size:11px;color:#8a947e;line-height:2}.writing-checks{display:grid;gap:15px;padding:24px 0}.writing-checks label{font-size:12px;line-height:2;display:flex;align-items:start;gap:9px}.writing-checks input{accent-color:#547347;margin-top:5px}.writing-ratings{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.writing-ratings label{font-size:11px;color:#778967;line-height:2.2}.writing-ratings select{display:block;width:100%;margin-top:7px;font-size:12px}.exam-intro{display:flex;align-items:center;justify-content:space-between;background:#e7eddf;border-color:#d5dfc8;padding:25px 35px}.exam-intro p{font-size:12px;line-height:2.2;color:#7d8a70;margin:14px 0 23px}.exam-models{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:27px}.exam-models h2{font-size:24px;margin:25px 0 15px}.exam-models p{font-size:12px;line-height:2.2;color:#7a8b6d}.exam-model-meta{display:grid;gap:10px;font-size:10px;color:#8f9b83;margin:25px 0}.exam-table-wrap{overflow-x:auto}.exam-table{width:100%;border-collapse:collapse;font-size:12px;line-height:2;text-align:right}.exam-table th{font-weight:600;background:#ebf0e2}.exam-table th,.exam-table td{padding:13px;border:1px solid #e2e7d8}.exam-table td:first-child{font-family:'DM Sans',Vazirmatn;white-space:nowrap}.exam-format-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.exam-format-grid h2{font-size:17px;margin-bottom:15px}.exam-format-grid p{font-size:12px;line-height:2.5;color:#78896c;margin-bottom:20px}.exam-stage-strip{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0}.exam-stage-strip button:disabled{opacity:.55}.exam-run-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0;gap:15px}.exam-run-heading h2{font-size:21px}.exam-run-heading p{font-size:11px;line-height:2.1;color:#8a977b;margin-top:8px}.exam-run-heading .timer{font-size:20px;padding:12px 20px;white-space:nowrap}.exam-stage-start{text-align:center;padding:60px 25px}.exam-stage-start h2{font-size:24px;margin-bottom:20px}.exam-stage-start p{font-size:13px;line-height:2.3;max-width:650px;margin:0 auto 30px;color:#809271}.exam-reader{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:20px;direction:ltr;align-items:start}.exam-reader>section,.exam-reader>aside{direction:rtl}.exam-reader .page-image{margin-bottom:18px}.exam-sheet{position:sticky;top:15px;padding:20px}.exam-sheet h2{font-size:15px;margin-bottom:18px}.exam-audio{display:flex;align-items:center;flex-wrap:wrap;gap:15px;border-color:#d2dfc4;background:#edf3e6;margin-bottom:24px}.exam-audio strong{font-size:13px}.exam-audio p{font-size:10px;line-height:2;color:#859674;margin-top:6px}.exam-audio audio{max-width:100%;height:36px}.exam-audio [role=status]{display:block;width:100%;font-size:10px;color:#788e64}.exam-finish-bar{margin-top:30px;padding:23px 0;border-top:1px solid var(--line)}.exam-score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0}.exam-score-grid .stat small{font-size:13px;color:#91a080}.exam-written{font:15px 'DM Sans',Arial;line-height:2;white-space:pre-wrap;background:#f6f8f0;padding:23px;border:1px solid #dfe6d4;border-radius:8px;margin:20px 0;max-height:500px;overflow:auto;text-align:left}.exam-result-parts{display:grid;grid-template-columns:1fr 1fr;gap:15px}.exam-result-parts summary{cursor:pointer;font-size:13px}.exam-result-parts table{margin-top:20px}.answer-ok{background:#f1f7ea;color:#5c7d49}.answer-bad{background:#fbf0e7;color:#a27654}.exam-home-links{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.exam-locked{opacity:.7;pointer-events:none}@media(max-width:1100px){.writing-workspace{grid-template-columns:1fr}.writing-editor textarea{min-height:420px}.exam-reader{grid-template-columns:minmax(0,1fr) 200px}.exam-models{gap:10px}.exam-models .panel{padding:20px}.exam-score-grid{grid-template-columns:1fr 1fr}}@media(max-width:800px){.writing-intro,.exam-models,.exam-format-grid{grid-template-columns:1fr}.exam-reader{grid-template-columns:1fr}.exam-reader .exam-sheet{grid-row:1;position:static}.exam-sheet #exam-answers{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.exam-result-parts{grid-template-columns:1fr}.exam-intro .exam-number{font-size:70px}.writing-ratings{grid-template-columns:1fr}.writing-ratings label{display:flex;align-items:center;justify-content:space-between;gap:15px}.writing-ratings select{width:60%}}@media(max-width:540px){nav a{padding:11px 10px}.exam-home-links{grid-template-columns:1fr;gap:12px}.exam-intro{padding:25px}.exam-intro .exam-number{display:none}.writing-intro h2,.exam-intro h2{font-size:23px}.writing-count{flex-direction:column;gap:7px}.writing-flow{font-size:10px}.exam-stage-strip .tab{font-size:10px;padding:8px 11px}.exam-run-heading h2{font-size:18px}.exam-run-heading .timer{font-size:17px;padding:10px 13px}.exam-run-heading{align-items:start}.exam-stage-start h2{font-size:20px}.exam-stage-start p{font-size:12px}.exam-table th,.exam-table td{font-size:10px;padding:9px}.exam-score-grid{gap:9px}.writing-editor textarea{padding:14px;min-height:430px}.exam-audio{padding:18px}.leadpoints{font-size:13px}.writing-editor input.search{min-width:0}.exam-result-parts .panel{padding:16px}}
/* Writing Redemittel and speaking preparation */
.lang-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.lang-intro{background:var(--mint);margin:20px 0}.lang-intro h2{font-size:23px;line-height:1.9}.lang-intro p,.lang-body,.lang-routine p,.lang-provenance p{font-size:13px;line-height:2.2;margin:12px 0;color:#65735f}.lang-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:25px 0 12px}.lang-controls .search{flex:1;min-width:200px}.lang-controls label{font-size:11px;display:flex;gap:7px;align-items:center}.lang-controls .select{max-width:100%}.lang-group{margin:28px 0}.lang-group>h2{font-size:19px}.lang-group>p{font-size:12px;color:var(--muted);line-height:2;margin:8px 0 17px}.lang-phrase-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lang-phrase{padding:22px;display:flex;flex-direction:column;min-width:0}.lang-phrase>p{font:17px/1.85 'DM Sans',Arial,sans-serif;text-align:left;overflow-wrap:anywhere;color:#274d38}.lang-translation p{font-size:13px;line-height:2;margin:12px 0 4px}.lang-translation small{font-size:11px;line-height:2;color:#7c8177;display:block}.lang-card-actions{display:flex;gap:10px;margin-top:auto;padding-top:17px}.lang-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.lang-stage-grid h2{font-size:21px;margin:18px 0}.lang-stage-grid p{font-size:13px;line-height:2.1;margin-bottom:20px}.lang-routine{margin:24px 0}.lang-routine li{font-size:13px;line-height:2.4;margin:10px 0}.lang-routine .btn{margin-top:15px}.lang-provenance{margin:25px 0}.lang-provenance summary{cursor:pointer;font-size:13px}.lang-provenance a{color:var(--green);text-decoration:underline}.lang-topic-list{margin:22px 0}.lang-lexicon{font:13px/2 'DM Sans',Arial,sans-serif;text-align:left;color:#7b846e;margin:15px 0;overflow-wrap:anywhere}.lang-detail-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start}.lang-detail-grid>section{min-width:0}.lang-model{margin:20px 0}.lang-model summary{font-size:13px;line-height:2;cursor:pointer}.lang-script{font:16px/1.95 'DM Sans',Arial,sans-serif;white-space:pre-wrap;text-align:left;margin:20px 0;background:#f4f6ee;border-radius:9px;padding:22px;overflow-wrap:anywhere}.lang-personal{position:sticky;top:15px}.lang-personal textarea{display:block;width:100%;min-height:390px;border:1px solid #d7dece;background:#fffef9;border-radius:8px;padding:18px;margin:18px 0 8px;font:16px/1.9 'DM Sans',Arial,sans-serif;resize:vertical}.lang-practice-timer{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:25px 0 12px;border-top:1px solid var(--line);padding-top:22px}.lang-practiced{font-size:12px;line-height:2;display:block;margin:20px 0}.lang-followup details{border-top:1px solid var(--line);padding:15px 0}.lang-followup h2{font-size:18px;margin-bottom:15px}.lang-followup summary{font:15px/1.8 'DM Sans',Arial,sans-serif;text-align:left;cursor:pointer}.lang-followup p{font:15px/1.9 'DM Sans',Arial,sans-serif;text-align:left;padding:15px 0;color:#617254}.lang-arguments>div{border-top:1px solid var(--line);padding:14px 0}.lang-arguments b{font-size:11px;color:#889177}.lang-arguments p{font:15px/1.9 'DM Sans',Arial,sans-serif;text-align:left;margin-top:7px}.lang-model .actions{flex-wrap:wrap}.lang-personal .settings-line{line-height:2;display:block}.lang-script[hidden],.lang-translation[hidden]{display:none}
@media(max-width:1100px){.lang-detail-grid{grid-template-columns:1fr}.lang-personal{position:static}.lang-stage-grid{grid-template-columns:1fr}.lang-stage-grid .tk-card{padding:22px}.lang-stage-grid h2{margin:10px 0}.lang-phrase-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.lang-phrase-grid{grid-template-columns:1fr}.lang-controls .search{min-width:0;width:100%;flex-basis:100%}.lang-script{padding:16px;font-size:15px}.lang-intro h2{font-size:21px}.lang-controls .select{width:100%}.lang-links .btn{font-size:10px}nav{overflow-x:auto;justify-content:flex-start}nav a{flex:0 0 auto}.lang-personal textarea{min-height:320px}.lang-detail-grid{gap:10px}}
/* Contextual Persian reading aid, including OCR word boxes on book images. */
#translation-toggle{position:fixed;left:16px;bottom:18px;z-index:70;background:#365d46;color:#fff;border:1px solid #d8e0cc;border-radius:25px;padding:10px 16px;box-shadow:0 4px 18px #253d3220;font-size:11px}#translation-toggle[aria-pressed=false]{background:#f8f8f1;color:#65735e}#translation-tip{position:fixed;width:min(370px,calc(100vw - 16px));max-height:calc(100vh - 24px);overflow:auto;z-index:1000;border:1px solid #cdd9c2;border-radius:14px;padding:16px 19px;background:#fffff9;box-shadow:0 10px 45px #243a3030;pointer-events:auto}#translation-tip[hidden]{display:none!important}.tr-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#879176}.tr-top button{background:none;border:0;font:22px Arial;padding:0 5px;color:#677561}#tr-de{font:16px/1.8 'DM Sans',Arial,sans-serif;text-align:left;margin:12px 0;overflow-wrap:anywhere;white-space:pre-wrap}#tr-fa{font-size:14px;line-height:2;color:#294b37;border-top:1px solid #e2e8d9;padding-top:10px}#tr-source{font-size:10px;line-height:1.9;color:#91947f;display:block;margin-top:8px}.tr-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}.tr-actions button{border:1px solid #d3deca;border-radius:6px;background:#eef3e6;color:#49613e;font-size:10px;padding:7px 10px}.tr-actions [hidden]{display:none}::highlight(translation-unit){background:#f5d99080;text-decoration:underline;text-decoration-color:#b19443}.tr-image-wrap{position:relative;display:block;line-height:0;max-width:100%}.tr-image-wrap>img{display:block;width:100%;height:auto;margin:0!important}.tr-image-cover{position:absolute;inset:0;direction:ltr;pointer-events:none;overflow:hidden}.tr-image-word{position:absolute;display:block;overflow:hidden;color:transparent;font-size:1px;line-height:1;pointer-events:none;user-select:none}.translation-on .tr-image-word{pointer-events:auto;cursor:help}.translation-on .tr-image-word:hover{background:#f1cf6c55;outline:1px solid #c4a44870}.tk-quiz .actions{flex-wrap:wrap}.tk-quiz .settings-line{line-height:2;margin-top:16px}@media(max-width:540px){#translation-toggle{bottom:78px;left:10px;padding:8px 12px;font-size:10px}#translation-tip{font-size:12px}}
.priority-panel{margin:20px 0;padding:22px 26px}.priority-panel>summary{cursor:pointer;font-size:14px;font-weight:600;line-height:2}.priority-panel>summary>span{font-weight:400;font-size:10px;color:var(--muted);margin-right:12px}.priority-panel ol,.priority-panel ul{padding-right:23px}.priority-panel li{font-size:12px;line-height:2.2;margin:15px 0}.priority-panel li strong{color:var(--green)}.priority-panel li p{color:#788270;margin-top:4px}.priority-panel .exam-table{margin-top:15px}.priority-panel .settings-line{display:block;line-height:2;margin:14px 0}.priority-evidence{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.priority-evidence span{padding:7px 10px;border:1px solid #e1e6d8;border-radius:6px;font-size:10px;line-height:1.8}.source-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.source-review-grid article{border:1px solid var(--line);border-radius:9px;padding:18px;min-width:0}.source-review-grid h3{font-size:14px;overflow-wrap:anywhere;line-height:1.8}.source-review-grid p{font-size:11px;color:#7a8571;line-height:2;margin:10px 0}.frequency-badge{white-space:normal;line-height:1.8;margin:10px 0 0}#tk-grammar-sort{margin:0 0 18px;max-width:100%}.lang-body{white-space:pre-line}@media(max-width:650px){.source-review-grid{grid-template-columns:1fr}.priority-panel{padding:18px}.priority-panel>summary>span{display:block;margin-right:0}.priority-evidence{gap:5px}.priority-evidence span{width:100%}}
/* Selectable source pages: the original scan stays inside a closed comparison panel. */
.text-page{min-width:0;margin:18px 0;border:1px solid var(--line,#dce2d3);border-radius:12px;overflow:hidden;background:#fffefa}
.text-page-toolbar{height:auto;min-height:0;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;position:static;direction:rtl;border-bottom:1px solid #e4e7dc;background:#f6f7ef}
.text-page-actions{display:flex;gap:8px;flex-wrap:wrap}.text-page-status{padding:12px 20px;direction:rtl;text-align:right;font-size:12px;color:#69775f;line-height:1.9}.text-quality-note{display:block;margin-top:6px}.text-answer-note{margin:8px 0 0;color:#8d6033}
.text-page-body{padding:12px 30px 30px;direction:ltr;text-align:left;font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.9;user-select:text;color:#293c33;overflow-wrap:anywhere}
.text-page-body p{margin:0 0 22px}.text-page-body .text-heading{font-family:inherit;font-size:1.15em;line-height:1.6;margin:24px 0 14px}.text-page-body .text-item{padding:10px 14px;border-left:3px solid #dce4cd;background:#fafbf5;margin-bottom:12px}
.text-table-scroll{overflow-x:auto;margin:20px 0}.text-table,.text-question-options{font-size:16px;font-family:'Courier New',monospace;line-height:1.85;white-space:pre;overflow-x:auto;text-align:left;direction:ltr;tab-size:4}.text-question-options{white-space:pre-wrap;border:1px solid #dce2d3;padding:14px 18px;border-radius:8px;background:#f8faf3;margin:14px 0;break-inside:avoid}
.text-mark-uncertain{text-decoration:underline dotted #ae885a;text-underline-offset:5px}.text-mark-red{color:#b43829;font-weight:700}.text-mark-green{color:#167044;font-weight:700}.text-mark-highlight{background:#fff29b}.text-page-original{padding:14px 20px;border-top:1px solid #e4e7dc;direction:rtl}.text-page-original summary{cursor:pointer;color:#526e54;font-size:13px}.text-page-original img{margin-top:18px}.tk-source .text-page{margin-top:14px}.text-page-actions button:disabled{opacity:.45}
@media(max-width:700px){.text-page-body{padding:10px 17px 20px;font-size:17px}.text-page-toolbar{padding:12px}.text-page-status{padding:10px 15px}.text-question-options{font-size:15px}}
/* Focused Grammatik aktiv teaching stays inside the existing grammar lessons. */
.ga-badge{background:#edf0e3;color:#557149;white-space:normal}.ga-lesson{margin-top:24px;line-height:2.2}.ga-lesson h2{font-size:18px}.ga-lesson h3{font-size:15px;margin:20px 0 10px}.ga-goal{font-size:14px;color:#456145;margin:16px 0}.ga-foundation,.ga-worked,.ga-refs{border:1px solid #dce4d1;border-radius:8px;padding:14px 18px;margin:18px 0;background:#f9faf3}.ga-lesson summary{cursor:pointer;font-weight:600;font-size:12px}.ga-foundation p,.ga-worked p,.ga-refs li{font-size:13px;line-height:2.3}.ga-steps{padding-right:24px;margin:0}.ga-steps li{font-size:14px;line-height:2.35;margin:12px 0;padding-right:7px}.ga-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ga-examples .tk-example{padding:18px;border:1px solid #e1e7d8;border-radius:8px;background:#fff}.ga-examples .tk-de{font-size:18px}.ga-example-note{font-size:12px;color:#727c66;margin-top:10px;line-height:2.1}.ga-worked details{margin-top:14px;padding-top:12px;border-top:1px solid #dce4d1}.ga-prompt{white-space:pre-wrap}.ga-production{padding:8px 20px 16px;border-right:3px solid #9dad82;background:#f2f5ea;border-radius:7px;font-size:13px}.ga-production ul{padding-right:20px}.ga-refs{background:transparent}.ga-refs ul{padding-right:20px}.ga-refs li{margin:8px 0}.ga-path{display:grid;gap:16px}.ga-path section{border:1px solid #dce4d1;border-radius:8px;padding:15px 20px}.ga-path h3{font-size:14px;margin:0 0 8px}.ga-path p{font-size:12px;line-height:2.2;color:#75816a}.ga-guide>a{margin-top:12px}@media(max-width:800px){.ga-examples{grid-template-columns:1fr}.ga-lesson .section-heading{flex-wrap:wrap;gap:10px}.ga-steps li{font-size:13px}.ga-path section{padding:14px}}
.pronoun-guide,.pronoun-reference{margin-top:24px}.pronoun-guide h2,.pronoun-reference h2{font-size:18px}.pronoun-reference h3{font-size:14px;margin:22px 0 12px}.pronoun-reference table{min-width:420px}.pronoun-reference td,.pronoun-reference th{text-align:left;font-family:'DM Sans',Arial,sans-serif;font-size:16px;padding:12px 18px}.writing-input{margin:18px 0;border:1px solid #dce4d1;background:#f6f8ef;padding:18px 22px;border-radius:8px}.writing-input h3{font-size:13px;margin:0 0 12px}.writing-input p{font-family:'DM Sans',Arial,sans-serif;font-size:17px;line-height:1.9;text-align:left}.writing-input small{display:block;margin-top:10px;color:#7c8970;font-size:10px}
