:root {
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  color: #2b211d;
  background: #ff8c8a;
  font-synthesis: none;
  line-height: 1.62;
  --ink: #2b211d;
  --purple: #3b1c63;
  --red: #e83d35;
  --mint: #53b68f;
  --leaf: #277a57;
  --yellow: #ffd44d;
  --pink: #ffc6cf;
  --paper: #fff6df;
  --blue: #a8dbef;
  --lavender: #b99de7;
  --line: #39231b30;
  --muted: #6c554c;
  --shadow: 0 14px 28px #49231824;
}

* {
  box-sizing: border-box;
}

html {
  background: #ff8c8a;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, #ffffff16 1px, transparent 1px) 0 0 / 10px 10px,
    linear-gradient(#2b211d10 1px, transparent 1px) 0 0 / 13px 13px,
    radial-gradient(circle at 84% 6%, #ffd44d 0 8rem, transparent 8.1rem),
    #ff8c8a;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/paper-collage-bg.png") center top / min(1400px, 130vw) auto no-repeat;
  opacity: 0.34;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid #2b211d;
  border-radius: 8px;
  background: var(--purple);
  color: white;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  box-shadow: 4px 5px 0 #2b211d24;
}

button:hover,
.button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 6px 0 #2b211d2e;
}

button:disabled {
  opacity: 0.52;
  cursor: wait;
  transform: none;
}

.secondary {
  background: #fff8e9;
  color: var(--purple);
}

.yellow {
  background: var(--yellow);
  color: var(--ink);
}

.compact {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 2px solid #3a231b;
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  font-size: 16px;
  box-shadow: inset 0 2px 0 #00000008;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  flex-shrink: 0;
  margin: 2px 0;
  accent-color: var(--red);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

form {
  display: grid;
  gap: 18px;
}

fieldset {
  display: grid;
  min-width: 0;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  font-weight: 900;
}

small,
.tiny {
  display: block;
  font-size: 12px;
  line-height: 1.55;
}

small {
  color: var(--muted);
  font-weight: 600;
}

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 64px);
}

h2 {
  margin: 10px 0 20px;
  font-size: clamp(26px, 4vw, 38px);
}

h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

section {
  scroll-margin-top: 20px;
}

code {
  display: block;
  overflow-wrap: anywhere;
  padding: 16px;
  border: 2px dashed #7b4d26;
  border-radius: 8px;
  background: #fff0b8;
  font-size: 18px;
  letter-spacing: 0;
}

.skip {
  position: absolute;
  top: -100px;
  z-index: 10;
  padding: 10px;
  background: white;
}

.skip:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 26px;
  gap: 14px;
  color: #fff8e9;
  font-size: 13px;
  font-weight: 900;
}

.topbar a {
  text-decoration: none;
  text-shadow: 0 2px 0 #2b211d33;
}

.small-brand {
  font-size: 18px;
}

.small-brand span {
  margin-left: 12px;
  color: #ffeaa9;
  font-size: 12px;
  font-weight: 800;
}

.mode,
.notice {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto 14px;
  padding: 12px 18px;
  border: 2px solid #3a231b;
  border-radius: 8px;
  background: #fff0ad;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 4px 5px 0 #2b211d1f;
}

.notice.error {
  background: #ffe2da;
  color: #8e2b20;
}

.student-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, 500px) minmax(0, 690px);
  gap: 44px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 26px 0;
  align-items: start;
}

