.language-tabs{justify-content:flex-end;margin-bottom:25px}.breadcrumbs{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;margin-bottom:30px;font-size:12px}.crumb{padding:7px 10px;border:0;color:var(--green);text-decoration:underline}.intro{font-size:15px;line-height:1.9;color:var(--muted);max-width:850px}.book-search{width:100%;padding:15px 18px;border:1px solid var(--line);border-radius:8px;margin:20px 0}.book-choices,.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:30px}.book-choice,.chapter-choice,.exercise-choice{border:1px solid var(--line);border-radius:9px;background:white;text-align:start;padding:20px;display:flex;flex-direction:column;gap:12px;transition:box-shadow .15s}.book-choice:hover,.chapter-choice:not(:disabled):hover,.exercise-choice:hover{border-color:var(--green);box-shadow:0 6px 20px #123b2910}.book-choice .item-meta{padding:0;background:transparent;border:0;font-size:11px}.book-choice strong,.chapter-choice strong{font-size:17px;line-height:1.6}.status{font-size:11px;color:var(--muted);line-height:1.7}.chapter-number,.exercise-no{font-size:11px;color:var(--green);font-weight:700}.chapter-choice:disabled{cursor:default;background:#f0f2e8;color:#899386}.chapter-choice>span:not(.chapter-number){font-size:12px}.group-heading{font-size:23px;margin:40px 0 20px}.exercise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.exercise-choice{padding:18px}.exercise-choice strong{font-size:14px;line-height:1.7}.exercise-choice small{font-size:11px;color:var(--muted)}.steps{padding-inline-start:27px;font-size:15px;line-height:2;margin:0 0 25px}.steps li{padding-inline-start:7px;margin-bottom:12px}.steps li::marker{font-weight:bold;color:var(--green)}.table-scroll{overflow:auto;margin:22px 0;border:1px solid #d4dfce;border-radius:8px}.math-table{width:100%;border-collapse:collapse;background:white;font-size:14px;line-height:1.9}.math-table th{background:#e9f0df;color:var(--ink);font-size:12px;text-align:start;padding:14px}.math-table td{border-top:1px solid #dfe6d9;padding:14px;vertical-align:middle}.math-table td+td,.math-table th+th{border-inline-start:1px solid #dfe6d9}.math-table .numeric{text-align:center;font-size:24px;font-weight:700;min-width:100px}.answer-label{font-size:18px;margin-top:30px}.picture-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0;direction:ltr}.object-group{padding:15px;margin:0;background:#f6f8ef;border:1px solid var(--line);border-radius:8px;min-width:0}.object-group figcaption{font-size:12px;font-weight:600;margin-bottom:10px}.object-group svg{display:block;width:100%;height:auto;max-height:260px}.math-table .picture-groups{display:block;margin:0}.math-table .object-group{border:0;padding:0;background:none}.math-table .object-group svg{max-height:86px;max-width:560px}.question-block>svg{display:block;width:100%;max-height:600px}.question-block .drawing svg{max-height:550px;width:100%}.exercise-controls{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:25px}.exercise-controls button{border-radius:6px;font-size:12px}.book-solution{display:block;text-decoration:none;font-size:12px;margin-top:15px;color:var(--green);font-weight:600}html[lang=ur] body{font-family:'Noto Nastaliq Urdu','DM Sans',serif}html[lang=ur] .intro{line-height:2.6}html[lang=ur] .steps{font-size:16px;line-height:2.7}html[lang=ur] .math-table{font-size:15px;line-height:2.5}html[lang=ur] .book-choice strong,html[lang=ur] .chapter-choice strong{font-size:18px;line-height:2.2}html[lang=ur] .exercise-choice strong{font-size:16px;line-height:2.4}html[lang=ur] .breadcrumbs{font-size:13px;line-height:2.1}html[lang=ur] .picture-groups{direction:rtl}html[lang=ur] .object-group svg{direction:ltr}#flow{min-height:400px}@media(max-width:700px){.book-choices,.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exercise-grid{grid-template-columns:1fr}.book-choice,.chapter-choice{padding:15px}.book-choice strong,.chapter-choice strong{font-size:14px}.picture-groups{grid-template-columns:1fr}.object-group svg{max-height:220px}.math-table{font-size:12px}.math-table th,.math-table td{padding:10px}.math-table .numeric{font-size:20px;min-width:70px}.language-tabs{justify-content:flex-start}.steps{font-size:14px}.breadcrumbs{margin-bottom:22px}.exercise-controls button{padding:10px}.question-block,.worked-answer{padding:18px}}@media print{.breadcrumbs,.language-tabs,.exercise-controls{display:none}.table-scroll{overflow:visible}.math-table{break-inside:avoid}.picture-groups{break-inside:avoid}}

.math-value{direction:ltr;unicode-bidi:isolate;font-family:Manrope,sans-serif}.number-board{max-width:760px;margin:25px 0;direction:ltr}.number-board-row{display:grid;gap:7px;margin:7px auto}.number-board-row span{padding:12px 3px;border:1px solid #d1ddc7;border-radius:5px;text-align:center;background:white;font-family:Manrope,sans-serif;color:#638254}.number-board-row .given{background:#edf2e5;color:var(--ink);font-weight:700}.number-board-row .filled{background:#e4edcb;color:var(--ink)}@media(max-width:700px){.number-board-row{gap:3px;margin:3px auto}.number-board-row span{padding:8px 2px;font-size:12px}}

.completion-banner{padding:18px 22px;border-radius:14px;background:#e8f1df;color:#28543f;font-weight:700;border:1px solid #c9d8bc;margin:20px 0}
.page-filter{min-width:240px;padding:12px 16px;background:#fff;border:1px solid #aabea0;border-radius:10px;font:inherit;margin:8px 0 20px}
.clock-grid{display:flex;flex-wrap:wrap;gap:16px;direction:ltr}.clock-card{margin:0;width:220px}.clock-card svg{width:100%;height:auto}
.lesson .language-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}.lesson .language-tabs{min-height:44px}
.money-tokens{display:flex;flex-wrap:wrap;gap:8px;direction:ltr}.money-tokens svg{width:90px;max-height:95px}
.column-calculation{direction:ltr;margin:24px 0}.vertical-math{border-collapse:collapse;background:#f3f6e9;min-width:210px;text-align:center;border-radius:12px;font-family:system-ui}.vertical-math th{font-size:14px;color:#617358;padding:12px}.vertical-math td{font-size:29px;padding:6px 18px}.vertical-math .result-row{border-top:3px solid #628464;color:#28543f;font-weight:700}.answer svg{max-width:100%;height:auto;display:block;margin:16px auto}.exercise-grid{align-items:stretch}.exercise-choice{min-height:130px}

.formula{overflow-x:auto;direction:ltr;text-align:center;padding:14px 8px;margin:12px 0;background:#f5f8f4;border-radius:10px;max-width:100%;font-size:1.15rem;line-height:1.7}
.formula math{font-family:Cambria Math,STIX Two Math,serif;min-width:max-content;margin:auto;direction:ltr}
.steps li .formula{margin-bottom:6px}.authored-diagram{max-width:680px;margin:22px auto;padding:12px;background:white;border:1px solid #dbe5d8;border-radius:16px}.authored-diagram svg{display:block;width:100%;height:auto;max-height:520px}
.question-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 30px}.question-jumps a{display:inline-flex!important;padding:8px 12px;border-radius:8px;border:1px solid #ccd9c8;background:white;color:#285547;text-decoration:none;min-height:44px;align-items:center}.exercise-entry{scroll-margin-top:30px;margin-bottom:30px}.exercise-entry .answer{margin-top:0}.exercise-entry .question-title{font-size:1.25rem}
@media(max-width:600px){.formula{font-size:1rem;padding:12px 5px}.question-jumps{gap:5px}.authored-diagram{padding:4px}.steps{padding-inline-start:25px}}
header .brand{direction:ltr;font-family:'DM Sans',sans-serif;line-height:1.2}header .mark{display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:'DM Sans',sans-serif;line-height:1}
