/* @author Claude Code 🤖 | 2026-12-01 | Tempo public pages: styles (light and dark). */
:root {
  --bg: #e6f2f2;
  --card: #ffffff;
  --band: #f5f8fb;
  --text: #1a1a1a;
  --muted: #5b6470;
  --line: #e3e7ec;
  --focus: #0b6bcb;
  --link: #0b5cad;
  --skeleton: #eceff3;
  --dot-0: #f5a300;
  --dot-1: #2f80ed;
  --dot-2: #27ae60;
  --dot-3: #9b51e0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1416;
    --card: #1a2024;
    --band: #222a2f;
    --text: #eef1f3;
    --muted: #a7b0b8;
    --line: #2f383e;
    --focus: #6fb3ff;
    --link: #8cc2ff;
    --skeleton: #2a3237;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.5 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  overflow-x: hidden;
}
main {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 16px 4rem;
}
a {
  color: var(--link);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.card {
  position: relative;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem 2.5rem;
  overflow: hidden;
}
.status-title {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}
.status,
.noscript {
  color: var(--muted);
  margin: 0;
}
.noscript {
  text-align: center;
  padding: 1rem 16px;
}

/* Rep page */
.profile {
  padding-top: 0;
  text-align: center;
}
.band {
  height: 4rem;
  margin: 0 -1.5rem;
  background: var(--band);
  border-bottom: 1px solid var(--line);
}
.profile-head {
  margin-top: -3rem;
}
.avatar {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: var(--band);
}
.avatar.large {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border: 4px solid var(--card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.avatar.small {
  width: 40px;
  height: 40px;
  flex: none;
}
.avatar.initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--muted);
}
.avatar.initials.large {
  font-size: 2rem;
}
.name {
  font-size: 1.15rem;
  margin: 0.75rem 0 0.25rem;
}
.intro {
  white-space: pre-line;
  color: var(--muted);
  max-width: 32rem;
  margin: 0.5rem auto 2rem;
  overflow-wrap: anywhere;
}

.meeting-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: left;
}
@media (min-width: 640px) {
  .meeting-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.meeting-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}
.meeting-card:hover {
  background: var(--band);
}
.meeting-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  flex: none;
}
.dot-0 {
  background: var(--dot-0);
}
.dot-1 {
  background: var(--dot-1);
}
.dot-2 {
  background: var(--dot-2);
}
.dot-3 {
  background: var(--dot-3);
}
.meeting-title {
  font-weight: 700;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.chevron {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
}
.meeting-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.meeting-desc {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: pre-line;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* One Meeting Type */
.back {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.meeting-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.host {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.meeting-name {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.25;
}
.meeting-header + .intro {
  margin: 0.5rem 0 1.5rem;
}

/* Landing page */
.landing h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}
.landing .intro {
  margin: 0 0 2rem;
}
.landing section {
  margin: 0 0 2.5rem;
}

/* Loading */
.skeleton {
  background: var(--skeleton);
  border-radius: 6px;
  margin: 0 auto 0.75rem;
}
.skeleton-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
}
.skeleton-line {
  height: 1rem;
  width: 60%;
}
.skeleton-line.short {
  width: 40%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 480px) {
  main {
    padding-top: 1rem;
  }
  .card {
    padding: 1.5rem 1rem 2rem;
  }
  .profile {
    padding-top: 0;
  }
  .band {
    margin: 0 -1rem;
  }
}
