/* Изолированные стили: не вмешиваются в журнал и другие разделы. */
#tab-courses .cc-admin-wrap,#tab-courses .cc-student-wrap{padding:18px 22px 24px}
#tab-courses .cc-desc{color:var(--soft,#6d8176);font-size:13px;line-height:1.6;margin:0 0 14px}
#tab-courses .cc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px}
#tab-courses .cc-stats>div{background:#f1f9f4;border:1px solid #d6e8db;border-radius:12px;padding:12px}
#tab-courses .cc-stats strong{display:block;font-size:25px;color:#087e50}
#tab-courses .cc-stats span{display:block;font-size:11px;color:#597367;font-weight:650}
#tab-courses .cc-bar{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:12px 0}
#tab-courses .cc-bar input,#tab-courses .cc-bar select{max-width:100%;background:#fff;border:1px solid #cbddd2;border-radius:10px;padding:10px 12px;font:inherit;font-size:13px;min-height:41px}
#tab-courses .cc-bar input{flex:1;min-width:150px}
#tab-courses button:not(.tab){cursor:pointer}
#tab-courses .cc-bar button,#tab-courses .cc-actions button,#tab-courses [data-cc=contact],#tab-courses .cc-request{background:#087e50;color:#fff;border:1px solid #087e50;padding:9px 11px;border-radius:10px;font-weight:750;font-size:12px}
#tab-courses .cc-actions button{background:#fff;color:#075f40;border:1px solid #b8d9c7}
#tab-courses .cc-actions button.cc-danger{color:#b22a38;border-color:#f0c1c6}
#tab-courses .cc-area{border:1px solid #d7e6dc;border-radius:14px;background:#fff;margin:14px 0;overflow:hidden}
#tab-courses .cc-area h4{padding:15px 16px;margin:0;font-size:17px}
#tab-courses .cc-tablebox{overflow-x:auto}
#tab-courses table{width:100%;border-collapse:collapse;min-width:790px;font-size:12px;color:#163a29}
#tab-courses th,#tab-courses td{border-bottom:1px solid #e5eee9;padding:12px 11px;text-align:left;vertical-align:top}
#tab-courses th{background:#f4faf6;color:#5d7568;font-size:11px}
#tab-courses td small{display:block;color:#71877b;margin-top:4px;font-size:10px}
#tab-courses .cc-actions{min-width:220px;white-space:normal}
#tab-courses .cc-actions button{margin:0 5px 5px 0}
#tab-courses .cc-badge{display:inline-block;border-radius:50px;padding:5px 10px;background:#f3e8d0;color:#866014;font-weight:800;font-size:11px}
#tab-courses .cc-badge.cc-green{background:#e1f5e8;color:#087e50}
#tab-courses .cc-selected{background:#fff8da}
#tab-courses .cc-message{max-width:260px;white-space:normal;overflow-wrap:anywhere}
#tab-courses .cc-empty{padding:22px;color:#798f83;text-align:center}
#tab-courses .cc-notice{margin:10px 0;color:#087e50;font-weight:650;font-size:12px}
#tab-courses .cc-error{color:#c52b3b!important}
#tab-courses .cc-course-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:15px}
#tab-courses .cc-course-card{padding:20px;border:1px solid #d3e7da;border-radius:17px;background:#fff}
#tab-courses .cc-course-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#tab-courses .cc-course-head h4{margin:0 0 5px;font-size:17px}
#tab-courses .cc-course-head span:not(.cc-badge){color:#7a9083;font-size:12px}
#tab-courses .cc-course-progress{height:9px;background:#ecf3ef;border-radius:99px;margin-top:18px;overflow:hidden}
#tab-courses .cc-course-progress>div{height:100%;background:#087e50;border-radius:99px}
#tab-courses .cc-course-card p{font-size:12px;color:#657d70}
#tab-courses .cc-card-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}
#tab-courses a.cc-primary{display:inline-block;background:#087e50;color:white!important;padding:11px 14px;border-radius:10px;text-decoration:none;font-size:12px;font-weight:800}
#tab-courses .cc-card-buttons button.cc-request{background:#fff;color:#087e50}
@media(max-width:800px){#tab-courses .cc-stats{grid-template-columns:repeat(2,1fr)}#tab-courses .cc-admin-wrap,#tab-courses .cc-student-wrap{padding:14px}}
