.portal-modern{--background:#f4f8fc;--foreground:#12345a;--card:#fff;--card-foreground:#12345a;--muted:#edf5fa;--muted-foreground:#586f87;--input:#d5e1ec;--border:#dce7f0;--primary:#009c9f;--ring:#009c9f;--secondary:#edf6fa;--accent:#e3f4f5;color:#12345a;overflow-wrap:break-word;background:#f4f8fc;min-width:0;font-size:16px}.portal-modern *,.portal-modern :before,.portal-modern :after{box-sizing:border-box}.portal-modern main{min-width:0}.portal-header{background:#fff;border-bottom:1px solid #e2ebf3;padding:16px}.portal-header-inner{justify-content:space-between;align-items:center;gap:12px;max-width:1180px;margin:auto;display:flex}.portal-school-brand{color:#103968;align-items:center;gap:12px;min-width:0;display:flex}.portal-school-brand img{object-fit:contain;flex:none;width:76px;height:58px}.portal-school-brand strong{font-size:15px;line-height:1.6;display:block}.portal-school-brand small{color:#057c8f;font-size:13px;display:block}.portal-school-brand span span{color:#60758b;margin-top:2px;font-size:12px;display:block}.portal-menu{flex:none;position:relative}.portal-menu summary{cursor:pointer;background:#edf6fa;border-radius:12px;padding:12px 10px;font-size:14px;list-style:none}.portal-menu nav{z-index:20;background:#fff;border:1px solid #dae6f0;border-radius:14px;width:150px;padding:8px;position:absolute;top:52px;left:0;box-shadow:0 8px 24px #1539591a}.portal-menu nav a{color:#153959;padding:12px;display:block}.portal-menu nav a:hover{background:#edf6fa}.portal-hero{background:radial-gradient(at 12% 18%,#c4eced85,#0000 52%),linear-gradient(160deg,#e9f3fc,#f8fbff 60%,#e6f4f5);padding:34px 16px 28px}.portal-hero-inner{align-items:center;gap:26px;max-width:1120px;margin:auto;display:grid}.portal-welcome{text-align:center;max-width:620px;margin:auto}.portal-eyebrow{color:#157a8b;background:#ffffffb3;border:1px solid #cce3ee;border-radius:30px;align-items:center;gap:8px;padding:8px 14px;font-size:14px;font-weight:700;display:inline-flex}.portal-welcome h1{color:#0e315d;margin:16px 0 12px;font-size:clamp(30px,6vw,58px);font-weight:800;line-height:1.45}.portal-welcome h1 span{font-size:.85em;font-weight:700}.portal-welcome p{color:#586f87;max-width:500px;margin:auto;font-size:16px;line-height:1.9}.portal-hero-marks{justify-content:center;gap:16px;margin-top:20px;display:flex}.portal-hero-marks svg{color:#008f96;background:#ffffffa6;border:1px solid #dbecf3;border-radius:14px;width:42px;height:42px;padding:9px}.portal-lookup-card{background:#fff;border:1px solid #e0ebf2;border-radius:22px;gap:12px;width:100%;max-width:460px;margin:auto;padding:8px 0;box-shadow:0 10px 32px #1b41600c}.portal-lookup-card [data-slot=card-header],.portal-lookup-card [data-slot=card-content]{padding:18px 20px}.portal-lookup-card [data-slot=card-title]{color:#103662;align-items:center;gap:10px;font-size:20px;display:flex}.portal-icon{color:#009b9f;background:#e9f6f8;border-radius:13px;flex:none;place-items:center;width:40px;height:40px;display:inline-grid}.portal-identity-input{text-align:right;width:100%;min-width:0;box-shadow:none;border-radius:12px;color:#173c60!important;background:#fff!important;border:1px solid #d4e1ec!important;height:52px!important;padding:0 14px!important;font-size:16px!important}.portal-identity-input::placeholder{color:#8b9db1;font-size:14px}.portal-identity-input:focus{outline-offset:2px;outline:2px solid #009c9f}.portal-secondary{color:#60758b;font-size:14px;line-height:1.8}.portal-error{color:#b32d45;min-height:20px;font-size:14px;line-height:1.6}.portal-action{white-space:normal;border-radius:12px;justify-content:center;align-items:center;gap:10px;width:100%;height:auto;min-height:52px;padding:12px 16px;font-size:16px;font-weight:700;display:flex;color:#fff!important;background:#009e9f!important}.portal-action:hover{background:#00868b!important}.portal-about{text-align:center;max-width:1120px;margin:auto;padding:30px 16px 42px}.portal-about h2{color:#113765;font-size:22px;font-weight:800}.portal-about-grid{gap:14px;margin-top:20px;display:grid}.portal-about article{background:#fff;border:1px solid #e0eaf2;border-radius:18px;padding:22px;box-shadow:0 5px 20px #18385006}.portal-about h3{color:#123968;margin:12px 0;font-size:18px;font-weight:700}.portal-about article p{color:#566e87;font-size:15px;line-height:2}.portal-footer{text-align:center;color:#62778c;border-top:1px solid #e0e9f2;max-width:1120px;margin:auto;padding:22px 16px;font-size:13px;line-height:2}.portal-results{min-width:0;max-width:1280px;margin:auto}.portal-results>.mx-auto{min-width:0}.portal-student-card{background:#fff;border:1px solid #dce7f0;border-radius:20px;padding:20px;box-shadow:0 5px 24px #12345a08}.portal-student-card>div{flex:1;min-width:0}.portal-student-card h2{line-height:1.6;color:#123968!important;font-size:clamp(19px,4vw,26px)!important}.portal-avatar{color:#698fae;background:#edf4fa;border-radius:50%;flex:none;place-items:center;width:58px;height:58px;display:grid}.portal-results .text-white{color:#123968!important}.portal-results [class*="text-[#a8b8c7]"],.portal-results [class*="text-[#bfd0de]"],.portal-results [class*="text-[#b9c7d2]"]{color:#59738c!important}.portal-results [class*="text-[#e0b968]"]{color:#00898f!important}.portal-results .report-input{color:#173c60;background:#fff;border:1px solid #d5e2ed;border-radius:12px;max-width:100%;min-height:46px;padding:8px 12px;font-size:16px}.portal-results label{color:#294c6c;font-size:15px}.portal-score-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.portal-score-card{color:#123968;background:linear-gradient(140deg,#fff,#eef5fe);border:1px solid #e0eaf5;border-radius:18px;gap:0;min-width:0;padding:0;box-shadow:0 5px 18px #183b5808}.portal-score-average{background:linear-gradient(140deg,#fff,#eaf9f8)}.portal-score-card>div:first-child:not([data-slot]){display:none}.portal-score-content{padding:16px 12px!important}.portal-score-content .portal-icon{border-radius:10px;width:32px;height:32px;margin-bottom:10px}.portal-score-content h3{min-height:46px;font-size:14px;line-height:1.7}.portal-score-content p{line-height:1.8;color:#617991!important;font-size:12px!important}.portal-score-content .mt-6{margin-top:14px}.portal-score-value{letter-spacing:-1px;font-size:36px;font-weight:800;line-height:1.2}.portal-score-empty{font-size:15px;font-weight:700;line-height:1.7}.portal-score-content [class*="text-[#a8b8c7]"]{color:#617991!important}.portal-score-foot{color:#58738c;border-top:1px solid #dbe7f1;margin-top:12px;padding-top:10px;font-size:12px}.portal-score-foot details summary{cursor:pointer;color:#0d7c88;padding:8px 0}.portal-score-foot details div{line-height:1.9}.portal-chart{min-width:0;box-shadow:0 5px 24px #12345a08;color:#163b60!important;background:#fff!important;border:1px solid #dce7f0!important;padding:20px 14px!important}.portal-chart h2{font-size:20px}.portal-chart-scroll{overscroll-behavior-x:contain;direction:ltr;border-radius:12px;max-width:100%;overflow-x:auto}.portal-chart-scroll svg{max-width:none;display:block;color:#59768d!important}.portal-chart-scroll circle{r:6;cursor:pointer;stroke:#fff;stroke-width:1.5px}.portal-followup{background:#fff;border:1px solid #dce7f0;border-radius:18px;min-width:0;margin:20px 0;padding:16px}.portal-followup>summary{cursor:pointer;min-height:32px;font-weight:700;line-height:1.8}.portal-followup .followup-card{color:#173c60;background:#fff;border:1px solid #dce7f0;min-width:0}.portal-followup .followup-card h3,.portal-followup .followup-card h4{color:#123968}.portal-followup .followup-card p,.portal-followup .followup-card li{color:#59738c}.portal-followup .followup-stats>div{color:#55718a;background:#eff6fb}.portal-followup .followup-stats strong{color:#123968}.portal-followup .followup-badges span,.portal-followup .followup-subjects span{color:#107d86;background:#eaf7f7}.portal-followup .overflow-auto{max-width:100%}.portal-followup .followup-grid{min-width:0}.portal-results [data-slot=card]:not(.portal-score-card){box-shadow:0 5px 24px #12345a08;background:#fff!important;border-color:#dce7f0!important}.portal-results [data-slot=card-header],.portal-results [data-slot=card-content]{min-width:0}.portal-history-table th{background:#f0f6fa;color:#526e87!important}.portal-history-table td{font-size:14px;color:#21496a!important}.portal-history-table tr{border-color:#e0eaf1!important}.portal-history-table [data-slot=badge]{color:#107350;background:#ecf7f4;border-color:#bfdfd0}.portal-history-table [data-slot=badge][class*=ef8e91]{color:#a83650;background:#fff0f1;border-color:#efd1d7}.portal-certificate-callout{background:linear-gradient(110deg,#e9f8f8,#eaf3fe);border:1px solid #cfe8ee;border-radius:18px;padding:20px}.portal-certificate-callout>div{flex:1;min-width:0}.portal-certificate-callout button{white-space:normal;width:100%;min-height:50px;color:#fff!important;background:#009e9f!important}:is(.portal-modern button:focus-visible,.portal-modern summary:focus-visible,.portal-modern a:focus-visible){outline-offset:3px;outline:2px solid #07868e}.portal-modern button{min-height:44px}@media (max-width:767px){.portal-results [data-slot=card-header],.portal-results [data-slot=card-content]{padding:18px 14px}.portal-history-table{white-space:normal;width:100%;min-width:0;display:block}.portal-history-table thead{display:none}.portal-history-table tbody{gap:14px;display:grid}.portal-history-table tr{background:#fff;border:1px solid #dde8f2;border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.portal-history-table td{white-space:normal;overflow-wrap:anywhere;min-width:0;padding:0;display:block}.portal-history-table td:before{content:attr(data-label);color:#6b8196;margin-bottom:4px;font-size:12px;font-weight:400;display:block}.portal-history-table td:first-child,.portal-history-table td[data-label=الدرجات\ الفرعية],.portal-history-table td[data-label=حالة\ النتيجة]{grid-column:1/-1}.portal-history-table td:first-child{font-size:17px;font-weight:700}.portal-student-card{gap:12px;padding:16px}.portal-student-card>button{color:#176b94;background:#edf6fa;width:100%;margin:0}.portal-followup .followup-stats,.portal-followup .followup-grid{grid-template-columns:1fr}.portal-followup .report-table{font-size:14px}.portal-results [data-slot=table-container]{min-width:0;max-width:100%}}@media (min-width:768px){.portal-header{padding:20px 32px}.portal-school-brand img{width:98px;height:66px}.portal-school-brand strong{font-size:18px}.portal-school-brand span span{font-size:14px}.portal-hero{padding:64px 32px}.portal-hero-inner{grid-template-columns:1.1fr 1fr;gap:42px}.portal-welcome{text-align:right}.portal-welcome p{margin:0}.portal-hero-marks{justify-content:flex-start}.portal-about-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-score-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.portal-score-content{padding:20px!important}.portal-score-content h3{font-size:16px}.portal-score-value{font-size:42px}.portal-certificate-callout button{width:auto;max-width:100%}}@media (max-width:359px){.portal-header{padding:12px}.portal-school-brand{gap:8px}.portal-school-brand img{width:60px;height:48px}.portal-school-brand strong{font-size:13px}.portal-school-brand span span{font-size:11px}.portal-menu summary{padding:10px 8px;font-size:13px}.portal-score-grid{gap:8px}.portal-score-content{padding:14px 10px!important}.portal-score-value{font-size:32px}.portal-score-content h3{font-size:13px}.portal-lookup-card [data-slot=card-header],.portal-lookup-card [data-slot=card-content]{padding:16px}.portal-results{padding-left:12px;padding-right:12px}}@media (prefers-reduced-motion:reduce){.portal-modern *{scroll-behavior:auto!important;animation:none!important}}@font-face{font-family:PortalArabic;src:url(/fonts/NotoSansArabic-Regular.ttf)format("truetype");font-display:swap;font-weight:400}@font-face{font-family:PortalArabic;src:url(/fonts/NotoSansArabic-Bold.ttf)format("truetype");font-display:swap;font-weight:700 900}.portal-modern{font-family:PortalArabic,Tahoma,Arial,sans-serif}.portal-score-content h3{font-size:14px}.portal-results .report-input option{color:#173c60;background:#fff}
