:root {
  --lookup-shadow: 0 18px 36px rgba(18, 42, 76, 0.08);
}
.lookup-page-shell {
  display: grid;
  gap: 18px;
}
.lookup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  padding: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.lookup-hero-copy h2 {
  margin: 8px 0 0;
  color: #1d2b40;
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: -0.8px;
}
.lookup-hero-copy p {
  max-width: 720px;
  margin: 12px 0 0;
  color: #5d7086;
  font-size: 15px;
  line-height: 1.8;
}
.lookup-hero-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid #d8e3ef;
  border-radius: 20px;
  background: linear-gradient(180deg, #f9fbff 0%, #eff5fc 100%);
}
.lookup-hero-card strong {
  color: #18304f;
  font-size: 18px;
  font-weight: 800;
}
.lookup-hero-card p {
  color: #637489;
  font-size: 13px;
  line-height: 1.8;
}
.lookup-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}
.lookup-content > aside { display: grid; }
.lookup-panel,
.lookup-result-panel,
.lookup-empty-panel {
  height: 100%;
  border: 1px solid #dce5ef;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: var(--lookup-shadow);
}
.lookup-panel,
.lookup-empty-panel,
.lookup-result-panel {
  padding: 22px;
}
.lookup-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.lookup-panel-head h3,
.lookup-result-panel h3 {
  margin: 6px 0 0;
  color: #1e2f48;
  font-size: 24px;
  font-weight: 700;
}
.lookup-panel-head p,
.lookup-result-panel p,
.lookup-empty-panel p {
  margin: 0;
  color: #607286;
  font-size: 13px;
  line-height: 1.7;
}
.lookup-form {
  display: grid;
  gap: 16px;
}
.lookup-field {
  display: grid;
  gap: 8px;
}
.lookup-field span {
  color: #31465f;
  font-size: 13px;
  font-weight: 700;
}
.lookup-field span em {
  color: #c23b3b;
  font-style: normal;
}
.lookup-field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #ced9e6;
  border-radius: 12px;
  background: #fff;
  color: #23344d;
}
.lookup-field input:focus {
  outline: none;
  border-color: #7fa7da;
  box-shadow: 0 0 0 4px rgba(29,79,145,.12);
}
.lookup-field small {
  color: #6b7d91;
  font-size: 12px;
  line-height: 1.6;
}
.lookup-actions {
  display: flex;
  gap: 10px;
}
.lookup-submit-btn,
.lookup-reset-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.lookup-submit-btn {
  border: 1px solid var(--primary-deep);
  background: linear-gradient(180deg, #1f5598 0%, #173f75 100%);
  color: #fff;
}
.lookup-reset-btn {
  border: 1px solid #cfdae7;
  background: #f3f6fa;
  color: #2b3f5d;
}
.lookup-notice {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}
.lookup-notice.show { display: block; }
.lookup-notice.error { border: 1px solid #ffd7d7; background: #fff0f0; color: #bc3b3b; }
.lookup-notice.success { border: 1px solid #d0ebd8; background: #eefaf2; color: #217a46; }
.lookup-empty-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}
.lookup-empty-panel strong {
  color: #18304f;
  font-size: 18px;
  font-weight: 800;
}
.lookup-result-panel { display: none; gap: 18px; margin-top: 2px; }
.lookup-result-panel.show { display: grid; }
.lookup-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e1e8f0;
}
.lookup-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.lookup-status-badge.waiting { background: #eef4ff; color: #275ea8; }
.lookup-status-badge.paid { background: #fff5d9; color: #966200; }
.lookup-status-badge.done { background: #eaf8ee; color: #217a46; }
.lookup-status-badge.cancel { background: #f1f3f6; color: #667487; }
.lookup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lookup-item {
  padding: 14px;
  border: 1px solid #dde6ef;
  border-radius: 16px;
  background: #fff;
}
.lookup-item span {
  display: block;
  color: #6a7b8f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.lookup-item strong {
  display: block;
  margin-top: 6px;
  color: #20324f;
  font-size: 14px;
  line-height: 1.6;
}
.lookup-span-2 { grid-column: 1 / -1; }
@media (max-width: 960px) {
  .lookup-hero,
  .lookup-content {
    grid-template-columns: 1fr;
  }
  .lookup-panel-head,
  .lookup-status-row,
  .lookup-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .lookup-grid {
    grid-template-columns: 1fr;
  }
  .lookup-submit-btn,
  .lookup-reset-btn {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .lookup-hero,
  .lookup-panel,
  .lookup-empty-panel,
  .lookup-result-panel {
    padding: 16px;
  }
  .lookup-hero-copy h2 {
    font-size: 28px;
  }
}

/* Page typography: lookup */

body { font-size: 17px; }
.brand-kicker { font-size: 12px; }
.brand-copy h1 { font-size: 26px; }
.brand-sub-text,
.header-link-btn,
.main-nav a,
.section-side-text { font-size: 15px; }
.primary-btn,
.outline-btn,
.course-chip-btn,
.reset-btn,
select,
input,
textarea,
table,
button { font-size: 15px; }
.hero-label,
.section-kicker,
.enroll-card-kicker,
.summary-kicker,
.shortcut-eyebrow { font-size: 13px; }
.footer-meta-item span,
.footer-bottom,
.footer-links a { font-size: 14px; }
.footer-brand strong { font-size: 19px; }
.footer-brand p { font-size: 15px; line-height: 1.8; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-copy h1 { font-size: 18px; }
}

.lookup-hero-copy h2 { font-size: 44px; line-height: 1.22; }
.lookup-hero-copy p { font-size: 18px; line-height: 1.85; }
.lookup-field span { font-size: 14px; }
.lookup-result-card strong { font-size: 17px; }
.section-head h3 { font-size: 32px; }
@media (max-width: 900px) {
  .lookup-hero-copy h2 { font-size: 38px; }
  .section-head h3 { font-size: 29px; }
}
@media (max-width: 560px) {
  .lookup-hero-copy h2 { font-size: 31px; }
  .section-head h3 { font-size: 27px; }
}
