/* Empty Rooms calendar landing. Dark monochrome. JetBrains Mono.
   Squares stay dim. No bright signals. */

.rooms-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 6rem;
  color: #d0d0c8;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.rooms-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(160, 160, 150, 0.18);
  padding-bottom: 1.25rem;
}

.rooms-title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 0.6rem;
  color: #e6e6dc;
  text-transform: lowercase;
}

.rooms-sub {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(208, 208, 200, 0.78);
  margin: 0;
  max-width: 60ch;
}

.rooms-explainer {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(192, 192, 184, 0.72);
  margin: 0 0 2.25rem;
  max-width: 64ch;
}

.rooms-explainer p {
  margin: 0 0 0.85rem;
}

.rooms-explainer p:last-child {
  margin-bottom: 0;
}

.rooms-section {
  margin: 2.25rem 0;
}

.rooms-section-title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(192, 192, 184, 0.55);
  margin: 0 0 0.85rem;
  border-bottom: 1px dashed rgba(160, 160, 150, 0.18);
  padding-bottom: 0.4rem;
}

.rooms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.rooms-empty {
  font-size: 0.88rem;
  color: rgba(160, 160, 150, 0.42);
  padding: 1rem 0.4rem;
  font-style: italic;
}

.rooms-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 0.95rem 1rem;
  background: rgba(20, 20, 18, 0.55);
  border: 1px solid rgba(160, 160, 150, 0.14);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: border-color 120ms ease-out, background 120ms ease-out;
}

.rooms-card:hover,
.rooms-card:focus-visible {
  border-color: rgba(208, 208, 200, 0.35);
  background: rgba(28, 28, 24, 0.7);
  outline: none;
}

.rooms-card-writing {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #e6e6dc;
  text-transform: lowercase;
}

.rooms-card-time {
  font-size: 0.82rem;
  color: rgba(192, 192, 184, 0.62);
  white-space: nowrap;
}

.rooms-card-meta {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: rgba(160, 160, 150, 0.55);
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.rooms-card-meta span + span::before {
  content: " · ";
  color: rgba(160, 160, 150, 0.3);
}

.rooms-card[data-status="closed"] {
  opacity: 0.78;
}

.rooms-card[data-status="closed"] .rooms-card-writing {
  color: rgba(208, 208, 200, 0.78);
}

.rooms-admin {
  margin: 3rem 0 0;
  padding: 1.5rem;
  border: 1px dashed rgba(160, 160, 150, 0.22);
  border-radius: 2px;
  background: rgba(10, 10, 8, 0.4);
}

.rooms-admin-form {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.rooms-admin-label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(160, 160, 150, 0.62);
}

.rooms-admin-label input,
.rooms-admin-label select,
.rooms-admin-label textarea {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.92rem;
  background: rgba(15, 15, 13, 0.85);
  color: #e6e6dc;
  border: 1px solid rgba(160, 160, 150, 0.18);
  border-radius: 2px;
  padding: 0.55rem 0.7rem;
}

.rooms-admin-label input:focus,
.rooms-admin-label select:focus,
.rooms-admin-label textarea:focus {
  outline: none;
  border-color: rgba(208, 208, 200, 0.45);
}

.rooms-admin-label-wide {
  grid-column: 1 / -1;
}

.rooms-admin-questions {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(160, 160, 150, 0.12);
}

.rooms-admin-hint {
  font-size: 0.78rem;
  color: rgba(160, 160, 150, 0.55);
  margin: 0.2rem 0 0.8rem;
}

.rooms-admin-qlist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.4rem;
}

.rooms-admin-qrow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: baseline;
  font-size: 0.82rem;
  color: rgba(208, 208, 200, 0.78);
  padding: 0.4rem 0.6rem;
  background: rgba(15, 15, 13, 0.55);
  border: 1px solid rgba(160, 160, 150, 0.1);
  border-radius: 2px;
}

.rooms-admin-qpos {
  color: rgba(160, 160, 150, 0.55);
  letter-spacing: 0.05em;
}

.rooms-admin-qmark {
  color: rgba(160, 160, 150, 0.5);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
}

.rooms-admin-submit {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(208, 208, 200, 0.85);
  border: 1px solid rgba(160, 160, 150, 0.32);
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  border-radius: 2px;
  justify-self: start;
}

.rooms-admin-submit:hover,
.rooms-admin-submit:focus-visible {
  border-color: rgba(208, 208, 200, 0.65);
  background: rgba(28, 28, 24, 0.6);
  outline: none;
}

.rooms-admin-msg {
  font-size: 0.82rem;
  color: rgba(192, 192, 184, 0.62);
  margin: 0;
  min-height: 1.2em;
}

.rooms-admin-msg[data-state="error"] {
  color: rgba(220, 160, 140, 0.85);
}

.rooms-admin-msg[data-state="ok"] {
  color: rgba(160, 200, 170, 0.85);
}

@media (max-width: 560px) {
  .rooms-shell {
    padding: 1.75rem 0.9rem 4rem;
  }

  .rooms-title {
    font-size: 1.6rem;
  }

  .rooms-card {
    grid-template-columns: 1fr;
  }

  .rooms-card-time {
    white-space: normal;
  }
}
