/* Compact RTL student workspace. Scoped to student views only. */
.student396-sidebar{padding:18px 12px;gap:14px}
.student396-sidebar .student396-person{padding:10px 12px;border-radius:10px;background:var(--ap-bg,#f5f7fb);gap:2px}
.student396-sidebar nav.student537-navigation{display:grid;gap:5px;align-content:start;overflow:auto;flex:1;min-height:0}
.student396-sidebar nav.student537-navigation .btn{min-height:39px;padding:9px 11px!important;border:0;border-radius:9px;background:transparent;box-shadow:none;font-size:11px!important;line-height:1.8;gap:9px}
.student396-sidebar nav.student537-navigation .btn svg{width:17px;height:17px;flex-shrink:0;opacity:.8}
.student396-sidebar nav.student537-navigation .btn.active{background:#fff0dc;color:#8d4f08;border-inline-start:3px solid #f58220;font-weight:700}
.student537-workspace{padding:10px 5px;margin:7px 0;border-top:1px solid var(--ap-border,#e1e7ef);border-bottom:1px solid var(--ap-border,#e1e7ef);display:grid;gap:4px}
.student537-workspace>h2{margin:0 8px 4px;font-size:11px;font-weight:700;color:var(--ap-muted,#6c7d91);line-height:1.8}
.student396-sidebar .pr397-student-menu{margin:0;padding:7px 5px}.student396-sidebar .pr397-student-menu>summary{font-size:11px}
.student396-sidebar #student396-logout{flex-shrink:0;min-height:38px;font-size:11px}
.student396-content{padding:18px}
.acad537-page{max-width:1380px;margin:0 auto;color:var(--ap-text,#203551);font-family:IRANSans,Tahoma,sans-serif}
.acad537-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 17px;padding:2px 0 14px;border-bottom:1px solid var(--ap-border,#dce4ee)}
.acad537-breadcrumb{display:flex;gap:9px;align-items:center;margin:0 0 6px!important;color:var(--ap-muted,#6d7d90)!important;font-size:10px!important}
.acad537-breadcrumb span{color:#c2873f}
.acad537-hero h1{font-size:21px;line-height:1.65;margin:0 0 3px;color:var(--ap-text,#06274f);font-weight:800}
.acad537-hero p{font-size:11px;line-height:1.9;margin:0;color:var(--ap-muted,#6a7b91)}
.acad537-hero .btn{font-size:11px;min-height:35px;padding:8px 12px;white-space:nowrap;flex-shrink:0}
.acad537-context{display:flex;flex-wrap:wrap;gap:5px 13px;margin-top:8px;font-size:10px;color:var(--ap-muted,#6c7b8d)}
.acad537-context:empty{display:none}.acad537-context span:empty{display:none}
.acad537-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.acad537-overview.curriculum{grid-template-columns:repeat(3,minmax(0,1fr))}
.acad537-overview>div{border:1px solid var(--ap-border,#dce4ed);border-radius:11px;background:var(--ap-card,#fff);padding:11px 13px;display:flex;flex-direction:column;justify-content:space-between;gap:5px;min-width:0}
.acad537-overview>div>span{font-size:10px;line-height:1.8;color:var(--ap-muted,#62758c);display:flex;align-items:center;gap:6px}
.acad537-overview strong{font-size:23px;line-height:1.5;font-weight:800;overflow-wrap:anywhere;color:var(--ap-text,#173552)}
.acad537-overview .passed{border-top:3px solid #21865f}.acad537-overview .passed strong{color:#19744f}
.acad537-overview .current{border-top:3px solid #db8b25}.acad537-overview .current strong{color:#a25b0b}
.acad537-overview .unknown{border-top:3px solid #9aaabe}
.acad537-page svg{width:16px;height:16px;flex-shrink:0;vertical-align:middle}
.acad537-legend{display:flex;flex-wrap:wrap;gap:8px 17px;align-items:center;font-size:10px;line-height:1.9;margin:0 0 12px;color:var(--ap-muted,#6a7c92)}
.acad537-legend>span{display:inline-flex;align-items:center;gap:5px}.acad537-legend .passed{color:#197550}.acad537-legend .current{color:#a96811}
.acad537-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:12px 0 10px}
.acad537-search{display:grid;gap:4px;min-width:200px;flex:0 1 280px}
.acad537-search>span{font-size:10px;color:var(--ap-muted,#6c7d91)}
.acad537-search input{width:100%;box-sizing:border-box;min-height:36px;padding:8px 11px;font:11px IRANSans,Tahoma,sans-serif;border:1px solid var(--ap-border,#d3deeb);border-radius:8px;background:var(--ap-card,#fff);color:inherit;outline-offset:2px}
.acad537-search input:focus{outline:2px solid #c4d6e9;border-color:#315f91}
.acad537-filters{display:flex;flex-wrap:wrap;gap:3px;background:var(--ap-card,#fff);padding:4px;border:1px solid var(--ap-border,#dde5ed);border-radius:9px}
.acad537-filters button{font:10px IRANSans,Tahoma,sans-serif;line-height:1.7;padding:6px 10px;border:0;background:transparent;border-radius:6px;cursor:pointer;color:var(--ap-muted,#61778f)}
.acad537-filters button.active{background:#06274f;color:#fff;box-shadow:0 2px 5px #06274f15}
.acad537-visible-count{font-size:10px;color:var(--ap-muted,#718297);padding-bottom:9px;margin-inline-start:auto}
.acad537-terms-nav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 13px}
.acad537-terms-nav button{font:11px IRANSans,Tahoma,sans-serif;color:var(--ap-text,#284969);display:flex;align-items:center;gap:10px;padding:7px 11px;background:var(--ap-card,#fff);border:1px solid var(--ap-border,#dce5ef);border-radius:8px;cursor:pointer}
.acad537-terms-nav button>span{font-size:10px;color:var(--ap-muted,#718197)}
.acad537-terms-nav button:hover{border-color:#e0aa64;background:#fff6eb;color:#855011}
.acad537-semesters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.acad537-semester{min-width:0;border:1px solid var(--ap-border,#d8e2ed);border-radius:12px;overflow:hidden;background:var(--ap-card,#fff);box-shadow:0 3px 10px #06274f04;scroll-margin-top:14px}
.acad537-semester>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;background:var(--ap-card,#fff);border-bottom:1px solid var(--ap-border,#e1e8f0)}
.acad537-semester-title{display:flex;align-items:center;gap:8px;min-width:0}
.acad537-semester-icon{display:flex;align-items:center;justify-content:center;width:31px;height:35px;border:1px solid var(--ap-border,#d9e4f0);border-radius:8px;background:var(--ap-bg,#f4f7fb);color:#1e456c}
.acad537-semester-title h2{font-size:14px;line-height:1.6;margin:0;font-weight:800;color:var(--ap-text,#163956)}
.acad537-semester-title small{display:block;font-size:10px;color:var(--ap-muted,#748498);margin-top:2px}.acad537-semester-title small>span{padding:0 4px}
.acad537-term-total{display:flex;flex-direction:column;align-items:flex-end;gap:1px;padding-inline-start:10px;flex-shrink:0}
.acad537-term-total>span{font-size:9px;line-height:1.7;color:var(--ap-muted,#6a7e96)}
.acad537-term-total>strong{font-size:19px;font-weight:800;line-height:1.4;color:var(--ap-text,#123b63)}
.acad537-term-total strong small{font-size:10px;font-weight:400;color:var(--ap-muted,#617991)}
.acad537-term-stats{display:flex;flex-wrap:wrap;gap:8px 16px;padding:7px 13px;border-bottom:1px solid var(--ap-border,#e2eaf2);background:var(--ap-bg,#f9fbfd);font-size:9px}
.acad537-term-stats>span{display:flex;align-items:center;gap:4px}.acad537-term-stats svg{width:12px;height:12px}.acad537-term-stats .passed{color:#1b7a54}.acad537-term-stats .current{color:#a96812}
.acad537-table{min-width:0!important;table-layout:fixed;border-collapse:collapse;width:100%;margin:0;border:0;direction:rtl;background:transparent}
.acad537-table th{font-size:9px!important;font-weight:500!important;line-height:1.7;padding:7px 9px!important;color:var(--ap-muted,#6c7f94)!important;background:var(--ap-bg,#f7f9fc)!important;border:0!important;border-bottom:1px solid var(--ap-border,#e0e7f0)!important;text-align:right!important;white-space:normal!important}
.acad537-table th:first-child{width:49%}.acad537-table th:nth-child(2){width:12%;text-align:center!important}.acad537-table th:last-child{width:39%}
.acad537-progress .acad537-table th:first-child{width:59%}.acad537-progress .acad537-table th:last-child{width:29%}
.acad537-table td{padding:9px!important;font-size:11px!important;line-height:1.7!important;border:0!important;border-bottom:1px solid var(--ap-border,#edf0f5)!important;vertical-align:top;text-align:right!important;white-space:normal!important;overflow-wrap:anywhere;background:transparent!important;color:inherit}
.acad537-table tr:last-child td{border-bottom:0!important}.acad537-table tbody tr{background:transparent}
.acad537-table tr.acad537-passed{background:#eff9f3!important;box-shadow:inset -3px 0 #21875d}
.acad537-table tr.acad537-current{background:#fff6e8!important;box-shadow:inset -3px 0 #e19b38}
.acad537-table tr.acad537-failed{background:#fff4f2!important;box-shadow:inset -3px 0 #d77b6c}
.acad537-table tr.acad537-exempt{background:var(--ap-bg,#fafbfd)!important;color:var(--ap-muted,#708197)}
.acad537-course-cell>details{margin:0;border:0;padding:0;background:transparent}
.acad537-course-cell summary{display:flex;align-items:flex-start;gap:7px;cursor:pointer;list-style:none;outline-offset:4px;min-width:0}
.acad537-course-cell summary::-webkit-details-marker{display:none}.acad537-course-cell summary:focus-visible{outline:2px solid #b3cbe5;border-radius:3px}
.acad537-course-name{flex:1;min-width:0}.acad537-course-name>strong{display:block;font-size:11px;font-weight:600;line-height:1.85;color:var(--ap-text,#243d56)}
.acad537-course-name>small{display:block;margin-top:2px;font-size:9px!important;color:var(--ap-muted,#72849a);line-height:1.7;overflow-wrap:anywhere}.acad537-course-name>small>span{padding:0 3px;color:#9eacbd}
.acad537-detail-arrow{font-size:13px;color:#93a3b5;flex-shrink:0;line-height:1.8;transition:transform .16s}.acad537-course-cell details[open] .acad537-detail-arrow{transform:rotate(180deg)}
.acad537-state-mark{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:22px;height:22px;border-radius:7px;background:var(--ap-bg,#f0f4f9);color:#7d90a8;margin-top:1px;border:1px solid var(--ap-border,#dce4ee)}
.acad537-state-mark svg{width:14px;height:14px}.acad537-passed .acad537-state-mark{color:#fff;background:#25865e;border-color:#25865e}.acad537-current .acad537-state-mark{color:#a86b15;background:#ffedc9;border-color:#f4d393}.acad537-failed .acad537-state-mark{color:#ad5e50;background:#ffe5df;border-color:#f5d0c7}.acad537-unknown .acad537-state-mark{border-style:dashed;background:transparent}
.acad537-units-cell{text-align:center!important}.acad537-credit{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:27px;padding:1px 4px;border-radius:7px;background:var(--ap-bg,#f1f5fa);color:var(--ap-text,#355273);font-weight:700;font-size:11px}
.acad537-passed .acad537-credit{background:#dff1e6;color:#257354}.acad537-current .acad537-credit{background:#ffecc8;color:#a2701d}
.acad537-requisite{font-size:9px;line-height:1.8;margin:0 0 4px;color:var(--ap-text,#405a73)}.acad537-requisite:last-child{margin-bottom:0}.acad537-requisite>span{font-size:8px;display:inline-block;min-width:39px;color:var(--ap-muted,#7a8b9f)}.acad537-requisite small{display:block;font-size:8px;color:var(--ap-muted,#7a8b9f)}
.acad537-status{display:inline-flex;align-items:center;gap:4px;font-size:9px;line-height:1.7;font-weight:600;padding:3px 6px;border-radius:6px;background:var(--ap-bg,#edf2f8);color:var(--ap-muted,#667e95)}.acad537-status svg{width:12px;height:12px}
.acad537-passed .acad537-status{background:#dcefe4;color:#136543}.acad537-current .acad537-status{background:#ffebc3;color:#8e5b0d}.acad537-failed .acad537-status{background:#ffe3db;color:#a44e3e}.acad537-unknown .acad537-status{background:transparent;border:1px dashed var(--ap-border,#c3cfdf);font-weight:400}
.acad537-final-cell .acad537-grade{display:block;color:var(--ap-muted,#668273);font-size:9px;margin-top:5px}.acad537-grade strong{font-size:11px;font-weight:700;color:#1c7352}.acad537-final-cell>small{display:block;font-size:9px;margin-top:5px}
.acad537-course-details{margin-top:9px;padding-top:8px;border-top:1px dashed var(--ap-border,#d7e2ed);font-size:10px;color:var(--ap-muted,#607991)}.acad537-course-details p{font-size:10px;line-height:1.9;margin:0 0 5px}.acad537-course-details p>span{display:block;color:var(--ap-muted,#8a9aab);font-size:9px}.acad537-course-details>small{font-size:9px}.acad537-attempts{display:grid;gap:3px;margin:5px 0;font-size:9px}
.acad537-data-note{padding:9px 12px;margin:10px 0;border:1px solid var(--ap-border,#d9e3ef);border-radius:9px;background:var(--ap-card,#fff);font-size:10px;color:var(--ap-muted,#6c7e93)}.acad537-data-note>summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none}.acad537-data-note p{font-size:10px;line-height:1.9;margin:6px 0 0}
.acad537-footnote{font-size:9px;line-height:2;color:var(--ap-muted,#8392a5);margin:12px 2px}.acad537-empty,.acad537-loading{padding:22px 16px;text-align:center;border:1px dashed var(--ap-border,#cad7e7);border-radius:10px;font-size:12px;color:var(--ap-muted,#6a819b);background:var(--ap-card,#fff)}
.acad537-semester[hidden],.acad537-table tr[hidden],.acad537-empty[hidden]{display:none!important}
.acad537-transcript .a517-transcript-summary{margin:0 0 12px;padding:13px;gap:12px;border-radius:10px;font-size:11px}.acad537-transcript .a517-transcript-summary strong{font-size:14px}.acad537-transcript .a517-transcript-term{margin:10px 0;padding:0;border:1px solid var(--ap-border,#d8e2ed);border-radius:10px;overflow:hidden;background:var(--ap-card,#fff)}.acad537-transcript .a517-transcript-term>summary{padding:12px 14px;background:var(--ap-bg,#f4f7fb);font-size:12px;font-weight:700;cursor:pointer}.acad537-transcript .a517-term-totals{padding:9px 12px;gap:8px 15px;font-size:10px;margin:0}.acad537-transcript table td,.acad537-transcript table th{padding:9px!important;font-size:11px!important}.acad537-transcript .a512-help{font-size:10px;line-height:1.9}
.acad537-guide-content>.card>.card-head{display:none}.acad537-guide-content .card-body{padding:18px}.acad537-guide-content .form-grid{gap:12px}.acad537-guide-content p,.acad537-guide-content li{font-size:12px;line-height:2}.acad537-guide-content .field{font-size:11px}
@media(min-width:1450px){.acad537-course-name>strong{font-size:12px}.acad537-table td{padding:10px!important}}
@media(max-width:1150px){.acad537-semesters{grid-template-columns:1fr}.acad537-progress .acad537-table th:first-child{width:60%}.acad537-table th:first-child{width:55%}.acad537-table th:last-child{width:33%}.acad537-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.acad537-overview.curriculum{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.student396-content{padding:12px}.acad537-hero{align-items:flex-start;gap:8px;flex-wrap:wrap;margin-bottom:12px}.acad537-hero h1{font-size:18px}.acad537-hero p{font-size:10px}.acad537-hero .btn{font-size:10px;min-height:31px;padding:6px 9px}.acad537-context{font-size:9px;gap:4px 9px}.acad537-overview{gap:7px}.acad537-overview>div{padding:9px 11px}.acad537-overview>div>span{font-size:9px}.acad537-overview strong{font-size:20px}.acad537-overview.curriculum>div{padding:9px 7px}.acad537-overview.curriculum>div>span{font-size:8px}.acad537-overview.curriculum strong{font-size:19px}.acad537-search{flex:1 1 100%;min-width:0}.acad537-toolbar{gap:7px}.acad537-filters{gap:1px;padding:3px;flex:1 1 auto}.acad537-filters button{font-size:9px;padding:6px 7px}.acad537-visible-count{padding:0;font-size:9px}.acad537-terms-nav{gap:5px}.acad537-terms-nav button{font-size:10px;padding:6px 9px;gap:8px}.acad537-terms-nav button>span{font-size:9px}.acad537-semester>header{padding:11px}.acad537-table th{padding:6px!important;font-size:8px!important}.acad537-table td{padding:8px 6px!important}.acad537-course-name>strong{font-size:10px}.acad537-course-name>small{font-size:8px!important}.acad537-progress .acad537-table th:first-child{width:58%}.acad537-progress .acad537-table th:last-child{width:30%}.acad537-table th:first-child{width:51%}.acad537-table th:last-child{width:37%}.acad537-state-mark{width:19px;height:20px;border-radius:5px}.acad537-state-mark svg{width:12px;height:12px}.acad537-course-cell summary{gap:5px}.acad537-status{font-size:8px;padding:3px 4px;gap:2px}.acad537-status svg{width:10px;height:10px}.acad537-credit{min-width:22px;min-height:25px;font-size:10px}.acad537-requisite{font-size:8px}.acad537-requisite>span{display:block;font-size:8px;min-width:0}.acad537-term-total>strong{font-size:18px}.acad537-legend{gap:6px 10px;font-size:9px}.acad537-guide-content .card-body{padding:13px}}
@media(prefers-reduced-motion:reduce){.acad537-page *{scroll-behavior:auto!important;transition:none!important}}
.acad537-failed .acad537-grade strong{color:#ad5444}.acad537-current .acad537-grade strong{color:#a86b15}.acad537-unknown .acad537-grade strong,.acad537-remaining .acad537-grade strong{color:#6f8198}.acad537-terms-nav button:disabled{opacity:.4;cursor:default}
/* Keep status rows readable when the account uses the dark palette. */
.acad537-table tr.acad537-passed{background:color-mix(in srgb,var(--ap-card,#fff) 90%,#2a9e6c 10%)!important}.acad537-table tr.acad537-current{background:color-mix(in srgb,var(--ap-card,#fff) 90%,#eda636 10%)!important}.acad537-table tr.acad537-failed{background:color-mix(in srgb,var(--ap-card,#fff) 92%,#d87964 8%)!important}
.acad537-overview .passed strong{color:color-mix(in srgb,var(--ap-text,#173552) 40%,#21865f 60%)}.acad537-overview .current strong{color:color-mix(in srgb,var(--ap-text,#173552) 40%,#b8791b 60%)}
.acad537-legend .passed,.acad537-term-stats .passed{background:#e1f1e7;color:#176c49;padding:2px 5px;border-radius:5px}.acad537-legend .current,.acad537-term-stats .current{background:#fff0d7;color:#945b09;padding:2px 5px;border-radius:5px}
.acad537-course-name>strong{font-size:12px}@media(max-width:650px){.acad537-course-name>strong{font-size:11px}.acad537-status{font-size:9px}}
.acad537-course-name>small:empty{display:none}
