@font-face{font-family:Vazirmatn;src:url('assets/Vazirmatn.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f8f8;color:#18383c;font:16px/1.8 Vazirmatn,Tahoma,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.55}button,input,select,textarea{border-radius:10px}input,select,textarea{width:100%;padding:11px 13px;border:1px solid #cddbdd;background:white;color:#18383c;min-height:46px}input[type=checkbox]{width:20px;min-height:20px;height:20px;accent-color:#12666b}select{appearance:none;padding-left:35px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b7477' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 12px center}input:focus,select:focus,textarea:focus{border-color:#18777b;box-shadow:0 0 0 3px #16757915}textarea{resize:vertical;min-height:90px}label{display:block;font-size:.9rem;font-weight:600;margin-bottom:6px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.5;letter-spacing:-.7px}h2{font-size:1.35rem}h3{font-size:1.05rem}p{margin-bottom:14px}small,.muted{color:#627e81;font-size:.88rem}svg.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 18px;border:1px solid transparent;background:#12646a;color:white;font-weight:600;font-size:.93rem}.btn:hover{background:#0b5056}.btn.secondary{background:#fff;border-color:#cbdadb;color:#26575d}.btn.secondary:hover{background:#eef7f7}.btn.ghost{background:transparent;color:#32656a}.btn.danger{background:#fff2f0;color:#ac3d33;border-color:#f2ccc7}.btn.small{padding:5px 12px;min-height:36px;font-size:.85rem}.icon-btn{border:0;background:transparent;padding:8px;display:inline-flex;align-items:center;justify-content:center;color:inherit;border-radius:9px}.icon-btn:hover{background:#eaf3f3}.badge{display:inline-flex;align-items:center;border-radius:6px;padding:3px 9px;font-size:.78rem;background:#edf4f4;color:#456e72;font-weight:500;white-space:nowrap}.badge.gold{background:#fbf0d6;color:#876013}.badge.good{background:#e0f3ea;color:#20664a}.badge.warn{background:#fff0df;color:#98621e}.badge.red{background:#ffebe8;color:#a5362c}.eyebrow{font-size:.86rem;color:#589798;letter-spacing:.5px}.pill{border-radius:999px;padding:6px 13px;display:inline-flex;gap:8px;align-items:center;font-size:.84rem;background:#ecf5f5;color:#29696e}.check{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.check label{margin:0}#header{height:84px;background:#fff;border-bottom:1px solid #dfe8e8;display:flex;align-items:center;gap:16px;padding:0 max(24px,calc((100vw - 1260px)/2));position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:10px;flex:1;font-size:1.05rem;font-weight:750}.brand img{width:42px;height:42px}.brand small{display:block;font-size:.76rem;font-weight:400;line-height:1.4}.header-actions{display:flex;align-items:center;gap:8px}.user-label{font-size:.85rem;line-height:1.5}.user-label small{display:block}.menu-trigger{border:1px solid #dbe6e6}#drawer{position:fixed;top:84px;right:0;bottom:0;width:300px;background:#fff;z-index:25;border-left:1px solid #dae5e5;box-shadow:-20px 10px 60px #143f4315;overflow:auto;padding:22px}#drawer a{display:flex;gap:12px;align-items:center;padding:12px;border-radius:9px;margin-bottom:4px;font-size:.94rem}#drawer a:hover,#drawer a.active{background:#e9f5f4;color:#12646a}#drawer p{font-size:.8rem;color:#708b8d;margin:18px 10px}#main{max-width:1260px;min-height:70vh;margin:auto;padding:32px 24px 70px}#footer{border-top:1px solid #dbe6e7;background:white;padding:24px;display:flex;justify-content:space-between;gap:20px;font-size:.86rem;color:#6e8588}#footer a{color:#12646a}.hero{background:#103f43;color:white;border-radius:22px;display:grid;grid-template-columns:1.3fr 1fr;min-height:320px;overflow:hidden;margin-bottom:32px;position:relative}.hero-copy{padding:40px 44px;position:relative;z-index:2}.hero h1{max-width:680px;font-weight:800;margin:15px 0 12px}.hero p{color:#bcd8d8;max-width:530px;font-size:1rem}.hero .eyebrow{color:#88bfbb}.hero .pill{color:#c9e6dc;background:#285955}.hero .btn{background:#e3b657;color:#163c3c;margin-top:12px}.hero-art{display:flex;justify-content:center;align-items:center;position:relative;background:radial-gradient(ellipse at center,#29696880,transparent 68%);overflow:hidden}.hero-art:before,.hero-art:after{content:'';position:absolute;width:270px;height:270px;transform:rotate(45deg);border:1px solid #a8c6a52b;border-radius:45px}.hero-art:after{transform:rotate(22.5deg);width:320px;height:320px}.hero-art .book-mark{width:154px;height:154px;filter:brightness(0) invert(1);opacity:.85;z-index:1}.hero-art .arabesque{position:absolute;border:1px solid #a1cdb228;width:400px;height:400px;border-radius:50%}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:26px 0 18px}.section-head h2{margin:0}.section-head p{margin:5px 0 0}.modules{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.module-card{display:flex;flex-direction:column;background:white;border:1px solid #dce7e8;border-radius:16px;padding:23px 19px;min-height:196px;transition:transform .16s,box-shadow .16s}.module-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #13474d0b;border-color:#82b1b3}.module-icon{background:#edf7f6;color:#197178;width:49px;height:49px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.module-icon svg{width:26px;height:26px}.module-card h3{font-size:1rem;margin:0 0 7px}.module-card p{font-size:.81rem;color:#6e8588;line-height:1.8;margin:0}.module-card .badge{align-self:flex-start;margin-top:12px;font-size:.7rem}.module-card:nth-child(3n) .module-icon{background:#fbf4e5;color:#ac7c25}.intro-note{display:flex;gap:13px;padding:18px 22px;border:1px solid #dbe6e5;border-radius:14px;background:white;margin-top:25px}.intro-note p{font-size:.9rem;margin:0}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:.85rem;color:#6b888a;margin:0 0 20px}.breadcrumbs a{color:#187178}.page-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.page-top h1{font-size:1.9rem;margin-bottom:8px}.page-top p{color:#6a8386;font-size:.95rem;margin:0}.panel{background:white;border:1px solid #dce6e7;border-radius:17px;padding:26px;margin-bottom:22px}.panel.tight{padding:18px}.panel-title{display:flex;align-items:center;gap:10px;margin-bottom:20px}.panel-title h2{margin:0}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:22px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.field{margin-bottom:16px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 20px}.form-grid .wide{grid-column:1/-1}.filters{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;margin-bottom:24px}.filters .field{flex:1;min-width:150px;margin:0}.filters .field.wide{flex:2}.tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid #dae6e6;margin-bottom:24px;padding-bottom:8px}.tab{border:0;background:transparent;color:#6c8588;padding:9px 17px;min-height:42px}.tab.active{background:#e9f5f3;color:#12646a;font-weight:700}.empty{text-align:center;padding:45px 22px;color:#70888b;border:1px dashed #c9dddd;border-radius:13px;background:#fbfdfd}.empty svg{width:38px;height:38px;margin-bottom:12px;color:#739b9e}.empty h3{color:#416d72;margin-bottom:6px}.empty p{font-size:.9rem;margin:0 auto;max-width:550px}.loading{padding:70px;text-align:center;color:#688587}.notice{border-right:3px solid #33887f;background:#edf7f3;padding:14px 18px;border-radius:9px;font-size:.9rem;margin-bottom:20px}.notice.warn{border-color:#c5953c;background:#fef6e9;color:#8b641c}.notice.error{border-color:#bc4b40;background:#fff1ef;color:#9b3d33}.error-text{font-size:.85rem;color:#a3332a;margin-top:6px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.spaced{justify-content:space-between}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:.88rem}th{background:#f2f7f7;color:#617d80;font-weight:600;text-align:right;white-space:nowrap}th,td{padding:12px 14px;border-bottom:1px solid #e3ecec;vertical-align:middle}tbody tr:hover{background:#fafdfd}td small{display:block}.student-name{font-weight:650;white-space:nowrap}.stat{padding:23px;background:#fff;border:1px solid #dae6e6;border-radius:14px}.stat strong{font-size:2rem;display:block;color:#17686d;line-height:1.4}.stat small{font-size:.85rem}.asset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.asset{border:1px solid #e0e9e9;border-radius:13px;padding:19px;background:white}.asset h3{font-size:.95rem;line-height:1.8}.asset audio,.asset video{width:100%;margin:10px 0}.asset video{max-height:260px;background:#102e30;border-radius:8px}.asset img{width:100%;height:250px;object-fit:contain;background:#f7f9f9;border-radius:8px;margin-bottom:10px}.asset .btn{margin-top:12px}.file-label{font-size:.78rem;color:#6f8c8d}.instructions{white-space:pre-line;line-height:2.1;font-size:.95rem}.calendar-preview{width:100%;height:350px;object-fit:contain;background:#f2f6f6;border:1px solid #e4ebeb;border-radius:10px}.score-layout{display:grid;grid-template-columns:1fr 260px;gap:24px;align-items:start}.score-summary{position:sticky;top:105px}.score-total{font-size:2.8rem;color:#12676b;line-height:1.4;font-weight:800}.score-section{border:1px solid #dbe8e8;background:white;border-radius:14px;margin-bottom:17px;overflow:hidden}.score-section>header{padding:17px 20px;background:#f2f8f7;display:flex;justify-content:space-between;align-items:center;gap:15px}.score-section h3{margin:0}.score-section .content{padding:18px 20px}.score-row{display:grid;grid-template-columns:1fr 105px;gap:15px;padding:12px 0;border-bottom:1px solid #edf2f2;align-items:center}.score-row label{font-size:.92rem;font-weight:500}.score-row input{text-align:center;font-size:1.1rem;font-weight:650;direction:ltr}.score-row small{display:block;font-size:.78rem}.score-row .comment{grid-column:1/-1;margin-top:-5px}.comment input{font-size:.82rem;font-weight:400;text-align:right;direction:rtl;min-height:36px;padding:6px 10px}.deduction{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e5eded;padding:11px 0}.deduction label{font-size:.86rem;margin:0;font-weight:500}.counter{display:flex;align-items:center;gap:8px;direction:ltr;flex-shrink:0}.counter button{border:1px solid #d0dfe0;background:#fff;width:34px;height:34px;color:#1b5e65;line-height:1}.counter .minus{color:#b74c40}.counter span{min-width:22px;text-align:center}.counter input{width:70px;padding:5px;min-height:35px;text-align:center;font-size:.85rem}.penalty-key{width:125px;min-height:35px;padding:5px;font-size:.82rem}.checklist{display:flex;gap:10px;flex-wrap:wrap}.checklist .check{padding:8px 12px;border:1px solid #dbe8e8;border-radius:9px;font-size:.88rem}.note-edit{color:#3b6a70;margin-bottom:10px;font-size:.82rem}.score-fixed{font-size:1.2rem;font-weight:700;min-width:80px;text-align:center;color:#317770}.bar-row{margin-bottom:19px}.bar-title{display:flex;justify-content:space-between;font-size:.85rem;margin-bottom:5px}.bar-track{height:9px;border-radius:9px;background:#edf1f1;overflow:hidden}.bar-fill{height:100%;background:#218085;border-radius:9px}.legend{display:flex;gap:20px;font-size:.8rem;color:#6a8586;margin-bottom:20px}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-left:5px}.report-head{padding:25px;background:#103f43;color:white;border-radius:15px;margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.report-head h2{margin-bottom:5px}.report-head p{font-size:.9rem;color:#bfdbdb;margin:0}.report-head .score-total{color:#eccb82}.report-head small{color:#b0d0d0}.rank{font-size:1.6rem;font-weight:750}.report-note{padding:20px;border-radius:13px;background:#eff7f4;border:1px solid #d8ebe3}.report-note.improve{background:#faf5ea;border-color:#ede4cc}.cert-preview{max-width:360px;margin:auto;display:block;border:1px solid #d4e2e2}.calendar-tabs{margin-bottom:16px}dialog{border:1px solid #d9e4e4;border-radius:18px;padding:0;color:#18383c;max-width:650px;width:calc(100vw - 32px);box-shadow:0 20px 100px #07323640}dialog::backdrop{background:#0b303768;backdrop-filter:blur(3px)}.dialog-head{padding:22px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2eaea}.dialog-head h2{margin:0;font-size:1.2rem}.dialog-body{padding:25px}.login-intro{text-align:center;margin-bottom:25px}.login-intro .module-icon{margin:0 auto 15px}#toast{position:fixed;bottom:22px;left:22px;max-width:430px;z-index:100;display:none;background:#133f43;color:white;border-radius:12px;padding:16px 22px;box-shadow:0 6px 25px #143f4330;font-size:.9rem}#toast.error{background:#a23d35}.check input{margin:0}.divider{height:1px;background:#e1eaea;margin:22px 0}.stage-label{color:#26777c;font-size:.84rem}.nowrap{white-space:nowrap}.app-intro{background:#ecf5f4;border:1px solid #d9e9e7;border-radius:18px;padding:30px}.app-intro h2{font-size:1.7rem}.app-intro p{line-height:2.1}.report-actions{display:flex;gap:9px;justify-content:flex-end;margin-bottom:16px}@media(min-width:1100px){.registration-layout{display:grid;grid-template-columns:420px 1fr;gap:22px;align-items:start}.registration-layout>.panel{position:sticky;top:106px}}@media(max-width:1100px){.modules{grid-template-columns:repeat(3,1fr)}.asset-grid{grid-template-columns:repeat(2,1fr)}.score-layout{grid-template-columns:1fr 220px}.hero-copy{padding:30px}.grid4{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){#header{height:74px;padding:0 14px;gap:9px}.brand{font-size:.88rem;gap:7px}.brand img{width:33px;height:33px}.brand small{font-size:.67rem}.header-actions .user-label{display:none}.header-actions .btn{padding:6px 11px;font-size:.8rem}#drawer{top:74px}#main{padding:22px 16px 45px}.hero{grid-template-columns:1fr;min-height:auto;border-radius:17px}.hero-copy{padding:27px}.hero h1{font-size:1.8rem}.hero-art{display:none}.modules{grid-template-columns:repeat(2,1fr);gap:11px}.module-card{padding:17px 14px;min-height:172px}.module-card h3{font-size:.91rem}.module-card p{font-size:.77rem}.module-icon{width:42px;height:42px;margin-bottom:12px}.module-card .badge{font-size:.66rem}.section-head{align-items:flex-start}.section-head>small{display:none}.grid2,.grid3,.asset-grid,.score-layout{grid-template-columns:1fr}.grid4{gap:10px}.panel{padding:19px;border-radius:13px}.page-top{display:block}.page-top .actions{margin-top:14px}.page-top h1{font-size:1.6rem}.filters{gap:11px}.filters .field{min-width:125px}.score-summary{position:static}.score-layout{display:flex;flex-direction:column}.score-layout>div,.score-summary{width:100%}.score-summary{order:-1;display:none}.form-grid{gap:0 13px}.report-head{padding:20px;flex-wrap:wrap}.report-head h2{font-size:1.2rem}.report-head .score-total{font-size:2rem}.report-head>div:last-child{text-align:right!important}.deduction{flex-wrap:wrap}.counter{margin-right:auto}.score-section>header{padding:14px}.score-section .content{padding:14px}#footer{flex-direction:column;padding:20px}.tabs{gap:2px}.tab{padding:8px 12px;font-size:.9rem}.intro-note{padding:16px}.dialog-body{padding:20px}.score-row{grid-template-columns:1fr 86px}#toast{left:15px;right:15px;bottom:15px;max-width:none}}@media print{#header,#footer,#drawer,.btn,.report-actions,.breadcrumbs{display:none!important}body{background:white}#main{padding:0;max-width:none}.panel{break-inside:avoid;border:0}.report-head{background:white;color:#143f43;border:1px solid #ddd}.report-head p,.report-head .score-total,.report-head small{color:#143f43}table{font-size:11px}th,td{padding:6px}.grid2{display:block}.report-note{margin-bottom:12px}.score-total{color:#143f43}}
.hero-art .book-mark{filter:none;opacity:1;border-radius:32px;box-shadow:0 12px 50px #072d3130}.btn{border-radius:10px}
@media(max-width:700px){.score-summary{display:flex;align-items:center;gap:12px;position:sticky;top:74px;z-index:12;padding:12px 17px}.score-summary .divider,.score-summary #live-parts,.score-summary>p:last-child{display:none}.score-summary .score-total{font-size:1.7rem}.score-summary p{margin:0;font-size:.8rem}.score-summary .eyebrow{font-size:.8rem}}

input[name="mobile"], #phone-hint { direction:ltr; unicode-bidi:plaintext; text-align:left; }

/* Group operations in the competition results dashboard */
[data-bulk-publication] {
  container-type: inline-size;
  margin-block: 1rem;
  padding: clamp(.85rem, 2vw, 1.4rem);
  border: 1px solid #cfdfdb;
  border-inline-start: 4px solid #328078;
  border-radius: 14px;
  background: #f5faf8;
}
.bulk-fields { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.bulk-fields legend { padding: 0; font-size: 1.08rem; }
.bulk-fields > p { margin-block: .35rem 1rem; }
.bulk-options { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(14rem, 1.4fr) auto; align-items: end; gap: .8rem; }
.bulk-options .field { min-width: 0; margin: 0; }
.bulk-options select { width: 100%; }
#admin-results caption { text-align: start; background: #f5faf8; padding: .7rem 1rem; }
.threshold-fields { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; margin:0; padding:0; border:0; }
.threshold-fields label { display:inline-flex; align-items:center; gap:.5rem; }
.threshold-fields input { width:5rem; }
:is([data-advance-result], [data-bulk-result]):not(:empty) { padding: .75rem 1rem; margin-top: .8rem; background: white; border: 1px solid #d6e3df; border-radius: 10px; }
@container (max-width: 43rem) {
  .bulk-options { grid-template-columns: minmax(8rem, 1fr) minmax(13rem, 1.5fr); }
  .bulk-options button { grid-column: 1 / -1; justify-self: start; }
}
@container (max-width: 25rem) {
  .bulk-options { grid-template-columns: minmax(0, 1fr); }
  .bulk-options button, .bulk-actions button { width: 100%; }
}

.login-page{max-width:460px;margin:clamp(24px,7vh,72px) auto}.login-page h1{margin:0 0 20px}.login-page .field{margin-bottom:14px}.login-page .error-text:empty{display:none}
#footer[hidden]{display:none}
