:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #756a60;
  --line: #f0ded0;
  --page: #fff8ef;
  --card: #ffffff;
  --brand: #e86d1f;
  --brand-dark: #a94309;
  --accent: #ff9f2f;
  --warn: #fff1dc;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  zoom: 0.75;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  gap: 8px;
  padding: 10px 14px 9px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand-row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: start;
}

.brand-title {
  display: grid;
  grid-column: 2;
  justify-items: center;
  gap: 2px;
  min-width: 0;
}

.admin-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.header-logo {
  grid-column: 2;
  width: 64px;
  height: 48px;
  justify-self: center;
  object-fit: contain;
}

h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.16;
  white-space: nowrap;
  text-align: center;
}
h2 { margin-bottom: 10px; font-size: 26px; line-height: 1.18; letter-spacing: 0; }
p { color: var(--muted); line-height: 1.65; }

.eyebrow, .tag {
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 800;
}

.brand-title .eyebrow {
  margin-bottom: 0;
  white-space: nowrap;
}

button, input, select, textarea {
  font: inherit;
}

button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.icon-button {
  width: 40px;
  height: 40px;
  background: #fff0df;
  color: var(--brand-dark);
  font-size: 30px;
  line-height: 1;
}

.text-button {
  min-height: 30px;
  padding: 6px 10px;
  color: var(--brand-dark);
  background: #fff0df;
  font-weight: 800;
  font-size: 14px;
}

main {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 8px 14px 92px;
}

.screen { display: none; }
.screen.active { display: block; }

.flow-card, .form-card, .submit-result, .record-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.flow-card {
  padding: 22px;
}

.identity-actions {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.identity-card {
  display: grid;
  gap: 12px;
  width: 100%;
  min-height: 136px;
  align-content: center;
  padding: 22px;
  text-align: left;
  color: white;
  background: linear-gradient(145deg, var(--brand-dark), var(--brand));
}

.identity-card span {
  font-size: 14px;
  opacity: 0.9;
}

.identity-card strong {
  font-size: 24px;
  line-height: 1.18;
}

.secondary-card {
  color: #2f2419;
  background: linear-gradient(145deg, #fff6e8, #f0c38f);
}

.school-card {
  color: #4a260d;
  background: linear-gradient(145deg, #fff2df, #ffd39b);
}

.lookup-card {
  min-height: 112px;
  color: #7a2d0b;
  border: 1px solid #f0bd8a;
  background: linear-gradient(145deg, #fffaf3, #ffd9ad);
}

.campus-carousel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
  overflow: hidden;
}

.official-site-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 12px;
  padding: 13px 18px;
  border: 1px solid #f0bd8a;
  border-radius: 8px;
  color: #7a2d0b;
  background: linear-gradient(145deg, #fffaf3, #ffd9ad);
  box-shadow: 0 10px 24px rgba(122, 45, 11, 0.12);
  font-weight: 900;
  text-decoration: none;
}

.official-site-link:active {
  transform: translateY(1px);
}

.campus-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
}

.campus-head h2 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.25;
}

.campus-head .tag {
  margin-bottom: 2px;
  font-size: 13px;
}

.campus-head span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #fff0df;
  font-weight: 900;
}

.campus-viewport {
  overflow: hidden;
  border-radius: 8px;
}

.campus-track {
  display: flex;
  width: 100%;
  touch-action: pan-y;
  transition: transform 0.45s ease;
}

.campus-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  min-height: 150px;
  align-content: end;
  gap: 6px;
  padding: 18px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.campus-slide::before,
.campus-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.campus-slide::before {
  background:
    linear-gradient(180deg, rgba(23, 33, 28, 0.08), rgba(23, 33, 28, 0.72)),
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.36), transparent 18%),
    linear-gradient(135deg, #b64b10, #ee8a35);
}

.campus-slide.has-image::before {
  background:
    linear-gradient(180deg, rgba(23, 33, 28, 0.08), rgba(23, 33, 28, 0.76)),
    var(--campus-image) center / cover no-repeat;
}

