* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 55%, #f1f5f9 100%);
  color: #0f172a;
  min-height: 100vh;
}
.wrap { max-width: 560px; margin: 0 auto; padding: 32px 16px 48px; }
.brand { text-align: center; margin-bottom: 24px; }

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
}

.logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
}
.brand h1 { font-size: 1.25rem; font-weight: 800; color: #0f172a; line-height: 1.3; }
.sub { margin-top: 4px; color: #4f46e5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.today-pill {
  display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px;
  background: #e0e7ff; color: #3730a3; font-size: .78rem; font-weight: 700;
  border: 1px solid #c7d2fe;
}

.card {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 20px; box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
.search label { display: block; font-size: .85rem; color: #475569; margin-bottom: 8px; font-weight: 600; }
.row { display: flex; gap: 8px; }
.search input {
  flex: 1; min-width: 0; padding: 14px; border-radius: 12px; border: 1px solid #cbd5e1;
  background: #f8fafc; color: #0f172a; font-size: 1.05rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; outline: none;
}
.search input:focus { background: #ffffff; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79, 70, 229, .15); }
.search button {
  padding: 0 18px; border: 0; border-radius: 12px; background: #4f46e5; color: #fff;
  font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(79, 70, 229, .25);
}
.search button:hover { background: #4338ca; }
.search button:disabled { opacity: .6; cursor: wait; }

.status { text-align: center; margin: 18px 0 10px; font-size: .9rem; color: #475569; min-height: 1.2em; font-weight: 500; }
.status.error { color: #dc2626; font-weight: 600; }

.results { display: grid; gap: 14px; }
.seat-card { border-left: 4px solid #4f46e5; }
.seat-card .date { font-size: .8rem; color: #4f46e5; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.seat-card .date span { color: #64748b; font-weight: 500; text-transform: none; letter-spacing: 0; }
.seat-card .course { margin: 6px 0 14px; font-size: 1.02rem; font-weight: 700; color: #0f172a; }
.seat-card .course small { display: block; color: #64748b; font-weight: 600; font-size: .8rem; margin-top: 2px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; text-align: center; }
.box .k { font-size: .7rem; color: #64748b; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.box .v { font-size: 1.6rem; font-weight: 800; color: #059669; margin-top: 2px; }
.badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #d1fae5; color: #065f46; font-size: .65rem; font-weight: 700; vertical-align: middle; }

.foot { margin-top: 36px; text-align: center; font-size: .78rem; color: #64748b; line-height: 1.6; }
.foot .tagline {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid #e2e8f0;
  color: #334155; font-size: .82rem;
}
.foot .tagline strong { color: #4f46e5; font-weight: 700; }
.row-desk-label {
  margin-top: 6px;
  font-size: inherit;
  font-weight: inherit;
}
