/* Baladam: a warm, study-focused application surface. */
body{background:#e9eee6;color:#2c3e31}.app{background:#fcfcf8}.top{background:#fcfcf8f5}.nav{background:#fffefa;border-color:#e4e9de}.body{max-width:820px}.chat-empty h1,.learning-empty h1{font-weight:800}.composer{background:#fff;box-shadow:0 8px 24px #40552f09}.exam-heading,.assessment-header{padding-top:30px}.ref-wizard{border:1px solid #e2e8d9;background:#fffefa;border-radius:18px;padding:0 24px 18px}.ref-stepnav{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:20px 0;border-bottom:1px solid #edf0e6}.ref-stepnav button{border:0;background:none;text-align:right;font:600 11px Vazirmatn,Tahoma;color:#a6b197;padding:7px 0;position:relative}.ref-stepnav button:after{content:'';height:3px;background:#e8edde;position:absolute;bottom:-8px;right:0;left:0;border-radius:99px}.ref-stepnav button.active{color:#58793d}.ref-stepnav button.active:after,.ref-stepnav button.completed:after{background:#8da871}.ref-stepnav small{display:inline-grid;place-items:center;width:20px;height:20px;background:#eff3e7;color:#9cae88;border-radius:50%;margin-left:5px}.ref-stepnav .active small{background:#e3edda;color:#5f8142}.ref-wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:20px}.ref-wizard-actions button:disabled{opacity:.35;cursor:default}.ref-textinput{width:100%;min-height:46px;padding:11px 13px;border:1px solid #dfe6d6;border-radius:10px;background:#fffefa;color:#617b4c;outline:none;font:500 12px Vazirmatn,Tahoma}.ref-textinput:focus{border-color:#92aa7b;box-shadow:0 0 0 3px #eaf1e1}.ref-testname{font-size:13px;font-weight:700;color:#79905f;margin:0 0 15px}.ref-reviewcard{border:1px solid #e3e8db;border-radius:15px;background:#fffefa;padding:18px;margin-bottom:17px}.ref-reviewcard.bad{border-color:#e2c5b5}.ref-reviewcard.good{border-color:#c8d9b9}.ref-reviewcard h3{font-size:16px;color:#4d6540;line-height:2.1;font-weight:600;margin:17px 0}.ref-status{border-radius:99px;padding:4px 9px;font-size:9px;color:#9da78e;background:#f0f2eb}.ref-status.good{background:#eef5e7;color:#809c66}.ref-status.bad{background:#fbefe7;color:#b0856d}.ref-reviewoption{display:flex;align-items:center;gap:10px;border:1px solid #e8ecdf;border-radius:10px;padding:12px 13px;margin:8px 0;color:#7d8e6d;font-size:13px;line-height:1.8}.ref-optionindex{width:24px;height:24px;border-radius:50%;border:1px solid #e0e6d5;display:grid;place-items:center;color:#a8b397;font-size:10px;flex:none}.ref-reviewoption small{margin-right:auto;font-size:9px;color:inherit}.ref-reviewoption.right{background:#eff6e7;border-color:#bbd1a5;color:#6d8d4f}.ref-reviewoption.chosen-wrong{background:#fdf2eb;border-color:#dfbca6;color:#b18367}.ref-explanation{border:1px solid #dfe8d3;border-radius:10px;margin-top:16px;background:#f8fbf3}.ref-explanation summary{cursor:pointer;padding:12px 15px;font-size:11px;color:#7b9560}.ref-remediate{display:block;width:100%;border:0;border-top:1px solid #e5ebdc;margin-top:18px;padding:14px 6px 0;background:transparent;font:600 11px Vazirmatn,Tahoma;color:#789756;text-align:right}.ref-remediate:hover{color:#41662b}.ref-accountplan{display:flex;justify-content:space-between;width:100%;margin-top:15px;padding:19px;border:1px solid #e1e7d6;border-radius:12px;background:#f6f9ef;color:#7a925f;font:600 12px Vazirmatn,Tahoma}.ref-pageheader{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:30px 0 25px}.ref-pageheader h1{font-size:25px;line-height:1.8;letter-spacing:-.6px;color:#425f33;margin:0 0 7px}.ref-pageheader p:not(.kicker){font-size:12px;color:#9ca98f;line-height:2;margin:0}.ref-pageheader .secondary{white-space:nowrap}.ref-plan-tabs{display:flex;gap:5px;background:#eff3e8;border-radius:10px;padding:5px;margin-bottom:20px}.ref-plan-tabs button{border:0;background:none;border-radius:7px;padding:10px 6px;flex:1;color:#a1ae90;font:500 11px Vazirmatn,Tahoma}.ref-plan-tabs button.active{background:#fffefa;color:#68854c;box-shadow:0 2px 6px #4a613116}.ref-planpanel{background:#fffefa;border:1px solid #e4e9dc;border-radius:15px;padding:23px}.ref-planpanel h2{font-size:14px;color:#6e8757;margin:0 0 13px}.ref-goals,.ref-subjectchips,.ref-days{display:flex;flex-wrap:wrap;gap:8px}.ref-goals button,.ref-subjectchips button,.ref-days button{font:500 11px Vazirmatn,Tahoma;border:1px solid #e3e9da;border-radius:9px;background:#fffefa;color:#99a787;padding:10px 14px}.ref-goals .active,.ref-subjectchips .active,.ref-days .active{color:#69884d;background:#eff6e6;border-color:#acc494}.ref-days{margin:10px 0}.ref-days button{padding:8px 11px;font-size:10px}.ref-schoolbox{padding:20px 0;border-bottom:1px solid #edf0e6;margin:0 0 18px}.ref-checklabel{display:flex;align-items:center;gap:8px;font-size:12px;color:#8ba174;margin:0}.ref-checklabel input,.ref-task input{accent-color:#8ea977;width:16px;height:16px}.ref-busyrow{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr auto;gap:7px;align-items:center;margin-top:10px}.ref-busyrow .ref-textinput{font-size:10px;padding:9px;min-height:40px}.ref-removebusy{border:0;background:none;font:10px Vazirmatn,Tahoma;color:#b6947e}.ref-plan-summary{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f4f8ec;border:1px solid #dae6cc;border-radius:14px;padding:21px}.ref-plan-summary span{font-size:11px;color:#a1af91;display:block}.ref-plan-summary strong{display:block;font-size:24px;color:#739352;margin-top:7px}.ref-plan-summary p{font-size:10px;color:#9eaf8b;margin:5px 0 0}.ref-weekbars{padding:19px;background:#fffefa;border:1px solid #e5eadc;border-radius:13px;margin-top:20px}.ref-weekrow{display:grid;grid-template-columns:65px 1fr 64px;align-items:center;gap:10px;padding:9px 0;font-size:11px;color:#98a789}.ref-weekrow small{font-size:9px;text-align:left}.ref-timeline{height:17px;background:#eff3e7;border-radius:99px;overflow:hidden;position:relative}.ref-timeblock{position:absolute;top:0;bottom:0}.ref-timeblock.school{background:#c3cfb7}.ref-timeblock.busy{background:#d9c5ac}.ref-timeblock.study{background:#93ae75}.ref-plan-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:9px;color:#a9b59b;padding:12px 4px}.ref-daytasks{margin:20px 0}.ref-daytasks h3{font-size:13px;color:#7f9766;margin:0 0 10px}.ref-task{display:flex;align-items:center;gap:12px;border:1px solid #e5ebdc;background:#fffefa;border-radius:10px;padding:15px;margin:8px 0;cursor:pointer}.ref-task strong{font-size:12px;font-weight:500;color:#82996a}.ref-task span{margin-right:auto;font-size:11px;color:#a1ae90}.ref-task.done{background:#f3f7ed}.ref-task.done strong{text-decoration:line-through;color:#a6b296}.learning-topline{gap:8px}.learning-topline .learning-context{white-space:nowrap}@media(max-width:700px){.ref-wizard{padding:0 17px 17px}.ref-stepnav{gap:6px}.ref-stepnav button{font-size:10px}.ref-stepnav small{width:18px;height:18px;margin-left:3px}.ref-reviewcard{padding:15px}.ref-reviewcard h3{font-size:14px}.ref-reviewoption{font-size:12px}.ref-pageheader{align-items:flex-start}.ref-pageheader h1{font-size:21px}.ref-pageheader p:not(.kicker){font-size:11px}.ref-planpanel{padding:17px}.ref-plan-tabs button{font-size:10px}.ref-busyrow{grid-template-columns:1fr 1fr}.ref-busyrow .ref-removebusy{grid-column:1/-1;justify-self:end}.ref-goals button{flex:1;padding:9px 6px;font-size:10px}.ref-weekrow{grid-template-columns:52px 1fr 49px;gap:6px;font-size:10px}.ref-plan-summary{padding:17px}.ref-plan-summary strong{font-size:21px}.ref-task span{font-size:10px}.learning-topline .learning-context{font-size:10px;padding:8px}.ref-stepnav button:after{bottom:-7px}}

/* Maintain readable text contrast on the light study surfaces. */
.ref-pageheader p:not(.kicker),.ref-plan-summary span,.ref-plan-summary p,.ref-weekrow,.ref-plan-legend,.ref-task span{color:#5b6954}
.ref-plan-tabs button,.ref-goals button,.ref-subjectchips button,.ref-days button{color:#58664f}
.ref-plan-tabs button.active,.ref-goals .active,.ref-subjectchips .active,.ref-days .active,.ref-textinput,.ref-task strong{color:#39542b}
.ref-reviewoption{color:#45563c}.ref-reviewoption.right{color:#365b22}.ref-reviewoption.chosen-wrong,.ref-status.bad{color:#874b2b}.ref-status,.ref-optionindex{color:#65725c}.ref-status.good{color:#42632e}
.ref-stepnav button{color:#68765c}.ref-remediate,.ref-explanation summary,.ref-testname{color:#486b30}.ref-checklabel,.ref-planpanel h2,.ref-daytasks h3{color:#465f35}
.ref-timeblock.school{background:#acbba0}.ref-timeblock.busy{background:#c89a74}.ref-timeblock.study{background:#66884c}
.ref-task strong,.ref-task span,.ref-weekrow{font-size:13px}.ref-plan-legend{font-size:11px}
.curriculum-controls{padding:15px 0;border-bottom:1px solid #e0e7d9;margin-bottom:20px}.curriculum-note{border:1px solid #dce5d4;border-radius:12px;background:#f4f7ef;padding:13px 16px;margin:16px 0;color:#4b6040;font-size:12px;line-height:2}.curriculum-note p{margin:5px 0}.curriculum-note table{width:100%;border-collapse:collapse;margin-top:15px;background:#fffefa}.curriculum-note caption{text-align:right;color:#5a6a4e;font-size:11px;padding:8px 0}.curriculum-note th,.curriculum-note td{text-align:right;border-bottom:1px solid #e7ecdf;padding:7px 10px}.curriculum-guide{margin:22px 0;font-size:12px;line-height:2;color:#54624d;padding:16px;border:1px solid #e1e7d9;border-radius:12px}.curriculum-guide summary{cursor:pointer;font-weight:700}.curriculum-links{display:flex;flex-wrap:wrap;gap:14px}.curriculum-links a{color:#416337;text-underline-offset:4px}
#Planner task type is shown explicitly under the selected subject.
.ref-task-activity{margin-inline-start:auto!important;margin-inline-end:0!important;color:#76856e;font-size:10px!important;line-height:1.7;flex:1;text-align:right}
@media(max-width:600px){.ref-task-activity{font-size:9px!important}}