.hero {
  position: sticky;
  top: 18px;
  overflow: hidden;
  padding: 20px 20px 24px;
  border: 3px solid #2b211d;
  border-radius: 8px;
  background: linear-gradient(160deg, #fff9e9 0 62%, #ffc8d1 62% 100%);
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border: 3px solid #2b211d;
  border-radius: 50%;
}

.hero::before {
  right: -52px;
  top: -44px;
  width: 150px;
  height: 150px;
  background: var(--yellow);
}

.hero::after {
  left: -48px;
  bottom: -38px;
  width: 170px;
  height: 86px;
  border-radius: 999px 999px 0 0;
  background: var(--mint);
}

.poster {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  border: 3px solid #2b211d;
  border-radius: 8px;
  background: white;
  box-shadow: 7px 8px 0 #2b211d22;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 7px;
  color: var(--purple);
  font-size: clamp(44px, 8vw, 76px);
  font-weight: 1000;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 3px 4px 0 #2b211d12;
}

.brand .insert {
  position: relative;
  top: -0.72em;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  color: var(--red);
  font-size: 0.42em;
  line-height: 0.95;
  text-align: center;
  transform: rotate(-3deg);
  text-shadow: none;
}

.brand .insert > span {
  color: var(--red);
  font-size: 1em;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
}

.tagline {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 17px;
  padding: 12px 18px;
  background: var(--pink);
  color: #3d201d;
  clip-path: polygon(2% 9%, 100% 0, 97% 91%, 8% 100%, 0 68%);
  font-size: clamp(22px, 4vw, 31px);
  font-weight: 1000;
  line-height: 1.32;
}

.hero .button {
  position: relative;
  z-index: 1;
  width: 100%;
  font-size: 18px;
}

.hero .tiny {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: #4b3a33;
  font-weight: 800;
}

.student-content {
  padding-bottom: 46px;
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding: 10px;
  border: 2px solid #2b211d;
  border-radius: 8px;
  background: #fff6df;
  box-shadow: 4px 5px 0 #2b211d18;
}

.tabs a,
.tabs button {
  min-height: 38px;
  padding: 8px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--purple);
  box-shadow: none;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.tabs a:hover,
.tabs button:hover {
  background: #ffdf66;
  transform: none;
  box-shadow: none;
}

.student-content > section,
.login-panel,
.detail,
.promise,
.privacy,
.result-card,
.bulletin,
.empty,
.receipt,
.action-card,
dialog {
  border: 2px solid #2b211d;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 5px 6px 0 #2b211d19;
}

.student-content > section {
  position: relative;
  margin-bottom: 24px;
  padding: 28px;
}

.student-content > section:nth-of-type(1) {
  background: #fff8e9;
}

.student-content > section:nth-of-type(2) {
  background: #f1fee9;
}

.student-content > section:nth-of-type(3) {
  background: #f5edff;
}

.section-label,
.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 9px;
  background: var(--yellow);
  color: #542822;
  clip-path: polygon(3% 0, 100% 7%, 96% 100%, 0 92%);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 24px 0;
}

.info-grid article {
  padding: 17px;
  border: 2px solid #2b211d;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 4px 5px 0 #2b211d14;
}

.info-grid article:nth-child(1) {
  background: #bdf0d7;
}

.info-grid article:nth-child(2) {
  background: #ffe88d;
}

.info-grid article > span {
  color: #7b302a;
  font-size: 12px;
  font-weight: 900;
}

.info-grid h3 {
  margin: 6px 0;
  font-size: 16px;
}

.info-grid p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.journey {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.journey li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid #2b211d;
  border-radius: 8px;
  background: #fffefa;
}

.journey li:nth-child(1) {
  background: #ffe88d;
}

.journey li:nth-child(2) {
  background: #c7efdc;
}

.journey li:nth-child(3) {
  background: #ffd2da;
}

.journey li:nth-child(4) {
  background: #d6c4ff;
}

.journey li:nth-child(5) {
  background: #b5e3f6;
}

.journey li > span {
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border: 2px solid #2b211d;
  border-radius: 50%;
  background: #fffefa;
  font-size: 18px;
  line-height: 1;
}

.journey li > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 12px;
}

.journey strong {
  flex-shrink: 0;
  font-size: 15px;
}

.journey p {
  margin: 0;
  color: #553f37;
  font-size: 13px;
  font-weight: 700;
}

.promise,
.privacy,
.receipt,
.result-card,
.bulletin,
.empty {
  padding: 20px;
}

