/* VMCR remote companion — phone-first copy of Director panels */
body.vmcr-remote-page {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, #101820 0%, #1a2433 45%, #0d1218 100%);
  color: #e8eef8;
}
.vmcr-remote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 18, 28, 0.92);
  position: sticky;
  top: 0;
  z-index: 5;
}
.vmcr-remote-top .logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.vmcr-remote-top__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.vmcr-remote-room {
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.08em;
}
.vmcr-remote-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}
.vmcr-remote-status {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
.vmcr-remote-status.is-ok {
  color: #8fd49a;
}
.vmcr-remote-status.is-error {
  color: #f0a0a0;
}
.vmcr-remote-card h2 {
  margin: 0 0 0.35rem;
}
.vmcr-remote-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.45rem;
  margin: 0.75rem 0;
}
.vmcr-remote-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.55rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.vmcr-remote-slot strong {
  font-size: 1rem;
}
.vmcr-remote-slot span {
  font-size: 0.72rem;
  opacity: 0.75;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.vmcr-remote-slot.is-filled {
  border-color: rgba(120, 170, 255, 0.45);
}
.vmcr-remote-slot.is-active,
.vmcr-remote-slot.is-live {
  background: rgba(70, 130, 220, 0.35);
  border-color: rgba(160, 200, 255, 0.65);
}
.vmcr-remote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0;
}
.vmcr-remote-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.vmcr-remote-card textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  min-height: 4.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  padding: 0.5rem;
}

/* Director: remote link modal */
.vmcr-remote-link-pop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.vmcr-remote-link-pop[hidden] {
  display: none !important;
}
.vmcr-remote-link-pop__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.vmcr-remote-link-pop__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #151c28;
  color: #eef3fb;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.vmcr-remote-link-pop__panel h3 {
  margin: 0 0 0.35rem;
}
.vmcr-remote-link-pop__url {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0.65rem 0;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.3);
  color: inherit;
  font-size: 0.78rem;
  word-break: break-all;
}
.vmcr-remote-link-pop__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.vmcr-remote-link-btn {
  margin-left: 0.25rem;
}
