@font-face{font-family:Vazirmatn;src:url(../../dr-accountant/assets/fonts/vazirmatn-400.woff2) format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Vazirmatn;src:url(../../dr-accountant/assets/fonts/vazirmatn-700.woff2) format('woff2');font-style:normal;font-weight:700 900;font-display:swap}
/* DRC student portal v1 — isolated, compact, RTL, mobile-first */
:root{--sp-blue:#092662;--sp-blue2:#17488f;--sp-bg:#f3f6fc;--sp-stroke:#dce5f4;--sp-muted:#7588a5;--sp-ink:#102957;--sp-purple:#f6f1ff;--sp-green:#eafaf2;--sp-shadow:0 12px 36px rgba(12,37,83,.055)}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body.sp-body{direction:rtl;margin:0;background:var(--sp-bg);color:var(--sp-ink);font-family:Vazirmatn,"Vazir",Tahoma,system-ui,sans-serif;font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}svg{width:20px;height:20px;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #9cbcf5;outline-offset:2px}button:disabled{opacity:.6;cursor:not-allowed}[hidden]{display:none!important}
.sp-shell{min-height:100dvh}.sp-app{display:flex;min-height:100dvh;max-width:1760px;margin:auto}.sp-sidebar{width:235px;flex:0 0 235px;background:#082253;color:#e5edff;min-height:100dvh;position:sticky;top:0;height:100dvh;padding:20px 12px;display:flex;flex-direction:column;gap:26px}.sp-sbrand,.sp-login-brand{display:flex;align-items:center;gap:12px}.sp-sbrand strong{display:block;color:white;font-size:17px}.sp-sbrand small{color:#a6c4f4;font-size:11px}.sp-logo{border-radius:15px;background:#ffffff19;color:white;width:49px;height:49px;display:grid;place-items:center}.sp-logo svg{width:29px;height:29px}.sp-side-nav{display:grid;gap:5px}.sp-nav{width:100%;border:0;background:transparent;color:inherit;display:flex;align-items:center;text-align:right;gap:11px;padding:12px;border-radius:12px;font-weight:750;transition:background .2s,transform .2s}.sp-sidebar .sp-nav:hover,.sp-sidebar .sp-nav.active{background:linear-gradient(105deg,#164b98,#1c56a5);color:white}.sp-nav:active,.sp-link:active{transform:scale(.98)}.sp-logout{margin-top:auto;color:#f6d4d4;border:1px solid #304574;background:#ffffff0e;border-radius:12px;min-height:45px;display:flex;gap:10px;align-items:center;justify-content:center;font-weight:750}.sp-logout:hover{background:#ffffff19}.sp-content{width:calc(100% - 235px);padding:18px 22px 100px}.sp-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;padding:1px 3px}.sp-header small{color:var(--sp-muted);font-size:12px}.sp-header h1{font-size:23px;margin:0;color:var(--sp-blue)}.sp-avatar{width:43px;height:43px;display:grid;place-items:center;color:var(--sp-blue);background:#e3ecfc;border:1px solid #d5e0f6;border-radius:14px;font-weight:900;font-size:20px}.sp-view{display:none;animation:sp-enter .24s ease-out}.sp-view.active{display:block}@keyframes sp-enter{from{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.sp-hello{background:linear-gradient(113deg,#092662,#2454a0);color:white;border-radius:20px;display:flex;align-items:center;justify-content:space-between;padding:23px 27px;min-height:138px;margin-bottom:12px}.sp-hello h2{font-size:26px;margin:2px 0 1px}.sp-hello small{color:#c9dcff}.sp-hello p{margin:4px 0 0;color:#e1eaff}.sp-hello-icon{width:62px;height:62px;background:#ffffff1a;display:grid;place-items:center;border-radius:18px}.sp-hello-icon svg{width:32px;height:32px}.sp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.sp-stat{min-width:0;background:white;border:1px solid var(--sp-stroke);box-shadow:var(--sp-shadow);padding:14px;border-radius:15px;display:flex;flex-direction:column;gap:1px}.sp-stat>span{font-size:11px;color:var(--sp-muted);font-weight:650}.sp-stat strong{font-size:25px;line-height:1.45;color:#092662}.sp-stat small{font-size:10px;color:var(--sp-muted)}.sp-track{height:5px;border-radius:12px;background:#e9eef6;overflow:hidden;margin-top:6px}.sp-track i{height:100%;display:block;border-radius:12px;background:#2cb17a;transition:width .4s}.sp-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.sp-panel{background:white;border:1px solid var(--sp-stroke);border-radius:18px;padding:16px;box-shadow:var(--sp-shadow);margin-bottom:12px;min-width:0}.sp-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.sp-panel-head h3{font-size:15px;margin:0}.sp-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;white-space:nowrap;padding:3px 9px;font-size:11px;font-weight:700;border-radius:999px;color:#54709e;background:#eef3fc}.sp-pill svg{width:14px;height:14px}.sp-pill.purple{color:#7258b5;background:#f3edff}.sp-pill.indigo{color:#2655a7;background:#ecf3ff}.sp-pill.green{color:#147d53;background:#e9f9f0}.sp-pill.gray{color:#59718e;background:#edf1f7}.sp-important{margin:6px 0 13px;min-height:46px;white-space:normal;overflow-wrap:anywhere;font-weight:600}.sp-muted{color:var(--sp-muted);font-size:12px}.sp-empty{margin:9px 0 17px;color:var(--sp-muted);font-size:13px}.sp-link{display:inline-flex;align-items:center;gap:5px;color:#174c9b;font-size:12px;font-weight:800;border:0;background:#eff4ff;text-decoration:none;padding:9px 12px;border-radius:10px;transition:background .2s,transform .2s}.sp-link:hover{background:#e2edff}.sp-link svg{width:14px;height:14px}.sp-report-list{display:grid;gap:7px}.sp-report-item{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f7f9fd;border:1px solid #e6edf8;padding:10px 13px;border-radius:12px}.sp-report-item>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sp-report-item strong{font-size:12px}.sp-report-item .sp-pill{font-size:10px}.sp-title{margin:3px 0 14px;padding:3px}.sp-title h2{font-size:24px;margin:0}.sp-title p{font-size:12px;color:var(--sp-muted);margin:3px 0 0}.sp-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sp-timeline .sp-panel{margin-bottom:0}.sp-activity-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.sp-activity-head strong{font-size:14px}.sp-activity p{font-size:13px;white-space:normal;overflow-wrap:anywhere;color:#365074}.sp-next{background:var(--sp-purple);border:1px solid #e7dcff;color:#513b86;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:4px}.sp-next strong{font-size:11px}.sp-next span{font-size:13px}.sp-next small{font-size:11px;color:#866bb4}.sp-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sp-detail-grid>div{display:grid;gap:3px;background:#f7f9fd;border:1px solid #e4ecf8;padding:12px;border-radius:13px}.sp-detail-grid small{font-size:11px;color:var(--sp-muted)}.sp-detail-grid strong{font-size:14px;overflow-wrap:anywhere}.sp-danger{margin-top:17px;border:1px solid #f3c8ce;background:#fff4f5;color:#af2636;font-weight:750;padding:10px 14px;border-radius:11px;display:inline-flex;gap:8px;align-items:center}.sp-week-bars{display:flex;align-items:end;justify-content:space-around;gap:8px;min-height:125px;padding:10px 0}.sp-week-bar{flex:1;min-width:0;max-width:85px;display:flex;align-items:center;flex-direction:column;gap:6px}.sp-week-bar>span{height:65px;width:100%;border-radius:11px 11px 5px 5px;display:block;opacity:.95}.sp-week-bar .done{background:linear-gradient(#29bd91,#b5f4de)}.sp-week-bar .pending{height:30px;background:#d9e2f0}.sp-week-bar small{font-size:10px;color:var(--sp-muted)}.sp-mobile-nav{display:none}
.sp-login{min-height:100dvh;display:grid;place-items:center;padding:20px}.sp-login-card{width:min(100%,480px);background:white;border:1px solid var(--sp-stroke);border-radius:25px;overflow:hidden;box-shadow:0 24px 80px rgba(9,38,98,.1)}.sp-login-brand{background:linear-gradient(115deg,#092662,#2a58a6);color:white;padding:30px 24px;flex-direction:column;text-align:center;gap:4px}.sp-login-brand .sp-logo{margin-bottom:6px}.sp-login-brand small{font-size:12px;color:#c9ddff}.sp-login-brand h1{font-size:30px;margin:0}.sp-login-brand p{font-size:13px;margin:0;color:#e3edff}.sp-login-form{padding:22px 25px 26px}.sp-login-form label{display:block;font-size:12px;font-weight:800;margin-bottom:15px}.sp-login-form label small{font-weight:500;color:var(--sp-muted)}.sp-login-form input{height:52px;width:100%;background:#f8faff;border:1px solid var(--sp-stroke);border-radius:12px;padding:0 13px;color:var(--sp-ink);margin-top:7px;font-size:16px;outline:none;transition:border-color .15s,box-shadow .15s}.sp-login-form input:focus{border-color:#5285da;box-shadow:0 0 0 3px #ddebff}.sp-login-form .sp-otp{text-align:center;font-size:28px;letter-spacing:12px;direction:ltr;font-weight:800}.sp-primary{height:50px;width:100%;border:0;border-radius:13px;color:white;background:#092662;font-weight:850;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .18s, transform .18s}.sp-primary:hover{background:#17488f}.sp-primary:active{transform:scale(.99)}.sp-ghost{border:0;background:none;color:#4266a0;display:block;margin:12px auto 0;font-weight:750}.sp-otp-caption{text-align:center;color:#486184}.sp-otp-caption strong{color:#092662;white-space:nowrap}.sp-status,.sp-alert{padding:11px 12px;border:1px solid #c2ddce;background:#edf9f2;color:#126f4b;border-radius:12px;margin-bottom:13px;font-size:13px}.sp-status.error,.sp-alert.error{background:#fff1f2;color:#a22739;border-color:#f4cad1}
@media(min-width:1400px){.sp-content{max-width:1450px;margin:0 auto;width:calc(100% - 235px)}}
@media(max-width:1050px){.sp-sidebar{width:195px;flex-basis:195px}.sp-content{width:calc(100% - 195px);padding-inline:14px}.sp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.sp-timeline{grid-template-columns:1fr}}
@media(max-width:730px){.sp-sidebar{display:none}.sp-content{width:100%;padding:12px 12px calc(100px + env(safe-area-inset-bottom));}.sp-header{margin:0 0 10px}.sp-header h1{font-size:19px}.sp-header small{font-size:10px}.sp-avatar{width:40px;height:40px}.sp-hello{padding:17px 16px;border-radius:17px;min-height:108px;margin-bottom:10px}.sp-hello h2{font-size:20px}.sp-hello small,.sp-hello p{font-size:11px}.sp-hello-icon{width:43px;height:43px}.sp-hello-icon svg{width:24px;height:24px}.sp-stats{gap:8px;margin-bottom:10px}.sp-stat{padding:11px;border-radius:13px}.sp-stat>span{font-size:10px}.sp-stat strong{font-size:22px}.sp-duo{grid-template-columns:1fr;gap:0;margin:0}.sp-panel{padding:13px;border-radius:15px;margin-bottom:10px}.sp-panel-head{margin-bottom:8px}.sp-panel-head h3{font-size:14px}.sp-title h2{font-size:20px}.sp-timeline{gap:9px}.sp-detail-grid{gap:8px}.sp-detail-grid>div{padding:10px}.sp-mobile-nav{position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.97);border-top:1px solid var(--sp-stroke);box-shadow:0 -10px 28px rgba(13,35,77,.08);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;padding:7px 7px calc(7px + env(safe-area-inset-bottom));z-index:50;backdrop-filter:blur(15px)}.sp-mobile-nav .sp-nav{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;padding:7px 1px;gap:3px;min-height:51px;color:#6e82a2;font-size:10px;border-radius:10px}.sp-mobile-nav .sp-nav svg{width:20px;height:20px}.sp-mobile-nav .sp-nav.active{color:#092662;background:#eaf1fd}.sp-mobile-nav .sp-nav span{white-space:nowrap}.sp-report-item{padding:10px}.sp-report-item .sp-link{padding:8px}}
@media(max-width:360px){.sp-content{padding-inline:9px}.sp-hello h2{font-size:18px}.sp-stat{padding:9px}.sp-stat strong{font-size:20px}.sp-report-item{flex-direction:column;align-items:stretch}.sp-report-item .sp-link{align-self:flex-start}.sp-login-form{padding:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.sp-otp-timer{text-align:center;margin:0 0 14px;color:#315995;font-size:13px}.sp-otp-timer b{font-variant-numeric:tabular-nums}.sp-choices{display:grid;gap:10px}.sp-choices button{border:1px solid #d6e3f8;background:#f7faff;padding:13px;border-radius:12px;color:#092662;font-weight:700}.sp-install{border:1px solid #bfd0ed;background:#e8f0ff;color:#092662;border-radius:12px;padding:9px 12px;font-weight:750;margin-inline-start:auto;margin-inline-end:12px;font-size:12px}.sp-install:hover{background:#dbe7ff}@media(max-width:500px){.sp-install{font-size:10px;padding:8px;max-width:132px}}

/* 2.0.98: student header alignment and compact actions */
.sp-content{align-self:flex-start;min-width:0}
.sp-header{gap:12px;justify-content:space-between;direction:rtl}
.sp-header-identity{display:flex;align-items:center;gap:11px;min-width:0}
.sp-header-identity h1{overflow-wrap:anywhere}
.sp-target{position:relative;width:47px;height:47px;flex:0 0 47px;border-radius:14px;display:grid;place-items:center;background:#e7efff;color:#164b98;overflow:hidden}
.sp-target svg{height:35px;width:35px}
.sp-target-ring{transform-origin:23px 23px;animation:sp-target-breathe 2.8s ease-in-out infinite}
.sp-target-arrow{animation:sp-arrow-hit 2.8s cubic-bezier(.2,.8,.2,1) infinite}
@keyframes sp-target-breathe{0%,100%{opacity:.7;transform:scale(.94)}45%,65%{opacity:1;transform:scale(1.07)}}
@keyframes sp-arrow-hit{0%,12%{transform:translate(10px,-10px);opacity:0}35%,75%{transform:translate(0,0);opacity:1}95%,100%{opacity:0;transform:translate(0,0)}}
.sp-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;direction:rtl}
.sp-header-actions .sp-install{margin:0;max-width:none;padding:9px 13px;white-space:nowrap;animation:sp-install-pulse 2.6s ease-in-out infinite}
.sp-header-actions .sp-install[hidden]{display:none!important}
@keyframes sp-install-pulse{0%,100%{background:#e8f0ff;box-shadow:0 0 0 0 rgba(33,90,190,0)}45%{background:#cdddff;box-shadow:0 0 0 5px rgba(33,90,190,.12)}65%{background:#e8f0ff;box-shadow:0 0 0 0 rgba(33,90,190,0)}}
.sp-profile-shortcut{width:39px;height:39px;display:inline-grid;place-items:center;border:1px solid #d5e0f6;border-radius:12px;background:#e3ecfc;color:#092662;cursor:pointer;flex:0 0 39px}
.sp-profile-shortcut svg{width:21px;height:21px}
.sp-profile-shortcut:hover,.sp-profile-shortcut.active{background:#ccdefa}
@media(max-width:730px){.sp-target{width:39px;height:39px;flex-basis:39px}.sp-target svg{width:31px;height:31px}.sp-header-identity{gap:7px}.sp-header-actions{gap:6px}.sp-header-actions .sp-install{font-size:11px;padding:8px}.sp-profile-shortcut{width:35px;height:35px;flex-basis:35px}.sp-header-identity h1{font-size:16px}}
@media(max-width:390px){.sp-header small{font-size:9px}.sp-header-identity h1{font-size:14px}.sp-header-actions .sp-install{padding:7px 6px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.sp-target-ring,.sp-target-arrow,.sp-header-actions .sp-install{animation:none!important}}

/* v2.0.99 student tasks and finance */
.sp-checklist{display:grid;gap:10px}.sp-task{padding:12px;background:#fff;border:1px solid #e7dcff;border-radius:12px;display:grid;gap:9px}.sp-task label{display:flex;align-items:center;gap:9px;font-weight:750;color:#263e70}.sp-task input[type=checkbox]{width:20px;height:20px;accent-color:#268b67}.sp-task-proof{display:flex;gap:7px}.sp-task-proof input{width:100%;min-width:0;border-radius:9px;padding:9px;border:1px solid #d9e3f5;font:inherit;background:#f8faff}.sp-task-proof button{flex-shrink:0;padding:8px 12px;border:0;border-radius:9px;background:#153772;color:white;font:inherit;font-weight:750}.sp-task-proof button:disabled{opacity:.55}.sp-task small{color:#687ea2}.sp-finance{margin-top:20px;border-top:1px solid #e4ecf8;padding-top:15px}.sp-finance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sp-finance-grid>div{display:grid;gap:6px;padding:13px;border-radius:12px;background:#f3f7fe}.sp-finance-grid small,.sp-payment small{color:#778ba9;font-size:11px}.sp-finance-grid strong{color:#102d61;overflow-wrap:anywhere}.sp-payment{display:flex;justify-content:space-between;gap:8px;padding:12px 3px;border-bottom:1px solid #e6ecf7}.sp-payment>div{display:grid;gap:4px}.sp-payment>div:last-child{text-align:left}.sp-finance h4{margin:17px 0 8px}@media(max-width:730px){.sp-mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.sp-task-proof{flex-wrap:wrap}.sp-task-proof button{width:100%}}

.sp-task-proof textarea{width:100%;min-width:0;border-radius:9px;padding:9px;border:1px solid #d9e3f5;font:inherit;background:#f8faff;resize:vertical}

/* Course-specific financial details — 2.1.03 */
.sp-course-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sp-course-picker label{font-weight:750}.sp-course-picker select{font:inherit;padding:12px;border:1px solid #d8e3f5;border-radius:12px;background:#f6f9fe;color:#17336a;max-width:70%}.sp-course-finance,.sp-installment-panel,.sp-history{margin-top:14px}.sp-course-finance h3,.sp-installment-panel h3,.sp-history h3{margin:0 0 16px}.sp-finance-progress{margin-top:15px}.sp-finance-progress>div:first-child{display:flex;justify-content:space-between;margin-bottom:8px;color:#274472}.sp-next-installment{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#edf4ff;padding:14px;border-radius:13px;color:#123b77}.sp-next-installment>div{display:grid;gap:5px}.sp-next-installment span{font-size:12px}.sp-next-installment.overdue{background:#fff0f0;color:#a12b37}.sp-installment-details{margin-top:15px}.sp-installment-details summary{cursor:pointer;font-weight:750;color:#264f9b;padding:10px 0}.sp-overdue-pill{background:#fff0f0!important;color:#a32230!important}.sp-course-finance .sp-finance-grid{margin-top:8px}@media(max-width:730px){.sp-course-picker{display:grid}.sp-course-picker select{max-width:100%;width:100%}.sp-next-installment{flex-wrap:wrap}}

.sp-task-timer{display:inline-flex;background:#fce9eb;color:#8f1d2b;font-weight:850;border-radius:10px;padding:6px 10px;margin:7px 0;font-variant-numeric:tabular-nums}.sp-task-timer.is-expired{background:#f1e4e6;color:#7d2530}.sp-task [disabled]{opacity:.55;cursor:not-allowed}

/* 2.1.16 student interface */
.sp-task-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap}.sp-task-heading label{flex:1;min-width:0}.sp-task-timer{background:transparent!important;padding:0!important;margin:0!important;white-space:nowrap;color:#90213a;font-size:13px}.sp-task-timer.is-completed{color:#168052}.sp-task-timer.is-late{color:#b04520}.sp-task-proof{display:block}.sp-task-proof input,.sp-task-proof textarea{width:100%}.sp-proof-error{border:2px solid #d23449!important;animation:spProofPulse .55s ease 2;box-shadow:0 0 0 3px #ffdce2!important}.sp-proof-warning{display:block;color:#a82439!important;margin:6px 0}.sp-confirm-overlay:not([hidden]){position:fixed;z-index:999999;inset:0;background:rgba(9,26,59,.58);display:grid;place-items:center;padding:18px;backdrop-filter:blur(4px)}.sp-confirm-dialog{width:min(100%,430px);text-align:center;background:#fff;border-radius:22px;padding:28px 20px;box-shadow:0 25px 80px #061c3f40;animation:spDialogIn .22s ease;font-family:Vazirmatn,inherit}.sp-confirm-mark{width:56px;height:56px;border-radius:50%;background:#e7f6ed;color:#177d4b;display:grid;place-items:center;font-size:31px;margin:auto}.sp-confirm-dialog h3{margin:14px 0 5px;color:#10285d}.sp-confirm-dialog p{color:#60718b;font-size:13px}.sp-confirm-actions{display:flex;gap:8px;margin-top:20px}.sp-confirm-actions button{flex:1;border:0;border-radius:12px;padding:13px;font:inherit;font-weight:750;background:#102b63;color:#fff}.sp-confirm-actions [data-confirm-no]{background:#edf2fb;color:#102b63}.sp-otp{font-variant-numeric:tabular-nums;animation:spDigitIn .2s ease}.sp-otp-error{border-color:#d12e47!important;animation:spProofPulse .3s ease 2}.sp-login-form input[name=mobile]{direction:ltr;text-align:right;font-variant-numeric:tabular-nums}@keyframes spDialogIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}@keyframes spProofPulse{50%{box-shadow:0 0 0 6px #f6a7b6!important}}@keyframes spDigitIn{from{opacity:.65;transform:scale(.99)}to{opacity:1;transform:scale(1)}}@media(max-width:420px){.sp-task-heading{gap:5px}.sp-task-timer{font-size:11px}}

/* Student activity compact timeline 2.1.17 */
.sp-checklist-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.sp-checklist-head strong{font-size:13px}.sp-checklist-head>span{font-size:11px;color:#7155a2;font-weight:700}.sp-task-heading{align-items:center}.sp-task-timer{font-size:11px;color:#176849!important;font-weight:800;white-space:normal;text-align:left;direction:rtl}.sp-task-timer.is-warning{color:#ad6210!important;animation:spTimerWarn 1.6s ease-in-out infinite}.sp-task-timer.is-critical{color:#95192e!important;animation:spTimerWarn .65s ease-in-out infinite}.sp-task-timer.is-late{color:#bd7218!important;animation:none}.sp-task-timer.is-expired{color:#ad2535!important;animation:none}.sp-task-timer.is-completed{color:#168052!important;animation:none}.sp-task [data-sp-task-status]:empty{display:none}@keyframes spTimerWarn{50%{opacity:.36}}@media(prefers-reduced-motion:reduce){.sp-task-timer{animation:none!important}}.sp-coach-report-btn{background:#e9f0ff;color:#163c80;border:1px solid #cdddf9;border-radius:10px;font:inherit;font-size:12px;font-weight:800;padding:8px 12px;cursor:pointer}.sp-report-popup:not([hidden]){position:fixed;inset:0;z-index:999998;background:#071a3b9c;display:grid;place-items:center;padding:18px;backdrop-filter:blur(4px)}.sp-report-popup-card{width:min(100%,620px);max-height:85vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 20px 60px #071a3b55;padding:20px;font-family:Vazirmatn,inherit;direction:rtl}.sp-report-popup-top{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e6ecf6;padding-bottom:12px;color:#102b63}.sp-report-popup-top button{border:0;background:#edf2fb;border-radius:9px;width:36px;height:36px;font-size:25px;cursor:pointer}.sp-report-popup-body{white-space:normal;overflow-wrap:anywhere;line-height:2.2;padding-top:14px;color:#273d69}.sp-activity-head{gap:8px}@media(max-width:500px){.sp-task-heading{gap:6px}.sp-task-timer{font-size:10px}.sp-checklist-head{flex-wrap:nowrap}.sp-checklist-head strong,.sp-checklist-head>span{font-size:10px}}

/* Student checklist hierarchy and filtering, version 2.1.18 */
.sp-checklist-head{align-items:flex-start;flex-wrap:nowrap}
.sp-checklist-head strong{font-size:12px;line-height:1.9;flex:1;min-width:0;overflow-wrap:anywhere}
.sp-checklist-head>span{flex:0 0 auto;font-size:10px;white-space:nowrap;margin-top:3px}
.sp-activity-head{align-items:flex-start;margin-bottom:12px}
.sp-coach-report-btn{padding:5px 10px;font-size:11px;line-height:1.5;flex-shrink:0}
.sp-task-timer{font-size:10px}
.sp-task-timer.is-completed,.sp-task-timer.is-late{font-size:9px}
.sp-activity-filter{display:flex;gap:6px;flex-wrap:nowrap;overflow-x:auto;margin:0 0 12px;padding:2px 0;scrollbar-width:none}
.sp-activity-filter button{flex:1 0 auto;min-width:0;border:1px solid #d7e2f4;border-radius:10px;padding:8px 10px;background:#fff;color:#34527e;font:inherit;font-size:11px;font-weight:750;cursor:pointer}
.sp-activity-filter button.active{background:#e7efff;border-color:#aec7f4;color:#0c2d6a}
.sp-timeline .sp-activity[hidden]{display:none!important}
@media(max-width:600px){.sp-checklist-head strong{font-size:11px}.sp-checklist-head>span{font-size:9px}.sp-activity-head strong{font-size:14px}.sp-activity-filter button{font-size:10px;padding:8px 7px}}

/* 2.1.19: consistent two-line task status and header refresh action */
.sp-task-timer{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;line-height:1.45;font-size:11px!important;min-width:0;text-align:left;flex-shrink:0}
.sp-task-timer.is-completed,.sp-task-timer.is-late{font-size:11px!important}
.sp-time-line{display:block;white-space:nowrap;unicode-bidi:plaintext}
.sp-refresh-shortcut{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border:1px solid #d5e0f6;border-radius:12px;background:#e3ecfc;color:#092662;cursor:pointer}
.sp-refresh-shortcut.is-loading svg{animation:spRefreshSpin .8s linear infinite}
@keyframes spRefreshSpin{to{transform:rotate(360deg)}}
@media(max-width:730px){.sp-refresh-shortcut{width:35px;height:35px;flex-basis:35px}.sp-task-timer{font-size:10px!important}.sp-task-timer.is-completed,.sp-task-timer.is-late{font-size:10px!important}}
@media(max-width:390px){.sp-task-timer{font-size:9px!important}.sp-task-timer.is-completed,.sp-task-timer.is-late{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.sp-refresh-shortcut.is-loading svg{animation:none}}

/* 2.1.20 compact centered activity status and inline filter badges */
.sp-task-timer,.sp-task-timer.is-completed,.sp-task-timer.is-late{align-items:center!important;text-align:center!important;font-size:10px!important;line-height:1.45!important;gap:2px!important}
.sp-time-line{text-align:center!important;width:100%}
.sp-activity-filter button{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.sp-filter-count{display:inline-grid;place-items:center;border-radius:50%;width:20px;height:20px;min-width:20px;background:#e8edf6;color:#17396e;font-size:10px;font-weight:800;line-height:1;direction:ltr}
.sp-activity-filter button.active .sp-filter-count{background:#173b7a;color:white}
@media(max-width:600px){.sp-task-timer,.sp-task-timer.is-completed,.sp-task-timer.is-late{font-size:9px!important}.sp-activity-filter button{gap:3px;padding:8px 4px}.sp-filter-count{width:18px;height:18px;min-width:18px;font-size:9px}}

/* 2.1.21: smaller two-line task deadline and completion status, without affecting titles */
.sp-task .sp-task-timer,
.sp-task .sp-task-timer.is-completed,
.sp-task .sp-task-timer.is-late{font-size:9px!important;font-weight:600!important;line-height:1.4!important;gap:2px!important;text-align:center!important;align-items:center!important}
.sp-task .sp-task-timer .sp-time-line{font-size:inherit!important;font-weight:inherit!important}
@media(max-width:600px){
  .sp-task .sp-task-timer,
  .sp-task .sp-task-timer.is-completed,
  .sp-task .sp-task-timer.is-late{font-size:8px!important}
}

/* 2.1.22 student refinements */
.sp-course-picker{display:block!important}.sp-course-picker label{display:block;margin-bottom:10px}.sp-course-picker select{display:block!important;max-width:none!important;width:100%!important;box-sizing:border-box}.sp-view[data-sp-view="course"] .sp-title p{white-space:nowrap;font-size:clamp(9px,2.7vw,12px)}
.sp-report-item{display:flex;align-items:center;justify-content:space-between;direction:rtl}.sp-report-summary{width:100%;display:flex;flex-direction:row!important;align-items:center;justify-content:space-between!important;flex-wrap:nowrap!important;gap:8px}.sp-report-summary strong{min-width:0;white-space:nowrap}.sp-report-summary .sp-pill{margin-right:auto;white-space:nowrap}.sp-report-item:has(>a) .sp-report-summary{flex:1}.sp-report-item:has(>a) .sp-report-summary .sp-pill{margin-left:8px}.sp-report-item>a{flex-shrink:0}.sp-report-status-completed{background:#e4f7eb!important;color:#167448!important}.sp-report-status-locked,.sp-report-status-send_failed{background:#ffeaed!important;color:#a52e40!important}.sp-report-status-missed{background:#fff0dc!important;color:#9e5a12!important}.sp-report-status-opened{background:#e8f0ff!important;color:#2655a2!important}.sp-report-status-sent{background:#e7f7f7!important;color:#16757b!important}.sp-report-status-created{background:#f2edff!important;color:#6a4ca3!important}
.sp-chart-legend{display:block;white-space:nowrap;font-size:clamp(7px,2.1vw,11px);letter-spacing:-.2px}.sp-legend-green{color:#188256}.sp-legend-gray{color:#7588a5}.sp-duo .sp-panel{display:flex;flex-direction:column}.sp-duo .sp-panel>.sp-link{align-self:flex-end;margin-top:auto;margin-right:auto;margin-left:0}

/* 2.1.23: date and coach-report action on one row */
.sp-duo .sp-panel>.sp-home-report-row{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:10px;margin-top:auto;min-width:0;direction:rtl}.sp-home-report-row .sp-muted{white-space:nowrap;flex:0 0 auto}.sp-home-report-row .sp-link{white-space:nowrap;flex:0 0 auto;margin:0!important;align-self:center!important}@media(max-width:370px){.sp-home-report-row{gap:6px!important}.sp-home-report-row .sp-link{font-size:10px;padding:7px 9px}.sp-home-report-row .sp-muted{font-size:10px}}
.sp-push-shortcut{border:1px solid #bfd2ef;background:#e7efff;color:#153b80;border-radius:12px;padding:9px 11px;font-family:Vazirmatn,inherit;font-size:12px;font-weight:700;cursor:pointer}.sp-push-shortcut[hidden]{display:none!important}.sp-push-focus{outline:2px solid #4678c6;outline-offset:3px}

.sp-app-privacy-note{display:block;margin:12px 0 0;color:#64748b;font-size:11px;line-height:1.8}.sp-app-state{margin:12px 0}.sp-app-state>strong{display:block;margin-bottom:10px;color:#092662}
