@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts-v5/noto-fb45ecb9cd7f.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts-v5/noto-43304f18dbdf.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts-v5/noto-6e6031e1424e.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts-v5/noto-7b7cc925fdf0.woff2) format('woff2');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 800;
  font-stretch: normal;
  font-display: swap;
  src: url(fonts-v5/noto-e9383462d056.woff2) format('woff2');
}

:root{--green:#064e3b;--emerald:#08775b;--gold:#c89d42;--ink:#173d34;--muted:#71847d;--line:#e0e9e3;--bg:#f5f7f3;--red:#b63e42;--pale:#e8f3ed}*{box-sizing:border-box}body{margin:0;font:14px/1.8 'Noto Sans Arabic',Tahoma,Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;transition:background .15s,transform .15s}button:disabled{opacity:.55;cursor:wait}button:hover:not(:disabled){filter:brightness(.96)}button:active{transform:translateY(1px)}a{color:var(--green);text-decoration:none}aside{position:fixed;right:0;top:0;bottom:0;width:252px;background:var(--green);color:white;padding:30px 20px;display:flex;flex-direction:column;border-left:1px solid #ffffff18}.brand{display:flex;align-items:center;gap:12px;color:white;font-weight:800;font-size:22px}.brand img{width:52px;height:64px;object-fit:contain;background:white;border-radius:12px;padding:3px}.brand small{display:block;font-size:10px;font-weight:400;color:#e4c987}.class-label{padding:22px 8px;margin:25px 0 12px;border-block:1px solid #ffffff20}.class-label span{display:block;font-size:10px;color:#c3d8cc}nav{display:grid;gap:9px}nav a{color:#c8ddd3;display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:10px}nav a.active{background:#ffffff14;color:white;box-shadow:inset -3px 0 var(--gold)}nav .ico{font-size:20px;width:25px;text-align:center}.aside-bottom{margin-top:auto;padding:15px 10px 0;font-size:12px;color:#e6eee9}.aside-bottom small{color:#accabc}.textbtn{background:none;border:0;color:inherit;display:block;padding:8px 0}.shell{margin-right:252px;padding:32px 42px;max-width:1700px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:15px}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.8px}h2{font-size:19px}h3{font-size:15px}.eyebrow{color:#9a792f;font-size:11px;font-weight:700}.header-actions{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--muted)}.outline,.primary,.soft,.danger{border-radius:9px;padding:9px 17px;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;gap:8px}.outline{background:white;color:var(--green)}.primary{background:var(--green);color:white;border-color:var(--green)}.soft{background:var(--pale);color:var(--green);border-color:var(--pale)}.danger{color:var(--red);background:#fff5f3;border-color:#eed1ce}.hero{background:linear-gradient(115deg,#043e30,#0b6149);color:white;border-radius:18px;padding:28px 32px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;border-bottom:3px solid var(--gold);gap:20px}.hero:after{content:'';position:absolute;left:-90px;top:-130px;width:370px;height:370px;border:45px solid #c89d4219;border-radius:50%;pointer-events:none}.hero p{color:#c1d9ce;margin-top:8px;font-size:12px}.hero .primary{background:var(--gold);color:#183d30;border:0;position:relative;z-index:1;white-space:nowrap;font-weight:700}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:13px;padding:20px}.stat strong{display:block;font-size:31px;font-weight:700;line-height:1.6}.stat small{color:var(--muted);font-size:11px}.stat .label{font-size:12px}.stat.gold strong{color:#ad7e26}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.section-head p,.hint{font-size:11px;color:var(--muted)}.subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:22px}.subject-icon{font-size:24px;background:var(--pale);border-radius:10px;padding:6px 12px;display:inline-block;margin-bottom:14px}.percent{font-size:25px;font-weight:700}.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}.progress{height:7px;background:#eaf0eb;border-radius:20px;overflow:hidden;margin:10px 0 16px}.progress i{display:block;height:100%;background:var(--emerald);border-radius:20px}.subject-grid .card:nth-child(2) .progress i{background:#368796}.subject-grid .card:nth-child(3) .progress i{background:var(--gold)}.mini-stats{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:10px 0}.card .outline.full{width:100%;margin-top:15px}.grid2{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.badge{display:inline-block;font-size:10px;padding:3px 10px;border-radius:6px;background:var(--pale);color:var(--emerald);white-space:nowrap}.badge.red{background:#fff0ee;color:var(--red)}.badge.gold{background:#fff4da;color:#95671a}.badge.gray{background:#eff1f1;color:#65766f}.list-item{padding:14px 0;border-bottom:1px solid var(--line)}.list-item:last-child{border-bottom:0}.avatar{width:36px;height:36px;border-radius:11px;background:#e8f2ec;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:var(--green);flex-shrink:0}.person{display:flex;align-items:center;gap:12px}.person small{font-size:10px;color:var(--muted);display:block}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:20px}.tabs{display:flex;gap:5px;background:#e8ede7;padding:4px;border-radius:10px;width:max-content;max-width:100%;flex-wrap:wrap}.tabs button{border:0;background:none;padding:9px 19px;color:#5d7166;border-radius:7px}.tabs button.active{background:white;color:var(--green);box-shadow:0 2px 4px #00000009;font-weight:700}select,input,textarea{border:1px solid #d2dfd6;border-radius:8px;background:white;color:var(--ink);padding:10px 12px;max-width:100%}input[type=search]{min-width:220px}label{display:grid;gap:7px;font-size:12px}textarea{min-height:100px;width:100%;resize:vertical}.skill-picker{background:white;border:1px solid var(--line);border-radius:13px;padding:20px;margin:18px 0}.skill-picker select{min-width:230px;font-weight:700}.legend{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0;font-size:10px;color:var(--muted)}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;width:100%;text-align:right}th{background:#edf3ee;font-size:11px;color:#577468;padding:13px 18px;white-space:nowrap}td{padding:14px 18px;border-top:1px solid var(--line)}tr:hover td{background:#fbfcfa}td .textbtn{color:var(--green);font-weight:600}.rate-buttons{display:flex;gap:7px;white-space:nowrap}.rate{min-width:46px;min-height:44px;padding:7px 10px;border:1px solid #dae4dc;border-radius:8px;background:white;color:#6b7b72;font-size:12px}.rate[data-val="1"].selected{background:#dbf2e4;color:#086d42;border-color:#59aa7b}.rate[data-val="0"].selected{background:#ffe8e4;color:#aa3339;border-color:#d98987}.rate[data-val="غ"].selected{background:#fff2d4;color:#9a6c16;border-color:#d6b05c}.rate[data-val="null"].selected{background:#edf0ef;border-color:#a3b0aa}.register-matrix td,.register-matrix th{padding:12px;min-width:65px;text-align:center}.register-matrix td:first-child,.register-matrix th:first-child{position:sticky;right:0;background:white;min-width:180px;text-align:right;z-index:1}.register-matrix th:first-child{background:#edf3ee}.matrix-button{min-width:40px;min-height:40px;border-radius:8px;border:1px solid var(--line);background:white}.matrix-button.good{color:#08774a;background:#e6f5eb}.matrix-button.bad{color:#b3343c;background:#fff0ed}.matrix-button.absent{color:#9a6a1c;background:#fff6df}.support-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.support-card{border-top:3px solid var(--gold)}.support-card.high{border-top-color:#c65d56}.support-card p{font-size:12px;margin:10px 0}.support-card .hint{line-height:2}.support-card .row-between{align-items:flex-start}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.chip{font-size:11px;background:#f0f5f0;border:1px solid #e2ebe2;padding:5px 10px;border-radius:6px}.chip.bad{background:#fff0ed;color:var(--red);border-color:#f2d8d3}.chip.gray{background:#f1f2f2;color:#6b7e73}.empty{padding:45px;text-align:center;color:var(--muted)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .card p{margin:10px 0 16px;font-size:12px;color:var(--muted)}.profile-header{display:flex;align-items:center;gap:18px;margin-bottom:24px}.profile-header .avatar{width:65px;height:65px;font-size:24px}.profile-header h2{font-size:23px}.profile-header p{font-size:12px;color:var(--muted)}.report-title{display:flex;gap:15px;align-items:center;border-bottom:2px solid var(--gold);padding-bottom:20px;margin-bottom:20px}.report-title img{height:80px;width:70px;object-fit:contain}.report .card{margin-top:15px}.report p{margin:8px 0}.form-grid{display:grid;gap:15px}dialog{border:1px solid var(--line);border-radius:18px;padding:30px;width:min(740px,94vw);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#062e2599;backdrop-filter:blur(3px)}.close{position:sticky;top:0;float:left;border:0;border-radius:50%;width:32px;height:32px;background:#edf2ec;font-size:22px;z-index:1}#toast{position:fixed;bottom:30px;left:30px;background:var(--green);color:white;border-radius:12px;padding:13px 22px;box-shadow:0 8px 30px #0002;display:none;z-index:100}footer{display:flex;justify-content:space-between;color:#819187;font-size:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:35px}.login{max-width:440px;margin:6vh auto;padding:34px;text-align:center;background:white;border:1px solid var(--line);border-radius:22px;border-top:4px solid var(--gold);box-shadow:0 20px 100px #0a4e3a0a}.login-logo{width:100px;height:130px;object-fit:contain;display:block;margin:auto auto 16px}.login h1{font-size:31px}.login p{font-size:12px;color:var(--muted);margin:10px 0 20px}.login form{text-align:right;margin:24px 0}.login input,.login button{width:100%;min-height:48px}.login button{margin-top:18px}.login small{color:var(--muted);font-size:10px}#login-error{color:var(--red)}.mobile-name{display:none}.notice{background:#fff8e7;border:1px solid #eddeb3;border-radius:10px;padding:12px 17px;font-size:11px;color:#7c6229;margin-bottom:18px}
@media(min-width:1500px){.shell{padding-inline:55px}.stats{gap:22px}.card{padding:26px}}
@media(max-width:1100px){aside{width:210px;padding-inline:14px}.shell{margin-right:210px;padding:25px}.stats{grid-template-columns:repeat(2,1fr)}.subject-grid{gap:10px}.card{padding:16px}.grid2{grid-template-columns:1fr}.header-actions #save-state{max-width:100px}.rate{padding-inline:7px}.support-list{grid-template-columns:1fr}}
@media(max-width:760px){body{font-size:13px}aside{top:auto;bottom:0;width:100%;height:76px;padding:0 5px;background:white;border-top:1px solid var(--line);z-index:20;display:block;color:var(--green)}aside .brand,.class-label,.aside-bottom{display:none}nav{display:flex;justify-content:space-around;height:100%;gap:0}nav a{flex-direction:column;justify-content:center;gap:0;padding:6px 4px;border-radius:0;font-size:9px;flex:1;color:#7c8e82}nav a.active{background:#edf4ee;box-shadow:inset 0 3px var(--gold);color:var(--green)}nav .ico{font-size:20px}.shell{margin:0;padding:22px 16px 95px}h1{font-size:23px}header{margin-bottom:22px;align-items:flex-start}.header-actions{flex-direction:column-reverse;gap:3px;align-items:flex-end;font-size:9px}.header-actions #save-state{max-width:160px}.header-actions button{font-size:10px;padding:5px 10px}.eyebrow{font-size:9px}.hero{padding:22px;display:block}.hero h2{font-size:19px}.hero .primary{margin-top:16px;font-size:12px}.stats{gap:10px;margin-bottom:22px}.stat{padding:14px}.stat strong{font-size:27px}.stat .label{font-size:11px}.subject-grid{grid-template-columns:1fr}.subject-grid .card{padding:18px}.subject-icon{float:right;margin:0 0 0 14px}.subject-grid .card .mini-stats{clear:both;padding-top:7px}.subject-grid .card .outline.full{margin-top:5px}.grid2,.settings-grid{grid-template-columns:1fr}.toolbar{gap:8px}.tabs button{padding:8px 12px;font-size:12px}input[type=search]{min-width:0;width:100%}.toolbar input[type=search]{flex:1}.skill-picker{padding:14px}.skill-picker select{min-width:0;width:100%;margin-top:8px}.skill-picker .row-between{flex-wrap:wrap}.table-wrap:not(.matrix-wrap){border:0;background:transparent;overflow:visible}.roster thead{display:none}.roster,.roster tbody,.roster tr,.roster td{display:block;width:100%}.roster tr{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;padding:13px}.roster td{border:0;padding:3px}.roster td.number{display:none}.rate-buttons{margin-top:8px;gap:5px}.rate{flex:1;font-size:11px;min-width:0;padding:9px 6px;min-height:44px}.roster td.perc{font-size:10px;color:var(--muted);margin-top:6px}.section-head{align-items:flex-start}.section-head h2{font-size:17px}.section-head .outline{font-size:10px;padding:6px 10px}.support-list{gap:12px}.support-card .actions button{flex:1}.profile-header{gap:12px}.profile-header h2{font-size:18px}dialog{padding:22px}footer span{display:none}#toast{bottom:90px;right:16px;left:16px;font-size:12px;text-align:center}.login{margin:4vh 16px;padding:28px}.reteach-table th,.reteach-table td{padding:10px 8px;font-size:10px}.reteach-table .outline{padding:6px;font-size:10px}}
@media print{body{background:white;color:black}aside,header,footer,.actions,.close,.no-print,#toast{display:none!important}.shell{margin:0;padding:0}dialog{position:absolute;inset:0;width:100%;max-width:none;max-height:none;border:0;margin:0;overflow:visible}body:has(dialog[open]) .shell{display:none}dialog::backdrop{background:white}.card{break-inside:avoid}.report-title img{height:80px}.progress{-webkit-print-color-adjust:exact;print-color-adjust:exact}.stats{grid-template-columns:repeat(4,1fr)}.subject-grid{grid-template-columns:repeat(3,1fr)}}
.context-bar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:24px;background:#edf2eb;border:1px solid var(--line);border-radius:12px;padding:16px}.context-bar label{font-size:10px}.context-bar select{min-width:160px;max-width:340px;padding:7px 10px;font-size:12px}.context-bar button{font-size:11px;padding:8px 12px}.context-bar .notice{margin:0;width:100%;padding:8px 12px}.context-bar .textbtn{display:inline;padding:0 10px}.management{margin-bottom:22px}.skill-list{max-height:330px;overflow:auto}.check-label{display:flex;align-items:center;gap:10px}.check-label input{width:18px;height:18px}.comparison{margin-top:20px;padding:16px;background:#f0f6ee;border-right:3px solid var(--gold);border-radius:8px}.comparison .row-between{margin-top:12px}.skill-extremes{font-size:10px;color:var(--muted);display:grid;gap:5px;margin-bottom:12px}.skill-extremes strong{color:var(--green)}.error-text{color:var(--red);font-size:12px}dialog .stats{margin-top:20px;grid-template-columns:repeat(2,1fr)}[hidden]{display:none!important}
@media(max-width:760px){.context-bar{padding:12px;gap:10px}.context-bar>div:not(.notice){flex:1;min-width:120px}.context-bar select{min-width:0;width:100%;max-width:100%}.context-bar>button{flex:1}.context-bar>.badge{font-size:9px}.comparison .row-between{flex-wrap:wrap}}
@media print{.context-bar{border:0;padding:0;display:block;background:white}.context-bar button,.context-bar .notice,.context-bar .badge{display:none}.context-bar label{display:inline-block;margin-left:20px}.context-bar select{appearance:none;border:0;padding:0}.management{display:none}}
@media print{body[data-print-blocked="true"] .shell,body[data-print-blocked="true"] dialog,body[data-print-blocked="true"] aside{display:none!important}body[data-print-blocked="true"]::after{content:'تعذر إخراج التقرير: توجد تقييمات لم يتم تأكيد حفظها على السيرفر. أكمل الحفظ ثم أعد المحاولة.';display:block;padding:40px;font:20px Tahoma,Arial;color:#a22;text-align:center}}

/* Visual identity: deep emerald, warm gold and clear white working surfaces. */
:root{--green:#07513e;--emerald:#087b58;--gold:#c8a04c;--ink:#183e33;--muted:#60786d;--line:#dfe8e1;--bg:#f4f6f2;--pale:#eaf3ed;--red:#ad3d37;--shadow:0 5px 24px #193c2a06}
html{scroll-behavior:smooth}body{font-size:15px;line-height:1.8;background:var(--bg);text-rendering:optimizeLegibility}button,input,select,textarea{font-family:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bc9944;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.48}svg{display:inline-block;width:22px;height:22px;flex-shrink:0;vertical-align:middle}h1{font-size:30px;font-weight:800;letter-spacing:-.65px}h2{font-size:20px;font-weight:700}h3{font-size:16px}small,.hint{color:var(--muted)}.eyebrow{font-size:12px;color:#987328;letter-spacing:0}button,.outline,.primary,.soft,.danger{min-height:44px}.outline,.primary,.soft,.danger{border-radius:11px;font-size:13px;font-weight:600;padding:10px 17px;gap:8px}.outline{border-color:#d6e3db;background:#fff}.outline:hover:not(:disabled){background:#f0f6ef;border-color:#abc5b4}.primary{box-shadow:0 3px 10px #074f3d0d}.primary:hover:not(:disabled){background:#0b664b}.soft{background:#e8f3eb}.textbtn{min-height:44px;font-size:13px}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;border-radius:11px}.icon-button svg{width:19px;height:19px}select,input,textarea{min-height:46px;border-color:#cfddd3;border-radius:10px;font-size:14px;padding:10px 13px}input:focus,select:focus,textarea:focus{border-color:#4a8c70;box-shadow:0 0 0 3px #0c684b0c}input::placeholder,textarea::placeholder{color:#7b8c82}label{font-size:13px;font-weight:500;gap:8px}textarea{min-height:120px}.notice{font-size:12px;line-height:1.9;border-radius:12px}.info-notice{background:#edf5ef;color:#476a58;border-color:#d6e6da}
aside{width:258px;padding:32px 20px 22px;background:linear-gradient(160deg,#064633 0%,#07513e 48%,#043e30 100%);border-left:1px solid #0e624c;overflow-y:auto}aside::before{content:'';position:absolute;top:0;right:0;left:0;height:4px;background:linear-gradient(90deg,#aa7d28,#e9d393,#bb8d36)}.brand{font-size:23px;gap:12px;line-height:1.7;padding-bottom:7px}.brand img{width:56px;height:66px;border-radius:14px;padding:5px;box-shadow:0 0 0 1px #d7b56750}.brand small{font-size:10.5px;letter-spacing:.1px;color:#d9bc75}.class-label{margin:24px 0 16px;padding:20px 10px;font-size:13px;font-weight:600;border-color:#ffffff1a}.class-label span{margin-top:5px;font-size:11px;font-weight:400;color:#bed4c7}nav{gap:9px}nav a{min-height:52px;padding:12px 14px;border-radius:12px;color:#c5dacd;font-size:13.5px;font-weight:500;gap:13px;transition:background .15s}nav a:hover{background:#ffffff0c}nav a.active{color:white;background:#ffffff14;box-shadow:inset -3px 0 var(--gold)}nav .ico{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;font-size:0}nav .ico svg{width:22px;height:22px}.aside-bottom{margin-top:auto;padding:35px 8px 0;color:#eef4ed}.teacher-info{display:flex;gap:10px;align-items:center;padding-top:17px;border-top:1px solid #ffffff1c}.teacher-monogram{display:flex;align-items:center;justify-content:center;width:37px;height:39px;flex-shrink:0;border:1px solid #dbc2844d;background:#ffffff09;border-radius:10px;color:#e6cc90;font-size:19px;font-weight:700}.teacher-info strong{font-size:10.5px;font-weight:600;display:block}.teacher-info small{font-size:10px;display:block;color:#a9c7b5}.aside-bottom .textbtn{font-size:11.5px;color:#c7ddcf;margin-top:7px}
.shell{margin-right:258px;padding:28px 34px;max-width:1800px}.app-header{margin:0 0 25px;min-height:75px;align-items:center}.page-heading{display:flex;align-items:center;gap:12px}.page-heading h1{line-height:1.5}.mobile-logo,.mobile-settings{display:none}.header-actions{gap:16px;font-size:11.5px}.header-buttons{display:flex;align-items:center;gap:8px}#save-state{display:inline-flex;align-items:center;gap:7px;line-height:1.5;color:#547461;max-width:210px}#save-state::before{content:'';width:6px;height:6px;display:inline-block;background:#248666;border-radius:50%;flex-shrink:0}#save-state[data-state=pending]::before{background:#be9135}#save-state[data-state=error]::before{background:#b84a43}.context-bar{background:#fff;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:15px;padding:17px 19px;gap:12px;margin-bottom:24px}.context-bar label{font-size:11.5px;color:#627c6b}.context-bar select{font-size:12px;min-height:44px;min-width:165px;max-width:350px;background:#fbfcfa;padding:9px 12px}.context-bar>button{font-size:11.5px;min-height:44px;padding:9px 12px;background:#f7faf6;border-color:#e0e9df}.context-bar>.badge{margin-right:auto;font-size:10.5px;background:#f0f4ed;color:#62816a}.context-caption{display:none}
.hero{padding:27px 28px 29px;min-height:154px;border-radius:18px;background:linear-gradient(110deg,#043c2c,#0a5c43);border-bottom:3px solid #c7a14f;box-shadow:0 8px 20px #054a3710}.hero::after{width:400px;height:410px;border:24px solid #d2ae5515;left:-85px;top:-160px;transform:rotate(-25deg)}.hero::before{content:'';position:absolute;width:470px;height:330px;border:1px solid #cda84f35;border-radius:50%;left:-150px;top:-120px;transform:rotate(-25deg);pointer-events:none}.hero h2{font-size:24px;line-height:1.6;font-weight:700}.hero p{font-size:12px;color:#c3d9cb;margin-top:7px;max-width:600px}.hero .eyebrow{font-size:11px;color:#d9bf7e!important}.hero .primary{font-size:13px;background:#d5b05b;color:#173e2d;border:1px solid #dfc278;min-width:130px;padding:12px 18px;box-shadow:0 3px 15px #032c2a20}.hero .primary:hover{background:#e2c37e}
.stats{gap:16px;margin-bottom:28px}.stat{position:relative;padding:20px 22px;min-height:150px;border-radius:15px;box-shadow:var(--shadow);border-color:#e2e9df}.stat .label{font-size:12px;color:#536d5e;font-weight:500;padding-left:30px}.stat strong{font-size:33px;line-height:1.6;margin-top:5px;font-weight:800;font-variant-numeric:tabular-nums}.stat small{font-size:10.5px;line-height:1.8;display:block;margin-top:4px}.stat-symbol{position:absolute;left:19px;top:19px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#eff5ee;color:#638372}.stat-symbol svg{width:17px;height:17px}.stat.gold{background:#fffdf7;border-color:#eadfc8}.stat.gold .stat-symbol{background:#faf0d8;color:#a47c2a}.stat.gold strong{color:#a77c26}.section-head{margin-bottom:18px;align-items:center}.section-head p{font-size:12px;margin-top:4px;line-height:1.8}.card{border-radius:16px;padding:23px;border-color:#dfe8df;box-shadow:var(--shadow)}.subject-grid{gap:16px;margin-bottom:28px}.subject-grid .card{position:relative;padding:22px;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px}.subject-icon{padding:0;width:44px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:12px;float:none;margin:0 0 12px;grid-column:1/-1;color:#0c634a;border:1px solid #dfebe1;background:#edf6ee}.subject-icon svg{width:25px;height:25px}.subject-grid .card:nth-child(2) .subject-icon{background:#edf5f5;border-color:#d9e8e9;color:#3f7b83}.subject-grid .card:nth-child(3) .subject-icon{background:#faf3e5;border-color:#eee1c7;color:#a47c2c}.subject-grid .card>.row-between{grid-column:1/-1}.subject-grid .card>.row-between h3{font-size:16px}.subject-grid .card>.row-between:nth-of-type(2){margin-top:15px!important}.subject-grid .card>.progress{grid-column:1/-1;margin:8px 0 13px;height:7px}.percent{font-size:26px;font-weight:800;font-variant-numeric:tabular-nums}.mini-stats{grid-column:1/-1;font-size:10.5px;color:#5d735f;line-height:1.8;margin:5px 0}.skill-extremes{grid-column:1/-1;display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;padding-top:12px;margin:8px 0 14px;border-top:1px solid #e8eee7;font-size:10.5px}.skill-extremes strong{font-weight:600}.subject-grid .card .outline.full{grid-column:1/-1;margin:0;min-height:44px;font-size:12px;background:#fafcf8}.badge{font-size:10.5px;border-radius:7px;padding:4px 10px;font-weight:500}.badge.red{color:#a33e36;background:#fff0ed}.badge.gold{color:#906b23;background:#fbf1db}.badge.gray{color:#61746a;background:#eff2ee}.grid2{gap:20px;grid-template-columns:1.1fr 1fr}.grid2>.card{padding:22px}.grid2 .list-item{padding:13px 0}.list-item .textbtn{font-size:12.5px}.avatar{width:38px;height:40px;border:1px solid #e0eade;border-radius:11px;background:#eaf3e9;font-size:14px}.person{gap:11px;min-width:0}.person .textbtn{text-align:right;line-height:1.7;color:#1b5943;padding:3px 0;font-size:13.5px;font-weight:600;max-width:100%;white-space:normal}.person small{font-size:10.5px;line-height:1.9}.person>div{min-width:0}.person .textbtn:hover{color:#087a53;text-decoration:underline;text-underline-offset:4px}
.toolbar{gap:12px;margin-bottom:18px}.tabs{gap:4px;background:#e9eee6;border:1px solid #dfe7da;border-radius:12px;padding:4px}.tabs button{min-height:42px;padding:8px 17px;font-size:13px;border-radius:9px;font-weight:500;line-height:1.5}.tabs button.active{box-shadow:0 2px 6px #173f2910;background:#fff;color:#075b40;font-weight:700}.skill-picker{padding:20px 22px;margin:18px 0;border-radius:15px;box-shadow:var(--shadow)}.skill-picker .row-between{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(190px,250px);gap:18px;align-items:end}.skill-picker label{font-size:12px;color:#5a7564}.skill-picker select{font-size:17px;font-weight:700;min-height:48px;min-width:0;width:100%;background:#f8fbf6}.skill-picker .actions{margin:0;gap:8px}.skill-picker .actions button{width:45px;padding:0}.skill-picker input[type=search]{width:100%;min-width:0;min-height:48px;background:#fff}.legend{margin:17px 0 0;padding-top:12px;border-top:1px solid #edf1e9;gap:7px 15px;line-height:1.9;font-size:11px;color:#5d735f}.table-wrap{border-radius:15px;box-shadow:var(--shadow)}th{font-size:12px;padding:15px 20px;background:#edf3eb;color:#496451;font-weight:600}td{padding:14px 20px}.rate-buttons{gap:7px}.rate{min-height:46px;padding:8px 12px;font-size:12px;font-weight:500;border-radius:9px;color:#586f60;border-color:#d7e2d5}.rate.selected{font-weight:700}.rate[data-val="1"].selected{background:#e4f2e6;border-color:#35966b;color:#09653e}.rate[data-val="0"].selected{background:#fff0ec;border-color:#cb8276;color:#a03d32}.rate[data-val="غ"].selected{background:#fbf2df;border-color:#c29a42;color:#896819}.rate[data-val="null"].selected{background:#eef2ed;border-color:#96aa98;color:#536a58}.perc{font-variant-numeric:tabular-nums}.student-subject-label{display:none}.student-subject-value{font-size:15px;font-weight:600}.register-matrix td,.register-matrix th{padding:13px;min-width:72px}.register-matrix td:first-child,.register-matrix th:first-child{min-width:190px}.matrix-button{min-height:44px;min-width:44px;border-radius:9px}.table-scroll-hint{font-size:11px;color:#5c745e;display:flex;gap:7px;align-items:center;margin:-5px 0 12px}.table-scroll-hint svg{width:17px;height:17px}.reteach-table{font-size:13px}.reteach-table th:first-child,.reteach-table td:first-child{position:sticky;right:0;background:#fff;z-index:1;min-width:130px}.reteach-table th:first-child{background:#edf3eb}.reteach-table td .outline{font-size:11.5px;white-space:nowrap}.reteach-table .badge{font-size:10.5px}
.support-list{gap:18px}.support-card{padding:21px;border-top-width:3px}.support-card p{font-size:13px;line-height:1.9;margin:14px 0 8px}.support-card p strong{font-size:12px;font-weight:700;color:#3f6652}.support-card>.hint{font-size:12px;line-height:2}.support-card .actions{margin-top:20px;padding-top:14px;border-top:1px solid #e9eee6}.support-card .actions button{font-size:12px;flex:1}.chip{font-size:11.5px;padding:7px 10px;line-height:1.7;border-radius:8px}.support-card .chips{gap:5px}.support-card .chip{font-size:10.5px;padding:6px 8px}.settings-grid{gap:18px}.settings-grid .card{padding:24px}.settings-grid .card p{font-size:12.5px;line-height:1.9}.settings-grid .actions button{font-size:12px}.settings-grid input[type=file]{width:100%;min-height:47px;padding:6px;font-size:11px}.settings-grid input[type=file]::file-selector-button{border:0;border-radius:7px;padding:10px 12px;font:inherit;background:#edf5e9;color:#245b3f;margin-inline-end:10px}.form-grid{gap:17px}.check-label{font-size:13px;font-weight:400}.form-grid>.primary{margin-top:5px}
dialog{width:min(760px,94vw);border:1px solid #d9e5d8;border-top:3px solid var(--gold);border-radius:18px;padding:28px;box-shadow:0 30px 100px #032e3340;max-height:90dvh}dialog::backdrop{background:#052e25a1;backdrop-filter:blur(4px)}dialog h2{padding-left:32px;margin-bottom:8px}.close{position:sticky;top:0;float:left;min-width:40px;min-height:40px;width:40px;height:40px;margin:-8px -8px 0 0;border-radius:10px;border:1px solid #e1e9dd;background:#f6f9f3;color:#456954;font-size:24px;line-height:1;box-shadow:0 2px 8px #173f2908}.profile-header{padding-left:40px;gap:15px;margin:5px 0 25px}.profile-header h2{padding:0;font-size:23px;line-height:1.6}.profile-header .avatar{width:62px;height:64px;border-radius:17px;font-size:24px}.profile-header p{margin-top:6px}.profile-header .eyebrow{font-size:11px}.profile-header~.tabs{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}.profile-header~.tabs button{padding:10px 8px;font-size:13px}dialog section{scroll-margin-top:20px}dialog .actions button{min-height:46px;font-size:12.5px}.report-title{padding:5px 0 20px;border-color:#c9a454;gap:18px}.report-title img{width:74px;height:88px;padding:5px;background:#fff;border:1px solid #eadcba;border-radius:12px}.report-title h2{font-size:21px;padding:0}.report-title p{font-size:13px}.report-title small{font-size:10.5px;color:#5c725d}.report .card{padding:19px 20px;margin-top:14px;background:#fbfdf9;border-color:#e1e8dd;box-shadow:none}.report .card h3{font-size:16px}.report .card>.row-between>strong{font-size:13px;text-align:left}.report p{font-size:13px;line-height:1.95}.report .actions{padding-top:17px;margin-top:20px;border-top:1px solid #e5ecdf}.report .actions .primary{background:#087654;border-color:#087654}.comparison{padding:19px;margin-top:23px}.comparison h3{font-size:14px}.comparison .hint{font-size:11px}.skill-list .outline{font-size:12px}#toast{font-size:13px;box-shadow:0 8px 32px #063f3326;padding:14px 20px;border:1px solid #ffffff2e;max-width:500px}footer{margin-top:35px;font-size:11px;padding-top:22px;color:#5b725e;gap:12px}
/* Login is a branded introduction, while the form stays a clear white workspace. */
.login-page{display:grid;place-items:center;min-height:100dvh;padding:40px 24px;background:radial-gradient(ellipse at 80% 0,#eaf1e4,transparent 50%),#f4f6f0}.login-layout{width:min(1040px,100%);display:grid;grid-template-columns:1.05fr 1fr;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 25px 90px #153e2a12;border:1px solid #dbe5d5;min-height:630px}.login-brand{position:relative;isolation:isolate;background:linear-gradient(150deg,#064331,#07533d 60%,#096446);color:white;display:flex;align-items:center;padding:45px 48px;border-bottom:4px solid #c8a24f;overflow:hidden}.login-brand::before,.login-brand::after{content:'';position:absolute;border-radius:50%;pointer-events:none;z-index:-1}.login-brand::before{width:510px;height:530px;left:-230px;bottom:-320px;border:25px solid #c8a24f2b;transform:rotate(-25deg)}.login-brand::after{width:530px;height:550px;left:-230px;bottom:-280px;border:1px solid #d7b96980;transform:rotate(-25deg)}.login-brand-content{position:relative;z-index:1}.login-logo-plate{background:#fff;border:1px solid #d6b161;border-radius:18px;display:flex;align-items:center;justify-content:center;width:108px;height:118px;margin-bottom:25px;box-shadow:0 10px 25px #002b2510}.login-logo-plate img{width:92px;height:102px;object-fit:contain}.brand-motto{font-size:14px;color:#d8bd7f;display:block;margin-bottom:7px}.login-brand h1{font-size:40px;line-height:1.5;letter-spacing:-1px}.login-brand p{font-size:13px;color:#c0d7c6;margin-top:12px;line-height:1.9}.login-features{display:grid;gap:15px;margin-top:38px}.login-features span{font-size:12px;display:flex;align-items:center;gap:12px;color:#d9e7d8}.login-features svg{width:19px;height:19px;color:#d8bd7f}.login-form-panel{padding:70px 52px 35px;display:flex;flex-direction:column;justify-content:center}.login-form-panel h2{font-size:30px;font-weight:800;margin-top:6px}.login-intro{font-size:13px;color:#6f8272;margin:9px 0 26px}.login-form-panel #login{display:grid;gap:9px}.login-form-panel #login>label{font-size:13px;font-weight:500;margin-top:8px}.login-form-panel input{width:100%;min-height:51px;background:#fcfdf9;padding:11px 14px;font-size:15px}.login-submit{margin-top:18px;display:flex;justify-content:space-between;min-height:52px;border-radius:11px;font-size:13px;font-weight:700}.login-submit span{font-size:22px;font-weight:400}.login-form-panel #login-error{font-size:12px;margin:4px 0;min-height:20px;line-height:1.8}.login-teacher{display:grid;gap:2px;padding-top:20px;margin-top:20px;border-top:1px solid #e6ede1;color:#6d806f}.login-teacher strong{font-size:11.5px;font-weight:600;color:#44624e}.login-teacher span{font-size:10.5px}
@media(min-width:1550px){.shell{padding:32px 48px}.card{padding:25px}}
@media(min-width:761px) and (max-width:1180px){aside{width:224px;padding-inline:16px}.shell{margin-right:224px;padding:26px}.brand{font-size:20px}.brand img{width:50px;height:60px}.stats{grid-template-columns:repeat(2,1fr)}.subject-grid{grid-template-columns:1fr}.subject-grid .card{display:block}.subject-icon{float:right;margin:0 0 12px 14px}.subject-grid .card .row-between:nth-of-type(2){clear:both}.grid2{grid-template-columns:1fr}.skill-picker .row-between{grid-template-columns:1fr auto}.skill-picker input[type=search]{grid-column:1/-1}.settings-grid{grid-template-columns:1fr}.context-bar select{max-width:310px}.context-bar>.badge{display:none}.login-layout{max-width:930px}.login-brand{padding:35px}.login-form-panel{padding:50px 35px}}
@media(max-width:760px){
 body{font-size:14px}.shell{margin:0;padding:0 0 calc(100px + env(safe-area-inset-bottom));max-width:none}.app-header{position:relative;background:linear-gradient(110deg,#05412f,#0a6046);color:#fff;padding:18px 17px 24px;margin:0;min-height:116px;border-bottom:3px solid #c8a24f;overflow:hidden;gap:12px}.app-header::after{content:'';position:absolute;width:300px;height:170px;border:15px solid #d8b46415;border-radius:50%;left:-110px;top:-100px;transform:rotate(-30deg);pointer-events:none}.page-heading{gap:11px;min-width:0;position:relative;z-index:1}.page-heading>div{min-width:0}.page-heading h1{font-size:23px;font-weight:700;letter-spacing:-.4px;line-height:1.5;margin-top:2px}.page-heading .eyebrow{font-size:10px;color:#d9c18a}.mobile-logo{display:block;width:47px;height:56px;object-fit:contain;padding:5px;border:1px solid #d5bb775c;border-radius:11px;background:#fff;flex-shrink:0}.header-actions{display:flex;flex-direction:column-reverse;align-items:flex-end;gap:8px;position:relative;z-index:1;min-width:94px}.header-buttons{gap:5px}.header-actions .icon-button{width:40px;min-width:40px;height:40px;min-height:40px;border:1px solid #ffffff25;background:#ffffff0b;color:#e1ecde;border-radius:10px;padding:8px}.header-actions .icon-button svg{width:18px;height:18px}.mobile-settings{display:inline-flex}.refresh-label{display:none}#save-state{color:#d4e6d3;font-size:9.5px;gap:5px;max-width:116px;text-align:left}#save-state::before{width:5px;height:5px;background:#a4c5a4}#save-state[data-state=pending]::before{background:#e3bf69}
 #content{margin:0 16px}.context-bar{margin:16px 16px 20px;padding:12px 13px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 10px;border-radius:13px;background:#fff}.context-bar>div:not(.notice){min-width:0;flex:none}.context-bar label{font-size:10px;gap:6px;color:#5d735f}.context-bar select{width:100%;min-width:0;max-width:100%;height:43px;min-height:43px;font-size:11px;padding:7px 8px;background:#f9fcf6;border-color:#dbe6d6}.context-bar>#new-class,.context-bar>#new-period,.context-bar>.badge{display:none}.context-caption{display:flex!important;grid-column:1/-1;align-items:center;gap:6px;font-size:10px;color:#60745c;padding-top:3px}.context-caption svg{width:13px;height:13px}.context-bar>.notice{grid-column:1/-1;width:auto;font-size:11px}.context-bar>.notice .textbtn{min-height:36px;font-size:11px;padding:4px 7px}.hero{padding:20px 20px 22px;min-height:0;display:block;margin-bottom:16px;border-radius:15px}.hero .eyebrow{font-size:9px;line-height:1.8;display:block;max-width:250px}.hero h2{font-size:20px;line-height:1.7;margin-top:7px;max-width:280px}.hero p{font-size:11px;line-height:1.9;max-width:265px;margin-top:5px}.hero .primary{font-size:12px;min-height:44px;padding:9px 15px;min-width:132px;margin-top:15px}.hero::after{width:330px;height:360px;border-width:17px;left:-160px;top:-190px}.hero::before{width:370px;left:-175px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:23px}.stat{padding:15px 14px;min-height:125px;border-radius:13px}.stat .label{font-size:11px;padding-left:23px;line-height:1.7;min-height:20px}.stat strong{font-size:29px;line-height:1.5;margin:8px 0 2px}.stat small{font-size:9px;line-height:1.8;margin:0}.stat-symbol{width:25px;height:25px;border-radius:7px;left:12px;top:12px}.stat-symbol svg{width:14px;height:14px}.section-head{gap:12px;align-items:flex-start;margin-bottom:14px}.section-head h2{font-size:17px;line-height:1.7}.section-head p{font-size:10.5px;margin-top:2px;line-height:1.9}.section-head>.outline{font-size:10px;padding:7px 10px;white-space:normal;min-width:85px;min-height:42px;line-height:1.8}.subject-grid{grid-template-columns:1fr;gap:12px;margin-bottom:23px}.subject-grid .card{padding:17px 17px 15px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:0 11px;border-radius:14px}.subject-grid .subject-icon{grid-column:1;grid-row:1;width:40px;height:43px;float:none;margin:0;align-self:center;border-radius:10px}.subject-grid .subject-icon svg{width:23px;height:23px}.subject-grid .card>.row-between:first-of-type{grid-column:2;grid-row:1;gap:8px}.subject-grid .card>.row-between h3{font-size:14px}.subject-grid .card>.row-between .badge{font-size:8px;padding:3px 6px;border-radius:5px}.subject-grid .card>.row-between:nth-of-type(2){grid-column:1/-1;margin-top:12px!important;clear:none}.subject-grid .card>.row-between:nth-of-type(2) .hint{font-size:10px}.subject-grid .percent{font-size:23px}.subject-grid .card>.progress{grid-column:1/-1;margin:6px 0 10px;height:6px}.subject-grid .mini-stats{font-size:9px;margin:4px 0;line-height:1.8}.subject-grid .skill-extremes{font-size:9px;margin:8px 0 11px;padding-top:9px;gap:5px 12px}.subject-grid .card .outline.full{font-size:11px;min-height:42px;margin:0}.grid2{grid-template-columns:1fr;gap:15px}.grid2>.card{padding:18px}.grid2 .section-head h2{font-size:16px}.grid2 .section-head .textbtn{font-size:10.5px;min-height:36px}.grid2 .list-item{padding:11px 0}.grid2 .person .textbtn{font-size:12px}.grid2 .person small{font-size:9px}.grid2 .badge{font-size:9px}.grid2 .percent{font-size:21px}.grid2 .list-item .hint{font-size:10px}.grid2>.card .progress{margin:9px 0 4px}
 aside{position:fixed;top:auto;right:0;left:0;bottom:0;width:100%;height:calc(77px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom);background:#fffffffa;color:var(--green);border-top:1px solid #d9e4d5;box-shadow:0 -6px 22px #0b3e2908;z-index:30;overflow:visible;backdrop-filter:blur(14px)}aside::before{display:none}aside>.brand,aside>.class-label,aside>.aside-bottom{display:none}nav{display:flex;height:77px;justify-content:space-between;align-items:stretch;gap:2px}nav a{position:relative;display:flex;flex:1;min-width:0;min-height:68px;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:9px 2px 7px;border-radius:0;font-size:10px;line-height:1.45;color:#5f745f;font-weight:500;text-align:center}nav a[href="#settings"]{display:none}nav a.active{background:transparent;box-shadow:none;color:#07583d;font-weight:700}nav a.active::after{content:'';position:absolute;width:32px;height:3px;border-radius:0 0 6px 6px;top:0;background:#c8a24f}nav a.active .ico{background:#e7f1e4;box-shadow:0 0 0 5px #e7f1e4;border-radius:7px}nav .ico{width:21px;height:21px}nav .ico svg{width:21px;height:21px}
 .toolbar{gap:9px;margin-bottom:15px}.tabs{max-width:100%;padding:4px;border-radius:11px;gap:3px}.tabs button{font-size:11px;min-height:39px;padding:8px 12px}.toolbar>input[type=search]{font-size:14px;min-height:46px;width:100%;flex-basis:100%}body[data-view="register"] .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}body[data-view="register"] .toolbar>.tabs:first-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);width:100%}body[data-view="register"] .toolbar>.tabs:first-child button{font-size:12px;padding-inline:7px}body[data-view="register"] .toolbar>.tabs:nth-child(2){grid-column:1;display:flex;width:100%}body[data-view="register"] .toolbar>.tabs:nth-child(2) button{flex:1;font-size:11px;padding-inline:9px}body[data-view="register"] #undo{grid-column:2;min-height:47px;min-width:79px;font-size:11px;padding:8px 10px;gap:5px}#undo svg{width:15px;height:15px}.info-notice{font-size:10.5px;padding:10px 13px;margin-bottom:14px;line-height:1.9}.skill-picker{padding:15px;margin:14px 0 16px;border-radius:13px}.skill-picker .row-between{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px;align-items:end}.skill-picker label{grid-column:1;font-size:10.5px;gap:7px}.skill-picker select{margin:0;min-width:0;min-height:47px;height:47px;font-size:16px;padding-inline:10px}.skill-picker .actions{grid-column:2;gap:5px;margin:0}.skill-picker .actions button{width:40px;min-width:40px;height:47px;min-height:47px;border-radius:9px}.skill-picker .actions svg{width:16px;height:16px}.skill-picker input[type=search]{grid-column:1/-1;min-height:44px;font-size:13px;padding:9px 11px}.legend{font-size:9px;gap:5px 9px;margin-top:12px;padding-top:10px;line-height:1.9}
 .table-wrap:not(.matrix-wrap){border:0;box-shadow:none;background:transparent;overflow:visible}.roster,.roster tbody,.roster tr,.roster td{display:block;width:100%}.roster tr{background:#fff;border:1px solid #dfe8da;border-radius:13px;margin-bottom:10px;padding:14px;box-shadow:var(--shadow)}.roster td{padding:0;border:0}.roster td.number{display:none}.roster .person{gap:9px;min-height:40px}.roster .avatar{width:32px;height:35px;border-radius:9px;font-size:12px;flex-shrink:0}.roster .person .textbtn{font-size:12px;min-height:40px;font-weight:600;line-height:1.75;padding:0}.roster .rate-buttons{margin-top:11px;gap:5px}.roster .rate{flex:1;font-size:10.5px;min-height:44px;padding:9px 4px;min-width:0;line-height:1.7;border-radius:8px;font-weight:500}.roster .rate.selected{font-weight:700}.roster td.perc{font-size:9px;color:#5e725a;margin-top:9px;text-align:left}.register-matrix td,.register-matrix th{padding:9px;min-width:65px;font-size:11px}.register-matrix td:first-child,.register-matrix th:first-child{min-width:150px;max-width:180px}.register-matrix .person .avatar{display:none}.register-matrix .person .textbtn{font-size:11px;line-height:1.8}.matrix-button{min-width:40px;min-height:42px}.table-scroll-hint{font-size:10px;margin:0 0 10px}.reteach-table th,.reteach-table td{font-size:11px;padding:12px 10px;white-space:nowrap}.reteach-table td .badge{font-size:9px}.reteach-table td .outline{font-size:10px;min-height:40px;padding:8px 10px}.reteach-table td:first-child,.reteach-table th:first-child{min-width:110px}
 body[data-view="students"] .roster tr{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 7px;padding:14px 15px}body[data-view="students"] .roster tr>td:first-child{grid-column:1/-1;padding-left:54px}body[data-view="students"] .roster .person .textbtn{font-size:12px;line-height:1.8}body[data-view="students"] .roster td.perc{display:block;padding:10px 7px 8px;margin:0;background:#f5f9f1;border-radius:8px;text-align:center}body[data-view="students"] .student-subject-label{display:block;font-size:9px;color:#5d735f;line-height:1.8}body[data-view="students"] .student-subject-value{display:block;font-size:16px;color:#295b40;line-height:1.7;font-weight:700}body[data-view="students"] .roster tr>td:nth-child(5){position:absolute;left:15px;top:22px;width:auto}body[data-view="students"] .roster tr>td:nth-child(5) .badge{font-size:8px;padding:3px 7px}body[data-view="students"] .roster tr>td:last-child{grid-column:1/-1}body[data-view="students"] .roster tr>td:last-child .outline{width:100%;font-size:11px;min-height:40px;background:#fbfcf9}
 .support-list{grid-template-columns:1fr;gap:13px}.support-card{padding:18px}.support-card .person .textbtn{font-size:12.5px}.support-card>.row-between>.badge{font-size:8px;padding:4px 6px}.support-card p{font-size:12px;line-height:1.9;margin:12px 0 6px}.support-card p strong{font-size:11px}.support-card>.hint{font-size:10.5px;line-height:2}.support-card .chip{font-size:9px;padding:5px 6px}.support-card .chips{gap:5px;margin-top:12px}.support-card .actions{margin-top:15px;padding-top:13px;gap:8px}.support-card .actions button{font-size:11px;min-height:44px}.support-list .avatar{width:33px;height:36px}.settings-grid{grid-template-columns:1fr;gap:13px}.settings-grid .card{padding:20px}.settings-grid .card h2{font-size:17px}.settings-grid .card p{font-size:12px;line-height:1.9}.settings-grid .card .outline,.settings-grid .card .primary{font-size:11.5px;min-height:45px}.settings-grid input{font-size:16px}.settings-grid input[type=file]{font-size:10px}.form-grid label{font-size:12px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}dialog{width:calc(100vw - 24px);max-width:760px;max-height:calc(100dvh - 28px);padding:21px;border-radius:16px}dialog h2{font-size:19px;line-height:1.8}.close{width:38px;height:38px;min-height:38px;min-width:38px;margin:-6px -6px 0 0}.profile-header{padding-left:28px;gap:11px;margin-bottom:20px}.profile-header .avatar{width:45px;height:49px;border-radius:12px;font-size:19px}.profile-header h2{font-size:17px;line-height:1.7}.profile-header p{font-size:10px}.profile-header .eyebrow{font-size:10px}.profile-header~.tabs button{font-size:11px;padding:10px 5px;min-height:42px}dialog section h3{font-size:13px}dialog .chips{gap:6px}dialog .chip{font-size:11px;padding:7px 9px}dialog .hint{font-size:10.5px;line-height:1.95}dialog .actions{gap:8px}dialog .actions button{font-size:11px;min-height:45px;flex-grow:1}.report-title{gap:12px;align-items:flex-start}.report-title img{width:54px;height:68px;border-radius:9px;padding:4px}.report-title h2{font-size:17px;line-height:1.7}.report-title p{font-size:11px;line-height:1.9}.report-title small{font-size:9px;line-height:1.9}.report .card{padding:15px}.report .card h3{font-size:14px}.report .card>.row-between{align-items:flex-start;gap:8px}.report .card>.row-between>strong{font-size:10px;line-height:1.8;max-width:48%;text-align:left}.report p{font-size:12px;line-height:1.95}.report .actions{padding-top:16px}.comparison{padding:15px}.comparison .row-between{font-size:11px}.comparison h3{font-size:13px}footer{margin:28px 16px 0;padding-top:18px;font-size:10px}footer span{display:none}#toast{bottom:calc(92px + env(safe-area-inset-bottom));left:16px;right:16px;max-width:none;font-size:12px;line-height:1.85;text-align:center}
 .login-page{padding:22px 16px;display:block;min-height:100dvh;background:#f3f6ee}.login-layout{width:100%;max-width:420px;margin:auto;display:block;min-height:0;border-radius:20px;box-shadow:0 15px 45px #173f290b}.login-brand{padding:25px 26px 26px;display:block;min-height:0;border-bottom-width:3px}.login-brand-content{text-align:center}.login-logo-plate{width:77px;height:84px;border-radius:13px;margin:0 auto 13px}.login-logo-plate img{width:65px;height:73px}.brand-motto{font-size:10px;margin-bottom:3px}.login-brand h1{font-size:28px;line-height:1.5}.login-brand p{font-size:10px;margin-top:5px}.login-features{display:none}.login-brand::before{left:-240px;bottom:-380px}.login-brand::after{left:-270px;bottom:-350px}.login-form-panel{padding:25px 25px 24px}.login-form-panel>.eyebrow{font-size:10px}.login-form-panel h2{font-size:24px;margin-top:3px}.login-intro{font-size:12px;margin:5px 0 15px}.login-form-panel #login{gap:7px}.login-form-panel #login>label{font-size:12px;margin-top:6px}.login-form-panel input{min-height:49px;font-size:16px;border-radius:10px}.login-submit{min-height:49px;margin-top:14px;font-size:12px;border-radius:10px}.login-teacher{margin-top:12px;padding-top:16px;text-align:center}.login-teacher strong{font-size:11px}.login-teacher span{font-size:9px}.login-form-panel #login-error{font-size:11px;min-height:15px;margin:0}
}
@media(max-width:360px){.page-heading h1{font-size:21px}.page-heading{gap:8px}.mobile-logo{width:42px;height:51px}.header-actions{min-width:86px}.header-actions .icon-button{width:37px;min-width:37px;height:39px;min-height:39px}.app-header{padding-inline:14px}.stats .stat{padding:13px 12px}.stat .label{font-size:10px}.stat strong{font-size:27px}.roster .rate{font-size:9.5px}.tabs button{padding-inline:9px}.hero h2{font-size:18px}#content{margin-inline:13px}.context-bar{margin-inline:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media print{
 @page{size:A4;margin:14mm}body{font-size:12px;background:#fff;color:#183e33;-webkit-print-color-adjust:exact;print-color-adjust:exact}.shell{margin:0;padding:0;max-width:none}aside,.app-header,.context-bar>button,.context-caption,.header-actions,.mobile-settings,.no-print,.table-scroll-hint,footer,#toast{display:none!important}.context-bar{margin:0 0 18px;border:0;box-shadow:none;padding:0;display:flex;flex-wrap:wrap;background:white}.context-bar select{appearance:none;border:0;background:transparent;box-shadow:none;padding:0;color:#183e33;min-height:25px}.context-bar label{font-size:10px}.context-bar .notice,.context-bar>.badge{display:none}.hero{min-height:0;padding:20px 24px;background:#07513e!important;color:white!important;box-shadow:none;break-inside:avoid}.hero .primary,.hero::after,.hero::before{display:none}.hero h2{font-size:22px}.stats{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}.stat{min-height:100px;padding:12px;box-shadow:none;border-color:#d9e3d4}.stat strong{font-size:24px}.stat .label{font-size:10px}.stat-symbol{display:none}.stat small{font-size:9px}.subject-grid{grid-template-columns:repeat(3,1fr);gap:10px}.subject-grid .card{display:block;padding:16px;box-shadow:none}.subject-icon{width:35px;height:35px;float:none;margin-bottom:10px}.card{box-shadow:none;break-inside:avoid}.subject-grid .outline.full,.section-head button,.subject-grid .textbtn{display:none}.grid2{grid-template-columns:1fr 1fr}.table-wrap{overflow:visible;border-color:#dce4d7;box-shadow:none}.roster{display:table!important}.roster thead{display:table-header-group!important}.roster tbody{display:table-row-group!important}.roster tr{display:table-row!important;border:0;box-shadow:none;padding:0;break-inside:avoid}.roster td,.roster th{display:table-cell!important;position:static!important;padding:9px!important;font-size:10px;width:auto!important;background:white!important}.roster td.number{display:table-cell!important}.roster td.perc{margin:0;text-align:right!important}.roster .person .textbtn{font-size:10px;min-height:20px;text-decoration:none;color:#183e33}.roster .avatar{display:none}.roster .rate-buttons{margin:0;display:block}.rate:not(.selected){display:none!important}.rate.selected{border:0;background:none!important;padding:0;min-height:20px;font-size:10px}.skill-picker .actions,.skill-picker input[type=search],.toolbar{display:none}.skill-picker{margin:0 0 15px;padding:12px;box-shadow:none}.skill-picker .row-between{display:block}.skill-picker select{appearance:none;border:0;background:none;padding:0;font-size:16px;min-height:25px}.skill-picker .legend{font-size:9px}.info-notice{font-size:9px}body[data-view="students"] .roster tr>td:last-child,body[data-view="students"] .roster th:last-child{display:none!important}.student-subject-label{display:none!important}.student-subject-value{font-size:12px}.report .card{padding:15px 18px;background:#fbfdf9!important;margin-top:14px}.report-title{border-bottom:2px solid #c8a24f;padding-bottom:18px}.report-title h2{font-size:23px}.report-title p{font-size:13px}.report-title img{width:70px;height:82px}.report .card>.row-between>strong{font-size:13px}.report p{font-size:12px}.report .progress{height:6px}.report .actions{display:none!important}.report-title small{font-size:10px}.support-list{grid-template-columns:1fr 1fr;gap:12px}.support-card{padding:16px}.support-card p{font-size:11px}.support-card>.hint{font-size:10px}.badge{font-size:9px}.chip{font-size:9px}.reteach-table{font-size:11px}.reteach-table th,.reteach-table td{padding:9px;font-size:10px}.reteach-table td .outline{border:0;background:none;padding:0;min-height:20px;font-size:10px}dialog{padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;max-height:none!important;overflow:visible!important;width:100%!important;max-width:none!important}#modal-body>.report{width:100%}.close{display:none!important}body[data-print-blocked="true"] .shell,body[data-print-blocked="true"] dialog,body[data-print-blocked="true"] aside{display:none!important}
}
.context-toggle,.floating-skillbar{display:none}
@media(max-width:760px){
 body[data-view="register"] .app-header{min-height:104px;padding-top:14px;padding-bottom:18px}
 body[data-view="register"] .context-bar .context-toggle{display:flex;grid-column:1/-1;align-items:center;text-align:right;justify-content:space-between;gap:10px;min-height:39px;padding:0;border:0;background:transparent;color:#325b42}
 body[data-view="register"] .context-toggle>svg{width:17px;height:17px;color:#8e9e82}
 body[data-view="register"] .context-toggle>span{display:flex;flex:1;flex-wrap:wrap;gap:3px 9px;font-size:11px;font-weight:600;align-items:center}
 body[data-view="register"] .context-toggle small{font-size:10px;color:#60745c;font-weight:400}
 body[data-view="register"] .context-bar:not(.is-expanded)>div:not(.notice){display:none!important}
 body[data-view="register"] .context-bar{padding:9px 13px;margin-bottom:17px}
 body[data-view="register"] .context-bar.is-expanded .context-toggle{padding-bottom:9px;border-bottom:1px solid #e8eee2;margin-bottom:3px}
 .floating-skillbar:not([hidden]){position:fixed;display:flex;top:0;left:0;right:0;z-index:25;background:#fffffff7;backdrop-filter:blur(12px);border-bottom:2px solid #c8a24f;box-shadow:0 3px 17px #103d2710;padding:8px 17px;justify-content:space-between;align-items:center;gap:14px;min-height:66px}
 .floating-skillbar>div:first-child{min-width:0}.floating-skillbar small{font-size:9px;color:#5e725a;display:block}.floating-skillbar strong{font-size:16px;display:block;line-height:1.7}.floating-skill-actions{display:flex;gap:7px}.floating-skill-actions button{height:43px;min-height:43px;width:40px;border:1px solid #d8e4d0;background:#f5f9ef;border-radius:9px;color:#446b4b}.floating-skill-actions svg{width:17px;height:17px}
}
@media print{.context-toggle,.floating-skillbar{display:none!important}}
@media(max-width:760px){
 .context-bar select{font-size:16px;min-height:46px;height:46px}.toolbar>input[type=search],.skill-picker input[type=search]{font-size:16px}.tabs button{min-height:44px}.header-actions .icon-button{width:44px;min-width:44px;height:44px;min-height:44px}.header-actions{min-width:94px}.close{width:44px;height:44px;min-width:44px;min-height:44px}.subject-grid .card .outline.full,body[data-view="students"] .roster tr>td:last-child .outline,.reteach-table td .outline,.section-head>.outline{min-height:44px}.floating-skill-actions button{width:44px;height:44px;min-height:44px}
}
@media(max-width:760px){body[data-view="register"] .context-bar .context-toggle,.roster .person .textbtn,.roster .person,.profile-header~.tabs button,.context-bar>.notice .textbtn{min-height:44px}.matrix-button{min-width:44px;min-height:44px}.skill-picker .actions button{width:44px;min-width:44px}}
/* Keep native form controls from widening grid tracks on narrow phones. */
.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid>.card,.form-grid,.form-grid label{min-width:0}.form-grid{grid-template-columns:minmax(0,1fr)}input,textarea{min-width:0}input:not([type=checkbox]):not([type=radio]),textarea{width:100%}.settings-grid .actions>*{max-width:100%}
@media(max-width:1180px){.settings-grid{grid-template-columns:minmax(0,1fr)}}
.report-school{display:block;font-size:11px;color:#6a7d65;margin:4px 0 7px}
@media(max-width:760px){.report-school{font-size:9px;line-height:1.8}}
@media print{dialog::backdrop{background:#fff!important;backdrop-filter:none!important}.report-school{font-size:10px;color:#59704f}}

/* Emerald and gold identity adapted to real mobile and tablet assessment work. */
:root{--bg:#faf9f5;--green:#064b39;--gold:#c6a04a;--ink:#153e34;--muted:#60736a;--subject-q:#07805c;--subject-r:#2c72ac;--subject-w:#7d60ac}
body.app-page{background:var(--bg)}
body.app-page::before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 0 0,#c7a14f0a,transparent 45%)}
.primary{background:linear-gradient(110deg,#b88b30,#d3b362);color:#183d2e;border:1px solid #c6a04a;box-shadow:0 3px 9px #b68a2912}
.primary:hover:not(:disabled){background:linear-gradient(110deg,#b98d35,#dfc584);color:#12372b}
.app-header{min-height:62px;margin-bottom:18px}.page-heading h1{font-size:27px}.page-heading .eyebrow{font-size:11px}
.shell{padding:21px 26px}.context-bar{margin-bottom:18px;padding:12px 16px;gap:10px;border-radius:13px}.context-bar label{font-size:10px;gap:5px}.context-bar select{min-height:44px;padding-block:7px}
aside{background:linear-gradient(155deg,#064b39,#003d30);isolation:isolate}
aside::after{content:'';position:absolute;bottom:0;left:0;right:0;height:285px;z-index:-1;opacity:.16;background:url('identity-ribbon-v6.svg') bottom left/cover no-repeat;pointer-events:none}
.brand{font-size:21px}.brand img{height:62px;width:51px}.teacher-info{background:#063f319c}.aside-bottom{padding-top:25px}.nav-more{display:none}
.hero{position:relative;min-height:118px;padding:21px 24px;border-radius:15px;margin-bottom:17px;background:#064b39 url('identity-ribbon-v6.svg') left center/330px auto no-repeat;border-bottom:2px solid #c6a04a;isolation:isolate;gap:20px}.hero::before,.hero::after{display:none}.hero h2{font-size:23px}.hero p{font-size:12px}.hero .eyebrow{font-size:10px}.hero .primary{min-width:130px;background:linear-gradient(110deg,#ba903a,#ddbe73);border-color:#e1c584;white-space:nowrap}
.stats{gap:12px;margin-bottom:24px}.stat{min-height:125px;padding:16px 18px}.stat strong{font-size:29px;margin-top:6px}.stat .label{font-size:11px}.stat small{font-size:10px}.stat-symbol{left:15px;top:15px}.stat:nth-child(2){background:#f6faf6}.stat:nth-child(4){background:#f7f8fb}
.section-head h2{font-size:18px}.section-head{margin-bottom:14px}.section-head p{font-size:11px}
.subject-grid{gap:13px}.subject-grid .card{--subject:var(--subject-q);display:grid;grid-template-columns:1fr auto;align-items:center;padding:19px;gap:0 10px;background:#fff;border-radius:14px}
.subject-grid .card[data-subject="r"]{--subject:var(--subject-r)}.subject-grid .card[data-subject="w"]{--subject:var(--subject-w)}
.subject-grid .subject-icon{width:38px;height:40px;grid-column:1;grid-row:1;margin:0 0 12px;border:0;color:var(--subject);background:color-mix(in srgb,var(--subject) 8%,white)}
.subject-grid .card>.row-between:first-of-type{grid-column:1/-1;grid-row:2;gap:8px}.subject-grid .card>.row-between h3{font-size:15px}
.subject-grid .card>.row-between:nth-of-type(2){grid-column:1/-1;grid-row:3;flex-direction:row-reverse;margin-top:14px!important}.subject-grid .card>.row-between:nth-of-type(2)>.hint{font-size:11px}
.identity-progress-ring{background:conic-gradient(var(--subject) var(--value),#edf0ec 0);width:77px;height:77px;display:grid;place-items:center;border-radius:50%;position:relative;flex-shrink:0;direction:ltr;isolation:isolate}
.identity-progress-ring::before{content:'';position:absolute;inset:6px;background:#fff;border-radius:50%;z-index:-1}.identity-progress-ring .percent{font-size:19px;color:var(--ink);direction:rtl;line-height:1.5}
.subject-grid .card>.progress{height:5px;margin:14px 0 10px}.subject-grid .progress i{background:var(--subject)}.subject-grid .mini-stats{font-size:10px}.subject-grid .card .outline.full{border-color:#e3e9e1;background:#fcfdfb}.subject-grid .badge{font-size:9px;padding:4px 7px}
.toolbar{gap:9px;margin-bottom:12px}.tabs button{font-size:12px;padding:8px 14px;min-height:42px}.tabs{background:#eef0e9;border-color:#e2e6db}.tabs button.active{color:#064b39}
.skill-picker{padding:14px 16px;margin:12px 0 14px}.skill-picker .row-between{grid-template-columns:minmax(180px,1fr) auto minmax(150px,220px);gap:12px}.skill-picker select{font-size:16px;min-height:46px}.skill-picker input[type=search]{min-height:46px}.skill-picker label{font-size:10px;gap:5px}.skill-picker .actions{gap:5px}.skill-picker .actions button{width:44px;min-height:46px}.legend{margin-top:10px;padding-top:9px;font-size:10px;gap:5px 14px}.info-notice{padding:7px 12px;margin:0;font-size:10px;background:#f0f5ef}
.assessment-heading-mobile{display:none}.assessment-roster{table-layout:fixed}.assessment-roster th,.assessment-roster td{padding:9px 12px}.assessment-roster th{font-size:11px}.assessment-roster th:first-child{width:45px}.assessment-roster th:nth-child(2){width:31%}.assessment-roster th:nth-child(3){width:43%}.assessment-roster th:last-child{width:88px}.assessment-roster .avatar{width:30px;height:33px;font-size:11px}.assessment-roster .person{gap:8px}.assessment-roster .person .textbtn{font-size:12px;min-height:42px}.assessment-roster .rate-buttons{gap:5px;justify-content:space-between}.assessment-roster .rate{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0;padding:6px 5px;min-height:44px;font-size:10px;white-space:nowrap;background:transparent;border-color:transparent}.assessment-roster .rate.selected{border-color:#d6e7dd;background:#f0f7f2}.rate-dot{width:14px;height:14px;display:inline-block;border:1.5px solid #a8b7ae;border-radius:50%;flex-shrink:0;position:relative;background:#fff}.selected[data-val="1"] .rate-dot{border-color:#07805c;background:#07805c;box-shadow:inset 0 0 0 2px white,0 0 0 2px #07805c22}.selected[data-val="0"] .rate-dot{background:#c64743;border-color:#c64743;box-shadow:inset 0 0 0 2px white,0 0 0 2px #c6474322}.selected[data-val="غ"] .rate-dot{background:#c49b3e;border-color:#c49b3e;box-shadow:inset 0 0 0 2px white,0 0 0 2px #c49b3e22}.selected[data-val="null"] .rate-dot{background:#92a398;border-color:#92a398;box-shadow:inset 0 0 0 2px white}.assessment-roster .rate.selected[data-val="0"]{background:#fff3f1;border-color:#f1d7d1}.assessment-roster .rate.selected[data-val="غ"]{background:#fcf6e8;border-color:#ede0bc}.assessment-roster .rate.selected[data-val="null"]{background:#f2f5f1;border-color:#e0e6df}
.assessment-savebar{position:sticky;bottom:16px;z-index:20;margin-top:14px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fffefb;border:1px solid #e3dbc3;border-radius:13px;box-shadow:0 5px 24px #103b2410}.assessment-save-status{display:flex;align-items:center;gap:10px;color:#096144}.assessment-save-status>svg{width:23px;height:23px}.assessment-save-label{font-size:12px;display:block}.assessment-save-note{display:block;font-size:10px;color:#6b7c6d}.assessment-savebar .primary{font-size:12px;display:flex;align-items:center;gap:12px;min-height:44px}.assessment-savebar svg{width:19px;height:19px}.assessment-savebar[data-state="pending"] .assessment-save-status{color:#916622}.assessment-savebar[data-state="error"] .assessment-save-status{color:#a53c34}
.support-card{border-top:2px solid #b9d2bf}.support-card.high{border-top-color:#ca7972}.support-action-panel{background:#f6f8f1;border:1px solid #e8eddf;padding:12px 14px;border-radius:10px;font-size:12px!important;line-height:2!important}.support-action-panel strong{display:block;margin-bottom:3px}.support-target-heading{border-top:1px solid #e7ece3;padding-top:13px}.support-card>.hint{padding-inline:3px;font-size:12px;color:#46624e}.support-card .chips{gap:6px}.support-card .chip{border:0;background:#f1f6ef}
.profile-overview{margin:0 0 22px;padding:17px;border:1px solid #e1e8de;border-radius:13px;background:#fdfefa}.profile-overview h3{margin-bottom:13px;font-size:14px}.profile-subject-progress{--subject:var(--subject-q);display:grid;grid-template-columns:33px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0}.profile-subject-progress[data-subject="r"]{--subject:var(--subject-r)}.profile-subject-progress[data-subject="w"]{--subject:var(--subject-w)}.profile-subject-progress strong{font-size:12px;color:var(--subject)}.profile-subject-progress b{font-size:17px;min-width:60px;text-align:left}.profile-subject-progress .progress{height:5px;margin:6px 0 0}.profile-subject-progress .progress i{background:var(--subject)}.profile-subject-icon{width:33px;height:36px;border-radius:8px;color:var(--subject);background:color-mix(in srgb,var(--subject) 7%,white);display:grid;place-items:center}.profile-subject-icon svg{width:21px;height:21px}.profile-support-overview{margin-top:22px;padding:17px;border:1px solid #e6dfca;background:#fcfaf2;border-radius:12px}.profile-support-overview h3{font-size:14px}.profile-support-overview p{margin-top:8px;font-size:12px;line-height:2}
.identity-more-menu{display:grid;gap:12px;margin-top:20px}.identity-more-menu a{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #dee7d8;border-radius:12px;color:#184b37;font-size:14px;background:#fafcf7}.identity-more-menu a>svg:last-child{margin-right:auto;width:17px}.identity-more-menu small{display:block;font-size:10px;color:#647861}.identity-more-menu>button{justify-self:start;color:#9e3933;font-size:12px}
@media(min-width:900px) and (max-width:1180px){aside{width:205px;padding:24px 15px}.brand{font-size:18px;gap:9px}.brand img{width:46px;height:55px}.brand small{font-size:9px}.shell{margin-right:205px;padding:19px 22px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.stat{padding:14px;min-height:125px}.stat .label{font-size:10px;padding-left:21px}.stat strong{font-size:26px}.stat small{font-size:9px}.stat-symbol{width:24px;height:24px;left:10px;top:12px}.stat-symbol svg{width:14px;height:14px}.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.subject-grid .card{display:grid;padding:15px}.subject-grid .card>.row-between h3{font-size:13px}.subject-grid .card>.row-between:first-of-type{flex-wrap:wrap}.subject-grid .card>.row-between:nth-of-type(2){clear:none}.subject-grid .mini-stats{font-size:9px}.subject-grid .skill-extremes{font-size:9px}.identity-progress-ring{width:64px;height:64px}.identity-progress-ring .percent{font-size:16px}.subject-grid .card>.row-between:nth-of-type(2)>.hint{font-size:10px;max-width:65px}.skill-picker .row-between{grid-template-columns:minmax(170px,1fr) auto minmax(130px,190px)}.skill-picker input[type=search]{grid-column:auto}.context-bar>#new-class,.context-bar>#new-period{display:none}.context-bar>div:not(.notice){flex:1}.context-bar select{width:100%;max-width:none}.grid2{grid-template-columns:1fr 1fr;gap:13px}.grid2>.card{padding:16px}.grid2 .person .textbtn{font-size:11px}.grid2 .person small{font-size:9px}.grid2 .section-head h2{font-size:15px}.assessment-roster .rate-caption{font-size:9px}.assessment-roster th:nth-child(2){width:29%}.assessment-roster th:nth-child(3){width:46%}.assessment-roster th:last-child{width:75px}.assessment-roster td,.assessment-roster th{padding:7px 8px}.assessment-roster .person .textbtn{font-size:11px}.assessment-roster .avatar{display:none}}
@media(min-width:761px) and (max-width:899px){aside{width:88px;padding:20px 8px}.shell{margin-right:88px;padding:18px 20px}.brand{justify-content:center;padding-bottom:18px}.brand img{width:49px;height:59px}.brand>div,.class-label,.teacher-info,.aside-bottom .textbtn{display:none}.aside-bottom{padding:0}nav{gap:10px}nav a{flex-direction:column;padding:11px 2px;gap:6px;font-size:9px;min-height:65px;text-align:center}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.subject-grid .card{display:grid;padding:13px}.subject-grid .card>.row-between:first-of-type{flex-wrap:wrap}.subject-grid .card>.row-between h3{font-size:12px}.subject-grid .card>.row-between:nth-of-type(2){flex-direction:column;align-items:flex-start;gap:9px;clear:none}.subject-grid .card>.row-between:nth-of-type(2)>.hint{font-size:10px}.subject-grid .mini-stats{font-size:9px}.subject-grid .skill-extremes{font-size:9px}.identity-progress-ring{width:66px;height:66px}.identity-progress-ring .percent{font-size:16px}.context-bar>#new-class,.context-bar>#new-period,.context-bar>.badge{display:none}.context-bar>div:not(.notice){flex:1}.context-bar select{width:100%;min-width:0}.skill-picker .row-between{grid-template-columns:minmax(150px,1fr) auto}.skill-picker input[type=search]{grid-column:1/-1}.assessment-roster .avatar{display:none}.assessment-roster td,.assessment-roster th{padding:7px 6px}.assessment-roster .person .textbtn{font-size:11px}.assessment-roster .rate-caption{font-size:9px}.assessment-roster .rate{gap:4px;padding-inline:2px}.assessment-roster .rate-dot{width:12px;height:12px}.assessment-roster th:first-child{width:30px}.assessment-roster th:nth-child(2){width:30%}.assessment-roster th:nth-child(3){width:46%}.assessment-roster th:last-child{width:63px}.hero{min-height:110px}.hero h2{font-size:21px}}
@media(max-width:760px){
 .shell{margin:0;padding:0 0 calc(94px + env(safe-area-inset-bottom))}.app-header{min-height:103px;padding:15px 16px 18px;margin:0;border-bottom:2px solid #c6a04a;background:#064b39 url('identity-ribbon-v6.svg') left center/210px auto no-repeat}.app-header::after{display:none}.page-heading h1{font-size:22px}.page-heading .eyebrow{font-size:9px}.mobile-logo{width:45px;height:54px;border-radius:10px}.header-actions{min-width:94px;gap:6px}.header-actions .icon-button{width:42px;height:42px;min-width:42px;min-height:42px}#save-state{font-size:9px}.context-bar{margin:13px 14px 16px;padding:10px 11px;gap:7px 10px;background:#fffdf9;border-color:#e2e6dc;border-radius:12px}.context-bar label{font-size:9px;gap:4px}.context-bar select{font-size:16px;height:44px;min-height:44px;background:#fff}.context-caption{font-size:9px;padding:0}.context-caption svg{width:12px;height:12px}#content{margin-inline:14px}.hero{display:flex;align-items:center;gap:10px;padding:14px 15px;min-height:0;margin-bottom:13px;background:#fffdf7;color:#184633;border:1px solid #e9ddbc;border-right:3px solid #c6a04a;border-radius:12px}.hero h2{font-size:16px;line-height:1.7;margin:0}.hero .eyebrow{display:none}.hero p{font-size:9px;margin-top:2px;color:#637960;line-height:1.8}.hero .primary{margin:0;min-width:94px;min-height:44px;font-size:10px;padding:8px 10px;flex-shrink:0}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:20px}.stat{padding:13px;min-height:108px;border-radius:12px}.stat .label{font-size:10px;padding-left:22px}.stat strong{font-size:27px;line-height:1.4;margin:7px 0 3px}.stat small{font-size:8.5px;line-height:1.7}.stat-symbol{width:23px;height:23px;left:11px;top:11px}.stat-symbol svg{width:13px;height:13px}.section-head h2{font-size:16px}.section-head p{font-size:10px}.section-head>.outline{font-size:9px;padding:7px 9px;min-width:75px}.subject-grid{grid-template-columns:1fr;gap:11px;margin-bottom:20px}.subject-grid .card{padding:16px;grid-template-columns:minmax(0,1fr) 77px;gap:0 14px}.subject-grid .subject-icon{grid-row:1;grid-column:1;width:31px;height:32px;margin:0 0 7px;border-radius:8px}.subject-grid .subject-icon svg{width:20px;height:20px}.subject-grid .card>.row-between:first-of-type{grid-column:1;grid-row:2;display:block}.subject-grid .card>.row-between h3{font-size:14px;line-height:1.9}.subject-grid .card>.row-between .badge{display:none}.subject-grid .card>.row-between:nth-of-type(2){display:contents}.subject-grid .card>.row-between:nth-of-type(2)>.hint{grid-row:3;grid-column:1;font-size:10px;line-height:1.8;margin-top:2px}.identity-progress-ring{grid-row:1/4;grid-column:2;width:77px;height:77px;align-self:center}.identity-progress-ring .percent{font-size:19px}.subject-grid .card>.progress{grid-column:1/-1;margin:12px 0 8px;height:5px}.subject-grid .mini-stats{grid-column:1/-1;font-size:9px;margin:3px 0}.subject-grid .skill-extremes{font-size:9px;margin:7px 0 9px;padding-top:8px}.subject-grid .card .outline.full{font-size:10px;min-height:44px;background:#fcfdfa}
 aside{height:calc(74px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e3e7dc;padding:0 7px env(safe-area-inset-bottom);overflow:visible}aside::after{display:none}nav{height:74px;gap:2px}nav a,nav .nav-more{border:0;background:none;color:#627363;display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:65px;padding:8px 2px;font-size:10px;font-weight:500;line-height:1.5;border-radius:0;position:relative}nav a[href="#reteach"],nav a[href="#settings"]{display:none}nav a.active,nav .nav-more.active{color:#064b39;background:#faf5e8;border-radius:11px;box-shadow:none;margin:6px 0}nav a.active::after{display:none}nav a.active .ico,nav .nav-more.active .ico{background:none;box-shadow:none}nav .ico{height:21px;width:21px}nav .ico svg{height:21px;width:21px}
 body[data-view="register"] .app-header{min-height:96px;padding-block:13px 16px}body[data-view="register"] .context-bar{margin-block:11px 12px;padding:6px 11px}body[data-view="register"] .context-toggle>span{font-size:10px}body[data-view="register"] .context-toggle small{font-size:9px}body[data-view="register"] .context-bar:not(.is-expanded) .context-caption{display:none!important}body[data-view="register"] .context-bar .context-toggle{min-height:44px}body[data-view="register"] .toolbar{gap:7px;margin-bottom:10px}body[data-view="register"] .toolbar>.tabs:first-child button{font-size:11px;padding-inline:4px;min-height:44px}body[data-view="register"] .toolbar>.tabs:nth-child(2) button{font-size:10px;min-height:36px;padding-block:7px}body[data-view="register"] #undo{min-height:44px;font-size:10px;min-width:73px;padding:7px 9px}.info-notice{font-size:9px;padding:7px 10px;margin:0;line-height:1.8;border-radius:9px}.skill-picker{padding:11px;margin:10px 0 12px;border-radius:11px}.skill-picker .row-between{grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.skill-picker label{font-size:9px;gap:4px}.skill-picker select{font-size:16px;height:44px;min-height:44px;padding:7px 8px}.skill-picker .actions{gap:4px}.skill-picker .actions button{width:44px;height:44px;min-height:44px;border-radius:8px}.skill-picker input[type=search]{grid-column:1/-1;font-size:16px;height:44px;min-height:44px;padding:8px 10px}.legend{margin-top:9px;padding-top:8px;font-size:8.5px;gap:4px 9px;line-height:1.8}
 .table-wrap:has(.assessment-roster){display:block;border:1px solid #dfe7dc;overflow:visible;border-radius:12px;background:#fff;box-shadow:none}.assessment-roster{display:table;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.assessment-roster thead{display:table-header-group}.assessment-roster tbody{display:table-row-group}.assessment-roster tr{display:table-row;background:#fff;padding:0;margin:0;border:0;border-radius:0;box-shadow:none}.assessment-roster th,.assessment-roster td{display:table-cell;width:auto;padding:6px 4px;border:0;border-bottom:1px solid #ecf0e8;vertical-align:middle}.assessment-roster th{padding-block:9px;background:#f1f5ee;font-size:10px;color:#3c5f48}.assessment-roster th:first-child,.assessment-roster td.number,.assessment-roster th:last-child,.assessment-roster td.perc{display:none}.assessment-roster th:nth-child(2){width:calc(100% - 184px);border-start-start-radius:11px;padding-right:9px}.assessment-roster th:nth-child(3){width:184px;border-end-start-radius:11px;padding-inline:4px}.assessment-roster td:nth-child(2){padding-right:9px}.assessment-roster tr:last-child td{border-bottom:0}.assessment-roster .person{min-height:44px;gap:0}.assessment-roster .person .avatar{display:none}.assessment-roster .person .textbtn{font-size:11px;line-height:1.85;min-height:44px;overflow-wrap:anywhere;font-weight:500}.assessment-roster .rate-buttons{margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;justify-content:stretch}.assessment-roster .rate{min-width:44px;width:44px;min-height:44px;height:44px;padding:0;display:flex;justify-content:center;align-items:center;border:0;border-radius:8px;margin:auto;background:none!important;box-shadow:none}.assessment-roster .rate-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.assessment-roster .rate-dot{width:15px;height:15px}.assessment-heading-desktop{display:none}.assessment-heading-mobile{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));font-size:8px;line-height:1.8;text-align:center;font-weight:600}.assessment-roster .rate:focus-visible{outline-offset:-3px}.assessment-roster tbody tr:focus-within{background:#fcfcf6}.assessment-savebar{bottom:calc(84px + env(safe-area-inset-bottom));margin-top:12px;padding:10px 11px;gap:9px;border-radius:11px}.assessment-save-status{gap:7px}.assessment-save-status>svg{width:19px;height:19px}.assessment-save-label{font-size:10px}.assessment-save-note{font-size:8px}.assessment-savebar .primary{font-size:10px;gap:7px;padding:8px 10px;white-space:nowrap}.assessment-savebar .primary svg{width:15px;height:15px}.floating-skillbar strong{font-size:15px}.floating-skillbar small{font-size:9px}
 .support-card{padding:17px;border-radius:13px}.support-action-panel{font-size:11px!important;padding:11px 12px}.support-card>.hint{font-size:11px}.support-target-heading{margin-top:13px!important}.profile-overview{padding:14px;margin-bottom:18px}.profile-overview h3{font-size:13px}.profile-subject-progress{grid-template-columns:30px minmax(0,1fr) auto;gap:9px}.profile-subject-progress strong{font-size:11px}.profile-subject-progress b{font-size:16px;min-width:53px}.profile-subject-icon{width:29px;height:33px}.profile-support-overview{padding:14px}.profile-support-overview h3{font-size:13px}.profile-support-overview p{font-size:11px}.profile-header h2{font-size:17px}.profile-header{margin-bottom:17px}.profile-header~.tabs button{font-size:10px}.identity-more-menu a{font-size:13px}.identity-more-menu a small{font-size:10px}
}
@media(max-width:360px){.page-heading{gap:7px}.page-heading h1{font-size:20px}.mobile-logo{width:40px;height:49px}.app-header{padding-inline:12px}.header-actions{min-width:88px}.header-actions .icon-button{width:40px;min-width:40px;height:44px;min-height:44px}.header-buttons{gap:4px}#content{margin-inline:11px}.context-bar{margin-inline:11px}.hero h2{font-size:14px}.hero .primary{min-width:85px;font-size:9px}.hero{padding-inline:12px;gap:8px}.assessment-roster th:nth-child(3){width:180px}.assessment-roster th:nth-child(2){width:calc(100% - 180px);padding-right:7px}.assessment-roster td:nth-child(2){padding-right:7px}.assessment-roster .person .textbtn{font-size:10px}.assessment-heading-mobile{font-size:7.5px}.assessment-savebar .primary{font-size:9px;padding-inline:8px}.assessment-save-label{font-size:9px}.assessment-save-note{font-size:7.5px}.assessment-save-status>svg{display:none}}
@media print{body.app-page{background:#fff}aside::after,.nav-more,.assessment-savebar{display:none!important}.assessment-heading-desktop{display:inline}.assessment-heading-mobile{display:none}.identity-progress-ring{background:none;width:auto;height:auto}.identity-progress-ring::before{display:none}.identity-progress-ring .percent{font-size:22px}.subject-grid .card>.row-between:nth-of-type(2){display:flex}.assessment-roster .rate-caption{position:static;clip-path:none;width:auto;height:auto;overflow:visible}.rate-dot{display:none}.profile-overview,.profile-support-overview{break-inside:avoid}}
/* Second visual pass: leave more of the screen for students, not controls. */
body[data-view="register"] .info-notice{display:none}
body[data-view="register"] .legend::after{content:'الغياب وغير المقيّم مستبعدان من نسبة الإتقان';color:#627660}
body[data-view="register"] .toolbar>[class="tabs"]:nth-child(2) svg{width:17px;height:17px}
@media(min-width:761px){
 body[data-view="register"] .app-header{min-height:52px;margin-bottom:12px}
 body[data-view="register"] .context-bar{padding:9px 13px;margin-bottom:12px}
 body[data-view="register"] .context-bar label{font-size:9px;gap:3px}
 body[data-view="register"] .toolbar{margin-bottom:8px}
 body[data-view="register"] .skill-picker{padding:11px 14px;margin:8px 0 12px}
 body[data-view="register"] .skill-picker label{font-size:9px;gap:3px}
 body[data-view="register"] .legend{padding-top:7px;margin-top:8px;font-size:9px;gap:4px 12px}
 body[data-view="register"] .shell{padding-top:15px}
 body[data-view="register"] .toolbar>[class="tabs"]:nth-child(2) button{display:flex;align-items:center;gap:6px}
}
@media(max-width:760px){
 body[data-view="register"] .toolbar{grid-template-columns:minmax(0,1fr) 44px 44px;gap:6px}
 body[data-view="register"] .toolbar>.tabs:first-child{grid-column:1;gap:0;padding:3px;min-height:46px}
 body[data-view="register"] .toolbar>.tabs:first-child button{font-size:10px;min-height:44px;padding:6px 3px}
 body[data-view="register"] .toolbar>.tabs:nth-child(2){grid-column:2;width:44px;border:0;background:none;padding:0;display:block}
 body[data-view="register"] .toolbar>.tabs:nth-child(2) button.active{display:none}
 body[data-view="register"] .toolbar>.tabs:nth-child(2) button:not(.active){width:44px;height:48px;min-height:48px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e0e7d9;border-radius:10px;padding:0}
 body[data-view="register"] .toolbar>.tabs:nth-child(2) button span,body[data-view="register"] #undo span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 body[data-view="register"] .toolbar #undo{grid-column:3;width:44px;min-width:44px;height:48px;min-height:48px;padding:0;display:grid;place-items:center}
 body[data-view="register"] .toolbar #undo svg{width:18px;height:18px}
 body[data-view="register"] .legend::after{display:block;flex-basis:100%;font-size:8px}
 .assessment-roster .assessment-heading-mobile{font-size:8.5px}
 .assessment-roster .person .textbtn{font-size:12px}
 .header-actions .icon-button{min-height:44px;height:44px;min-width:44px;width:44px}
}
@media(max-width:360px){body[data-view="register"] .toolbar>.tabs:first-child button{font-size:9px}.assessment-roster .person .textbtn{font-size:10px}.assessment-roster .assessment-heading-mobile{font-size:8px}}
.subject-grid .card>.progress>i{background:var(--subject)!important}
.subject-grid .subject-icon{color:var(--subject)!important;background:color-mix(in srgb,var(--subject) 8%,white)!important}
.assessment-roster tr{scroll-margin-top:90px;scroll-margin-bottom:165px}
@media(max-width:760px){.assessment-roster .assessment-heading-mobile{font-size:9px;line-height:1.65}.assessment-roster th{padding-block:10px}}
@media(min-width:761px) and (max-width:899px){.skill-picker .row-between{grid-template-columns:minmax(150px,1fr) auto 155px}.skill-picker input[type=search]{grid-column:auto}}
.login-brand{background:#064b39 url('identity-ribbon-v6.svg') left bottom/100% auto no-repeat}.login-brand::before,.login-brand::after{display:none}
@media(max-width:760px){
 body[data-view="support"] .toolbar>.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;width:100%;gap:4px;scrollbar-width:thin;overscroll-behavior-inline:contain}
 body[data-view="support"] .toolbar>.tabs button{flex-shrink:0;white-space:nowrap;min-height:44px}
 body[data-view="reteach"] #content>.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
 body[data-view="reteach"] #content>.stats .stat{padding:10px 7px;min-height:87px;text-align:center}
 body[data-view="reteach"] #content>.stats .label{font-size:9px;padding:0;line-height:1.8;min-height:31px}
 body[data-view="reteach"] #content>.stats strong{font-size:23px;margin-top:3px}
 body[data-view="reteach"] #content>.stats small{display:none}
}

/* A single student workspace: full screen on phones, split layout on tablets. */
dialog.student-profile-modal,dialog.parent-report-modal{width:min(1140px,calc(100vw - 48px));max-width:none;max-height:92dvh;padding:0;border:1px solid #dbe5d8;border-top:3px solid var(--gold);border-radius:19px;background:#fff;overflow:auto}
dialog.student-profile-modal>.close,dialog.parent-report-modal>.close{display:none}
.student-workspace{background:#fff;min-width:0}.student-workspace-topbar{display:flex;align-items:center;gap:12px;padding:12px 24px;border-bottom:1px solid #e5eadd;background:#fff;min-height:65px}.student-workspace-topbar>.student-back{display:flex;align-items:center;gap:8px;color:#174e3c;font-size:13px;font-weight:700}.student-workspace-topbar>span{margin-right:auto;font-size:11px;color:#9c762b}.student-workspace-topbar>img{width:31px;height:40px;object-fit:contain}.student-back svg{width:18px;height:18px}
.student-workspace-layout{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start}.student-summary-pane{padding:23px 22px;background:#fafcf7;border-left:1px solid #e3eadd;min-width:0}.student-identity.profile-header{padding:0;margin:0 0 21px;align-items:flex-start;gap:12px}.student-identity .avatar{width:48px;height:52px;min-width:48px;font-size:21px;border-radius:14px;background:#edf4e9}.student-identity.profile-header h2{padding:0;font-size:19px;line-height:1.85;margin:0}.student-identity.profile-header p{font-size:11px;margin:2px 0}.student-identity.profile-header small{display:block;font-size:9px;color:#6c7f68;margin:4px 0 9px}.student-identity .eyebrow{font-size:9px}.student-identity .badge{font-size:9px;white-space:normal;display:inline-block;line-height:1.8}.student-summary-note{font-size:9px;line-height:1.95;color:#6b7d65;margin:15px 1px 0}
.student-overall{padding:16px 17px;border:1px solid #e5dbbd;border-radius:13px;background:linear-gradient(120deg,#fffdf7,#faf6e9);margin-bottom:17px}.overall-score{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.overall-score>span{font-size:11px;font-weight:600;color:#5b674c;width:100%}.overall-score>strong{font-size:29px;line-height:1.7;color:#064b39;font-weight:800;direction:rtl}.overall-score>b{font-size:10px;font-weight:600;color:#8d6724;background:#f3e9cd;padding:4px 8px;border-radius:6px}.overall-detail>p{font-size:10px;margin:7px 0 12px;color:#4c6450;line-height:1.9}.overall-coverage{display:flex;justify-content:space-between;font-size:9px;color:#64725b;gap:12px}.overall-coverage>strong{font-weight:600}.student-overall .progress{height:5px;margin:6px 0 7px;background:#e6e8dc}.student-overall .progress i{background:#bd9844}.overall-detail>small{display:block;font-size:8px;color:#6c7863;line-height:1.9}
.student-subject-cards{display:grid;gap:10px}.student-subject-card{--subject:#087a58;border:1px solid #e2e9dd;background:#fff;border-radius:11px;padding:13px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 7px;align-items:center;min-width:0}.student-subject-card[data-subject="r"]{--subject:#327bb0}.student-subject-card[data-subject="w"]{--subject:#8865ae}.subject-card-title{display:flex;align-items:center;gap:6px;min-width:0}.subject-card-title svg{height:17px;width:17px;color:var(--subject)}.student-subject-card h3{font-size:12px;line-height:1.8;margin:0;color:#194c38}.student-ring{--subject:#087a58;width:53px;height:53px;display:grid;place-items:center;position:relative;isolation:isolate;flex-shrink:0;background:conic-gradient(var(--subject) var(--value),#ebefea 0);border-radius:50%;grid-column:2;grid-row:1/4;direction:ltr}.student-subject-card .student-ring{--subject:inherit}.student-ring::before{content:'';position:absolute;inset:4px;border-radius:50%;background:white;z-index:-1}.student-ring strong{font-size:13px;line-height:1.5;direction:rtl;color:#244b37}.student-subject-card>p{margin:2px 0 0;font-size:9px;line-height:1.9;color:#5d735d;grid-column:1}.student-subject-card>small{font-size:8px;line-height:1.8;color:#78866e;grid-column:1}
.student-detail-pane{min-width:0;padding:20px 24px 24px}.student-section-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:4px;background:#f0f2eb;border:1px solid #e0e7d9;border-radius:11px;margin-bottom:17px}.student-section-tabs>button{min-width:0;border:0;background:transparent;color:#627362;border-radius:8px;min-height:44px;padding:8px 4px;font-size:12px;font-weight:500}.student-section-tabs>button.active{color:#064b39;background:#fff;box-shadow:0 1px 5px #23432b12;font-weight:700}.student-focus-panel{padding:17px;border:1px solid #e9dfc4;border-radius:12px;background:#fffcf4;margin-bottom:20px}.student-panel-title{display:flex;align-items:center;gap:8px;margin-bottom:12px}.student-panel-title svg{color:#b08732;width:21px;height:21px}.student-panel-title h3{font-size:15px}.student-focus-list{display:grid;gap:7px}.student-focus-row{display:flex;align-items:center;gap:9px;border:1px solid #ece9da;border-radius:8px;background:#fff;padding:8px 10px;min-height:51px;text-align:right;color:#244d38;width:100%}.student-focus-row .focus-number{height:25px;min-width:25px;display:grid;place-items:center;border-radius:50%;background:#fbefcc;color:#936c23;font-size:11px}.student-focus-row>span:nth-child(2){flex:1;min-width:0}.student-focus-row strong{font-size:12px;font-weight:600;display:block}.student-focus-row small{font-size:9px;color:#77836a;display:block}.student-focus-row>svg{width:15px;height:15px;color:#a1aa96}.student-focus-start.primary{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:12px;background:#076048;border-color:#076048;color:#fff;min-height:45px;font-size:12px}.student-focus-start.primary:hover{background:#087958;color:white}.student-focus-start svg{width:18px;height:18px}.student-empty-positive{font-size:12px;line-height:2;color:#4b7051}
.profile-material-tabs.tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-bottom:17px}.profile-material-tabs.tabs button{font-size:11px;padding:8px 5px}.student-detail-heading{display:flex;align-items:center;gap:10px;justify-content:space-between;margin:0 0 12px}.student-detail-heading h3{font-size:13px}.student-detail-heading>span{font-size:10px;color:#718065}.student-skill-table-wrap{border:1px solid #e1e8da;border-radius:11px;overflow:hidden}.student-skill-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.student-skill-table th{font-size:10px;padding:11px;background:#f0f5ec}.student-skill-table th:first-child{width:52%;text-align:right}.student-skill-table th:nth-child(2){width:34%;text-align:center}.student-skill-table th:last-child{width:14%;text-align:center}.student-skill-table td{padding:8px 11px;border-bottom:1px solid #edf0e7;line-height:1.8;overflow-wrap:anywhere}.student-skill-table tr:last-child td{border:0}.student-skill-table td:nth-child(2),.student-skill-table td:last-child{text-align:center}.student-skill-state{display:inline-block;white-space:nowrap;font-size:9px;line-height:1.7;border-radius:7px;padding:4px 7px;color:#6d7e68;background:#f0f3ed}.student-skill-state.good{background:#e9f5e9;color:#0c7047}.student-skill-state.training{background:#fcf0d4;color:#91661e}.student-assess-one{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:8px;background:#fafcf7;color:#6a856c}.student-assess-one svg{width:16px;height:16px}.student-status-caption{display:flex;flex-wrap:wrap;gap:4px 13px;font-size:9px;color:#71816a;padding:12px 2px}.student-teacher-note{margin-top:18px;border-top:1px solid #e5eadd;padding-top:15px}.student-teacher-note h3{font-size:13px}.student-teacher-note p{font-size:12px;line-height:2;white-space:pre-wrap;margin-top:7px;overflow-wrap:anywhere}
.student-workspace-actions.actions{position:sticky;bottom:0;z-index:5;display:flex;justify-content:flex-end;padding:13px 24px;background:#ffffffef;backdrop-filter:blur(10px);border-top:1px solid #e4e8db;gap:10px;margin:0}.student-workspace-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;font-size:12px}.student-workspace-actions svg{width:18px;height:18px}.student-plan-card,.student-history-card{padding:19px;border:1px solid #e1e8da;border-radius:12px}.student-plan-card h3,.student-history-card h3{font-size:15px}.student-plan-card>p{font-size:13px;line-height:2;margin-top:13px;white-space:pre-wrap;overflow-wrap:anywhere}.student-plan-card h4{font-size:12px;margin:18px 0 7px}.student-plan-card ul{font-size:12px;line-height:2;padding-right:19px;color:#516f51}.student-plan-meta{padding:12px;margin:17px 0 0;display:flex;justify-content:space-between;gap:10px;font-size:11px;background:#f5f8ef;border-radius:9px}.student-plan-meta strong{font-weight:600}.student-plan-result{padding-top:4px;margin-bottom:19px}.student-plan-result p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.student-history-empty{font-size:12px;line-height:2;color:#758569;background:#f7f9f2;padding:19px;margin-top:15px;border-radius:10px}.student-timeline{padding:0;margin:18px 0 0;list-style:none}.student-timeline li{display:flex;gap:12px;padding:0 0 19px}.timeline-marker{min-width:9px;height:9px;margin-top:8px;border-radius:50%;background:#c1a355;box-shadow:0 0 0 4px #fbf6e6}.student-timeline strong{font-size:12px}.student-timeline p{font-size:11px;color:#59775c}.student-timeline small{font-size:9px;color:#87917c}.student-comparison-list>div{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #e7edde;font-size:11px}.student-comparison-list p{font-size:10px;margin-top:12px}
.student-focus-session{padding:12px 14px;background:#fffcf3;border:1px solid #e8d8b2;border-radius:11px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:13px}.student-focus-session>.textbtn{display:flex;align-items:center;gap:7px;font-size:12px}.student-focus-session>span{font-size:10px;color:#86744b;margin-right:auto}.student-focus-session>div{display:flex;gap:6px;align-items:center}.student-focus-session svg{width:17px;height:17px}.student-focus-session .outline{width:44px;padding:0}.student-focus-session #end-student-focus{font-size:10px}.assessment-roster tr[hidden]{display:none!important}
/* Parent report: a real printable document, with assessment coverage beside mastery. */
dialog.parent-report-modal{width:min(1000px,calc(100vw - 48px));background:#f2f4ed}.parent-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 23px;border-bottom:1px solid #dce4d5;background:#fff}.parent-report-toolbar .textbtn{font-size:12px;display:flex;align-items:center;gap:7px}.parent-report-toolbar>span{font-size:11px;color:#78846f}.parent-report-toolbar svg{width:17px;height:17px}.parent-report-toolbar [data-report-close]{font-size:24px;width:44px;justify-content:center}.parent-report-paper{position:relative;isolation:isolate;max-width:850px;margin:22px auto;background:#fff;padding:30px 34px 21px;box-shadow:0 6px 30px #23412609;overflow:hidden}.parent-report-paper::before{content:'';position:absolute;width:150px;height:120px;top:-37px;right:-68px;transform:rotate(28deg);border-radius:50%;background:#07513e;border:3px solid #c5a04a;z-index:-1}.parent-report-paper::after{content:'';position:absolute;width:95px;height:85px;bottom:-58px;left:-27px;border-radius:50%;border:3px solid #c5a04a;background:#07513e;z-index:-1}.parent-report-brand.report-title{display:flex;justify-content:center;align-items:center;text-align:center;gap:17px;padding:0 0 19px;border-bottom:1.5px solid #c7a14d;margin-bottom:14px}.parent-report-brand.report-title img{height:77px;width:60px;border:0;padding:0;background:none;border-radius:0;object-fit:contain}.parent-report-brand.report-title h2{font-size:27px;font-weight:800;margin:2px 0 3px;padding:0;color:#064b39}.parent-report-brand .eyebrow{font-size:11px;color:#ad8130}.parent-report-brand .report-school{font-size:12px;margin:2px 0;color:#315a3e}.parent-report-brand p{font-size:11px!important;margin-top:5px}.parent-report-info{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;border:1px solid #e2e7db;border-radius:10px;padding:12px 8px;margin-bottom:14px;background:#fdfefb}.parent-report-info>div{min-width:0;padding:0 10px;border-left:1px solid #e5eadf}.parent-report-info>div:last-child{border:0}.parent-report-info span{display:block;font-size:9px;color:#6c7d61;margin-bottom:4px}.parent-report-info strong{font-size:11px;line-height:1.9;display:block;font-weight:600;overflow-wrap:anywhere}
.student-overall.report-overall{display:grid;grid-template-columns:.85fr 1.2fr;align-items:center;gap:20px;padding:14px 19px;margin-bottom:16px}.report-overall .overall-score{gap:5px 10px}.report-overall .overall-score>span{font-size:12px}.report-overall .overall-score>strong{font-size:34px}.report-overall .overall-detail>p{font-size:12px;margin:0 0 8px}.report-overall .overall-detail>small{font-size:9px}.report-overall .overall-coverage{font-size:10px}.parent-report-section-title{font-size:16px;margin-bottom:10px;color:#1c543c}.report-subject-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:15px}.report-subject-cards .student-subject-card{padding:13px;display:grid;grid-template-columns:1fr auto;gap:6px;--subject:#087a58}.report-subject-cards .student-subject-card[data-subject="r"],.report-subject-cards .student-subject-card[data-subject="w"]{--subject:#b58b33}.report-subject-cards .subject-card-title{grid-column:1/-1;justify-content:center;margin-bottom:3px}.report-subject-cards .subject-card-title h3{font-size:13px}.report-subject-cards .student-ring{grid-row:2;grid-column:1/-1;justify-self:center;width:60px;height:60px;margin-bottom:3px}.report-subject-cards .student-ring strong{font-size:17px}.report-subject-cards .student-subject-card>p,.report-subject-cards .student-subject-card>small{grid-column:1/-1;text-align:center;margin:0;font-size:10px}.report-subject-cards .student-subject-card>small{font-size:9px}.parent-report-learning{display:grid;grid-template-columns:1fr 1fr;gap:12px}.parent-report-learning>section{border:1px solid #e2e8dc;border-radius:10px;overflow:hidden;background:#fff}.parent-report-learning h3{background:#edf6ed;color:#116241;font-size:13px;padding:9px 13px}.parent-report-learning .parent-report-needs{border-color:#eadfc2}.parent-report-learning .parent-report-needs h3{background:#fcf2da;color:#8c6520}.parent-report-learning ol{padding:9px 13px;margin:0;list-style:none;display:grid;gap:6px}.parent-report-learning li{font-size:11px;display:flex;gap:8px;align-items:baseline;padding:5px 0;border-bottom:1px solid #eef0e8}.parent-report-learning li:last-child{border:0}.parent-report-learning li>span{color:#78836b;font-size:8px;min-width:60px}.parent-report-learning li>strong{font-weight:500;line-height:1.9}.report-empty{font-size:11px!important;color:#728266;padding:15px;line-height:2!important}.parent-report-examples-note{font-size:8px!important;color:#7d8873;line-height:1.8!important;margin:7px 0 12px}
.parent-report-home{padding:13px 15px;background:#fdfbf4;border:1px solid #e9e0c9;border-radius:10px;margin-bottom:13px}.parent-report-home h3{display:flex;align-items:center;gap:7px;font-size:14px;margin-bottom:8px}.parent-report-home h3 svg{width:18px;height:18px;color:#a17a2f}.parent-report-home ol{padding:0;margin:0;list-style:none;display:grid;gap:5px}.parent-report-home li{display:grid;grid-template-columns:95px 1fr;gap:9px;font-size:10px;padding:7px 9px;border:1px solid #efebe0;background:#fff;border-radius:7px;line-height:1.9}.parent-report-home li>strong{font-size:10px}.parent-report-home>small{font-size:8px;display:block;color:#8a8e7b;margin-top:6px}.parent-report-home>p{font-size:11px!important;line-height:1.9!important}.parent-report-followup{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:12px}.parent-report-followup>section{border:1px solid #e0e7d9;border-radius:9px;overflow:hidden}.parent-report-followup h3{font-size:11px;background:#f0f6ed;padding:8px 12px;display:flex;align-items:center;gap:6px}.parent-report-followup h3 svg{width:16px;height:16px}.parent-report-followup>section:nth-child(2) h3{background:#faf4e4}.parent-report-followup p{font-size:10px!important;line-height:1.9!important;padding:8px 12px;overflow-wrap:anywhere;margin:0}.parent-report-followup small{font-size:8px;display:block;padding:0 12px 8px;color:#7b886c}.parent-report-method{font-size:9px;line-height:1.9;color:#697c5f;padding:9px 12px;background:#f5f7f1;border-radius:8px;border:1px solid #e6ebdf}.parent-report-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;font-size:11px;color:#a47b2b}.parent-report-footer span{font-size:8px;color:#869077}.report .parent-report-actions.actions{position:sticky;bottom:0;justify-content:center;background:#ffffffed;backdrop-filter:blur(10px);border-top:1px solid #dce4d4;margin:0;padding:13px 20px;gap:9px}.parent-report-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px!important;min-height:46px}.parent-report-actions svg{width:18px;height:18px}.parent-report-phone-note{font-size:10px!important;text-align:center;padding:0 12px 12px;color:#7b886e}
@media(min-width:761px) and (max-width:1000px){.student-workspace-layout{grid-template-columns:245px minmax(0,1fr)}.student-summary-pane{padding:19px 16px}.student-detail-pane{padding:18px 17px}.student-identity.profile-header h2{font-size:16px}.student-identity .avatar{width:39px;min-width:39px;height:45px;font-size:18px}.student-identity.profile-header{gap:9px}.student-skill-table th:first-child{width:45%}.student-skill-table th:nth-child(2){width:38%}.student-skill-table th:last-child{width:17%}.student-skill-table td{padding:7px;font-size:11px}.student-skill-state{font-size:8.5px;padding:4px 6px}.student-focus-row strong{font-size:11px}.student-section-tabs>button{font-size:11px}}
@media(max-width:760px){
 dialog.student-profile-modal,dialog.parent-report-modal{position:fixed;inset:0;width:100vw;height:100dvh;max-height:100dvh;margin:0;max-width:100vw;border:0;border-radius:0;overflow-x:hidden;overflow-y:auto}.student-workspace-topbar{background:#064b39;color:#fff;border:0;padding:10px 15px;min-height:56px}.student-workspace-topbar>.student-back{color:white;font-size:12px}.student-workspace-topbar>span{font-size:8px;color:#ddc580}.student-workspace-topbar>img{width:29px;height:36px;background:white;padding:2px;border-radius:6px}.student-workspace-layout{display:block}.student-summary-pane{padding:0 15px 15px;border:0;background:linear-gradient(#064b39 0 94px,#fbfcf7 94px)}.student-identity.profile-header{margin:0 -15px 14px;padding:10px 17px 19px;background:#064b39;color:white;gap:12px;align-items:center;min-height:104px}.student-identity.profile-header h2{font-size:20px;color:#fff;line-height:1.8}.student-identity .eyebrow{display:none}.student-identity.profile-header p{font-size:10px;color:#deead9;margin:0}.student-identity.profile-header small{font-size:9px;color:#c9dcbf;margin:2px 0 7px}.student-identity .badge{font-size:8px;padding:3px 7px}.student-identity .avatar{width:52px;height:55px;min-width:52px;font-size:22px;background:#fff8e9;border-color:#e3d5a6;color:#1d5d42}.student-overall{padding:12px 13px;display:grid;grid-template-columns:1fr 1.15fr;gap:13px;align-items:center;margin-bottom:12px}.overall-score{gap:4px 7px}.overall-score>span{font-size:10px}.overall-score>strong{font-size:26px}.overall-score>b{font-size:8px;padding:3px 6px}.overall-detail>p{font-size:9px;line-height:1.85;margin:0 0 7px}.overall-coverage{font-size:8px}.overall-detail>small{font-size:7.5px;line-height:1.85}.student-overall .progress{height:4px;margin:5px 0}.student-subject-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.student-subject-card{display:flex;flex-direction:column;padding:10px 4px;gap:5px;text-align:center;border-radius:10px}.subject-card-title{gap:4px;justify-content:center}.subject-card-title svg{display:none}.student-subject-card h3{font-size:10px;line-height:1.8}.student-ring{width:48px;height:48px}.student-ring strong{font-size:12px}.student-subject-card>p{font-size:8px;line-height:1.8;margin:0}.student-subject-card>small{font-size:7.5px;line-height:1.8}.student-summary-note{font-size:8px;margin-top:9px;line-height:1.9}.student-detail-pane{padding:14px 15px 18px}.student-section-tabs{margin-bottom:13px;padding:3px}.student-section-tabs>button{min-height:44px;font-size:10px}.student-focus-panel{padding:14px;margin-bottom:16px;border-radius:11px}.student-panel-title{margin-bottom:10px}.student-panel-title h3{font-size:14px}.student-panel-title svg{width:19px;height:19px}.student-focus-row{padding:7px 9px;gap:8px;min-height:48px}.student-focus-row strong{font-size:11px}.student-focus-row small{font-size:8px}.student-focus-row .focus-number{min-width:23px;height:23px;font-size:10px}.student-focus-start.primary{font-size:11px;min-height:46px}.profile-material-tabs.tabs{margin-bottom:13px;padding:3px}.profile-material-tabs.tabs button{font-size:10px;min-height:44px;padding:7px 3px}.student-detail-heading{gap:9px;margin-bottom:10px}.student-detail-heading h3{font-size:12px}.student-detail-heading>span{font-size:9px;white-space:nowrap}.student-skill-table th{font-size:9px;padding:10px 8px}.student-skill-table th:first-child{width:49%}.student-skill-table th:nth-child(2){width:34%}.student-skill-table th:last-child{width:17%}.student-skill-table td{font-size:11px;padding:7px 8px}.student-skill-state{font-size:8px;padding:4px 6px}.student-assess-one{width:44px;height:44px;min-height:44px}.student-status-caption{font-size:8px;gap:4px 8px;padding-block:10px}.student-workspace-actions.actions{padding:10px 15px calc(10px + env(safe-area-inset-bottom));gap:8px;justify-content:stretch}.student-workspace-actions button{min-height:47px;font-size:11px;flex:1;padding:9px 7px}.student-workspace-actions button.primary{flex:1.3}.student-workspace-actions svg{height:16px;width:16px}.student-plan-card,.student-history-card{padding:15px}.student-plan-card h3,.student-history-card h3{font-size:14px}.student-plan-card>p{font-size:12px}.student-plan-meta{font-size:10px;padding:10px}.student-plan-card .outline{font-size:11px;min-height:46px}.student-history-empty{font-size:11px}.student-teacher-note h3{font-size:12px}.student-teacher-note p{font-size:11px}.student-focus-session{padding:10px 12px;gap:6px}.student-focus-session>.textbtn{font-size:10px}.student-focus-session>span{font-size:9px}.student-focus-session>div{width:100%}.student-focus-session #end-student-focus{margin-right:auto}
 .parent-report-toolbar{padding:8px 13px;background:#064b39;color:#fff}.parent-report-toolbar .textbtn{color:#fff;font-size:11px}.parent-report-toolbar>span{font-size:9px;color:#d7e7cf}.parent-report-paper{padding:23px 17px 19px;margin:0;max-width:none;box-shadow:none}.parent-report-brand.report-title{gap:11px;padding-bottom:15px;margin-bottom:12px}.parent-report-brand.report-title img{width:40px;height:59px}.parent-report-brand.report-title h2{font-size:21px}.parent-report-brand .eyebrow{font-size:9px}.parent-report-brand .report-school{font-size:9px}.parent-report-brand p{font-size:9px!important;margin-top:3px}.parent-report-info{grid-template-columns:1.2fr 1fr;gap:11px 0;padding:11px 4px;margin-bottom:12px}.parent-report-info>div:nth-child(2){border:0}.parent-report-info span{font-size:8px;margin-bottom:2px}.parent-report-info strong{font-size:10px}.student-overall.report-overall{padding:12px;grid-template-columns:1fr 1.1fr;gap:11px;margin-bottom:14px}.report-overall .overall-score>span{font-size:10px}.report-overall .overall-score>strong{font-size:27px}.report-overall .overall-detail>p{font-size:9px}.report-overall .overall-detail>small{font-size:7.5px}.report-overall .overall-coverage{font-size:8px}.parent-report-section-title{font-size:14px}.report-subject-cards{gap:7px;margin-bottom:13px}.report-subject-cards .student-subject-card{padding:10px 4px;display:flex;gap:5px}.report-subject-cards .subject-card-title h3{font-size:10px}.report-subject-cards .student-ring{width:48px;height:48px;margin:0}.report-subject-cards .student-ring strong{font-size:12px}.report-subject-cards .student-subject-card>p{font-size:8px;line-height:1.85}.report-subject-cards .student-subject-card>small{font-size:7.5px}.parent-report-learning{grid-template-columns:1fr;gap:10px}.parent-report-learning h3{font-size:12px;padding:9px 11px}.parent-report-learning ol{padding:7px 11px;gap:3px}.parent-report-learning li{font-size:11px;gap:8px;padding:5px 0}.parent-report-learning li>span{font-size:8px;min-width:59px}.parent-report-examples-note{font-size:7.5px!important;margin:6px 0 11px}.parent-report-home{padding:12px}.parent-report-home h3{font-size:13px}.parent-report-home li{grid-template-columns:1fr;padding:8px 9px;gap:3px;font-size:10px}.parent-report-home li>strong{font-size:9px}.parent-report-home>small{font-size:7.5px}.parent-report-followup{grid-template-columns:1fr;gap:10px}.parent-report-followup h3{font-size:11px}.parent-report-followup p{font-size:10px!important}.parent-report-method{font-size:8px;padding:9px 11px}.parent-report-footer{font-size:9px;padding-top:12px}.parent-report-footer span{font-size:7px}.report .parent-report-actions.actions{padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:7px;display:grid;grid-template-columns:1fr 1fr}.parent-report-actions button{font-size:10px!important;min-height:46px;padding:8px 7px}.parent-report-actions .primary{grid-column:1/-1}.parent-report-actions svg{height:16px;width:16px}
}
@media(max-width:360px){.student-identity.profile-header h2{font-size:17px}.student-workspace-topbar>span{font-size:7px}.student-summary-pane{padding-inline:12px}.student-identity.profile-header{margin-inline:-12px;padding-inline:14px}.student-overall{padding:11px 10px;gap:9px}.overall-score>strong{font-size:24px}.overall-score>b{font-size:7.5px}.overall-detail>p{font-size:8px}.overall-detail>small{font-size:7px}.student-subject-card h3{font-size:9px}.student-subject-card>p{font-size:7px}.student-subject-card>small{font-size:7px}.student-detail-pane{padding-inline:12px}.student-skill-table td{font-size:10px;padding-inline:6px}.student-skill-state{font-size:7.5px;padding-inline:4px}.student-skill-table th:first-child{width:45%}.student-skill-table th:nth-child(2){width:36%}.student-skill-table th:last-child{width:19%}.parent-report-paper{padding-inline:13px}.parent-report-brand.report-title h2{font-size:18px}.parent-report-brand .report-school{font-size:8px}.report-subject-cards .subject-card-title h3{font-size:9px}.report-subject-cards .student-subject-card>p{font-size:7px}.report-subject-cards .student-subject-card>small{font-size:7px}}
@media print{
 @page{size:A4;margin:10mm}
 dialog.parent-report-modal{position:absolute!important;inset:0!important;height:auto!important;max-height:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;border-radius:0!important;background:#fff!important}
 .parent-report-toolbar,.parent-report-actions,.parent-report-phone-note{display:none!important}
 .parent-report-paper{max-width:none;margin:0;padding:8px 13px 12px;box-shadow:none;overflow:hidden;color:#173f31;font-size:11px}
 .parent-report-brand.report-title{gap:14px;padding-bottom:10px;margin-bottom:10px;display:flex!important}
 .parent-report-brand.report-title img{width:48px;height:66px}.parent-report-brand.report-title h2{font-size:25px}.parent-report-brand .eyebrow{font-size:10px}.parent-report-brand .report-school{font-size:11px}.parent-report-brand p{font-size:10px!important}
 .parent-report-info{grid-template-columns:1.25fr 1fr 1fr 1fr;padding:9px 5px;margin-bottom:10px;gap:0}.parent-report-info>div,.parent-report-info>div:nth-child(2){border-left:1px solid #e5eadf}.parent-report-info>div:last-child{border:0}.parent-report-info span{font-size:8px}.parent-report-info strong{font-size:10px}
 .student-overall.report-overall{display:grid;grid-template-columns:.85fr 1.2fr;padding:11px 15px;gap:17px;margin-bottom:11px;break-inside:avoid}.report-overall .overall-score>span{font-size:11px}.report-overall .overall-score>strong{font-size:29px}.report-overall .overall-score>b{font-size:9px}.report-overall .overall-detail>p{font-size:10px}.report-overall .overall-detail>small{font-size:8px}.report-overall .overall-coverage{font-size:9px}
 .parent-report-section-title{font-size:14px;margin-bottom:8px}.report-subject-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:10px}.report-subject-cards .student-subject-card{padding:10px;display:grid;gap:4px;break-inside:avoid}.report-subject-cards .subject-card-title{grid-column:1/-1}.report-subject-cards .subject-card-title svg{display:inline-block}.report-subject-cards .subject-card-title h3{font-size:12px}.report-subject-cards .student-ring{width:52px;height:52px;grid-column:1/-1;grid-row:2;margin:0;justify-self:center}.report-subject-cards .student-ring strong{font-size:15px}.report-subject-cards .student-subject-card>p{font-size:9px;grid-column:1/-1}.report-subject-cards .student-subject-card>small{font-size:8px;grid-column:1/-1}
 .parent-report-learning{grid-template-columns:1fr 1fr;gap:10px;break-inside:avoid}.parent-report-learning h3{font-size:12px;padding:7px 11px}.parent-report-learning ol{padding:6px 10px;gap:3px}.parent-report-learning li{font-size:10px;padding:3px 0;gap:7px}.parent-report-learning li>span{font-size:7.5px;min-width:53px}.parent-report-examples-note{font-size:7px!important;margin:5px 0 8px}
 .parent-report-home{padding:10px 12px;margin-bottom:10px;break-inside:avoid}.parent-report-home h3{font-size:12px;margin-bottom:6px}.parent-report-home li{display:grid;grid-template-columns:85px 1fr;padding:5px 7px;gap:8px;font-size:9px}.parent-report-home li>strong{font-size:9px}.parent-report-home>small{font-size:7px;margin-top:5px}
 .parent-report-followup{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:9px;break-inside:avoid}.parent-report-followup h3{font-size:10px;padding:7px 10px}.parent-report-followup p{font-size:9px!important;padding:6px 10px;line-height:1.8!important}.parent-report-followup small{font-size:7px}.parent-report-method{font-size:8px;line-height:1.8;padding:7px 10px}.parent-report-footer{display:flex;font-size:10px;padding-top:10px}.parent-report-footer span{font-size:7px}
 .student-workspace-topbar,.student-workspace-actions,.student-assess-one{display:none!important}.student-workspace-layout{display:block}.student-summary-pane{background:#fff;border:0}.student-workspace .student-section-tabs,.student-workspace .student-focus-start{display:none!important}
}
@media print{
 .parent-report-info strong{font-size:11px}
 .report-subject-cards .student-subject-card>p{font-size:10px}
 .report-subject-cards .student-subject-card>small{font-size:9px}
 .parent-report-learning li{font-size:11px}
 .parent-report-learning li>span{font-size:8px}
 .parent-report-home li,.parent-report-home li>strong{font-size:10px}
 .parent-report-followup p{font-size:10px!important}
 .parent-report-method{font-size:9px}
}
@media print{
 .parent-report-brand.report-title{padding-bottom:8px;margin-bottom:8px}
 .parent-report-info{margin-bottom:8px}
 .report-subject-cards{margin-bottom:8px}
 .parent-report-learning li{line-height:1.7}
 .parent-report-home li{line-height:1.7}
}
@media print{
 .parent-report-paper{padding-top:4px;padding-bottom:7px}
 .student-overall.report-overall{padding-block:9px;margin-bottom:9px}
 .parent-report-info{padding-block:7px}
 .report-subject-cards .student-subject-card{padding-block:8px}
 .parent-report-home{padding-block:8px;margin-bottom:8px}
 .parent-report-followup h3{padding-block:5px}
 .parent-report-learning ol{padding-block:5px}
 .parent-report-footer{padding-top:6px}
}
/* Keep the footer signature readable over the decorative corner. */
.parent-report-footer span{position:relative;background:#fff;padding-inline:4px;border-radius:3px}

/* Full period results, without coverage indicators or omitted skill rows. */
.period-pagination-lab{position:fixed;left:-100000px;top:0;width:190mm;visibility:hidden;pointer-events:none;z-index:-100}
.period-pages{display:block;padding:18px 0;background:#eef1e9}
.period-page{box-sizing:border-box;width:190mm;max-width:100%;padding:6mm 7mm 5mm;background:#fff;color:#173e32;margin:0 auto 18px;border:1px solid #d9e3d3;box-shadow:0 5px 25px #1a422708;position:relative;isolation:isolate;overflow:visible;font-size:12px;line-height:1.8}
.period-page::before,.period-page::after{content:'';position:absolute;pointer-events:none;z-index:-1;width:65px;height:27px;background:#064b39;border-bottom:3px solid #c7a04a;top:0;right:0;border-radius:0 0 0 70px}
.period-page::after{top:auto;right:auto;bottom:0;left:0;transform:rotate(180deg);width:48px;height:18px}
.period-measure{padding:0;background:#fff;width:190mm}
.period-measure .period-page{display:flex;flex-direction:column;height:276mm;width:190mm;max-width:none;margin:0;box-shadow:none}
.period-page-header,.period-page-footer{flex-shrink:0}
.period-page-body{min-width:0;min-height:0;display:flow-root}
.period-measure .period-page-body{flex:1;min-height:0}
.period-brand.report-title{display:flex;justify-content:center;align-items:center;text-align:center;gap:13px;padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid #c6a04a}
.period-brand.report-title img{width:44px;height:61px;object-fit:contain;background:none;border:0;border-radius:0;padding:0}
.period-brand.report-title h2{font-size:22px;color:#064b39;margin:3px 0;padding:0;line-height:1.6;font-weight:800}
.period-brand>div>span{display:block;color:#a1792d;font-size:10px}
.period-brand .report-school{font-size:11px;line-height:1.8;margin:2px 0;color:#526f54}
.period-brand.report-title p{font-size:10px!important;line-height:1.8!important;margin:3px 0 0;color:#52634d}
.period-student-info{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;background:#fcfef9;border:1px solid #dce6d7;border-radius:8px;padding:8px 3px;margin-bottom:12px}
.period-student-info>div{padding:0 8px;border-left:1px solid #e4eadd;min-width:0}.period-student-info>div:last-child{border:0}
.period-student-info span{display:block;font-size:9px;color:#6c7b62;margin-bottom:3px}.period-student-info strong{display:block;font-size:11px;font-weight:600;line-height:1.8;overflow-wrap:anywhere}
.period-block{margin-bottom:12px;display:flow-root}.period-block:last-child{margin-bottom:0}
.period-overall{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:15px 17px;background:#fffcf1;border:1.5px solid #c7a04a;border-radius:10px}
.period-overall>div{display:flex;gap:14px;align-items:center;min-width:0}.period-overall .student-ring{--subject:#bd9339;width:75px;height:75px;grid-row:auto;grid-column:auto}.period-overall .student-ring::before{inset:6px}.period-overall .student-ring strong{font-size:22px;color:#064b39}
.period-overall h3{font-size:18px;color:#064b39;line-height:1.7;margin-bottom:6px}.period-overall p{font-size:12px!important;line-height:1.9!important;margin:0!important}.period-grade{display:block;flex-shrink:0;background:#f5e6bd;color:#825b1b;padding:6px 9px;border-radius:7px;font-size:11px;font-weight:700}
.period-subject-summary>h3{font-size:16px;margin:0 0 9px;color:#164f38}
.period-subject-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.period-subject-cards>article{--subject:#b99036;display:flex;align-items:center;flex-direction:column;gap:8px;padding:12px 7px;border:1px solid #dce5d5;border-radius:9px;background:#fff;min-width:0}.period-subject-cards>article:first-child{--subject:#0c7b56}
.period-subject-cards h4{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;color:#174b36;font-weight:700;margin:0}.period-subject-cards h4 svg{height:19px;width:19px;color:#ac7f28}.period-subject-cards .student-ring{--subject:inherit;width:60px;height:60px;grid-column:auto;grid-row:auto}.period-subject-cards .student-ring strong{font-size:16px}.period-subject-cards p{font-size:11px!important;line-height:1.9!important;text-align:center;margin:0!important}
.period-skill-section{border:1px solid #d5e4d3;border-radius:9px;overflow:hidden;margin-bottom:11px;background:#fff}.period-skill-section>h3{padding:9px 12px;background:#eaf4e8;color:#185b3a;font-size:16px;line-height:1.8;margin:0}.period-skill-section>h3 small{font-size:11px;font-weight:500}.period-skill-section.training{border-color:#e4d3a9}.period-skill-section.training>h3{background:#fcf0d5;color:#875f1b}
.period-skill-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px}
.period-skill-group{border:1px solid #e2e8da;border-radius:7px;overflow:hidden;min-width:0}.period-skill-group h4{background:#f6faf2;color:#285d3f;margin:0;padding:7px 5px;font-size:12px;line-height:1.7;text-align:center}.training .period-skill-group{border-color:#efdfba}.training .period-skill-group h4{background:#fff8e8;color:#86601f}.period-skill-group table{table-layout:fixed;border-collapse:collapse;width:100%}.period-skill-group th{font-size:10px;font-weight:500;background:#fcfdf9;padding:6px 5px;text-align:right;border-bottom:1px solid #e7ecdf;line-height:1.6}.period-skill-group th:first-child{width:25px;text-align:center}.period-skill-group td{padding:7px 6px;font-size:12px;line-height:1.85;border-bottom:1px solid #edf0e6;overflow-wrap:anywhere;text-align:right;vertical-align:top}.period-skill-group td:first-child{font-size:10px;padding-inline:3px;text-align:center;color:#7b876a}.period-skill-group tr:last-child td{border-bottom:0}.period-skill-group td:nth-child(2){font-size:12px}.period-empty-cell{color:#a0aa94;text-align:center!important}.period-neutral{font-size:12px!important;line-height:2!important;padding:13px;margin:0!important;color:#64765d}
.period-result-note{font-size:9px!important;color:#7d8b70;line-height:1.8!important;margin:0!important;text-align:center}
.period-home,.period-teacher-note,.period-plan-note,.period-followup{border:1px solid #d9e5d4;border-radius:9px;overflow:hidden;background:#fff}
.period-home>h3,.period-teacher-note>h3,.period-plan-note>h3,.period-followup>h3{display:flex;align-items:center;gap:7px;background:#eef6ea;color:#1b583b;font-size:15px;padding:9px 12px;margin:0;line-height:1.8}.period-home svg,.period-followup svg{width:19px;height:19px}.period-home table{width:100%;table-layout:fixed;border-collapse:collapse}.period-home th{width:98px;padding:8px 10px;font-size:11px;text-align:right;background:#fafcf7;border-bottom:1px solid #e6ecdf;line-height:1.8}.period-home td{font-size:12px;line-height:1.9;padding:9px 11px;border-bottom:1px solid #e6ecdf;overflow-wrap:anywhere}.period-home thead th:nth-child(2){width:auto}.period-home tbody tr:last-child th,.period-home tbody tr:last-child td{border:0}
.period-teacher-note,.period-plan-note,.period-followup{border-color:#eadbb8}.period-teacher-note>h3,.period-plan-note>h3,.period-followup>h3{background:#fcf3dd;color:#8c6420;font-size:13px;padding:7px 12px}.period-teacher-note p,.period-plan-note p,.period-followup p,.period-home>p{font-size:12px!important;line-height:2!important;padding:11px 13px;margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere}
.period-page-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;color:#ad802a;padding:12px 0 0;margin-top:10px;border-top:1px solid #e8dfc4;background:#fff}.period-page-footer>span{position:relative;z-index:1;background:#fff;padding-inline:3px}.period-page-footer>span:last-child{color:#6c7d60;font-size:9px}
@media screen and (max-width:760px){
 #modal .period-pages{padding:0;background:#f0f3e9}
 #modal .period-page{width:100%;padding:19px 15px 15px;border:0;margin-bottom:14px;border-radius:0}
 #modal .period-brand.report-title{gap:10px;padding-bottom:12px;margin-bottom:11px}#modal .period-brand.report-title img{width:35px;height:52px}#modal .period-brand.report-title h2{font-size:18px}#modal .period-brand .report-school{font-size:9px}#modal .period-brand>div>span{font-size:9px}#modal .period-brand.report-title p{font-size:9px!important}
 #modal .period-student-info{grid-template-columns:1.25fr 1fr;gap:10px 0;padding:10px 3px}#modal .period-student-info>div:nth-child(2){border:0}#modal .period-student-info span{font-size:8px;margin-bottom:2px}#modal .period-student-info strong{font-size:10px}
 #modal .period-overall{padding:12px;gap:9px;display:block}#modal .period-overall>div{gap:11px}#modal .period-overall .student-ring{width:64px;height:64px}#modal .period-overall .student-ring strong{font-size:18px}#modal .period-overall h3{font-size:16px;margin-bottom:4px}#modal .period-overall p{font-size:11px!important}#modal .period-grade{font-size:10px;width:max-content;margin:9px 0 0 auto;padding:4px 8px}
 #modal .period-subject-summary>h3{font-size:14px}#modal .period-subject-cards{gap:7px}#modal .period-subject-cards>article{padding:10px 5px;gap:7px}#modal .period-subject-cards h4{font-size:10px;gap:3px}#modal .period-subject-cards h4 svg{display:none}#modal .period-subject-cards .student-ring{width:49px;height:49px}#modal .period-subject-cards .student-ring strong{font-size:12px}#modal .period-subject-cards p{font-size:9px!important;line-height:1.9!important}
 #modal .period-skill-section>h3{font-size:14px;padding:9px 11px}#modal .period-skill-columns{grid-template-columns:1fr;gap:10px;padding:10px}#modal .period-skill-group h4{font-size:13px;text-align:right;padding:8px 11px}#modal .period-skill-group th{font-size:10px;padding:7px 9px}#modal .period-skill-group td:nth-child(2){font-size:12px;padding:8px 9px}#modal .period-skill-group th:first-child{width:33px}
 #modal .period-home>h3{font-size:14px}#modal .period-home th{width:76px;font-size:10px;padding:8px}#modal .period-home td{font-size:11px;padding:9px;line-height:1.95}#modal .period-teacher-note p,#modal .period-plan-note p,#modal .period-followup p{font-size:11px!important}#modal .period-page-footer{font-size:10px}
}
@media screen and (max-width:360px){#modal .period-page{padding-inline:12px}#modal .period-brand.report-title h2{font-size:16px}#modal .period-subject-cards h4{font-size:9px}#modal .period-subject-cards p{font-size:8px!important}}
@media print{
 @page{size:A4;margin:10mm}
 dialog.parent-report-modal{width:190mm!important;max-width:190mm!important;position:absolute!important;inset:0!important;margin:0!important;padding:0!important;border:0!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff!important}
 .period-report>.parent-report-toolbar,.period-report>.parent-report-actions,.period-report>.parent-report-phone-note{display:none!important}
 .period-pages{padding:0;background:white}
 .period-page{width:190mm;max-width:none;height:276mm;display:flex;flex-direction:column;margin:0;padding:6mm 7mm 5mm;border:0;border-radius:0;box-shadow:none;break-after:page;page-break-after:always;overflow:visible}
 .period-page:last-child{break-after:auto;page-break-after:auto}
 .period-page-body{flex:1;min-height:0}
 .period-page-header,.period-page-footer{flex-shrink:0}
 .period-brand.report-title{display:flex!important}.period-brand.report-title img{width:44px;height:61px}.period-brand.report-title h2{font-size:22px}.period-brand .report-school{font-size:11px}.period-brand.report-title p{font-size:10px!important}
 .period-page .period-block,.period-page .period-skill-section{break-inside:avoid;page-break-inside:avoid}
 .period-page .period-overall p{font-size:12px!important}.period-page .period-subject-cards p{font-size:11px!important}.period-page .period-home td{font-size:12px}.period-page .period-teacher-note p,.period-page .period-plan-note p,.period-page .period-followup p{font-size:12px!important}
 .period-page *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
/* Use the extra report space for readable type, rather than smaller text. */
.period-page .period-skill-group td:nth-child(2){font-size:14px;line-height:1.7;padding-block:6px}
.period-page .period-skill-group h4{font-size:13px}
.period-page .period-home td{font-size:13.5px;line-height:1.75;padding-block:8px}
.period-page .period-teacher-note p,.period-page .period-plan-note p,.period-page .period-followup p{font-size:13.5px!important;line-height:1.8!important;padding-block:10px}
.period-page .period-student-info strong{font-size:12px}
@media screen and (max-width:760px){#modal .period-skill-group td:nth-child(2){font-size:14px;line-height:1.8}#modal .period-home td{font-size:12px}}
.period-report .parent-report-actions .primary{background:linear-gradient(110deg,#ba913b,#dabc70);border-color:#c6a04a;color:#173e2d}

.avatar.photo-avatar{position:relative;isolation:isolate;overflow:hidden}.photo-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 20%;transform:scale(1.6);transform-origin:50% 25%;background:#eef3ef;z-index:1}
.student-workspace-actions .student-summary-button{background:#08684d;border-color:#08684d;color:white}.student-workspace-actions .student-summary-button:hover{background:#087c59;color:white}
dialog.summary-modal{width:min(1420px,calc(100vw - 32px));max-width:none;max-height:94dvh;padding:0;border:1px solid #dce5d7;border-top:3px solid #c6a04a;border-radius:17px;background:#f3f5ef;overflow:auto}dialog.summary-modal>.close{display:none}
.summary-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border-bottom:1px solid #e1e8d9;padding:11px 20px;min-height:62px}.summary-toolbar>.textbtn{display:flex;align-items:center;gap:7px;font-size:12px;color:#235b42}.summary-toolbar svg{width:18px;height:18px}.summary-toolbar>div{text-align:center}.summary-toolbar>div strong{display:block;font-size:14px}.summary-toolbar>div span{font-size:10px;color:#728169}.summary-toolbar>#summary-close{font-size:25px;width:44px;justify-content:center}
.summary-preview-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 20px;background:#fafcf7;border-bottom:1px solid #e6eadf}.summary-preview-tools .outline{font-size:11px;display:flex;gap:7px;align-items:center}.summary-preview-tools svg{width:17px;height:17px}.summary-preview-tools>span{font-size:10px;color:#75836a}
.summary-preview{padding:20px;overflow:auto;background:#eff3e9;max-height:calc(94dvh - 190px);min-height:260px}.summary-stage{position:relative;margin:auto;background:#fff;flex-shrink:0;box-shadow:0 6px 30px #123f2515}.summary-stage>.summary-canvas{position:absolute;right:0;top:0;transform-origin:top right}.summary-zoomed .summary-stage{margin:0}.summary-export-status{font-size:11px;min-height:0;text-align:center;color:#627455;background:#fff}.summary-export-status:not(:empty){padding:8px 15px;border-top:1px solid #e4eadc}.summary-actions.actions{position:sticky;bottom:0;display:flex;justify-content:center;gap:10px;margin:0;padding:12px 20px;background:#fffffff5;border-top:1px solid #dfe6d6;backdrop-filter:blur(10px);z-index:4}.summary-actions button{min-height:46px;min-width:145px;font-size:12px}.summary-actions .summary-pdf{background:#08684d;border-color:#08684d;color:#fff}.summary-actions .summary-pdf:hover{background:#087e58;color:#fff}
.summary-canvas{position:relative;isolation:isolate;width:1320px;min-width:1320px;min-height:930px;box-sizing:border-box;padding:27px 31px 25px;background:#fff;color:#123f34;direction:rtl;font-family:'Noto Sans Arabic',Tahoma,Arial,sans-serif;font-size:20px;line-height:1.7;letter-spacing:0;display:flex;flex-direction:column;gap:17px;overflow:hidden;border:2px solid #d4b46a}
.summary-canvas *{box-sizing:border-box;letter-spacing:0}.summary-canvas p,.summary-canvas h2,.summary-canvas h3,.summary-canvas h4{margin:0}.summary-card-accent{position:absolute;left:0;top:0;width:320px;height:160px;opacity:.12;z-index:-1}.summary-card-accent svg{width:100%;height:100%}.summary-card-header{display:grid;grid-template-columns:1fr 1.05fr 85px;align-items:center;gap:22px;min-height:116px;padding:0 0 17px;border-bottom:2px solid #c8a44e}.summary-school strong{display:block;font-size:21px;font-weight:700;line-height:1.8}.summary-school>span{display:block;font-size:17px;margin-top:5px;color:#4d705b}.summary-school small{display:block;font-size:16px;margin-top:6px;color:#a47c2c}.summary-card-title{text-align:center;align-self:center}.summary-card-title>span{font-size:16px;color:#9b762d}.summary-card-title>h2{font-size:44px;font-weight:800;line-height:1.6;color:#07513e;letter-spacing:0;padding:0}.summary-card-title>i{display:block;width:118px;height:4px;background:#c6a04a;margin:5px auto 0;border-radius:3px}.summary-brand-logo{width:77px;height:96px;object-fit:contain;justify-self:end}
.summary-card-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:21px;flex:1;align-items:stretch}.summary-results{min-width:0;display:flex;flex-direction:column;gap:16px}.summary-student-info{display:grid;grid-template-columns:1.2fr 1fr;gap:9px}.summary-student-info>div{display:flex;align-items:center;gap:11px;padding:11px 13px;background:#f2f8f2;border:1px solid #dce8d8;border-radius:12px;min-width:0}.summary-student-info svg{width:26px;height:26px;color:#187354;flex-shrink:0}.summary-student-info>div>span{font-size:14px;color:#72836a;min-width:0;display:block}.summary-student-info strong{display:block;font-size:19px;font-weight:700;color:#204d3d;line-height:1.85;overflow-wrap:anywhere}.summary-total{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;padding:15px 7px;border:2px solid #cfb36c;border-radius:17px;background:#fffdf6}.summary-total>div{display:flex;align-items:center;gap:10px;padding:3px 13px;border-left:1px solid #e5dcc1;min-width:0}.summary-total>div:last-child{border:0}.summary-total>div>svg{width:37px;height:37px;color:#0c7955;flex-shrink:0}.summary-total>div>span{display:block;font-size:15px;color:#596f5e}.summary-total strong{display:block;font-size:34px;line-height:1.7;color:#07513e;font-weight:800}.summary-total .summary-grade strong{font-size:26px;line-height:1.7}.summary-total .summary-grade svg{color:#b08a32}
.summary-subjects{display:grid;grid-template-columns:repeat(var(--subject-count,3),minmax(0,1fr));gap:11px;flex:1;align-items:stretch}.summary-subject{display:flex;flex-direction:column;gap:14px;border:1px solid #dce8d7;background:#f9fcf6;border-radius:15px;padding:17px 13px;min-width:0}.summary-subject:first-child{background:#fffcf1;border-color:#e8d9b0}.summary-subject>h3{display:flex;align-items:center;justify-content:center;gap:8px;font-size:22px;font-weight:700;line-height:1.7;white-space:normal}.summary-subject h3 svg{width:28px;height:28px;color:#0b7552}.summary-subject:first-child h3 svg{color:#ac812d}.summary-subject-score{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.summary-subject-score>strong{font-size:19px;font-weight:600;white-space:nowrap;color:#315844}.summary-score-ring{position:relative;width:105px;height:105px;flex-shrink:0;display:grid;place-items:center;direction:ltr}.summary-score-ring>svg{position:absolute;inset:0;width:100%;height:100%}.summary-score-ring>strong{position:relative;z-index:1;font-size:25px;line-height:1.4;color:#154936;direction:rtl;font-weight:800}.summary-mastered{margin-top:0;flex:1}.summary-mastered>h4{text-align:center;font-size:16px;font-weight:600;background:#e9f1e5;color:#35603e;padding:6px 4px;border-radius:8px;line-height:1.8}.summary-subject:first-child .summary-mastered>h4{background:#f6eccf;color:#8d6c28}.summary-mastered>p{font-size:18px;line-height:1.9;text-align:center;margin-top:10px;overflow-wrap:anywhere;color:#345441;white-space:normal}
.summary-portrait-panel{min-width:0;display:flex;flex-direction:column;align-items:center;border:2px solid #c7a14b;border-radius:24px;background:#edf4ef;padding:8px 8px 14px;min-height:610px;align-self:stretch;overflow:hidden}.summary-portrait{position:relative;width:100%;min-height:510px;flex:1;overflow:hidden;border-radius:17px;background:#ecf2ed}.summary-portrait>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 37%;transform:scale(1.045)}.summary-photo-placeholder{height:100%;min-height:510px;display:flex;align-items:center;justify-content:center;color:#3d7151;background:#e8f0e5;font-size:100px;font-weight:700}.summary-portrait-name{font-size:19px;text-align:center;font-weight:700;line-height:1.9;padding:11px 6px 0}.summary-portrait-panel>span{font-size:14px;color:#a27d2e;text-align:center;margin-top:5px}
.summary-card-footer{display:grid;grid-template-columns:1fr 285px;gap:15px;margin-top:auto;align-items:stretch}.summary-conclusion{display:grid;grid-template-columns:145px 1fr;gap:17px;align-items:center;border:1px solid #d5e4cf;border-radius:15px;background:#f5f9f0;padding:16px}.summary-conclusion h3{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;font-size:26px;color:#0b6548;border-left:1px solid #d9e4ce;padding-left:15px;height:100%}.summary-conclusion h3 svg{width:30px;height:30px;color:#a77d29}.summary-conclusion p{font-size:18px;line-height:1.9;color:#395c43}.summary-period-note{background:#fffcf3;border:1px solid #e5d9b5;border-radius:15px;padding:13px 16px;text-align:center}.summary-period-note>strong{font-size:17px;color:#947026;display:block}.summary-period-note p{font-size:15px;line-height:1.9;color:#65745d;margin-top:4px}.summary-period-note small{display:block;font-size:12px;color:#88917b;margin-top:5px}.summary-no-results{padding:45px 20px;border:1px solid #e4e9db;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#65765d;background:#fafcf5}
.summary-export-host{position:fixed;left:-100000px;top:0;width:1320px;z-index:-1000;pointer-events:none}.summary-export-host>.summary-canvas{position:relative;transform:none!important;right:auto;top:0}
@media(max-width:760px){dialog.summary-modal{position:fixed;inset:0;width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.summary-toolbar{padding:10px 12px;gap:8px;background:#064b39;color:#fff}.summary-toolbar>.textbtn{color:#fff;font-size:10px}.summary-toolbar>div strong{font-size:12px}.summary-toolbar>div span{font-size:8px;color:#d5e7cf}.summary-toolbar>#summary-close{font-size:25px;width:40px}.summary-preview-tools{padding:10px 12px;gap:10px}.summary-preview-tools .outline{font-size:10px;padding:8px 10px;white-space:nowrap}.summary-preview-tools>span{font-size:9px}.summary-preview{padding:15px 20px;min-height:270px;max-height:calc(100dvh - 230px)}.summary-actions.actions{padding:11px 12px calc(11px + env(safe-area-inset-bottom));gap:8px;display:grid;grid-template-columns:1fr 1fr}.summary-actions button{min-height:47px;min-width:0;font-size:11px}.summary-actions button:last-child{grid-column:1/-1}.summary-export-status{font-size:10px}.student-workspace-actions.actions{flex-wrap:wrap}.student-workspace-actions .student-summary-button{flex:1 0 calc(50% - 5px)}.student-workspace-actions button[data-report]{flex:1 0 calc(50% - 5px)}.student-workspace-actions button[data-edit]{flex:1 0 100%;min-height:44px}}
@media print{.summary-toolbar,.summary-actions,.summary-preview-tools,.summary-export-status{display:none!important}.summary-preview{overflow:visible;max-height:none;padding:0}.summary-stage{box-shadow:none}.summary-export-host{display:none!important}}
/* Explicit image geometry preserves the portrait's proportions in PNG/PDF too. */
.summary-portrait>img{width:auto;min-width:100%;max-width:none;height:100%;left:50%;right:auto;object-fit:fill;transform:translateX(-50%) scale(1.045)}
@media(max-width:760px){dialog.summary-modal #modal-body{height:100%}.student-summary-view{min-height:100%;display:flex;flex-direction:column}.summary-preview{flex:1;display:flex;align-items:center;justify-content:center}.summary-actions.actions{flex-shrink:0}}
@media(max-width:760px){.summary-toolbar>#summary-close{width:44px;min-width:44px}.student-workspace-actions.actions{flex-wrap:nowrap}.student-workspace-actions .student-summary-button,.student-workspace-actions button[data-report]{flex:1 1 0;min-width:0;font-size:10px}.student-workspace-actions button[data-edit]{flex:0 0 44px;min-width:44px;font-size:0;padding:0;min-height:47px}.student-workspace-actions button[data-edit] svg{height:18px;width:18px}}
.summary-zoomed .summary-preview{display:block}

/* Reference card: large left portrait, pale blue information rows, gold result strip. */
.summary-canvas{padding:22px 25px 20px;gap:13px;border:0;background:linear-gradient(125deg,#f0fbfd 0%,#ffffff 27%,#ffffff 77%,#eef8f8 100%);min-height:930px}
.summary-canvas:before,.summary-canvas:after{content:'';position:absolute;z-index:-1;pointer-events:none;background:#006b60;border:7px solid #d4ae54;border-radius:50%;width:650px;height:240px;transform:rotate(16deg);left:-320px;top:-166px}
.summary-canvas:after{width:1800px;height:330px;left:-270px;top:auto;bottom:-322px;transform:rotate(-3deg);background:#006b60}
.summary-card-accent{opacity:.2;width:390px;height:190px}
.summary-card-header{grid-template-columns:1fr 1.4fr 85px;border-bottom:0;min-height:123px;padding:0 0 6px;gap:14px}
.summary-school strong{font-size:19px}.summary-school>span{font-size:16px}.summary-school small{font-size:14px}
.summary-card-title{background:#eaf6f5;border-radius:30px;padding:7px 12px}.summary-card-title>span{font-size:13px;color:#33746b}.summary-card-title>h2{font-size:43px;line-height:1.5}.summary-card-title>i{height:3px;margin-top:2px}
.summary-card-layout{grid-template-columns:minmax(0,1fr) 365px;gap:15px}.summary-results{gap:12px}
.summary-student-info{gap:7px;grid-template-columns:1.1fr 1fr}.summary-student-info>div{background:#eaf5fa;border:3px solid #fff;outline:1px solid #e0edf0;border-radius:13px;gap:10px;padding:8px 10px;min-height:78px}.summary-student-info svg{background:#087d76;color:white;width:36px;height:40px;padding:6px;border-radius:8px}.summary-student-info strong{font-size:18px;color:#203f56}.summary-student-info>div>span{font-size:13px;color:#486270}
.summary-total{border:3px solid #d0a342;border-radius:27px;background:#fffef8;padding:12px 2px;box-shadow:0 3px 0 #f5e6b9}.summary-total>div{padding:2px 9px;gap:8px;border-color:#b9d5cd}.summary-total>div>svg{background:#0b8175;color:#fff;border-radius:50%;padding:9px;width:48px;height:48px}.summary-total>div>span{font-size:13px;color:#385669}.summary-total strong{font-size:32px;color:#006657}.summary-total .summary-grade strong{font-size:29px}.summary-total .summary-grade svg{background:#d1a13c;color:#fff;width:58px;height:58px;border:5px solid #f3dc8e;padding:9px}
.summary-subjects{gap:9px}.summary-subject{gap:10px;padding:12px 10px;border:2px solid #d2e7e5;border-radius:17px;background:linear-gradient(145deg,#eaf9f5,#fff)}.summary-subject:first-child{background:linear-gradient(145deg,#fff6dc,#fff);border-color:#e8d49c}.summary-subject:last-child{background:linear-gradient(145deg,#e6f5ff,#fff);border-color:#cee1ee}.summary-subject>h3{font-size:21px;color:#203f56;gap:8px}.summary-subject h3 svg{width:36px;height:36px;padding:7px;border-radius:50%;background:#087b70;color:#fff}.summary-subject:first-child h3 svg{background:#cf9f39;color:#fff}.summary-subject:last-child h3 svg{background:#3695b4;color:#fff}.summary-subject-score{gap:8px}.summary-score-ring{width:95px;height:95px}.summary-score-ring>strong{font-size:24px;color:#19445b}.summary-subject-score>strong{font-size:18px;color:#234559}.summary-mastered{flex:0}.summary-mastered>h4,.summary-needs>h4{background:#dbf1ea;color:#205c50;border-radius:18px;padding:3px 5px;font-size:15px;text-align:center;line-height:1.8}.summary-subject:first-child .summary-mastered>h4{background:#fbefd0}.summary-subject:last-child .summary-mastered>h4{background:#dfedf8}.summary-mastered>p,.summary-needs>p{font-size:17px;line-height:1.85;text-align:center;margin:6px 0 0;color:#244559;overflow-wrap:anywhere}.summary-needs{padding-top:4px;border-top:1px solid #dce7e6}.summary-needs>h4{background:#fff0d6;color:#885e18}.summary-needs>p{color:#795629}
.summary-portrait-panel{border:4px solid #cfa54a;border-radius:65px 65px 100px 100px;background:#edf8fc;padding:7px 7px 12px;min-height:610px;position:relative;box-shadow:-7px 0 0 #087b70}.summary-portrait{border-radius:51px 51px 75px 75px;min-height:490px;background:#e4f4fb}.summary-portrait-name{font-size:18px;padding-top:8px}.summary-portrait-panel>span{font-size:13px;margin-top:0}
.summary-card-footer{grid-template-columns:1fr 255px;border:2px solid #d4ad50;border-radius:22px;gap:0;overflow:hidden;background:#fffdf5;margin-top:0}.summary-conclusion{border:0;background:transparent;border-radius:0;padding:12px 15px;grid-template-columns:110px 1fr;gap:13px}.summary-conclusion h3{background:#08776e;color:#fff;border:0;border-radius:16px;font-size:24px;padding:12px 8px}.summary-conclusion h3 svg{color:#f4d990}.summary-conclusion p{font-size:17px;line-height:1.9;color:#284960}.summary-period-note{border:0;border-right:1px solid #ddca94;border-radius:0;background:#fff9e8;padding:12px}.summary-period-note p{font-size:14px;color:#4b6370}.summary-period-note small{font-size:11px}

/* Native Canva artwork, positioned on the source design's exact 1492 × 1054 canvas. */
.summary-canvas.canva-card{width:1492px;min-width:1492px;min-height:1054px;display:block;position:relative;padding:0;border:0;background:#fff;overflow:hidden;isolation:isolate;color:#1d374a;font-family:'Noto Sans Arabic',Tahoma,Arial,sans-serif;line-height:1.4}
.canva-card:before,.canva-card:after{display:none}.canva-card .cv-art{position:absolute;max-width:none;pointer-events:none;display:block;z-index:0;object-fit:fill}
.canva-card .cv-text{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;white-space:pre-line;line-height:1.45;text-align:center;font-weight:500;overflow-wrap:anywhere;padding:0;margin:0;direction:rtl}
.canva-card .cv-bold{font-weight:750}.canva-card .cv-title{font-weight:850;color:#08645d;line-height:1.2}.canva-card .cv-grade{font-weight:850;color:#087060;line-height:1.15}.canva-card .cv-total{font-weight:800;color:#006a61;direction:rtl;line-height:1.25}.canva-card .cv-ministry{color:#00685e;line-height:1.15;font-size:18px;font-weight:650}.canva-card .cv-school{justify-content:flex-end;text-align:right;color:#28606b;line-height:1.4;font-weight:600;white-space:pre-line}.canva-card .cv-white{color:#fff}.canva-card .cv-conclusion{font-size:22px;line-height:1.6}
.canva-card .summary-student-info.cv-student-info{display:contents}.canva-card .summary-student-info>div{background:transparent;border:0;border-radius:0;outline:0;gap:0;min-height:0}
.canva-card .summary-portrait.cv-photo{position:absolute;left:36px;top:148px;width:408px;height:704px;min-height:0;flex:none;border-radius:90px 130px 65px 155px;overflow:hidden;z-index:1;background:#dff2fa}
.canva-card .cv-photo>img{position:absolute;top:0;bottom:auto;left:50%;right:auto;max-width:none;min-width:100%;width:auto;height:100%;transform:translateX(-50%) scale(1.1);transform-origin:50% 35%;object-fit:fill}
.canva-card .cv-subject{position:absolute;z-index:2;min-width:0;padding:0;border:0;background:none;display:block;color:#183951}
.canva-card .cv-subject>h3{position:absolute;left:100px;right:15px;top:24px;height:48px;display:flex;align-items:center;justify-content:center;font-weight:750;margin:0;line-height:1.3}
.canva-card .cv-ring{position:absolute;top:81px;width:132px;height:122px;direction:ltr}.canva-card .cv-ring>img,.canva-card .cv-ring>svg{position:absolute;inset:0;width:132px;height:122px;max-width:none}.canva-card .cv-ring>strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800;color:#1c4058;line-height:1;direction:ltr}
.canva-card .cv-count{position:absolute;right:15px;top:112px;width:110px;height:50px;display:flex;align-items:center;justify-content:center;font-size:29px;font-weight:750;direction:rtl;color:#173d55}
.canva-card .cv-mastered-title{position:absolute;top:203px;left:20px;right:20px;height:34px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:22px;color:#245163;line-height:1.2}
.canva-card .cv-mastered-text{position:absolute;top:241px;left:18px;right:18px;margin:0;text-align:center;font-size:22px;line-height:28px;font-weight:650;overflow-wrap:anywhere;white-space:normal}
.canva-card .cv-training{position:absolute;left:18px;right:18px;border-top:1px solid #c9ddd7;padding:7px 0 0}
.canva-card .cv-training>h4{font-size:21px;font-weight:750;color:#86611d;text-align:center;background:#fff3d9;border-radius:16px;margin:0;padding:4px 5px;line-height:1.5}
.canva-card .cv-training>p{font-size:21px;font-weight:600;line-height:28px;text-align:center;color:#6b542d;padding:0;margin:6px 0 0;overflow-wrap:anywhere}
.canva-card .cv-period{position:absolute;top:159px;right:191px;z-index:2;font-size:14px;color:#5a7e80}
.summary-export-host{width:1492px}
.canva-card .cv-total,.canva-card .cv-grade,.canva-card .cv-white{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.canva-card .cv-text.cv-conclusion{font-size:19px;line-height:1.65}
.cv-photo-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:120px;color:#0a7163;font-weight:800}