.campus-slide::after {
  inset: auto 18px 18px auto;
  width: 78px;
  height: 52px;
  border: 8px solid rgba(255, 255, 255, 0.35);
  border-top-width: 14px;
  border-radius: 8px 8px 4px 4px;
  opacity: 0.9;
}

.campus-two::before {
  background:
    linear-gradient(180deg, rgba(23, 33, 28, 0.06), rgba(23, 33, 28, 0.68)),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(135deg, #8f4b13, #e2a65f);
}

.campus-three::before {
  background:
    linear-gradient(180deg, rgba(23, 33, 28, 0.06), rgba(23, 33, 28, 0.7)),
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.32), transparent 18%),
    linear-gradient(135deg, #9c5a1d, #d9a15a);
}

.campus-four::before {
  background:
    linear-gradient(180deg, rgba(23, 33, 28, 0.06), rgba(23, 33, 28, 0.7)),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.32), transparent 18%),
    linear-gradient(135deg, #a0440c, #f0a04d);
}

.campus-slide span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.campus-slide strong {
  max-width: 78%;
  font-size: 23px;
  line-height: 1.16;
}

.campus-slide small {
  max-width: 78%;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.campus-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.campus-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  background: #c8d9d1;
}

.campus-dots button.active {
  width: 18px;
  background: var(--brand);
}

.flow-card {
  margin-bottom: 12px;
}

.price-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: end;
  margin-top: 14px;
  padding: 14px;
  color: white;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--brand-dark), var(--brand));
}

.public-price {
  background: linear-gradient(145deg, #8a4a18, var(--accent));
}

.admin-login {
  margin-top: 12px;
}

.price-strip strong {
  font-size: 34px;
  line-height: 1;
}

.price-strip small {
  grid-column: 1 / -1;
  opacity: 0.9;
}

.form-card {
  display: grid;
  gap: 13px;
  padding: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #46372d;
  font-size: 15px;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ead4c4;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
}

.field-invalid {
  border-color: #e23333;
  background: #fff5f2;
  box-shadow: 0 0 0 3px rgba(226, 51, 51, 0.12);
}

.field-error {
  color: #c52828;
  font-size: 12px;
  font-weight: 800;
}

textarea {
  min-height: 86px;
  resize: vertical;
}

.primary {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  color: white;
  background: var(--brand);
  font-weight: 900;
  font-size: 16px;
}

.sticky-submit {
  position: sticky;
  bottom: 12px;
  box-shadow: 0 12px 26px rgba(232, 109, 31, 0.28);
}

.empty {
  margin-top: 12px;
  padding: 20px;
  color: var(--muted);
  text-align: center;
  border-style: dashed;
  background: #fffaf3;
}

.receipt {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 18px;
}

.result-page-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--brand);
  font-size: 32px;
  font-weight: 900;
}

.result-details {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fff8ef;
}

.result-actions,
.lookup-result {
  display: grid;
  gap: 12px;
}

.choice-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #f0c8a7;
  border-radius: 8px;
  background: #fff7ed;
}

.choice-card h3 {
  margin: 0;
  font-size: 20px;
}

.choice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lookup-card-result {
  margin-top: 12px;
}

.group-join-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #f0c8a7;
  border-radius: 8px;
  background: #fff7ed;
}

.group-join-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.group-join-card p {
  margin-bottom: 0;
}

.group-join-card small {
  color: var(--muted);
  line-height: 1.5;
}

