.study-page{max-width:1200px;margin-inline:auto}.study-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:6px 0 24px}.study-heading h1{font-size:clamp(26px,3vw,38px);margin:5px 0 9px}.study-period{display:flex;align-items:center;gap:14px;font-size:14px;color:var(--muted);flex-wrap:wrap}.study-period a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.study-current{color:var(--green);font-weight:700}.study-navigation{display:flex;align-items:center;gap:8px;flex-shrink:0}.study-arrow{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:var(--r-pill);background:#fff;position:relative}.study-arrow:hover{border-color:var(--green)}.study-arrow-back{display:flex;transform:rotate(180deg)}.study-alert{position:absolute;inset-block-start:-4px;inset-inline-end:-2px;display:grid;place-items:center;width:19px;height:19px;background:var(--color-danger);border:2px solid var(--background);border-radius:var(--r-pill);color:#fff;font-size:14px;font-weight:700}.study-plan-link{display:flex;align-items:center;gap:8px;padding:10px;color:var(--green);font-weight:600}.study-clock{margin:0 0 28px;padding:22px 0 0;border-top:1px solid var(--line)}.study-clock-labels{display:flex;align-items:center;justify-content:space-between;gap:12px}.study-clock-labels>div{display:grid;gap:1px}.study-clock-labels>div:last-child{text-align:end}.study-clock-labels strong{font-size:16px}.study-clock-labels small,.study-clock-labels time{font-size:14px;color:var(--muted)}.study-clock-labels>p{color:var(--green);font-size:16px;font-weight:600;text-align:center}.study-time-progress{width:100%;height:5px;border:0;border-radius:var(--r-md);overflow:hidden;background:var(--color-border);display:block;margin-top:12px;appearance:none}.study-time-progress::-webkit-progress-bar{background:var(--color-border)}.study-time-progress::-webkit-progress-value{background:var(--green);border-radius:var(--r-md)}.study-time-progress::-moz-progress-bar{background:var(--green);border-radius:var(--r-md)}.study-timezone{display:block;text-align:end;margin-top:6px;color:var(--muted);font-size:14px}.study-open-note{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--color-bg-alt);border:1px solid var(--color-danger-bg);border-radius:var(--r-md);margin:0 0 24px;font-size:14px;color:var(--color-danger)}.study-open-icon{font-weight:700}.study-open-note a{margin-inline-start:auto;display:flex;gap:6px;align-items:center;font-weight:700;text-decoration:underline;text-underline-offset:3px}.study-work-grid{display:grid;grid-template-columns:repeat(var(--study-columns),minmax(0,1fr));gap:24px;align-items:stretch}.study-work{display:flex;flex-direction:column;border:1px solid var(--color-border);border-radius:var(--r-md);background:#fff;min-width:0;scroll-margin-top:90px}.study-work-body{padding:26px;display:flex;flex-direction:column;flex:1}.study-work-kind{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:var(--muted);font-size:14px}.study-work-symbol{display:grid;place-items:center;width:52px;height:48px;background:var(--sand);color:var(--green);border-radius:var(--r-md)}.study-titles{display:grid;gap:8px}.study-titles h2{font-size:clamp(24px,2.4vw,32px);line-height:1.3;overflow-wrap:anywhere}.study-titles h2[lang=ar]{font-family:var(--font-arabic);font-size:clamp(22px,2.1vw,28px);line-height:1.65}.study-titles p{color:var(--muted);font-size:14px;white-space:pre-line;overflow-wrap:anywhere}.study-titles [lang=ar]{font-family:var(--font-arabic);line-height:1.85}.study-sections{margin:24px 0 22px;border-block:1px solid var(--line);padding:15px 0;display:grid;gap:12px}.study-section{display:flex;gap:16px;align-items:center;justify-content:space-between}.study-quota small{color:var(--muted);font-size:14px}.study-scope{display:flex;flex-wrap:wrap;gap:7px 14px;font-weight:700}.study-check{display:flex;align-items:center;gap:6px;white-space:nowrap;background:#fff;color:var(--muted);border:1px solid var(--line);border-radius:var(--r-md);padding:9px;font-size:14px;min-height:40px}.study-check.is-done{color:var(--green);background:var(--green-light);border-color:var(--color-border-strong)}.study-check:not(.is-done) .icon{color:var(--color-border-strong)}.study-bookmark{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:var(--muted);font-size:14px}.study-bookmark label{display:flex;align-items:center;gap:6px}.study-bookmark input{width:76px!important;min-height:36px;padding:7px!important;border:1px solid var(--color-border);border-radius:var(--r-md);font-size:14px;background:var(--color-surface)}.study-bookmark input::-webkit-inner-spin-button{appearance:none}.study-bookmark-save{border:0;background:transparent;color:var(--green);width:36px;height:36px;display:grid;place-items:center}.study-bookmark [role=status]{font-size:14px}.study-bookmark [role=status].error{color:var(--color-danger)}.study-media{display:grid;gap:10px;margin-top:auto}.study-media-row{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap}.study-media .button{font-size:14px;white-space:normal;text-align:start;min-height:44px}.study-secondary{display:inline-flex;align-items:center;gap:7px;font-size:14px;color:var(--green);background:none;border:0;padding:10px 0}.study-copy-status{font-size:14px;color:var(--green)}.study-copy-status input{max-width:100%;font-size:14px}.study-submission-tab{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 26px;border-top:1px solid var(--color-border);background:var(--color-bg-alt);border-radius:var(--r-md);font-size:14px;color:var(--green)}.study-submission-tab>span:first-child{display:flex;align-items:center;gap:7px}.study-submission-tab>span:nth-child(2){margin-inline-start:auto;text-align:end}.study-submission-tab small{display:block;color:var(--muted);font-size:14px}.study-submission-tab[aria-expanded=true]{background:var(--color-border)}.study-submission-tab[aria-expanded=true]>.icon{transform:rotate(90deg)}.study-submission-panel{grid-column:1/-1;border:1px solid var(--color-border-strong);border-radius:var(--r-md);background:var(--color-bg-alt);position:relative;scroll-margin-top:90px}.study-submission-panel>summary{padding:14px;cursor:pointer;color:var(--green)}.study-page[data-enhanced] .study-submission-panel:not([open]){display:none}.study-page[data-enhanced] .study-submission-panel>summary{display:none}.study-submission-panel[open]:before{content:"";width:15px;height:15px;border-inline-start:1px solid var(--color-border-strong);border-block-start:1px solid var(--color-border-strong);position:absolute;top:-9px;left:var(--origin);background:var(--color-bg-alt);transform:rotate(45deg)}[dir=rtl] .study-submission-panel[open]:before{left:auto;right:var(--origin)}.study-submission-content{padding:26px}.study-submission-content>header{display:flex;justify-content:space-between;gap:16px;margin-bottom:12px}.study-submission-content h2{margin:4px 0 9px}.study-submission-content h3{margin-bottom:10px}.study-submission-columns{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:22px}.study-muted{color:var(--muted);font-size:14px}.study-upload{display:grid;gap:10px}.study-upload label{font-size:14px;font-weight:600}.study-upload input,.study-upload textarea{min-width:0;max-width:100%;width:100%}.study-upload small{color:var(--muted);font-size:14px}.study-upload .button{justify-self:start}.study-file{padding:12px 0;border-top:1px solid var(--color-border);overflow-wrap:anywhere}.study-file>a{display:flex;align-items:center;gap:7px;color:var(--green);text-decoration:underline}.study-file small{display:block;font-size:14px;color:var(--muted);margin:5px 0}.study-file p{font-size:14px}.study-remove{border:0;background:none;color:var(--color-danger);font-size:14px;padding:6px 0}.study-empty{padding:50px 24px;text-align:center;color:var(--muted);grid-column:1/-1}.study-intro{color:var(--muted);max-width:700px;font-size:15px;margin-bottom:28px}.study-timeline-scroll{overflow:auto;border:1px solid var(--line);border-radius:var(--r-md);background:#fff;max-width:100%}.study-timeline{display:grid;grid-template-columns:220px repeat(var(--weeks),160px);width:max-content;min-width:100%}.study-timeline-corner,.study-timeline-title{position:sticky;inset-inline-start:0;background:#fff;z-index:2;border-inline-end:1px solid var(--line);padding:20px;font-size:14px}.study-timeline-corner{color:var(--muted)}.study-timeline-title{display:flex;gap:9px;align-items:center;font-weight:600;border-top:1px solid var(--line);overflow-wrap:anywhere}.study-timeline-title .icon{flex-shrink:0}.study-timeline-week{display:grid;gap:5px;padding:18px 12px;font-size:14px;border-inline-end:1px solid var(--line)}.study-timeline-week small{font-size:14px;color:var(--muted)}.study-timeline-week.is-current{background:var(--color-bg-alt);box-shadow:none}.study-timeline-segment{margin-block:14px;background:var(--color-bg-alt);border-block:1px solid var(--color-border-strong);border-inline-end:1px solid var(--color-border);padding:15px 12px;color:var(--green);font-size:14px;display:grid;align-content:center;min-height:70px}.study-timeline-segment:hover{background:var(--color-border)}.study-timeline-segment>div{display:grid;gap:6px}.study-timeline-gap{border-inline-end:1px solid var(--color-bg-alt)}.study-open-label{color:var(--color-danger);font-size:14px}.study-library-search{max-width:430px;margin:0 0 30px}.study-library-search>label{font-size:14px;color:var(--muted)}.study-library-search>div{display:flex;align-items:center;gap:10px;margin-top:5px}.study-library-search input{min-width:0;width:100%}.study-library-list{display:grid;gap:0}.study-library-work{display:grid;grid-template-columns:170px minmax(0,1fr);gap:32px;padding:32px 0;border-top:1px solid var(--color-border)}.study-library-period{display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--green);border-inline-start:2px solid var(--color-border-strong);padding-inline-start:18px}.study-library-period small{color:var(--muted);font-size:14px}.study-library-content .study-titles h2{font-size:26px}.study-week-links{display:flex;gap:0;flex-wrap:wrap;margin:18px 0}.study-week-links a{display:grid;gap:4px;border-inline-start:2px solid var(--color-border-strong);padding:8px 16px;background:var(--color-bg-alt);margin-bottom:4px;font-size:14px;color:var(--green)}.study-week-links a>span{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted)}.study-other-materials{margin-top:32px}.study-other-materials article{padding:24px 0;border-bottom:1px solid var(--line)}.study-history-nav{padding:7px 0}.study-history-nav>summary{cursor:pointer;font-size:14px;color:var(--muted);padding:8px 12px}.study-history-nav .nav-link{font-size:14px}.study-heading a:focus-visible,.study-page a:focus-visible,.study-page button:focus-visible,.study-timeline-scroll:focus-visible{outline:3px solid var(--color-warning);outline-offset:3px}@media(min-width:801px){.study-work-grid>.study-work:nth-of-type(n+3){margin-top:0}}@media(max-width:1000px){.study-heading{align-items:flex-start;flex-direction:column;gap:14px}.study-navigation{align-self:flex-start}.study-work-body{padding:20px}.study-submission-tab{padding:14px 20px}.study-media-row{gap:5px 12px}.study-bookmark{gap:6px}}@media(max-width:650px){.study-work-grid{grid-template-columns:minmax(0,1fr);gap:20px}.study-submission-panel{grid-row:auto!important}.study-submission-panel[open]:before{left:50%!important;right:auto!important}.study-heading{margin-top:4px;margin-bottom:20px;gap:12px}.study-heading h1{font-size:27px}.study-navigation{width:100%;justify-content:space-between}.study-plan-link{font-size:14px}.study-clock{margin-bottom:20px;padding-top:17px}.study-clock-labels strong{font-size:14px}.study-clock-labels>p{font-size:14px}.study-open-note{flex-wrap:wrap;gap:5px 9px;font-size:14px;padding:10px 12px}.study-open-note a{margin-inline-start:17px}.study-work-body{padding:20px}.study-titles h2{font-size:27px}.study-titles h2[lang=ar]{font-size:23px}.study-submission-columns{grid-template-columns:1fr;gap:22px}.study-submission-content{padding:20px}.study-submission-content h2{font-size:22px}.study-library-work{grid-template-columns:1fr;gap:16px;padding:24px 0}.study-library-period{display:grid;grid-template-columns:30px 1fr;gap:2px 10px}.study-library-period .icon{grid-row:1/3}.study-library-period small{grid-column:2}.study-timeline{grid-template-columns:130px repeat(var(--weeks),145px)}.study-timeline-title,.study-timeline-corner{padding:12px;font-size:14px}.study-timeline-title{flex-direction:column;align-items:flex-start}.study-intro{font-size:14px}}@media(prefers-reduced-motion:reduce){.study-page *{animation:none!important;transition:transform var(--dur-fast) var(--ease)}}.study-section{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px}.study-complete{grid-column:3}.study-section .study-bookmark{display:grid;grid-template-columns:62px 28px;gap:3px 4px;align-items:center}.study-section .study-bookmark label{grid-column:1/-1;font-size:14px;white-space:nowrap}.study-section .study-bookmark input{width:62px!important}.study-section .study-bookmark-save{width:28px;height:36px}.study-section .study-bookmark [role=status]{grid-column:1/-1;max-width:105px}.study-timeline{grid-template-columns:220px repeat(var(--weeks),minmax(160px,1fr))}.study-timeline-week{align-content:start}.study-section:has(.study-bookmark) .study-check{margin-top:15px}@media(max-width:650px){.study-section{gap:8px}.study-section .study-bookmark{grid-template-columns:54px 24px}.study-section .study-bookmark input{width:54px!important}.study-check{padding:8px 6px;font-size:14px}.study-section .study-bookmark label{font-size:14px}.study-timeline{grid-template-columns:130px repeat(var(--weeks),145px)}}body svg.icon{display:inline-block;flex:0 0 auto}body input:is([type=checkbox],[type=radio]){appearance:none;display:inline-block;vertical-align:middle;inline-size:20px;block-size:20px;min-inline-size:20px;min-block-size:20px;padding:0;margin:0;flex:0 0 20px;border:1.5px solid var(--color-border-strong);background:var(--color-surface);cursor:pointer;accent-color:var(--color-accent)}body input[type=checkbox]{border-radius:6px}body input[type=radio]{border-radius:50%}body input:is([type=checkbox],[type=radio]):checked{border-color:var(--color-accent);background-color:var(--color-accent)}body input[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}body input[type=checkbox]:indeterminate{border-color:var(--color-accent);background:var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px}body input[type=radio]:checked{box-shadow:inset 0 0 0 4px var(--color-surface)}body input:is([type=checkbox],[type=radio]):disabled{opacity:.55;cursor:not-allowed}body .checkbox-field{min-height:44px;gap:12px}body .checkbox-field>span{min-width:0}body .privacy-checkbox{align-items:flex-start}body .privacy-checkbox input{margin-block-start:3px}body .study-section{grid-template-columns:minmax(0,1fr) auto;gap:16px}body .study-complete{grid-column:2;align-self:end}body .study-section:has(.study-bookmark) .study-quota{grid-column:1 / -1}body .study-section .study-bookmark{grid-column:1;display:grid;grid-template-columns:minmax(72px,90px) 44px;gap:8px;padding:0;background:transparent;border-radius:0}body .study-section .study-bookmark label{white-space:normal;gap:8px}body .study-section .study-bookmark input{width:100%!important;margin:0;text-align:center}body .study-section .study-bookmark-save{width:44px;height:44px;border-radius:var(--r-pill);border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-accent)}body .study-section .study-bookmark-save:hover{background:var(--color-info-bg)}body .study-section .study-bookmark [role=status]{max-width:none}body .study-section .study-bookmark [role=status]:empty{display:none}body .study-section:has(.study-bookmark) .study-check{margin-top:0}body .study-check{padding-inline:14px}body .study-check>.icon{width:20px;height:20px;border:1.5px solid var(--color-border-strong);border-radius:6px;padding:1px}body .study-check:not(.is-done)>.icon>*{visibility:hidden}body .study-check.is-done>.icon{color:var(--color-on-accent);border-color:var(--color-accent);background:var(--color-accent)}body .study-check:hover{border-color:var(--color-accent)}body .study-open-icon{display:inline-grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border:1.5px solid currentColor;border-radius:50%;font-weight:700;line-height:1}.page-footer.has-week-feedback{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:0 20px;padding-block:12px}.has-week-feedback>span{grid-area:1 / 1}.has-week-feedback>.footer-privacy{grid-area:1 / 3}.week-feedback,.week-feedback::details-content{display:contents}.week-feedback:not([open])>.week-feedback-body{display:none}.week-feedback>summary{grid-area:1 / 2}.week-feedback>.week-feedback-body{grid-area:2 / 1 / auto / -1;width:100%;color:var(--color-text)}@media(max-width:480px){.page-footer.has-week-feedback{grid-template-columns:auto minmax(0,1fr);column-gap:12px}.has-week-feedback>.footer-privacy{grid-area:2 / 1 / auto / -1;justify-self:start}.week-feedback>.week-feedback-body{grid-row:3}}.week-feedback>summary{display:flex;align-items:center;gap:6px;min-height:44px;width:fit-content;max-width:100%;color:var(--color-link);cursor:pointer;list-style:none;font-size:14px;font-weight:600}.week-feedback>summary::-webkit-details-marker{display:none}.week-feedback>summary>.icon:last-child{transition:transform var(--dur-fast) var(--ease)}.week-feedback[open]>summary>.icon:last-child{transform:rotate(90deg)}.week-feedback-body{max-width:640px;padding-block:8px 16px}.week-feedback[open] .week-feedback-body{animation:brand-reveal var(--dur-base) var(--ease)}.week-feedback-body form{display:grid;gap:12px}.week-feedback-body p{margin:0;font-size:14px;color:var(--color-text-muted)}.week-feedback-body textarea{margin:0;min-height:112px;border-radius:var(--r-md)}.week-feedback-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.week-feedback-actions small{color:var(--color-text-muted)}.week-feedback-body .week-feedback-error{color:var(--color-danger)}.week-feedback-body .week-feedback-success{display:flex;align-items:center;gap:10px;padding:16px;margin-bottom:20px;background:var(--color-success-bg);color:var(--color-heading);border-radius:var(--r-md)}.feedback-entry{padding-block:24px;border-top:1px solid var(--color-border)}.feedback-entry header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}.feedback-entry time,.feedback-context{font-size:14px;color:var(--color-text-muted)}.feedback-entry .feedback-context{margin-block:8px 16px}.feedback-message{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:380px){body .study-section{gap:12px}body .study-section .study-bookmark{grid-template-columns:72px 44px}body .study-check{padding-inline:10px}}@media(forced-colors:active){body input:is([type=checkbox],[type=radio]){appearance:auto;background-image:none}body .study-check.is-done>.icon{color:HighlightText;background:Highlight;border-color:Highlight;forced-color-adjust:none}}:root{--sidebar-width:240px;--color-success-text:var(--color-heading)}body{background:var(--color-bg);color:var(--color-text);font-size:16px;line-height:1.55}html{scrollbar-color:var(--color-border-strong) var(--color-bg-alt)}::selection{background:var(--color-accent);color:var(--color-on-accent)}input,textarea{caret-color:var(--color-accent)}[lang=ar],html[lang=ar] body{font-family:var(--font-arabic)}h1,h2,h3,h4{color:var(--color-heading);letter-spacing:-.02em;text-wrap:balance}h1{font-size:var(--text-4xl);max-width:20ch;line-height:1.12}h2{font-size:var(--text-2xl);font-weight:600}h3{font-size:var(--text-xl);font-weight:600}p{max-width:65ch}small,.small-text,.muted,.study-muted{font-size:var(--text-sm)}:is(a,button,input,textarea,select,summary):focus-visible{outline:2px solid var(--color-focus);outline-offset:3px;box-shadow:none}a{text-underline-offset:4px}.icon{stroke-width:1.75}.sidebar{background:var(--color-bg-alt);border:0;padding:32px 16px 16px}.sidebar .brand{padding:0 16px 32px;margin:0}.brand-logo{width:156px;height:auto;display:block}.nav-link{min-height:44px;padding:12px 16px;border-radius:var(--r-pill);font-size:14px;font-weight:400;color:var(--color-text)}.nav-link.active{background:var(--color-accent);color:var(--color-on-accent);font-weight:600}.nav-link.active:before{display:none}.nav-link:hover:not(.active){background:var(--color-surface);color:var(--color-accent)}.nav-link.active .icon{color:inherit}.nav-label{font-family:var(--font-mono),var(--font-arabic);font-size:12px;color:var(--color-text-muted);letter-spacing:0;background:none;border:0;padding:12px;min-height:44px}.nav-section.is-open>.nav-label,.nav-fixed-heading{background:none;color:var(--color-heading);border:0}.nav-section.contains-current>.nav-label{border:0}.nav-sublist{margin-inline-start:16px;border-color:var(--color-border)}.sidebar-user{min-height:64px;border-radius:var(--r-md)}.user-name small{font-size:12px}.avatar{border-radius:var(--r-pill);background:var(--color-surface);color:var(--color-heading)}.sidebar-bottom{border-top:1px solid var(--color-border);padding-top:16px}.profile-popover{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--r-md);box-shadow:none}.topbar{background:var(--color-bg);border-bottom:1px solid var(--color-border-subtle);min-height:64px;height:auto;padding:16px 40px}.breadcrumb{font-size:13px}.main-content{max-width:1328px;padding:40px 48px 24px;margin-inline:auto}.page-heading{margin-bottom:32px;align-items:center;gap:24px}.page-heading p{margin-top:12px;font-size:16px;color:var(--color-text-muted)}.panel{border:0;background:var(--color-bg-alt);border-radius:var(--r-lg);box-shadow:none}.content-panel{padding:32px 32px 36px}.panel .panel{background:var(--color-surface)}.spaced{margin-top:32px}.section-heading{margin-bottom:24px}.page-footer{margin-top:64px;font-size:14px;color:var(--color-text-muted)}.button,.button.small,.study-secondary,.study-check,.language-button{min-height:44px;border-radius:var(--r-pill);font-size:14px;gap:8px;padding:10px 20px;font-weight:600;transition:transform var(--dur-fast) var(--ease)}.button:active,.study-arrow:active,.study-check:active{transform:translateY(1px)}.button.primary{background:var(--color-accent);color:var(--color-on-accent);border-color:var(--color-accent)}.button.primary:hover{background:var(--color-accent-hover)}.button.secondary{background:transparent;color:var(--color-accent);border:1px solid var(--color-accent)}.button.secondary:hover{background:var(--color-info-bg)}.button:not(.primary):not(.secondary){color:var(--color-link)}button:disabled,.disabled{opacity:1;color:var(--color-disabled-text);background:var(--color-disabled-bg);cursor:not-allowed}input:not([type=checkbox]):not([type=radio]):not([type=range]),select{min-height:44px;border-radius:var(--r-pill);border:1px solid var(--color-border-strong);background:var(--color-surface);padding:10px 16px;color:var(--color-text)}textarea{border-radius:var(--r-md);border:1px solid var(--color-border-strong);padding:16px;background:var(--color-surface);color:var(--color-text)}input::placeholder,textarea::placeholder{color:var(--color-text-muted);opacity:1}input[type=checkbox]{accent-color:var(--color-accent);border-radius:var(--r-sm)}input[type=file]{border-radius:var(--r-md)!important;max-width:100%}input::file-selector-button{border:0;border-radius:var(--r-pill);background:var(--color-info-bg);color:var(--color-accent);padding:8px 16px;margin-inline-end:12px;font:inherit}label{color:var(--color-heading)}.form-actions{gap:12px;flex-wrap:wrap}.form-field{display:grid;gap:12px}.form-grid{gap:24px}.work-editor{max-width:800px}.work-editor section{border-top:1px solid var(--color-border);padding-top:32px}.work-editor small{color:var(--color-text-muted)}.work-file{display:grid;gap:16px;background:var(--color-surface);padding:24px;border-radius:var(--r-md);margin-top:24px}.work-file>div:first-child{display:flex;gap:12px;align-items:center;overflow-wrap:anywhere}.work-file .form-actions{margin:0}.table-panel{overflow:hidden}table{background:var(--color-surface);font-size:14px;font-variant-numeric:tabular-nums}thead{background:var(--color-bg-alt)}th{font-family:var(--font-mono),var(--font-arabic);font-size:12px;letter-spacing:0;font-weight:500;color:var(--color-text-muted);background:var(--color-bg-alt);padding:16px 20px}td{padding:20px;border-color:var(--color-border-subtle)}tr:hover td{background:var(--color-bg-alt)}.table-caption{padding:24px 32px}.table-subline{font-size:14px}.count-pill,.badge{border-radius:var(--r-pill);font-size:13px;padding:6px 12px}.notice{border:0;border-radius:var(--r-md);padding:20px 24px}.notice.success{background:var(--color-success-bg);color:var(--color-heading)}.notice.error{background:var(--color-danger-bg);color:var(--color-danger)}.confirm-dialog{border:0;border-radius:var(--r-xl);padding:32px;box-shadow:none;background:var(--color-surface)}dialog::backdrop,.sidebar-overlay{background:var(--color-overlay)}dialog[open],.profile-menu[open] .profile-popover{animation:brand-reveal var(--dur-base) var(--ease)}@keyframes brand-reveal{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.icon-tile,.icon-tile.gold,.icon-tile.green{background:var(--color-info-bg);color:var(--color-accent);border-radius:var(--r-md)}.staff-context{padding:0 0 24px;border:0;border-bottom:1px solid var(--color-border-subtle);background:none;border-radius:0;margin-bottom:32px;font-size:14px}.course-groups{gap:24px}.course-group{border:0;border-radius:var(--r-lg);background:var(--color-surface);padding:32px}.course-group.selected{background:var(--color-info-bg);border:0}.course-group.selected h3{color:var(--color-accent)}.settings-section>summary,.settings-details-body{padding:24px 32px}.settings-section>summary small,.settings-group-row p{font-size:14px}.study-week-header{padding:24px 32px 28px;border-radius:var(--r-xl);margin-bottom:0;background:var(--color-bg-alt);color:var(--color-heading)}.study-week-current{background:var(--blue);color:var(--white)}.study-week-future{background:var(--sky)}.study-week-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px}.study-week-switcher{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.study-week-identity{min-width:150px}.study-week-identity h1{font-size:var(--text-4xl);color:inherit;margin:0 0 8px}.study-week-status{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:600}.study-arrow{width:44px;height:44px;border:1px solid currentColor;background:transparent;color:inherit;border-radius:var(--r-pill);flex-shrink:0}.study-arrow.disabled{background:transparent;border-style:dashed;color:inherit;opacity:.55}.study-week-current .study-arrow,.study-week-current .study-current-link{color:var(--white)}.study-arrow:hover{background:var(--color-surface);color:var(--color-accent);border-color:currentColor}.study-current-link{color:inherit;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px;padding:10px 4px}.study-week-header .study-plan-link{color:inherit;font-size:14px;border:1px solid currentColor;border-radius:var(--r-pill);padding:12px 16px}.study-phase{margin-top:20px;font-size:14px}.study-week-current :focus-visible{outline-color:var(--white)}.study-alert{color:var(--white);background:var(--color-danger);border-color:var(--color-surface);font-weight:700}.study-clock{border:0;padding:24px 8px 0;margin-bottom:32px}.study-clock-labels small,.study-clock-labels time{font-size:14px}.study-clock-labels>p{color:var(--color-heading)}.study-time-progress,.study-time-progress::-webkit-progress-bar{background:var(--color-bg-alt);border-radius:var(--r-pill)}.study-time-progress::-webkit-progress-value{background:var(--color-accent);border-radius:var(--r-pill)}.study-timezone{font-size:12px}.study-open-note{background:var(--color-warning-bg);color:var(--color-warning);border:0;border-radius:var(--r-md);padding:16px 20px;font-size:14px}.study-work-grid{gap:24px}.study-work{border:0;border-radius:var(--r-lg);background:var(--color-bg-alt)}.study-work-body{padding:32px 32px 36px}.study-work-kind{font-size:14px;gap:12px;margin-bottom:20px}.study-work-symbol{background:var(--color-surface);color:var(--color-accent);border-radius:var(--r-md);width:48px;height:48px}.study-titles h2{font-size:clamp(24px,2.2vw,30px);font-weight:600;line-height:1.25}.study-titles p{font-size:16px;color:var(--color-text-muted)}.study-sections{border-color:var(--color-border);margin-top:24px}.study-section{padding:20px 0;border-color:var(--color-border);gap:16px;flex-wrap:wrap}.study-quota small{font-size:14px}.study-scope{font-size:16px}.study-bookmark{background:var(--color-surface);border:0;border-radius:var(--r-md);padding:12px}.study-bookmark label{font-size:14px}.study-bookmark input{width:88px}.study-check{border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-heading)}.study-check.is-done{background:var(--color-success-bg);color:var(--color-heading);border-color:var(--color-success)}.study-submission-tab{background:var(--color-info-bg);border-top:1px solid var(--color-border);border-radius:0 0 var(--r-lg) var(--r-lg);color:var(--color-heading);padding:20px 32px;font-size:16px}.study-submission-tab small{font-size:14px}.study-submission-panel{border:1px solid var(--color-border);border-radius:var(--r-lg);background:var(--color-surface);box-shadow:none}.study-submission-panel:before{display:none}.study-submission-panel[open]{animation:brand-reveal var(--dur-base) var(--ease)}.study-media-row{flex-wrap:wrap;gap:12px}.study-secondary{color:var(--color-link);display:inline-flex;align-items:center}.study-file{background:var(--color-bg-alt);padding:16px;border-radius:var(--r-md);flex-wrap:wrap}.study-file>a:first-child{max-width:100%;overflow-wrap:anywhere}.study-library-work{display:grid;grid-template-columns:180px minmax(0,1fr);border:0;border-top:1px solid var(--color-border);border-radius:0;padding:32px 0;background:none;gap:32px}.study-library-period{background:none;padding:0;font-size:14px}.study-library-content{padding:0}.study-library-search{margin:24px 0 32px}.study-week-links a{border-radius:var(--r-pill);padding:10px 16px;min-height:44px;border:1px solid var(--color-border);background:var(--color-bg-alt)}.study-week-links a:hover{background:var(--color-info-bg)}.media-catalog{border-top:1px solid var(--color-border)}.media-catalog-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:32px;padding:32px 0;border-bottom:1px solid var(--color-border)}.media-catalog-position{display:flex;flex-direction:column;align-items:flex-start;gap:12px;font-size:14px}.media-catalog-position>span:last-child{color:var(--color-text-muted)}.media-catalog-icon{background:var(--color-bg-alt);color:var(--color-accent);width:52px;height:52px;display:grid;place-items:center;border-radius:var(--r-md)}.media-catalog-content h2{margin:8px 0 12px;font-size:28px;max-width:32ch}.media-catalog-content p{color:var(--color-text-muted)}.media-week-details{margin-top:16px}.media-week-details summary{cursor:pointer;font-size:14px;color:var(--color-link);padding:8px 0}.media-catalog-content .form-actions{margin-top:20px}.material-stage{background:var(--color-bg-alt);color:var(--color-accent);border-radius:var(--r-lg);min-height:180px}.material-video{width:100%;max-height:65vh;background:var(--navy);border-radius:var(--r-md)}.document-preview{max-width:800px}.document-preview p+p{margin-top:16px}.auth-body{background:var(--color-bg)}.auth-shell{min-height:100dvh;grid-template-columns:minmax(300px,.8fr) 1.2fr}.auth-story{background:var(--navy);padding:48px;border-radius:0;color:var(--white)}.auth-story-content{display:grid;place-items:center;margin:0;flex:1}.auth-brand-symbol{width:min(70%,260px);height:auto}.auth-story-footer{color:var(--white);font-size:14px}.auth-main{background:var(--color-bg);padding:32px 48px}.auth-form-wrapper{width:100%;max-width:480px;padding:40px;border-radius:var(--r-xl);background:var(--color-bg-alt)}.auth-form-wrapper>h2{font-size:36px}.auth-description{font-size:16px;margin-top:16px}.auth-form{margin-top:24px}.auth-form label{font-size:14px}.auth-top{margin-bottom:32px}.auth-footer{font-size:14px}.password-field{border:1px solid var(--color-border-strong);border-radius:var(--r-pill);background:var(--color-surface)}.password-field input{border:0!important}@media(max-width:1100px){.main-content{padding:32px}.study-week-toolbar{align-items:flex-start;flex-direction:column;gap:16px}.study-work-body{padding:24px 24px 28px}}@media(max-width:800px){.sidebar{padding-top:24px}.topbar{padding:12px 16px}.main-content{padding:24px 16px}.content-panel{padding:24px}.page-heading{align-items:flex-start;flex-wrap:wrap}.auth-shell{display:block}.auth-story{display:none}.auth-main{min-height:100dvh;padding:24px}.auth-form-wrapper{padding:28px}.mobile-brand{display:block}.media-catalog-row,.study-library-work{grid-template-columns:1fr;gap:20px;padding:24px 0}.media-catalog-position,.study-library-period{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px}.media-catalog-icon{width:44px;height:44px}.study-week-header{padding:24px}.study-week-switcher{gap:12px}.study-week-identity{min-width:135px}.study-week-identity h1{font-size:34px}.study-current-link{flex-basis:100%}.study-week-header .study-plan-link{padding:8px 12px}.study-work-grid{grid-template-columns:1fr!important}.study-submission-panel{grid-row:auto!important}.study-open-note{align-items:flex-start;flex-wrap:wrap}.study-open-note a{margin-inline-start:0}.study-clock-labels{gap:8px}.study-clock-labels>p{font-size:14px}.course-group{padding:24px}.staff-context{padding-bottom:20px}.settings-section>summary,.settings-details-body{padding:24px}}@media(max-width:380px){.study-week-header{padding:20px 16px}.study-week-switcher{gap:8px}.study-week-identity{min-width:122px}.study-work-body{padding:20px}.auth-main{padding:16px}.auth-form-wrapper{padding:24px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.topbar{width:100%;border-radius:0}.sidebar-bottom,.sidebar-user{background:transparent}.study-library-period{border-inline-start:0}.study-library-period small,.study-week-links span{font-size:14px}.full-button+.full-button{margin-top:12px}.member-count,.stat-value,.category-value>strong{font-family:var(--font-serif);font-weight:400}.study-scope strong{font-family:var(--font-mono),var(--font-arabic);font-size:14px}body :is(label,.form-field,.filter-grid label,.library-primary-filters label,.list-filters label,.auth-form label,.label-with-link label){font-size:14px;letter-spacing:0}body input:not([type=checkbox]):not([type=radio]),body select,body textarea{font-size:16px}body :is(.muted,.small-text,small,.help-text,.field-hint,.table-subline,.task-labels,.filter-actions,.auth-switch,.auth-footer,.privacy-note,.work-editor-status,.study-week-links span,.settings-stack p,.settings-section small){font-size:14px;letter-spacing:0}body .label-with-link>a{display:inline-flex;min-height:44px;align-items:center;font-size:14px}body .auth-story-footer>span{font-size:14px;letter-spacing:0}body .nav-label,body th{font-size:12px;font-family:var(--font-mono),var(--font-arabic)}.library-filters{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(240px,1fr) auto;gap:16px;padding:24px;align-items:end}.library-filters .search-field{min-width:0;margin:0;border-radius:var(--r-pill);border-color:var(--color-border-strong)}.library-filters .search-field input[type=search]{border:0;padding-inline-start:8px}.library-primary-filters{display:grid;grid-template-columns:1fr 1fr;gap:16px}.library-filters .filter-actions{margin:0;grid-column:3;grid-row:1}.library-filters .filter-actions>.text-link{padding:10px 0}.library-more-filters{grid-column:1/-1}.library-more-filters summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--color-link);font-size:14px}.library-more-filters .filter-grid{margin-top:16px}.media-catalog-row{padding:24px 0}.media-catalog-content h2{font-size:24px}.work-editor-status{margin:16px 0}.work-editor-status p{display:flex;align-items:center;gap:8px;color:var(--color-text-muted)}.work-editor .work-file{margin:24px 0}.work-editor>.muted{margin-bottom:24px}.work-editor .form-field+.form-field{margin-top:24px}@media(max-width:1100px){.library-filters{grid-template-columns:1fr 1fr}.library-filters .filter-actions{grid-column:2;grid-row:2;justify-content:flex-end}.library-more-filters{grid-column:1;grid-row:2}.library-more-filters[open]{grid-column:1/-1;grid-row:3}}@media(max-width:600px){.library-filters{grid-template-columns:1fr 1fr;padding:20px;gap:16px}.library-filters .search-field,.library-primary-filters{grid-column:1/-1}.library-filters .filter-actions{grid-column:1/-1;grid-row:3;justify-content:flex-start;gap:8px}.library-more-filters,.library-more-filters[open]{grid-column:1/-1;grid-row:4}.library-filters{row-gap:8px}.library-filters .filter-actions>.text-link{padding-inline:8px}.library-filters .filter-actions>.button{padding-inline:12px}.media-catalog-row{gap:12px}.library-more-filters .filter-grid{grid-template-columns:1fr 1fr}.auth-form-wrapper{padding:24px}}.study-open-count{display:none}@media(max-width:650px){#study-week .study-week-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 16px;border-radius:var(--r-lg)}#study-week .study-week-toolbar{display:contents}#study-week .study-week-switcher{grid-column:1 / -1;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:0 10px;align-items:center}#study-week .study-week-identity{min-width:0;text-align:center}#study-week .study-week-identity h1{font-size:28px;margin:0 0 4px;max-width:none}#study-week .study-week-status{justify-content:center;gap:6px}#study-week .study-current-link{grid-column:1 / -1;justify-self:center;min-height:44px}#study-week .study-phase{grid-area:2 / 1;margin:0;align-self:center;overflow-wrap:anywhere}#study-week .study-plan-link{grid-area:2 / 2;min-height:44px;padding:8px 0 8px 8px;border:0}#study-week .study-clock{padding:12px 0 0;margin-bottom:16px}#study-week .study-clock-labels{gap:6px}#study-week .study-clock-labels strong{white-space:nowrap}#study-week .study-clock-labels>p{margin:0}#study-week .study-time-progress{margin-top:6px;height:4px}#study-week .study-timezone{margin-top:2px}#study-week .study-open-note{padding:4px 12px;gap:8px;margin-bottom:12px;align-items:center;flex-wrap:nowrap}#study-week .study-open-note>span:nth-child(2),#study-week .study-open-destination{display:none}#study-week .study-open-count{display:inline}#study-week .study-open-note a{min-height:44px;min-width:0;margin:0;flex:1}#study-week .study-work-body{padding:16px}#study-week .study-work-kind{margin-bottom:10px;gap:8px}#study-week .study-work-symbol{width:32px;height:32px;border-radius:var(--r-md)}#study-week .study-work-symbol>.icon{width:24px;height:24px}#study-week .study-sections{margin:12px 0;padding:8px 0;gap:8px}#study-week .study-section{padding:8px 0;gap:12px}#study-week .study-titles h2{font-size:24px}#study-week .study-titles h2[lang=ar]{font-size:24px;line-height:1.5}}#study-week,#study-week .study-work{container-type:inline-size}@media(min-width:651px){.main-content:has(>#study-week){padding-block-start:20px}#study-week .study-week-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;padding:16px 24px}#study-week .study-week-toolbar{display:contents}#study-week .study-week-switcher{grid-area:1 / 1;gap:12px;min-width:0}#study-week .study-week-identity{min-width:0}#study-week .study-week-identity h1{font-size:36px;margin:0 0 4px}#study-week .study-phase{grid-area:2 / 1 / auto / -1;margin:0;overflow-wrap:anywhere}#study-week .study-plan-link{grid-area:1 / 2;min-height:44px;padding:8px 12px}#study-week .study-clock{padding:16px 0 0;margin-bottom:20px}#study-week .study-clock-labels>p{margin:0}#study-week .study-time-progress{margin-top:8px;height:4px}#study-week .study-work-body{padding:20px}#study-week .study-work-kind{margin-bottom:12px;gap:10px}#study-week .study-work-symbol{width:36px;height:36px}#study-week .study-work-symbol>.icon{width:26px;height:26px}#study-week .study-sections{margin:12px 0;padding:4px 0;gap:12px}#study-week .study-section{padding:4px 0;gap:12px}#study-week .study-open-note{margin-bottom:16px;padding:8px 16px}}@media(min-width:651px)and (max-width:1100px){#study-week .study-week-identity h1{font-size:30px}#study-week .study-current-link{min-height:44px;padding-block:8px}}@container (max-width:720px){#study-week .study-work-grid{grid-template-columns:minmax(0,1fr)!important}#study-week .study-submission-panel{grid-row:auto!important}}@container (min-width:520px){#study-week .study-section:has(.study-bookmark){grid-template-columns:minmax(0,1fr) 134px auto;align-items:end}#study-week .study-section:has(.study-bookmark) .study-quota{grid-column:1;grid-row:1;align-self:start}#study-week .study-section .study-bookmark{grid-column:2;grid-row:1}#study-week .study-section:has(.study-bookmark) .study-complete{grid-column:3;grid-row:1}}#study-week .study-clock-labels{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;position:relative}#study-week .study-clock-labels>div:first-child{grid-area:1 / 1;justify-self:start}#study-week .study-clock-labels>p{grid-area:1 / 2;text-align:center}#study-week .study-clock-labels>div:last-child{grid-area:1 / 3;justify-self:end}#study-week .study-timezone-warning{position:absolute;inset-inline-start:calc(50% + 88px);inset-inline-end:108px;width:max-content;max-width:calc(50% - 196px);top:50%;transform:translateY(-50%);margin:0;margin-inline:auto;padding:6px 8px;border-radius:var(--r-md);background:var(--color-warning-bg);color:var(--color-warning);font-size:14px;line-height:1.4;text-align:center;overflow-wrap:anywhere}#study-week .study-timezone-warning[hidden]{display:none}@container (max-width:760px){#study-week .study-timezone-warning{position:static;transform:none;max-width:100%;grid-column:2 / -1;grid-row:2;justify-self:center;margin-top:6px}}@media(max-width:380px){#study-week .study-clock-labels>p{max-width:118px}}@media(min-width:1101px)and (min-height:700px){.main-content:has(>#study-week){padding-block-start:32px}#study-week .study-week-header{padding:22px 32px;gap:8px 20px}#study-week .study-week-identity h1{font-size:40px}#study-week .study-work-body{padding:28px}#study-week .study-work-kind{margin-bottom:18px;gap:12px}#study-week .study-work-symbol{width:44px;height:44px}#study-week .study-work-symbol>.icon{width:30px;height:30px}#study-week .study-sections{margin:20px 0;padding:10px 0}#study-week .study-section{padding:12px 0}}.app-shell:has(#study-week){display:flex;flex-direction:column;min-height:100dvh}.app-shell:has(#study-week)>.topbar{flex-shrink:0}.main-content:has(>#study-week){display:flex;flex-direction:column;flex:1;min-height:0;width:100%}.main-content>#study-week{width:100%;margin-bottom:48px}.main-content:has(>#study-week)>.page-footer{margin-top:auto}@media(min-width:651px)and (max-height:699px){#study-week .study-clock{padding-top:12px;margin-bottom:16px}#study-week .study-time-progress{margin-top:6px}}#study-week .study-section .study-bookmark{grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto 44px;width:160px;max-width:100%;gap:6px 8px}#study-week .study-section .study-bookmark label{grid-column:1 / -1}#study-week .study-section .study-bookmark input{grid-column:1;grid-row:2;width:64px!important;min-width:0;padding-inline:6px!important}#study-week .study-section .study-bookmark [role=status]{grid-column:2;grid-row:2;display:flex;align-items:center;min-width:0;line-height:1.3;overflow-wrap:anywhere}#study-week .study-section .study-bookmark [role=status].error{position:relative;z-index:1;background:var(--color-danger-bg);border-radius:var(--r-md);padding:4px}#study-week .study-section .study-bookmark noscript{grid-column:1 / -1}@container (min-width:520px){#study-week .study-section:has(.study-bookmark){grid-template-columns:minmax(0,1fr) 160px auto}}#study-week .study-scope{unicode-bidi:isolate;align-items:baseline}#study-week .study-video-number,#study-week .study-video-duration{white-space:nowrap}#study-week .study-video-title{flex-basis:100%;overflow-wrap:anywhere}#study-week [data-copy-success][hidden],#study-week [data-copy-default][hidden]{display:none}#study-week .study-secondary.is-copied{color:var(--color-success)}.study-copy-status:not(:has(input)){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@container (max-width:420px){#study-week .study-bookmark [role=status]:is(.is-saved,.is-saving){font-size:0}#study-week .study-bookmark [role=status].is-saved:after{content:"✓";font-size:18px;color:var(--color-success)}#study-week .study-bookmark [role=status].is-saving:after{content:"…";font-size:18px}}

/* Registration links keep their identity, URL and actions together. */
.registration-link-content {
    min-width: 0;
    flex: 1;
}
[data-registration-link] {
    align-items: flex-start;
}
.access-copy-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-block: 10px;
}
body .access-copy-controls > input {
    width: 100%;
    min-width: 0;
    margin: 0;
}
body .access-copy-controls > button {
    margin: 0;
    justify-self: start;
}
.access-copy-controls > [role="status"] {
    grid-column: 1 / -1;
    margin: 0;
}
.access-copy-controls > [role="status"]:empty {
    display: none;
}
@media (max-width: 650px) {
    [data-registration-link] {
        flex-direction: column;
        align-items: stretch;
    }
    [data-registration-link] > form {
        align-self: flex-start;
    }
    .access-copy-controls {
        grid-template-columns: minmax(0, 1fr);
    }
}
