:root {
  --bg: #e7f6ff;
  --ink: #1c2a3a;
  --muted: #4a6274;
  --card: #ffffff;
  --line: #c5e4f7;
  --green: #ff7a1a;
  --green-dark: #0ea5e9;
  --gold: #e8b923;
  --ok: #0f7a4a;
  --warn: #b45309;
  --bad: #a12626;
  --pending: #c2410c;
  --sky: #6ac4fd;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 12% -8%, #b8e6fd 0%, transparent 58%),
    linear-gradient(#d7f1ff, #ffffff 46%);
  color: var(--ink);
  line-height: 1.45;
}
a { color: #0b6fae; }
.wrap { max-width: 980px; margin: 0 auto; padding: 20px 16px 64px; }
header.app {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 20px;
}
.brand small { display: block; color: var(--muted); }
.brand h1 { margin: 4px 0 0; font-size: 1.45rem; }
.user { text-align: right; font-size: 0.95rem; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 10px 28px rgba(14, 116, 176, 0.08);
}
.card h2 { margin: 0 0 10px; font-size: 1.15rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.metric {
  background: #eef8ff;
  border-radius: 12px;
  padding: 12px;
}
.metric b { display: block; font-size: 1.15rem; }
.metric span { color: var(--muted); font-size: 0.82rem; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.bad { color: var(--bad); }
.muted { color: var(--muted); }
.banner {
  padding: 10px 12px; border-radius: 10px; margin-bottom: 12px;
}
.banner.ok { background: #e5f6ec; color: #0d5a36; }
.banner.error, .banner.bad { background: #fde8e8; color: #7a1818; }
.banner.warn { background: #fff4d6; color: #6b4b00; }
form.stack { display: grid; gap: 10px; }
label { display: grid; gap: 4px; font-size: 0.92rem; }
input, select, textarea, button {
  font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
}
input, select, textarea { background: white; width: 100%; }
button, .btn {
  background: var(--green); color: white; border: 0; cursor: pointer;
  text-decoration: none; display: inline-block; text-align: center;
}
button.secondary, .btn.secondary { background: var(--green-dark); }
button.ghost, .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
button.danger { background: var(--bad); }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.right { text-align: right; }
.progress {
  height: 12px; background: #d7eefb; border-radius: 99px; overflow: hidden;
  border: 1px solid var(--line);
}
.progress > span { display: block; height: 100%; background: var(--green); }
.login-grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .login-grid { grid-template-columns: 1fr 1fr; }
}
.pin { letter-spacing: 0.35em; font-size: 1.2rem; text-align: center; }
.tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 0.78rem; background: #e7f3fb;
}
.tag.pending { background: #fff0cc; color: var(--pending); }
.tag.confirmed { background: #dff3e7; color: var(--ok); }
.tag.rejected { background: #fde0e0; color: var(--bad); }
.props { display: grid; gap: 6px; }
.props div { display: grid; grid-template-columns: 160px 1fr; gap: 8px; }
.props dt, .props .k { color: var(--muted); }
@media (max-width: 640px) {
  table.sched { font-size: 0.82rem; }
  .props div { grid-template-columns: 1fr; }
  header.app { flex-direction: column; }
  .user { text-align: left; }
}

.brand-mark {
  display: flex; align-items: center; gap: 12px;
}
.brand-mark img {
  width: 56px; height: 56px; border-radius: 14px;
  border: 2px solid #ffd7a8; background: #e7f6ff;
}
.hero-video {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 0 18px;
  aspect-ratio: 16 / 9;
  background: var(--sky);
  box-shadow: 0 12px 30px rgba(14, 116, 176, 0.12);
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #6ac4fd;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s ease;
}
.splash[hidden] { display: none !important; }
.splash video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.splash.fade { opacity: 0; pointer-events: none; }
.splash-skip {
  position: absolute;
  right: 22px;
  bottom: 26px;
  background: rgba(255,255,255,0.94);
  color: #1c2a3a;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 40, 70, 0.16);
}