.qr-placeholder {
  position: relative;
  display: grid;
  width: 186px;
  height: 186px;
  place-items: center;
  justify-self: center;
  border: 10px solid #fff;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #17211c 10px, transparent 10px) 0 0 / 24px 24px,
    linear-gradient(#17211c 10px, transparent 10px) 0 0 / 24px 24px,
    #fff;
  box-shadow: 0 8px 22px rgba(23, 33, 28, 0.14);
}

.qr-placeholder span {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 8px solid #17211c;
  background: #fff;
}

.qr-placeholder span:nth-child(1) { top: 12px; left: 12px; }
.qr-placeholder span:nth-child(2) { top: 12px; right: 12px; }
.qr-placeholder span:nth-child(3) { bottom: 12px; left: 12px; }
.qr-placeholder span:nth-child(4) { right: 42px; bottom: 42px; width: 22px; height: 22px; border-width: 6px; }

.qr-placeholder strong {
  z-index: 1;
  padding: 8px 10px;
  color: white;
  background: var(--brand);
  border-radius: 8px;
}

.group-qr-image {
  width: min(100%, 260px);
  aspect-ratio: 3 / 4;
  justify-self: center;
  object-fit: contain;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 8px 22px rgba(23, 33, 28, 0.14);
}

.payment-qr-card {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #f0c8a7;
  border-radius: 8px;
  background: #fff7ed;
}

.payment-qr-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
}

.payment-qr-card p {
  margin-bottom: 0;
}

.payment-qr-image {
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  justify-self: center;
  object-fit: contain;
  border: 10px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 33, 28, 0.14);
}

