/* V120 — فونت یکپارچه سایت: Vazirmatn */
html, body {
    font-family: Vazirmatn, Tahoma, Arial, sans-serif !important;
}

body button,
body input,
body select,
body textarea,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p,
body a,
body label,
body li,
body td,
body th {
    font-family: Vazirmatn, Tahoma, Arial, sans-serif !important;
}

/* فونت‌های فنی/آیکون و فرمول دست‌نخورده بمانند */
body code, body pre, .dashicons, .fa, .fas, .far, .fab,
.tem-code, .ttp-equation {
    font-family: inherit;
}

.tem-front-dashboard,.tem-front-dashboard *{box-sizing:border-box}.tem-front-dashboard{direction:rtl;font-family:inherit;max-width:1100px;margin:20px auto;padding:0 15px}.tem-front-dashboard .tem-header{background:linear-gradient(135deg,#3560ff,#7c3aed);border-radius:24px;padding:35px;color:#fff}.tem-front-dashboard .tem-header h1{color:#fff;font-size:26px;margin:0}.tem-front-dashboard .tem-header p{margin:10px 0 0;opacity:.9}.tem-dashboard-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px;margin:25px 0}.tem-front-dashboard .tem-card{background:#fff;border:1px solid #eef0ff;border-radius:18px;padding:22px;text-align:center;box-shadow:0 10px 25px rgba(53,88,255,.06)}.tem-front-dashboard .tem-card h2{margin:0;font-size:30px;font-weight:700;color:#3560ff}.tem-front-dashboard .tem-card span{display:block;margin-top:8px;color:#777;font-size:14px}.tem-tabs{background:#fff;border-radius:18px;border:1px solid #eef0ff;overflow:hidden}.tem-tabs-nav{display:flex;flex-wrap:wrap;border-bottom:1px solid #eef0ff;background:#f8f9ff}.tem-tab-btn{border:0;background:0 0;padding:16px 20px;font-size:14px;cursor:pointer;color:#666;font-weight:600;transition:.2s}.tem-tab-btn.is-active{color:#3560ff;box-shadow:inset 0 -3px 0 #3560ff}.tem-tab-panel{display:none;padding:25px}.tem-tab-panel.is-active{display:block}.tem-subheading{margin:25px 0 12px;font-size:16px;color:#333}.tem-table{width:100%;border-collapse:collapse;font-size:14px}.tem-table td,.tem-table th{padding:12px 10px;text-align:right;border-bottom:1px solid #f0f0f5}.tem-table th{color:#888;font-weight:600;font-size:13px}.tem-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600}.tem-badge-success{background:#e6f8ee;color:#1a9c56}.tem-badge-danger{background:#fdeaea;color:#d84343}.tem-badge-warning{background:#fff5e0;color:#b5791b}.tem-badge-info{background:#eaf1ff;color:#3560ff}.tem-form{max-width:520px;margin-bottom:10px}.tem-form-row{margin-bottom:14px}.tem-form-row label{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:#444}.tem-form-row input[type=file],.tem-form-row input[type=text],.tem-form-row select,.tem-form-row textarea{width:100%;padding:10px 12px;border:1px solid #e2e4f0;border-radius:10px;font-size:14px;background:#fafbff}.tem-form-row textarea{resize:vertical}.tem-btn{display:inline-block;border:0;border-radius:10px;padding:10px 22px;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;transition:.2s}.tem-btn-primary{background:linear-gradient(135deg,#3560ff,#7c3aed);color:#fff}.tem-btn-primary:hover{opacity:.9}.tem-btn-sm{padding:6px 14px;font-size:12px;background:#eef0ff;color:#3560ff}.tem-btn-danger{background:#fdeaea;color:#d84343}.tem-form-message{display:inline-block;margin-inline-start:10px;font-size:13px}.tem-form-message.is-success{color:#1a9c56}.tem-form-message.is-error{color:#d84343}.tem-alert{background:#fff5e0;color:#a8721c;padding:14px 18px;border-radius:12px;font-size:14px;margin-bottom:15px}.tem-login-required{padding:20px;text-align:center;background:#f8f9ff;border-radius:14px}.tem-loading{color:#999;font-size:13px}.tem-notification-list{list-style:none;margin:0;padding:0}.tem-notification-item{padding:14px 0;border-bottom:1px solid #f0f0f5}.tem-notification-item strong{display:block;font-size:14px;color:#333}.tem-notification-item p{margin:6px 0 0;font-size:13px;color:#666}.tem-notification-date{display:block;margin-top:6px;font-size:12px;color:#aaa}.tem-assignment-card{border:1px solid #eef0ff;border-radius:14px;padding:16px 18px;margin-bottom:12px}.tem-assignment-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.tem-assignment-card-head strong{font-size:15px;color:#333}.tem-assignment-meta{font-size:12px;color:#999;margin-top:6px}.tem-assignment-note{margin-top:10px;background:#f8f9ff;border-radius:10px;padding:10px 12px;font-size:13px;color:#555}.tem-review-form{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.tem-review-form input[type=number]{width:90px;padding:8px 10px;border:1px solid #e2e4f0;border-radius:8px}.tem-review-form textarea{flex:1 1 100%;padding:8px 10px;border:1px solid #e2e4f0;border-radius:8px;min-height:60px}@media (max-width:600px){.tem-front-dashboard .tem-header{padding:24px}.tem-tab-panel{padding:16px}}
/* v1.5.113 — student-to-teacher assignment composer */
.tsp-assignment-compose{margin:0 0 18px;padding:20px;border:1px solid #e9edf7;border-radius:22px;background:linear-gradient(135deg,#fff,#f7f9ff);box-shadow:0 10px 30px rgba(35,55,95,.06)}
.tsp-assignment-compose-head{display:flex;gap:13px;align-items:center;margin-bottom:16px}.tsp-assignment-compose-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#eef2ff;font-size:22px}.tsp-assignment-compose-head span{font-size:11px;color:#6d73a8;font-weight:800}.tsp-assignment-compose-head h4{margin:3px 0;font-size:17px;color:#20263a}.tsp-assignment-compose-head p{margin:0;color:#8a91a4;font-size:11px}.tsp-student-assignment-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tsp-student-assignment-grid label{display:block}.tsp-student-assignment-grid label>span{display:block;margin-bottom:6px;font-size:11px;font-weight:800;color:#535b70}.tsp-student-assignment-grid input,.tsp-student-assignment-grid select,.tsp-student-assignment-grid textarea{width:100%;box-sizing:border-box;border:1px solid #e1e6f0;border-radius:12px;background:#fff;padding:11px 12px;font:inherit;font-size:12px;outline:none}.tsp-student-assignment-grid textarea{resize:vertical}.tsp-student-assignment-full{grid-column:1/-1}.tsp-student-file-box>div{border:1px dashed #cbd3e4;border-radius:14px;background:#fbfcff;padding:13px;position:relative}.tsp-student-file-box b,.tsp-student-file-box small{display:block}.tsp-student-file-box b{font-size:12px;color:#424a61}.tsp-student-file-box small{font-size:10px;color:#9299aa;margin-top:4px}.tsp-student-file-box input{margin-top:9px;padding:6px;border:0;background:transparent}.tsp-student-assignment-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.tsp-student-assignment-actions #tsp-student-assignment-msg{font-size:11px}.tsp-student-assignment-actions #tsp-student-assignment-msg.success{color:#15935a}.tsp-student-assignment-actions #tsp-student-assignment-msg.error{color:#d04a55}@media(max-width:650px){.tsp-student-assignment-grid{grid-template-columns:1fr}.tsp-student-assignment-full{grid-column:auto}.tsp-student-assignment-actions{align-items:stretch;flex-direction:column}.tsp-student-assignment-actions button{width:100%}}
