@font-face{font-family:IRANYekan;src:url('/iranyekanx-fanum.woff2') format('woff2');font-style:normal;font-weight:100 1000;font-display:swap}
:root{--bg:#f5f8fb;--card:#fff;--ink:#173246;--muted:#627789;--line:#e3ecf1;--accent:#078aa1;--accent-deep:#076b7c;--green:#e6f5ef;--amber:#985f0a;--amber-bg:#fff4df;--red:#b74452;--red-bg:#fff0f2;--nav:#102c3d;--shadow:0 4px 22px #163f5b05;--radius:18px;--text-xs:12px;--text-sm:13px;--text-md:14px;--text-lg:16px;--title:28px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:IRANYekan,Tahoma,sans-serif;font-size:var(--text-md);font-weight:400;line-height:1.85}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:var(--title);font-weight:750;line-height:1.5;margin-bottom:4px;letter-spacing:-.6px}h2{font-size:18px;font-weight:700;line-height:1.6;margin-bottom:0}h3{font-size:15px;font-weight:650;margin-bottom:0}b,strong{font-weight:650}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #20bad080;outline-offset:3px}.skip-link{position:fixed;top:-80px;right:20px;padding:12px;background:#fff;z-index:100}.skip-link:focus{top:12px}.sidebar{position:fixed;inset:0 0 0 auto;width:248px;background:var(--nav);color:#fff;padding:28px 20px;display:flex;flex-direction:column;z-index:20;border-left:1px solid #153a4e}.brand{padding:0 6px 25px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #ffffff12}.brand-logo{width:65px;height:65px;object-fit:contain;border-radius:18px;background:#fff;padding:3px;flex-shrink:0}.brand strong{display:block;font-size:18px;font-weight:750;white-space:nowrap}.brand small{display:block;font-size:11px;color:#a2bac8;margin-top:4px}.nav-label{font-size:11px;color:#9db5c3;padding:26px 14px 9px}.sidebar nav{display:grid;gap:6px}.navbutton{width:100%;border:0;display:flex;align-items:center;gap:12px;background:transparent;color:#b5c9d4;text-align:right;padding:13px 15px;border-radius:12px;min-height:50px;font-weight:500;font-size:14px;position:relative}.navbutton:hover{background:#ffffff0a;color:#fff}.navbutton.active{background:#1c4658;color:#fff;font-weight:650}.navbutton.active:before{content:'';width:3px;height:22px;background:#3ac1d5;position:absolute;right:0;border-radius:4px}.navbutton.active svg{color:#55d0e0}.navfooter{margin-top:auto;padding:22px 8px 0;border-top:1px solid #ffffff12;font-size:12px;color:#a2bac8}.navfooter .footer-status{display:flex;align-items:center;gap:8px;color:#d5e6ee;margin-bottom:8px}.navfooter p{font-size:11px;margin-bottom:16px}.navfooter .btn{background:#ffffff07;border-color:#ffffff22;color:#c7dbe6;width:100%}.dot{width:7px;height:7px;background:currentColor;border-radius:50%;flex-shrink:0}.footer-status .dot{background:#56c3d3}.main{margin-right:248px;padding:30px 36px 40px;max-width:1900px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.breadcrumb{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin-bottom:9px}.breadcrumb .separator{color:#b0c4cf}.sub{font-size:13px;color:var(--muted);line-height:1.85}.toptools{display:flex;align-items:center;gap:10px}.toptools .field{min-width:158px;flex:0}.toptools .field>label{font-size:11px}.clock{display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:white;padding:8px 12px;border-radius:11px;color:var(--muted);white-space:nowrap;font-size:12px;margin-top:23px}.clock svg{width:16px;height:16px;color:var(--accent)}.toptools>.btn{margin-top:23px}.mobile-brand{display:none}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:4px 10px;font-size:12px;font-weight:500;background:#f0f4f7;color:#567083;white-space:nowrap;line-height:1.7}.badge.green{background:var(--green);color:#207656}.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.red{background:var(--red-bg);color:var(--red)}.badge.blue{background:#e9f5fa;color:#14778f}.btn{border:1px solid #d9e6ed;background:#fff;color:var(--ink);border-radius:10px;padding:9px 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.7;min-height:42px;font-size:13px;font-weight:550;white-space:nowrap}.btn:hover{background:#f3f8fb;border-color:#b7d7e0}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 3px 8px #078aa118}.btn.primary:hover{background:var(--accent-deep);border-color:var(--accent-deep)}.btn.danger{color:var(--red)}.btn.small{padding:7px 12px;font-size:12px;min-height:36px}.btn svg{width:17px;height:17px}.icon-btn{padding-inline:12px}.notice{display:flex;align-items:center;gap:12px;border:1px solid #dcebf1;background:#eef6fa;border-radius:12px;padding:13px 16px;font-size:12px;color:#4e6e82;margin-bottom:20px;line-height:1.9}.notice svg{width:19px;height:19px;color:#207b96}.notice strong{color:#2f566c;margin-left:4px}.notice.warning{background:#fff9ed;border-color:#f1e4c8;color:#896527}.trial-label{font-size:10px;background:#fff;border:1px solid #d3e5ee;padding:3px 8px;border-radius:6px;white-space:nowrap;margin-right:auto;color:#4a7289}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.devicebox{padding:17px 20px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.device-summary{display:flex;align-items:center;gap:13px;min-width:0}.device-icon{width:43px;height:43px;display:grid;place-items:center;background:#f0f6f9;color:#588399;border-radius:13px;flex-shrink:0}.devicebox p{margin:3px 0 0;font-size:12px}.devicebox .mini:empty{display:none}.device-status{display:flex;align-items:center;gap:10px;flex-shrink:0}.device-status .btn{background:transparent}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat{padding:20px 22px;position:relative;overflow:hidden}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.statlabel{font-size:13px;color:#536e81;font-weight:500}.staticon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;color:#397f9c;background:#edf5fa}.staticon svg{width:19px;height:19px}.statnum{font-size:37px;font-weight:750;line-height:1.55;margin:7px 0 3px;font-variant-numeric:tabular-nums;color:#173b51}.statfoot{font-size:11px;color:var(--muted);min-height:21px}.stat.green .staticon{background:var(--green);color:#2c8a69}.stat.amber .staticon{background:var(--amber-bg);color:#b87c24}.stat.red .staticon{background:var(--red-bg);color:#bb5361}.stat.green:after,.stat.amber:after,.stat.red:after{content:'';position:absolute;bottom:0;right:22px;left:22px;height:2px;background:var(--green)}.stat.amber:after{background:#f3dfb6}.stat.red:after{background:#f1d2d9}.cardheader{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 22px 17px}.cardheader .sub{font-size:12px;margin:3px 0 0}.cardbody{padding:0 22px 22px}.searchbar{display:flex;align-items:center;gap:10px;padding:0 22px 18px;flex-wrap:wrap}.searchbar input,.searchbar select{border:1px solid #dce7ed;border-radius:10px;min-height:42px;padding:9px 12px;background:#fff;color:var(--ink);font-size:13px}.searchbar input{min-width:220px;flex:1}.searchbar input::placeholder,input::placeholder{color:#8197a7;font-size:13px}.tablewrap{overflow-x:auto;max-width:100%;border-radius:0 0 16px 16px}table{border-collapse:collapse;width:100%;text-align:right;white-space:nowrap}th{font-size:12px;font-weight:550;color:#607b8d;background:#f7fafc;padding:13px 22px;border-block:1px solid var(--line)}td{padding:16px 22px;border-bottom:1px solid #edf2f5;font-size:14px;line-height:1.8}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fcfd}td b{font-weight:600}.time{font-family:inherit;direction:ltr;font-variant-numeric:tabular-nums;font-weight:600;font-size:15px}.mini{font-size:11px;color:var(--muted);line-height:1.85}.tablefooter{display:flex;align-items:center;justify-content:space-between;padding:14px 22px;font-size:12px;color:var(--muted);border-top:1px solid #edf2f5}.empty{text-align:center;padding:43px 20px;color:var(--muted);font-size:13px;white-space:normal;line-height:2.1}.empty-mark{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 13px;border:1px solid #e4eef3;background:#f5f9fb;border-radius:14px;color:#7a9cab}.empty-mark svg{width:23px;height:23px}.empty b{color:#4c6e83;display:block;font-size:14px;margin-bottom:4px}.empty .btn{margin-top:14px}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:20px;margin-top:22px}.class-list{padding:0 22px 17px}.class-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #eef3f6}.class-row:first-child{border-top:0}.class-name{font-size:13px;font-weight:550}.class-info{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted)}.class-info b{font-size:13px;color:var(--ink)}.progress{width:82px;height:5px;background:#e9f0f4;border-radius:6px;overflow:hidden}.progress i{display:block;height:100%;background:var(--accent);border-radius:6px}.settingsgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.settingsgrid>.card{padding:23px}.settingsgrid h2{margin-bottom:5px}.settingsgrid p{font-size:13px}.formstack{display:grid;gap:16px;margin-top:22px}.controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.field{display:flex;flex-direction:column;gap:6px;flex:1;min-width:120px}.field label{font-size:12px;color:#546f82;font-weight:500}.field input,.field select,.field textarea{width:100%;border:1px solid #d7e4eb;background:white;color:var(--ink);border-radius:10px;padding:10px 12px;min-height:44px;font-size:14px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#49a8bb}.field textarea{min-height:105px;resize:vertical}.field input[type=time],.field input[type=date],.field input[type=datetime-local]{direction:ltr}.help{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.95}.manual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.manual-grid .btn{width:100%;min-height:44px}.sectionnote{font-size:12px;color:var(--muted);margin:15px 4px;line-height:2}.messagebody{white-space:normal;max-width:520px;min-width:250px;font-size:13px}.page{display:none}.page.active{display:block}.rowactions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.split{display:flex;justify-content:space-between;align-items:center;gap:12px}.timeline{display:flex;gap:13px;border-bottom:1px solid var(--line);padding:13px 0;overflow-wrap:anywhere}.timeline:before{content:'';height:7px;width:7px;border-radius:50%;background:var(--accent);margin-top:9px;flex-shrink:0}.timeline small{display:block;font-size:12px;color:var(--muted)}.timeline b{font-size:13px}.footnote{margin-top:26px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px;color:#768e9f}.footnote b{font-weight:500}.modal{position:fixed;inset:0;background:#0b263d75;backdrop-filter:blur(3px);z-index:40;display:none;align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modalcard{width:min(540px,100%);background:white;border-radius:22px;padding:28px;max-height:90dvh;overflow-y:auto;box-shadow:0 24px 80px #0b263d25}.modalhead{display:flex;align-items:center;justify-content:space-between;gap:16px}.modalhead button{border:1px solid var(--line);background:#f7fafc;border-radius:10px;width:38px;height:38px;font-size:23px;color:#648293}.toast{position:fixed;left:30px;bottom:30px;max-width:min(450px,calc(100vw - 40px));background:#163b50;color:white;padding:13px 19px;border-radius:12px;box-shadow:0 12px 35px #173a5030;display:none;z-index:60;font-size:13px}.toast.error{background:#a64151}.nowrap{white-space:nowrap}.muted{color:var(--muted)}#importResult{white-space:pre-line;color:var(--red);font-size:13px}.login-page{min-height:100dvh;display:grid;place-items:center;padding:32px;background:#f4f9fc}.login-shell{display:grid;grid-template-columns:1fr 1fr;width:min(940px,100%);background:#fff;border:1px solid #e0eaf0;border-radius:28px;overflow:hidden;box-shadow:0 22px 90px #123d5b0a}.login-brand{background:#123347;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:45px 35px;text-align:center;color:white;position:relative}.login-brand:before{content:'';position:absolute;inset:16px;border:1px solid #ffffff0c;border-radius:18px;pointer-events:none}.login-logo{width:190px;height:190px;object-fit:contain;background:#fff;padding:8px;border-radius:50%;margin-bottom:24px}.login-brand h1{font-size:25px;margin-bottom:8px;font-weight:750}.login-brand p{font-size:13px;color:#b4cdd9;margin-bottom:20px}.login-mark{font-size:11px;letter-spacing:3px;color:#7da7bc;direction:ltr}.login-form{padding:50px 40px}.login-form h2{font-size:23px;font-weight:750;margin-bottom:6px}.login-form>.sub{font-size:13px}.login-form form{margin-top:26px}.login-form .btn{width:100%;min-height:46px;margin-top:5px}.login-meta{padding-top:22px;border-top:1px solid var(--line);margin-top:25px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.login-meta svg{width:17px;height:17px}.login-error{padding:10px 12px;border:1px solid #efcbd2;border-radius:9px;background:var(--red-bg);color:var(--red);font-size:12px;margin-bottom:15px}.login-error:empty{display:none}.login-mobile-logo{display:none}.offline-card{width:min(480px,100%);padding:36px;text-align:center}.offline-card img{width:95px;height:95px;margin-bottom:16px}.offline-card h1{font-size:24px}.offline-card .btn{margin-top:18px}
.dashboard-bottom .manual-grid{grid-template-columns:1fr}.dashboard-bottom .manual-grid .field:last-child>label{display:none}
@media(min-width:1650px){.main{padding:38px 52px}.stats{gap:20px}.stat{padding:23px 25px}}
@media(max-width:1180px){.sidebar{width:220px;padding-inline:15px}.brand-logo{width:55px;height:55px}.brand{gap:9px;padding-inline:3px}.brand strong{font-size:16px}.main{margin-right:220px;padding:25px}.topbar{align-items:start}.toptools{flex-wrap:wrap;justify-content:end;max-width:350px}.toptools .clock{order:3;margin-top:0}.toptools #logoutMobile{order:4;margin-top:0}.stats{gap:11px}.stat{padding:17px}.statlabel{font-size:12px}.statnum{font-size:33px}.dashboard-bottom{grid-template-columns:1fr}.settingsgrid{gap:16px}}
@media(max-width:780px){:root{--title:24px}.sidebar{inset:auto 0 0;height:76px;width:100%;padding:7px 10px calc(7px + env(safe-area-inset-bottom));background:#fff;color:var(--ink);border:0;border-top:1px solid #dce9ef;box-shadow:0 -4px 24px #13354d05;height:calc(76px + env(safe-area-inset-bottom))}.sidebar .brand,.sidebar .nav-label,.navfooter{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.navbutton{flex-direction:column;justify-content:center;gap:4px;padding:6px 2px;min-height:59px;font-size:10px;color:#617e90;border-radius:11px;line-height:1.7}.navbutton svg{width:20px;height:20px}.navbutton:hover{background:#eef8fb;color:var(--accent)}.navbutton.active{background:#edf8fb;color:var(--accent);font-weight:600}.navbutton.active svg{color:var(--accent)}.navbutton.active:before{display:none}.main{margin:0;padding:18px 16px calc(100px + env(safe-area-inset-bottom));max-width:100%}.mobile-brand{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:16px;margin-bottom:19px;border-bottom:1px solid var(--line)}.mobile-brand>div{display:flex;align-items:center;gap:9px}.mobile-brand img{width:43px;height:43px;object-fit:contain;background:white;border-radius:12px;padding:2px;border:1px solid var(--line)}.mobile-brand strong{font-size:16px;font-weight:700}.mobile-brand small{display:block;font-size:10px;color:var(--muted)}.mobile-brand .badge{font-size:10px}.topbar{display:block;margin-bottom:20px}.breadcrumb{font-size:11px;margin-bottom:5px}h1{font-size:24px;letter-spacing:-.3px}.toptools{max-width:none;display:flex;justify-content:initial;align-items:center;gap:8px;margin-top:15px}.toptools .field{min-width:145px;flex:1}.toptools .field>label{display:none}.toptools .field input{min-height:40px;font-size:13px;padding:8px}.toptools>.btn,.toptools #logoutMobile{margin-top:0;min-height:40px}.toptools .clock{order:4;font-size:11px;padding:5px 0;border:0;background:transparent;margin-top:0;width:100%;justify-content:flex-start}.toptools #logoutMobile{order:3}.toptools .btn .desktop-text{display:none}.notice{font-size:12px;padding:12px;align-items:flex-start;gap:9px}.trial-label{display:none}.devicebox{padding:14px;align-items:start}.device-icon{display:none}.devicebox h3{font-size:13px}.devicebox p{font-size:11px}.device-status{flex-direction:column;align-items:end;gap:6px}.device-status .badge{font-size:10px;padding:3px 8px}.device-status .btn{padding:4px 8px;min-height:29px;font-size:10px}.device-status .btn svg{width:13px;height:13px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:18px}.stat{padding:15px 14px}.statlabel{font-size:12px}.staticon{width:28px;height:28px;border-radius:8px}.staticon svg{width:16px;height:16px}.statnum{font-size:32px;line-height:1.6;margin-top:5px}.statfoot{font-size:10px}.stat.green:after,.stat.amber:after,.stat.red:after{right:14px;left:14px}.card{border-radius:15px}h2{font-size:16px}.cardheader{padding:18px 16px 15px;align-items:start}.cardheader .sub{font-size:11px}.cardheader .btn{font-size:11px;padding:6px 9px;min-height:34px}.cardbody{padding:0 16px 18px}.searchbar{padding:0 16px 15px;gap:8px}.searchbar input{width:100%;flex-basis:100%;min-width:0}.searchbar select{font-size:12px;flex:1;min-width:0;width:0;padding-inline:8px;min-height:40px}.searchbar .btn{font-size:11px;flex:1}.settingsgrid{grid-template-columns:minmax(0,1fr);gap:18px}.settingsgrid>.card{padding:19px}.manual-grid{grid-template-columns:1fr}.manual-grid .field:last-child>label{display:none}.field{min-width:0}.field input,.field select,.field textarea{font-size:16px}.controls .field{min-width:120px}.tablewrap table{min-width:570px}.tablewrap th{padding:12px 16px;font-size:11px}.tablewrap td{padding:14px 16px;font-size:13px}.empty{padding:32px 16px}.tablefooter{font-size:11px;padding:12px 16px}.dashboard-bottom{grid-template-columns:1fr;margin-top:18px;gap:18px}.class-list{padding:0 16px 14px}.class-info{gap:8px}.progress{width:60px}.class-name{font-size:12px}.footnote{font-size:10px;display:block;margin-top:24px}.footnote span{display:block;margin-top:3px}.modal{padding:12px}.modalcard{padding:21px;max-height:88dvh;border-radius:18px}.toast{left:16px;right:16px;bottom:calc(89px + env(safe-area-inset-bottom));max-width:none;font-size:12px}.login-page{padding:20px}.login-shell{grid-template-columns:1fr;width:min(440px,100%);border-radius:22px}.login-brand{display:none}.login-form{padding:30px 25px}.login-mobile-logo{display:block;width:88px;height:88px;object-fit:contain;margin:0 auto 18px}.login-form h2{text-align:center;font-size:23px}.login-form>.sub{text-align:center}.login-form .field input{font-size:16px}.offline-card{padding:28px}}
@media(max-width:360px){.main{padding-inline:12px}.statlabel{font-size:11px}.staticon{width:23px;height:23px}.statnum{font-size:30px}.toptools{gap:6px}.toptools .field{min-width:130px}.toptools>.btn{padding-inline:10px}.class-info .progress{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.sidebar,.toptools,.notice,.devicebox,.dashboard-bottom,.searchbar,.no-print,.tablefooter,.footnote,.modal,.toast,.mobile-brand{display:none!important}.main{margin:0;padding:0}.page{display:none!important}.page.active{display:block!important}.card{border:0;box-shadow:none}.stats{display:none}body{background:white;font-size:12px}th,td{padding:8px 10px}.topbar{margin:0 0 12px}h1{font-size:22px}thead{display:table-header-group}}