.payment-note {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.payment-direct-link {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(205, 87, 25, 0.18);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.payment-direct-link:active {
  transform: translateY(1px);
}

.payment-warning {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #f2a075;
  border-radius: 8px;
  color: #8f2e0a;
  background: #fff1e8;
}

.payment-warning strong {
  font-size: 16px;
}

.payment-warning span {
  line-height: 1.55;
  font-size: 14px;
  font-weight: 800;
}

.payment-note small,
.payment-qr-card small {
  color: var(--muted);
  line-height: 1.55;
}

.ghost-link,
.record-link {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
}

.proof-upload {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #ef8a51;
  border-radius: 8px;
  color: #8f2e0a;
  background: #fffaf3;
  font-weight: 900;
}

.proof-upload input {
  padding: 10px;
  border: 2px dashed #e86d1f;
  border-radius: 8px;
  background: #fff;
}

.proof-upload small {
  color: #8f2e0a;
  font-weight: 800;
}

.ghost-button {
  min-height: 48px;
  color: var(--brand-dark);
  background: #fff0df;
  font-weight: 900;
}

.success-badge {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  color: #9b3f08;
  background: #fff0df;
  font-weight: 900;
}

.line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.form-alert {
  padding: 12px;
  border: 1px solid #efb7b0;
  border-radius: 8px;
  color: #8f2d23;
  background: #fff0ef;
  font-weight: 800;
}

.line span {
  color: var(--muted);
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.login-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #f0c8a7;
  border-radius: 8px;
  color: var(--brand-dark);
  background: #fff7ed;
  font-weight: 900;
}

.login-status span {
  min-width: 0;
  line-height: 1.35;
}

.login-status .text-button {
  flex: 0 0 auto;
  background: #fff;
}

.login-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.admin-tabs button {
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #f0c8a7;
  border-radius: 8px;
  color: var(--brand-dark);
  background: #fff7ed;
  font-weight: 900;
  font-size: 14px;
}

.admin-tabs button.active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.admin-page {
  display: none;
}

.admin-page.active {
  display: block;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.metrics div {
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metrics strong {
  font-size: 24px;
}

.export-panel {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.export-title {
  font-size: 14px;
}

.export-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.export-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.export-panel .ghost-button {
  min-height: 42px;
  padding: 8px 10px;
  font-size: 14px;
}

.export-row select {
  min-height: 42px;
  padding: 8px 10px;
}

.export-filter-panel {
  display: grid;
  gap: 9px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.export-filter-panel label {
  gap: 5px;
  font-size: 13px;
}

.export-filter-panel select,
.export-filter-panel input {
  min-height: 42px;
  padding: 8px 10px;
}

.export-date-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.export-filter-panel small {
  color: var(--muted);
  line-height: 1.5;
}

.search-panel {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.search-panel label {
  gap: 6px;
}

.search-panel input {
  min-height: 44px;
  padding: 10px 12px;
}

.search-panel small {
  color: var(--muted);
}

.plan-admin-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.plan-list {
  display: grid;
  gap: 10px;
}

.plan-admin-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.plan-admin-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.plan-admin-card label,
.plan-new-form label {
  gap: 5px;
  font-size: 13px;
}

.plan-admin-card input,
.plan-admin-card select,
.plan-new-form input,
.plan-new-form select {
  min-height: 40px;
  padding: 8px;
}

.plan-admin-card small,
.visibility-note {
  color: var(--muted);
  line-height: 1.5;
}

.visibility-note {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

.inline-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 900;
}

.inline-check input {
  width: auto;
  min-height: 0;
}

.plan-new-form {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.qr-admin-panel {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 33, 28, 0.06);
}

.qr-admin-list {
  display: grid;
  gap: 10px;
}

.qr-admin-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.payment-admin-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.payment-admin-preview {
  display: grid;
  place-items: center;
  min-width: 0;
}

.payment-admin-preview .payment-qr-image {
  width: 116px;
  border-width: 6px;
}

.payment-admin-preview .qr-placeholder {
  width: 116px;
  height: 116px;
  border-width: 6px;
  background-size: 18px 18px;
}

.campus-admin-placeholder {
  display: grid;
  width: 92px;
  height: 124px;
  place-items: center;
  padding: 10px;
  border-radius: 8px;
  color: var(--muted);
  background: #edf4f0;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.qr-admin-card img {
  width: 92px;
  height: 124px;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}

.qr-admin-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.qr-admin-info strong {
  line-height: 1.35;
}

.qr-admin-info small {
  color: var(--muted);
}

.qr-admin-info label {
  gap: 5px;
  font-size: 13px;
}

.qr-admin-info input {
  min-height: 40px;
  padding: 8px;
}

.qr-admin-info textarea {
  min-height: 78px;
  padding: 8px;
  resize: vertical;
}

.qr-admin-info .ghost-button {
  min-height: 40px;
}

.record-list {
  display: grid;
  gap: 10px;
}

.record-card {
  padding: 14px;
}

.record-card p {
  margin-bottom: 6px;
}

.duplicate-note {
  padding: 7px 9px;
  border-radius: 6px;
  color: #8f2e0a;
  background: #fff1e8;
  font-size: 13px;
  font-weight: 900;
}

.proof-preview {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 8px;
  border: 1px solid #f1c89f;
  border-radius: 8px;
  color: var(--brand-dark);
  background: #fff7ed;
  font-weight: 900;
  text-decoration: none;
}

.proof-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
}

.empty-proof {
  grid-template-columns: 1fr;
  color: var(--muted);
  background: #fff;
  font-weight: 800;
}

.record-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.pill {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: #fff0df;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.pill.warn {
  color: #93550e;
  background: var(--warn);
}

.pill.done {
  color: #9b3f08;
  background: #ffe8cc;
}

.row-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.row-actions button {
  min-height: 38px;
  color: var(--brand-dark);
  background: #fff0df;
  font-weight: 800;
}

.row-actions .danger-action,
.danger-button {
  border-color: #b42318;
  color: #fff;
  background: #b42318;
}

.modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(25, 20, 17, 0.58);
}

.secure-modal {
  display: grid;
  gap: 12px;
  width: min(100%, 420px);
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.secure-modal h2,
.secure-modal p {
  margin: 0;
}

.secure-modal label {
  gap: 6px;
}

.secure-modal input {
  min-height: 46px;
  padding: 10px 12px;
}

.danger-button {
  min-height: 46px;
  border: 1px solid #b42318;
  border-radius: 8px;
  font-weight: 900;
}

@media (min-width: 760px) {
  main {
    padding-top: 24px;
  }

  .identity-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 380px) {
  .brand-row {
    grid-template-columns: 36px 1fr 36px;
  }

  .header-logo {
    width: 58px;
    height: 44px;
  }

  h1 {
    font-size: 21px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .export-actions,
  .export-row,
  .export-date-row {
    grid-template-columns: 1fr;
  }

  .qr-admin-card {
    grid-template-columns: 78px 1fr;
  }

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

  .qr-admin-card img {
    width: 78px;
    height: 106px;
  }

  .campus-admin-placeholder {
    width: 78px;
    height: 106px;
  }
}