.promise {
  background: #ffe5b7;
}

.promise p,
.privacy p {
  font-size: 14px;
}

.promise p:last-child,
.privacy p:last-child {
  margin-bottom: 0;
}

.identity-fields {
  display: grid;
  grid-template-columns: 86px 74px 1fr;
  gap: 12px;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.round-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 2px solid #2b211d;
  border-radius: 8px;
  background: #fffefa;
  font-size: 14px;
}

.round-option:has(input:checked) {
  background: #ffd44d;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 800;
}

.privacy {
  background: #d9f4e4;
}

.empty {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.receipt {
  background: #d9f4e4;
}

.receipt button {
  margin-top: 16px;
}

.result-card,
.bulletin {
  margin: 18px 0;
}

.bulletin {
  background: #fffefa;
}

.badge {
  display: inline-block;
  max-width: 100%;
  padding: 5px 9px;
  border: 2px solid #2b211d;
  border-radius: 6px;
  background: #fffefa;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.badge.selected,
.badge.confirmed,
.badge.attended,
.badge.open {
  background: #bdf0d7;
}

button.restore-badge {
  min-height: 0;
  box-shadow: none;
  cursor: pointer;
}

button.restore-badge:hover {
  text-decoration: underline;
  box-shadow: none;
}

.badge.waitlisted {
  background: #ffec8f;
}

.badge.declined,
.badge.cancelled {
  background: #ffc6cf;
}

.badge.applied,
.badge.drawn {
  background: #c9d6ff;
}

footer {
  padding: 0 0 50px;
  color: #fff8e9;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 2px 0 #2b211d33;
}

.admin-body {
  background:
    linear-gradient(90deg, #f5e0ae 0 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(#f5e0ae 0 1px, transparent 1px) 0 0 / 42px 42px,
    #fff8e9;
}

.admin-body::before {
  opacity: 0.12;
}

.admin-body .topbar {
  color: var(--ink);
}

.admin-body .topbar a {
  text-shadow: none;
}

.admin-body .small-brand span {
  color: #7b4d26;
}

.admin-layout {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 26px 70px;
}

.login-panel {
  max-width: 460px;
  margin: 40px auto;
  padding: 30px;
}

.dashboard-head,
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-head {
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 20px;
  border: 2px solid #2b211d;
  border-radius: 8px;
  background: #ffd44d;
  box-shadow: 5px 6px 0 #2b211d18;
}

.dashboard-head h1 {
  margin: 6px 0;
}

.row > h3,
.row > div {
  margin-right: auto;
}

.section-head {
  justify-content: space-between;
  margin: 22px 0;
}

.section-head h2 {
  margin: 0 0 8px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.round-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 14px;
}

.round-tile {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px;
  text-align: left;
}

.round-tile strong {
  font-size: 24px;
}

.round-tile span:not(.badge) {
  font-size: 14px;
}

.detail {
  margin-top: 30px;
  padding: 20px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.metrics > div {
  padding: 15px;
  border: 2px solid #2b211d;
  border-radius: 8px;
  background: #d9f4e4;
  font-size: 13px;
  font-weight: 900;
}

.metrics > div:nth-child(2) {
  background: #ffe88d;
}

.metrics > div:nth-child(3) {
  background: #d6c4ff;
}

.metrics > div:nth-child(4) {
  background: #b5e3f6;
}

.metrics strong {
  display: block;
  font-size: 30px;
  line-height: 1.2;
}

.table-wrap {
  overflow: auto;
  max-width: 100%;
  margin: 20px 0;
  border: 2px solid #2b211d;
  border-radius: 8px;
  background: white;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 14px;
}

caption {
  padding: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

th {
  background: #ffe88d;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}

td,
th {
  padding: 13px;
  border-bottom: 2px solid #2b211d18;
  vertical-align: top;
}

td small {
  margin-top: 5px;
}

td.identifier {
  max-width: 160px;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

pre {
  max-width: 550px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-size: 11px;
}

.action-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.action-card {
  padding: 20px;
  overflow-wrap: anywhere;
  background: #fffefa;
}

.action-card h3 {
  margin-top: 16px;
}

.action-card button {
  margin-top: 16px;
}

.narrow {
  max-width: 640px;
}

dialog {
  width: 600px;
  max-width: min(95vw, 620px);
  max-height: 90vh;
  padding: 24px;
  color: var(--ink);
}

dialog::backdrop {
  background: #2b211da6;
}

.close {
  justify-self: end;
  margin-bottom: 14px;
}

dialog form:not([method="dialog"]) {
  margin: 18px 0;
  padding-top: 14px;
  border-top: 2px solid #2b211d18;
}

dialog p {
  font-size: 14px;
}

#print-area {
  position: absolute;
  top: 0;
  left: -10000px;
}

.a4 {
  display: grid;
  width: 210mm;
  height: 297mm;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  background: white;
  color: var(--ink);
}

.invitation {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 10mm 8mm;
  border: 1px dashed #6e584e;
  background:
    linear-gradient(160deg, #fff8e9 0 66%, #d9f4e4 66% 100%);
}

.invitation .invite-emblem {
  position: absolute;
  top: 3mm;
  right: 3mm;
  width: 26mm;
  height: 26mm;
  object-fit: contain;
}

.invitation h2 {
  margin: 5mm 0 4mm;
}

.invitation .brand {
  font-size: 33px;
}

.invitation p {
  margin-bottom: 9px;
  font-size: 12px;
}

.invitation .invite-name {
  display: inline-block;
  padding: 4px 7px;
  background: #ffc6cf;
  clip-path: polygon(2% 10%, 99% 0, 96% 100%, 0 92%);
  font-size: 19px;
  font-weight: 1000;
}

.invitation small {
  color: #405847;
  font-size: 10px;
}

.invitation hr {
  width: 100%;
  margin: 5px 0 12px;
  border: 0;
  border-top: 2px dashed #6e584e;
}

.invite-footer {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid #d6ded1;
  font-size: 10px;
  font-weight: 900;
}

.invite-result {
  display: flex;
  align-items: center;
  gap: 3mm;
  margin-top: 2mm;
  font-size: 11px;
}

.invite-result a { flex-shrink: 0; line-height: 0; }
.invite-result small { display: block; margin-top: 4px; }
.invite-qr { display: block; width: 26mm; height: 26mm; image-rendering: pixelated; }

.results-body { min-height: 100vh; background: var(--paper, #fff8e9); }
.results-body .topbar { color: var(--ink); }
.results-body .topbar a { text-shadow: none; }
.results-layout { width: min(760px, 100%); margin: 0 auto; padding: 48px 20px; }
.results-layout h1 { font-size: clamp(28px, 6vw, 42px); }
.result-card { margin: 24px 0; padding: 24px; border: 2px solid var(--ink); border-radius: 12px; background: #fffefa; }
.result-card h2 { font-size: 22px; margin: 0 0 16px; }
.result-card p { white-space: pre-wrap; overflow-wrap: anywhere; }

.invitation .eyebrow {
  font-size: 10px;
}

.report {
  width: 186mm;
  margin: 0 auto;
  padding: 10mm 0;
  background: white;
  color: var(--ink);
}

.report h2 {
  margin: 6px 0 10px;
  font-size: 21px;
}

.report h3 {
  margin: 16px 0 6px;
  font-size: 14px;
}

.report p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-size: 12px;
}

.report table {
  font-size: 11px;
}

.report td,
.report th {
  padding: 7px 9px;
}

.preview-frame {
  overflow: auto;
  max-height: 56vh;
  margin: 12px 0;
  padding: 14px;
  background: #4d584f;
  border-radius: 14px;
}

.preview-sheet {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  background: white;
  box-shadow: 0 8px 22px #0009;
  zoom: .42;
}

.preview-sheet .a4,
.preview-sheet .report {
  box-shadow: none;
}

@media (max-width: 950px) {
  .student-layout {
    grid-template-columns: minmax(290px, 370px) minmax(0, 1fr);
    gap: 26px;
    padding: 18px;
  }

  .hero {
    padding: 17px;
  }

  .identity-fields {
    grid-template-columns: 80px 66px 1fr;
  }

  .info-grid,
  .choices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .topbar {
    padding: 16px 18px;
  }

  .small-brand span {
    display: none;
  }

  .student-layout {
    display: block;
    padding: 0 14px;
  }

  .hero {
    position: relative;
    top: 0;
    margin-bottom: 18px;
    padding: 14px;
  }

  .brand {
    font-size: clamp(42px, 14vw, 58px);
  }

  .poster {
    margin-bottom: 14px;
  }

  .tagline {
    font-size: 23px;
  }

  .student-content {
    padding-bottom: 34px;
  }

  .student-content > section {
    padding: 20px;
  }

  .tabs {
    position: relative;
    justify-content: space-between;
    gap: 0;
    padding: 8px;
  }

  .tabs a,
  .tabs button {
    padding: 8px 7px;
    font-size: 12px;
  }

  .identity-fields {
    grid-template-columns: 76px 58px minmax(0, 1fr);
    gap: 8px;
  }

  .choices {
    grid-template-columns: 1fr;
  }

  .notice,
  .mode {
    margin: 0 14px 12px;
  }

  .admin-layout {
    padding: 18px 14px 40px;
  }

  .dashboard-head {
    align-items: flex-start;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .login-panel {
    margin: 20px auto;
    padding: 22px;
  }

  .action-list {
    grid-template-columns: 1fr;
  }

  .table-wrap table {
    min-width: 720px;
  }

  .row > button {
    flex-shrink: 0;
  }

  dialog {
    padding: 20px;
  }
}

@media (max-width: 390px) {
  .student-layout {
    padding: 0 10px;
  }

  .identity-fields {
    grid-template-columns: 1fr;
  }

  .tabs a,
  .tabs button {
    flex: 1 1 auto;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html,
  body {
    width: 210mm;
    height: 297mm;
    margin: 0 !important;
    padding: 0 !important;
    background: white;
  }

  body > * {
    display: none !important;
  }

  body > #print-area {
    position: static !important;
    display: block !important;
    margin: 0;
    padding: 0;
  }

  #print-area[hidden] {
    display: none !important;
  }

  .a4 {
    break-after: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .invitation {
    break-inside: avoid;
  }

  .report {
    width: auto;
    padding: 8mm 0;
  }

  .report tr {
    break-inside: avoid;
  }

  dialog,
  dialog::backdrop {
    display: none !important;
  }
}

.online-summary-wrap{max-width:100%;overflow-x:auto;border:1px solid #ded8cf;border-radius:12px;margin:12px 0 20px}
.online-summary-table{width:100%;min-width:790px;border-collapse:collapse;font-size:13px}
.online-summary-table caption{text-align:left;padding:12px;font-weight:900;background:#f9f5ef}
.online-summary-table th,.online-summary-table td{padding:7px;text-align:center;border-bottom:1px solid #e8e2da;white-space:nowrap}
.online-summary-table th:first-child{text-align:left;position:sticky;left:0;background:#fffaf2;z-index:1}
.online-summary-table thead th{background:#f4eddf}
.online-summary-table button{padding:7px 9px;min-width:58px;background:transparent;color:inherit;border:1px solid transparent;box-shadow:none}
.online-summary-table td button{color:#563296;text-decoration:underline;font-weight:900;font-variant-numeric:tabular-nums}
.online-summary-table button:hover,.online-summary-table button[aria-pressed=true]{background:#eae0ff;border-color:#7753aa}
.online-count-legend{font-size:13px;color:#65566c;line-height:1.7}
