
    * {
      box-sizing: border-box;
      font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    }
    body {
      margin: 0;
      background: #e3f2fd;
      color: #2c3e50;
    }
    .header {
      background: #90caf9;
      color: white;
      padding: 20px 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .header h1 {
      font-size: 24px;
      margin: 0;
    }
    .room-code {
      font-size: 28px;
      font-weight: bold;
      background: rgba(255,255,255,0.2);
      padding: 8px 20px;
      border-radius: 8px;
    }
    .main-container {
      display: grid;
      grid-template-columns: 300px 1fr 350px;
      gap: 20px;
      padding: 20px;
      height: calc(100vh - 84px);
    }
    .panel {
      background: white;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      overflow-y: auto;
    }
    .panel h2 {
      font-size: 18px;
      margin: 0 0 15px 0;
      color: #1976d2;
      border-bottom: 2px solid #64b5f6;
      padding-bottom: 8px;
    }
    .btn {
      padding: 10px 20px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.2s;
      margin: 5px;
    }
    .btn-primary {
      background: #64b5f6;
      color: white;
    }
    .btn-primary:hover {
      background: #42a5f5;
    }
    .btn-success {
      background: #81c784;
      color: white;
    }
    .btn-danger {
      background: #e57373;
      color: white;
    }
    .btn-warning {
      background: #ffb74d;
      color: white;
    }
    .student-item, .group-item {
      padding: 12px;
      margin: 8px 0;
      background: #f8f9fa;
      border-radius: 8px;
      border-left: 4px solid #64b5f6;
      cursor: move;
      transition: all 0.2s;
    }
    .student-item:hover, .group-item:hover {
      background: #e3f2fd;
      transform: translateX(5px);
    }
    .student-item.dragging {
      opacity: 0.5;
    }
    .group-item {
      border-left-color: #81c784;
    }
    .group-members {
      margin-top: 8px;
      padding-left: 15px;
      font-size: 13px;
      color: #666;
    }
    .student-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 15px;
      margin-top: 15px;
    }
    .student-card {
      background: white;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      padding: 15px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .student-card:hover {
      border-color: #64b5f6;
      box-shadow: 0 4px 12px rgba(100, 181, 246, 0.3);
    }
    .student-card.selected {
      border-color: #64b5f6;
      background: #e3f2fd;
    }
    .student-card h3 {
      margin: 0 0 10px 0;
      font-size: 16px;
    }
    .student-card .stats {
      font-size: 12px;
      color: #666;
    }
    .mini-layout {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 2px;
      margin-top: 10px;
      grid-auto-rows: 50px;
    }
    .mini-slot {
      width: 100%;
      height: 100%;
      background: #e9ecef;
      border-radius: 2px;
    }
    .mini-slot.filled {
      background: #64b5f6;
    }
    .control-panel {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 15px;
    }
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.5);
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }
    .modal.show {
      display: flex;
    }
    .modal-content {
      background: white;
      border-radius: 12px;
      padding: 30px;
      max-width: 500px;
      width: 90%;
      max-height: 80vh;
      overflow-y: auto;
    }
    .modal-content h2 {
      margin-top: 0;
    }
    .form-group {
      margin: 15px 0;
    }
    .form-group label {
      display: block;
      margin-bottom: 5px;
      font-weight: 600;
    }
    .form-group input, .form-group textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
    }
    .form-group textarea {
      min-height: 100px;
      resize: vertical;
    }
    .login-container {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      background: radial-gradient(circle at top, #fdfefe, #e5f2ff 55%, #d6ecff 100%);
    }
    .login-box {
      background: white;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      max-width: 400px;
      width: 90%;
    }
    .login-box h1 {
      margin: 0 0 30px 0;
      text-align: center;
      color: #1976d2;
    }
    #app {
      display: none;
    }
    .report-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 15px;
    }
    .report-table th, .report-table td {
      padding: 10px;
      text-align: left;
      border-bottom: 1px solid #e9ecef;
    }
    .report-table th {
      background: #f8f9fa;
      font-weight: 600;
    }
    .history-item {
      padding: 8px;
      margin: 5px 0;
      background: #f8f9fa;
      border-radius: 4px;
      font-size: 13px;
    }
