.summit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.summit-card { min-height: 174px; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 22px; background: var(--white); }
.summit-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.12rem; }
.summit-card p { margin: 0; color: #536574; line-height: 1.65; }
.summit-card a { color: var(--blue); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ticket-card { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 16px; }
.ticket-copy { min-width: 0; }
.ticket-qr { width: 132px; height: 132px; border: 1px solid var(--line); padding: 5px; }
.ticket-qr img { display: block; width: 100%; height: 100%; }
.ticket-reference { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #c8d2d9; color: var(--navy); font-weight: 900; overflow-wrap: anywhere; }
.ticket-card .ticket-payment-status { grid-column: 1 / -1; }
.ticket-card + .payment-panel { margin-top: 20px; }
.summit-admin { max-width: 760px; }
.admin-panel { border: 1px solid var(--line); padding: 24px; background: var(--white); }
.admin-panel + .admin-panel { margin-top: 18px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.admin-result { margin-top: 18px; }
.admin-ticket { border-top: 1px solid var(--line); padding: 14px 0; }
.admin-ticket p { margin: 5px 0; }
.admin-warning { color: #a12c20; }
.junior-admin { max-width: 1180px; }
.admin-list-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.admin-list-heading h2 { margin: 0 0 5px; color: var(--navy); font-size: 1.35rem; }
.admin-muted { margin: 0; color: var(--muted); }
.admin-filters { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(150px, .55fr) minmax(150px, .55fr) auto; align-items: end; gap: 12px; margin: 20px 0; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.admin-registration-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-registration-table th, .admin-registration-table td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.admin-registration-table th { background: #f2f5f7; color: var(--navy); font-size: .8rem; white-space: nowrap; }
.admin-registration-table td { min-width: 110px; }
.admin-registration-table td:first-child { min-width: 190px; overflow-wrap: anywhere; }
.admin-registration-table td:nth-child(2) { min-width: 210px; }
.admin-registration-table td:nth-child(4) { min-width: 160px; }
.admin-registration-table small { color: var(--muted); }
.admin-registration-table details p { margin: 9px 0 0; }
.admin-registration-table summary { cursor: pointer; color: var(--navy); font-weight: 800; }
.admin-status-badge { display: inline-block; border: 1px solid #9aa9b4; border-radius: 999px; padding: 3px 9px; color: #354957; font-size: .78rem; font-weight: 900; text-transform: capitalize; }
.admin-status-received { border-color: #246c8e; color: #164d69; }
.admin-status-interest { border-color: #b27700; color: #765000; }
.admin-status-paid { border-color: #25834b; color: #21643b; }
.admin-empty-cell { color: var(--muted); text-align: center !important; }
.admin-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.admin-ticket-filters { grid-template-columns: minmax(220px, 1fr) minmax(150px, .55fr) auto; }
.admin-ticket-table td:nth-child(3) { min-width: 190px; }
.admin-ticket-table td:nth-child(8) { min-width: 130px; }
.admin-row-action { min-height: 36px; padding: 6px 10px; font-size: .8rem; }
.admin-login { max-width: 520px; }
.admin-login h1 { font-size: clamp(2rem, 5vw, 3rem); }
.admin-login-intro { max-width: 480px; color: var(--muted); line-height: 1.65; }
.admin-login .admin-panel { padding: clamp(20px, 4vw, 36px); }
.admin-login-password { margin: 18px 0; }
.admin-login .button { width: 100%; }
.admin-status-line { min-height: 0; margin: -4px 0 16px; }
.password-control { position: relative; }
.password-control input { padding-right: 62px; }
.password-visibility {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #7792a6;
  border-radius: 6px;
  background: #eef4f8;
  color: var(--navy);
  cursor: pointer;
}
.password-visibility:hover { border-color: var(--navy); background: #dceaf2; }
.password-visibility:focus-visible { outline: 3px solid #d7a900; outline-offset: 2px; }
.password-visibility svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
@media (max-width: 820px) { .summit-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .summit-cards { grid-template-columns: 1fr; }
  .ticket-card { grid-template-columns: 1fr; }
  .main-nav { gap: 7px; font-size: .73rem; }
  .admin-list-heading { align-items: stretch; flex-direction: column; }
  .admin-filters { grid-template-columns: 1fr; }
  .admin-ticket-filters { grid-template-columns: 1fr; }
  .admin-pagination { gap: 9px; font-size: .85rem; }
}
@media print {
  #summit, #about, #register, .site-header, .site-footer, .confirmation-heading button { display: none !important; }
  #tickets[hidden] { display: none !important; }
  #tickets { display: block; padding: 0; }
  .ticket-list { grid-template-columns: 1fr; }
  .ticket-card { break-inside: avoid; }
}
