.atom-meet-star-btn {
  position: absolute;
  top: 10px;
  bottom: auto;
  left: 10px;
  right: auto;
  z-index: 50;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe082, #ffc107);
  color: #5d4037;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  pointer-events: auto;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}

.atom-meet-star-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 213, 74, 0.55), 0 0 0 2px #fff;
}

/* Lista Personas: chiquita, no rompe la fila de Meet */
.atom-meet-star-btn--list {
  position: absolute !important;
  top: 50% !important;
  right: 40px !important;
  left: auto !important;
  bottom: auto !important;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  font-size: 11px !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.atom-meet-star-btn--list:hover {
  transform: translateY(-50%) scale(1.1);
}

.atom-meet-tile-wrap {
  position: relative !important;
  overflow: visible !important;
}

.atom-meet-star-host {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 40 !important;
  overflow: visible !important;
}

.atom-meet-star-host .atom-meet-star-btn {
  pointer-events: auto !important;
}

.atom-meet-list-row {
  display: contents;
}

.atom-meet-list-row .atom-meet-name-hit {
  cursor: pointer;
}

.atom-meet-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.atom-meet-overlay.is-open {
  opacity: 1;
}

.atom-meet-modal {
  width: min(420px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #0f0f1a;
  border: 1px solid #32325a;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  color: #e5e7eb;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.atom-meet-overlay.is-open .atom-meet-modal {
  transform: translateY(0) scale(1);
}

.atom-meet-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid #252540;
}

.atom-meet-modal__brand {
  font-size: 0.75rem;
  font-weight: 800;
  color: #00d4aa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.atom-meet-aula-top {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.5);
}

.atom-meet-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  word-break: break-word;
}

.atom-meet-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #32325a;
  background: #1a1a2e;
  color: #e5e7eb;
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
}

.atom-meet-modal__body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 16px;
}

.atom-meet-field label,
.atom-meet-grade-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.atom-meet-grade-block {
  padding: 4px 0;
}

.atom-meet-stars-pick {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 0 2px;
}

.atom-meet-grade-star {
  border: none;
  background: none;
  padding: 0 4px;
  font-size: 2rem;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  color: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.12s ease, text-shadow 0.15s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.atom-meet-grade-star:hover {
  transform: scale(1.12);
  color: rgba(255, 193, 7, 0.75);
}

.atom-meet-grade-star.is-on {
  color: #ffc107;
  text-shadow: 0 0 14px rgba(255, 193, 7, 0.55);
}

.atom-meet-stars-hint {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: #64748b;
  min-height: 1.2em;
}

.atom-meet-pts-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.atom-meet-pts-quick-btn {
  border: 1px solid rgba(0, 212, 170, 0.55);
  background: transparent;
  color: #6ee7b7;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.atom-meet-pts-quick-btn:hover {
  background: #00d4aa;
  border-color: #00d4aa;
  color: #0f0f1a;
}

.atom-meet-empty {
  padding: 12px;
  color: #64748b;
  margin: 0;
  font-size: 0.88rem;
}

.atom-meet-field input[type="number"],
.atom-meet-field textarea,
.atom-meet-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #32325a;
  border-radius: 12px;
  background: #1a1a2e;
  color: #e5e7eb;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
}

.atom-meet-field textarea {
  min-height: 88px;
  resize: vertical;
  margin-top: 10px;
}

.atom-meet-checks {
  display: grid;
  gap: 10px;
}

.atom-meet-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #32325a;
  background: #1a1a2e;
  cursor: pointer;
  user-select: none;
}

.atom-meet-check input {
  width: 20px;
  height: 20px;
  accent-color: #00d4aa;
}

.atom-meet-alumno-pick {
  border: 1px solid #32325a;
  border-radius: 12px;
  background: #1a1a2e;
  max-height: 160px;
  overflow: auto;
}

.atom-meet-alumno-pick button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #252540;
  background: transparent;
  color: #e5e7eb;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.9rem;
}

.atom-meet-alumno-pick button:last-child {
  border-bottom: 0;
}

.atom-meet-alumno-pick button:hover,
.atom-meet-alumno-pick button.is-selected {
  background: rgba(0, 212, 170, 0.12);
}

.atom-meet-alumno-pick small {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  margin-top: 2px;
}

.atom-meet-selected {
  min-height: 44px;
}

.atom-meet-selected-warn {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fcd34d;
  font-size: 0.85rem;
}

.atom-meet-selected-ok {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.4);
}

.atom-meet-selected-ok strong {
  color: #fff;
  font-size: 1rem;
}

.atom-meet-selected-ok small {
  color: #94a3b8;
  font-size: 0.78rem;
}

.atom-meet-aula-badge,
.atom-meet-aula-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 2px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.45);
}

.atom-meet-aula-chip {
  display: block;
  margin: 4px 0 2px;
}

.atom-meet-alumno-pick button.is-selected .atom-meet-aula-chip {
  background: rgba(0, 212, 170, 0.2);
  color: #6ee7b7;
  border-color: rgba(0, 212, 170, 0.5);
}

.atom-meet-modal__foot {
  padding: 0 18px 18px;
  display: flex;
  gap: 10px;
}

.atom-meet-btn {
  flex: 1;
  min-height: 48px;
  border-radius: 14px;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}

.atom-meet-btn--primary {
  background: linear-gradient(135deg, #00d4aa, #00a884);
  color: #0f0f1a;
}

.atom-meet-btn--ghost {
  background: #252540;
  color: #e5e7eb;
  border: 1px solid #32325a;
}

.atom-meet-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.atom-meet-msg {
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 10px;
  display: none;
}

.atom-meet-msg.is-err {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.atom-meet-msg.is-ok {
  display: block;
  background: rgba(0, 212, 170, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(0, 212, 170, 0.35);
}

/* Banner: fijar aula de esta sala Meet (no mezclar con otras) */
.atom-meet-float-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2147483000;
}

.atom-meet-float-layer.is-hidden {
  display: none !important;
}

.atom-meet-star-btn--float {
  pointer-events: auto !important;
  margin: 0 !important;
  width: 34px !important;
  height: 34px !important;
  font-size: 17px !important;
  z-index: 1 !important;
}

.atom-meet-aula-lock {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2147483645;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: min(560px, calc(100vw - 24px));
  padding: 10px 14px;
  border-radius: 14px;
  background: #0f0f1a;
  border: 1px solid #00d4aa;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  color: #e5e7eb;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 0.85rem;
}

.atom-meet-aula-lock.is-err {
  border-color: #f87171;
}

.atom-meet-aula-lock.is-err strong {
  color: #fca5a5;
}

.atom-meet-aula-lock strong {
  color: #00d4aa;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.atom-meet-aula-lock select {
  flex: 1 1 140px;
  min-width: 120px;
  border: 1px solid #32325a;
  border-radius: 10px;
  background: #1a1a2e;
  color: #e5e7eb;
  padding: 8px 10px;
  font: inherit;
}

.atom-meet-aula-lock button {
  border: none;
  border-radius: 10px;
  background: #00d4aa;
  color: #0f0f1a;
  font-weight: 800;
  padding: 8px 14px;
  cursor: pointer;
}

.atom-meet-aula-lock.is-locked {
  border-color: #38bdf8;
}

.atom-meet-aula-lock.is-locked .atom-meet-aula-lock-label {
  color: #7dd3fc;
  font-weight: 700;
}
