.logistik-public { max-width: 960px; }
.logistik-master-toolbar { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; }
.internal-fields-card { max-width: 960px; }
.role-definition { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; padding: .75rem 0; border-bottom: 1px solid #d8e3e8; }
.role-edit-form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .6rem; }
.role-edit-form > label:not(.choice) { display: grid; gap: .25rem; }
.role-edit-form input:not([type=checkbox]) { box-sizing: border-box; max-width: 100%; width: 240px; padding: .6rem; border: 1px solid #b7c4ce; border-radius: 5px; font: inherit; }
.role-edit-form .choice { align-self: center; }
.role-state { font-size: .85rem; color: #526674; }
.logistik-header-actions { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.vdwt-logo { display: block; width: 112.5px; height: auto; flex-shrink: 0; }
.logistik-form-toolbar { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .75rem 1rem; }
.logistik-form-toolbar p { margin: 0 auto 0 0; }
.logistik-form-toolbar .button { white-space: nowrap; }
.logistik-form { margin-top: 1rem; }
@media (max-width: 480px) { .logistik-header-actions { gap: .75rem; } .vdwt-logo { width: 90px; } }
.logistik-form label { display: block; margin: 1rem 0 .4rem; }
.logistik-form input:not([type=radio]):not([type=checkbox]), .logistik-form select, .logistik-form textarea, .logistik-inline input:not([type=checkbox]), .logistik-inline select { box-sizing: border-box; width: 100%; padding: .65rem; border: 1px solid #b7c4ce; border-radius: 5px; font: inherit; background: #fff; }
.logistik-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.logistik-form fieldset { margin: 1.5rem 0; border: 1px solid #ccd8de; border-radius: 6px; padding: 1rem; min-width: 0; }
.status-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.status-js, .year-js { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }
.workspace .logistik-form #clear-status, .workspace .logistik-form #clear-year { box-sizing: border-box; height: 1.25rem; padding: 0 .5rem; font-size: .75rem; line-height: 1; }
.workspace .logistik-form .selection-field { box-sizing: border-box; width: 100%; margin: 0; padding: .65rem; border: 1px solid #b7c4ce; border-radius: 5px; background: #fff; color: #182e3d; font: inherit; text-align: left; cursor: pointer; }
.workspace .logistik-form .selection-field:hover { background: #edf4f8; border-color: #659bb6; }
.workspace .logistik-form .selection-field:focus-visible { outline: 3px solid #03496e; outline-offset: 3px; }
.status-dialog { width: min(620px, 85vw); }
.status-dialog .status-options { margin-top: 1rem; }
.logistik-form .status-option { position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; margin: 0; padding: .65rem 1rem; border: 2px solid #ccdde5; border-radius: 6px; background: #edf4f8; color: #183e55; text-align: center; overflow-wrap: anywhere; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.status-option input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.status-option:hover { border-color: #659bb6; background: #e2eef5; }
.status-option:has(input:checked) { border-color: #03496e; background: #d5e8f3; color: #033b59; box-shadow: inset 4px 0 #03496e; font-weight: 600; }
.status-option:has(input:focus-visible) { outline: 3px solid #03496e; outline-offset: 3px; }
.choice, .logistik-form .choice { display: inline-flex; align-items: center; gap: .5rem; margin: .4rem .8rem .4rem 0; }
.choice input { width: auto; accent-color: #226b68; }
.logistik-form fieldset > .choice { display: flex; padding: .4rem; }
.logistik-inline { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid #e4e7eb; }
.logistik-inline label { display: block; flex: 1 1 160px; }
.logistik-inline label.choice { display: inline-flex; flex: 0 1 auto; align-self: center; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.year-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: .4rem; }
.year-dialog .year-grid { margin-top: 1rem; }
.logistik-form .year-grid .choice { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 38px; box-sizing: border-box; margin: 0; padding: .35rem .4rem; border: 2px solid #ccdde5; border-radius: 6px; background: #edf4f8; color: #183e55; text-align: center; font-size: .9rem; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.year-grid .choice input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.year-grid .choice:hover { border-color: #659bb6; background: #e2eef5; }
.year-grid .choice:has(input:checked) { border-color: #03496e; background: #d5e8f3; color: #033b59; box-shadow: inset 4px 0 #03496e; font-weight: 600; }
.year-grid .choice:has(input:focus-visible) { outline: 3px solid #03496e; outline-offset: 3px; }
.year-grid .choice:has(input[value="kein Jahrgang"]), .year-grid .choice:has(input[value="Noch im Studium"]) { grid-column: span 2; }
.year-dialog { width: min(760px, 85vw); max-height: 80vh; padding: 1.5rem; border: 1px solid #b7c4ce; border-radius: 8px; }
.year-dialog::backdrop { background: #182e3d80; }
.registration { padding: 1rem 0; border-bottom: 1px solid #ccd8de; }
.registration summary { cursor: pointer; }
.registration dt { font-weight: 600; }
.registration dd { margin: .25rem 0 1rem; }
.workspace main.registrations-content { width: 96vw; margin-top: .25rem; }
.registrations-count { margin: 0 0 .4rem; font-size: .85rem; }
.registrations-pagination { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: .4rem; margin-block: .35rem; font-size: .85rem; }
.workspace .registrations-pagination .button { padding: .3rem .65rem; }
.workspace .registrations-pagination [aria-current=page] { background: #226b68; border-color: #226b68; color: #fff; }
.registrations-toolbar { --registration-filter-height: 1.125rem; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .4rem; }
.registrations-toolbar .registrations-count { margin: 0; }
.registrations-filter { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin: 0; font-size: .85rem; }
.registrations-filter select { box-sizing: border-box; height: var(--registration-filter-height); max-width: min(320px, 85vw); padding: 0 .4rem; border: 1px solid #b7c4ce; border-radius: 5px; background: #fff; font: inherit; }
.column-filter-panel { display: flex; flex-direction: column; align-self: center; line-height: 1; }
.workspace .column-filter-panel > summary { box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: var(--registration-filter-height); flex-shrink: 0; padding: 0 .6rem; font-size: .85rem; line-height: 1; }
.registrations-filter-state { color: #226b68; font-size: .85rem; }

#registration-edition {
  text-align: center;
  text-align-last: center;
}
#registration-edition.is-year-highlighted {
  background-color: rgb(255 0 0 / 50%);
  color: #fff;
  font-weight: 700;
  animation: registration-year-attention 1s linear 1;
}
@keyframes registration-year-attention {
  0% { transform: perspective(600px) rotateX(0deg); }
  100% { transform: perspective(600px) rotateX(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  #registration-edition.is-year-highlighted { animation: none; }
}
.column-filter-panel > summary { list-style: none; }
.column-filter-panel > summary::-webkit-details-marker { display: none; }
.column-filter-panel[open] { flex-basis: 100%; }
.column-filter-form { margin-top: .5rem; padding: 1rem; border: 1px solid #c5d9d5; border-radius: 8px; background: #eef5f3; }
.column-filter-form p { margin-top: 0; font-size: .85rem; }
.column-filter-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: .7rem; }
.column-filter-grid label { display: grid; min-width: 0; grid-template-rows: 1.2rem 2.25rem; gap: .25rem; font-size: .85rem; }
.column-filter-label { display: block; min-width: 0; line-height: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.column-filter-grid input { box-sizing: border-box; width: 100%; min-width: 0; height: 2.25rem; padding: .45rem; border: 1px solid #b7c4ce; border-radius: 5px; font: inherit; background: #fff; }
.workspace .column-filter-actions button, .workspace .column-filter-actions .button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: 2.25rem; padding: .35rem .75rem; }
.column-filter-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.active-column-filters { margin: .4rem 0; font-size: .85rem; color: #226b68; overflow-wrap: anywhere; }
.registrations-list { margin-left: 16px; margin-right: 60px; }
.registration-no-copy { -webkit-user-select: none; user-select: none; }
.registration-record { position: relative; padding: .5px 0; border-bottom: 1px solid #ccd8de; }
.registration-record .registration-field dt { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.registration-record .registration-delete-control, .registration-record .registration-edit-button { top: calc(.432rem + 2.1px); }
.registration-record:nth-child(even) { background: #eef3f5; }
.registration-fields { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .25px 2px; margin: 0; font-size: .9rem; }
.registration-headings { row-gap: 1.5px; margin-bottom: .075rem; }
.registration-field { flex: 0 0 auto; width: 160px; max-width: 100%; min-width: 0; }
.registration-field dt { box-sizing: border-box; width: 100%; padding: 1px .4rem; border-radius: 5px; background: #226b68; color: #fff; font-size: 75%; font-weight: 400; line-height: 1.2; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.registration-field dd { margin: 0; }
.registration-field.col-number { width: 35.2px; }
.registration-field.col-first_name { width: 65.28px; }
.registration-field.col-last_name { width: 96px; }
.registration-field.col-status { width: 136px; }
.registration-field.col-mail-status { width: 80px; }
.registration-field.col-city { width: 112px; }
.registration-field.col-event { width: 113.6px; }
.registration-delete-control { position: absolute; left: -15px; top: calc(1.75rem + 6px); transform: translateY(-50%); }
.registration-delete-button { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 11.5px; height: calc(.54rem + 2px); border: 1px solid #000; border-radius: 1px; background: transparent; color: #c62828; font-size: 9px; text-decoration: none; line-height: 1; }
.registration-delete-button:hover { background: transparent; border-color: #000; }
.registration-edit-button { position: absolute; right: -37px; top: calc(1.75rem + 6px); transform: translateY(-50%); display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 13px; height: 13px; border: 1px solid #000; border-radius: 1px; background: transparent; color: #1565c0; }
.registration-edit-button svg { width: 10px; height: 10px; }
.registration-resend-button { position: absolute; right: -19px; top: var(--registration-edit-top, calc(.432rem + 18.1px)); transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; background: transparent; color: #028a51; text-decoration: none; }
.registration-resend-button svg { width: 15px; height: 15px; }
.registration-resend-button:hover { background: #dceee5; color: #175d48; }
.registration-resend-button:focus-visible { outline: 2px solid #028a51; outline-offset: 3px; }
.registration-edit-dialog { width: min(600px, 92vw); box-sizing: border-box; max-height: 85vh; overflow: auto; border: 1px solid #b7c4ce; border-radius: 10px; padding: 1.25rem; }
.registration-edit-dialog::backdrop { background: #182e3d80; }
.registration-editor { max-width: 560px; margin-inline: auto; }
.registration-edit-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.registration-internal { margin-top: 2rem; padding: 1rem; border-top: 4px solid #226b68; border-radius: 0 0 8px 8px; background: #eef5f3; }
.registration-internal h2 { margin-top: 0; }
.internal-role-hint { margin-top: 0; font-size: .85rem; color: #526674; }
.registration-field.col-title { width: 40px; }
.registration-field.col-graduate_year { width: 56.25px; }
.registration-field.col-postal_code { width: 63px; }
.registration-field.col-membership { width: 130px; }
.registration-field.col-participant-role { width: 80px; }
.registration-field.col-message { width: 200px; }
.registration-field.col-date { width: 112px; }
.registration-field.event-field { width: 90px; }
.workspace .registration-fields .message-preview { display: flex; align-items: center; gap: .35rem; padding: .6px .4rem; border: 1px solid #d6e3eb; border-radius: 5px; background: #edf4f8; color: #183e55; font: inherit; font-size: 80%; line-height: 1.2; text-align: left; }
.message-excerpt { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: clip; }
.preview-grip { flex-shrink: 0; font-size: 8px; color: #226b68; }
.message-preview:hover { border-color: #226b68; }
.message-dialog { width: min(620px, 85vw); box-sizing: border-box; max-height: 80vh; overflow: auto; padding: 1.5rem; border: 1px solid #b7c4ce; border-radius: 10px; }
.message-dialog::backdrop { background: #182e3d80; }
.message-full-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.data-bubble { display: block; box-sizing: border-box; width: 100%; min-width: 0; padding: .6px .4rem; border: 1px solid #d6e3eb; border-radius: 5px; background: #edf4f8; color: #183e55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 80%; line-height: 1.2; }
.data-bubble.is-booked { background: #e1f1eb; border-color: #a7cfc0; color: #175d48; text-align: center; }
.data-bubble.is-empty { color: #687987; text-align: center; background: #f4f7f9; }
.data-bubble { min-height: calc(1lh + 3.2px); }
.data-bubble[data-scrollable] { overflow-x: auto; overflow-y: hidden; text-overflow: clip; scrollbar-width: thin; }
.data-bubble.has-external-scrollbar { scrollbar-width: none; }
.data-bubble.has-external-scrollbar::-webkit-scrollbar { display: none; }
.data-bubble[data-scrollable]:focus-visible { outline: 2px solid #226b68; outline-offset: 1px; }
.data-scrollbar { box-sizing: border-box; width: 85%; height: 2.5px; margin: 0 auto; overflow-x: scroll; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #226b68 #dbe5e9; }
.data-scrollbar-space { height: 1px; }
.data-scrollbar::-webkit-scrollbar { height: 1.5px; }
@supports selector(::-webkit-scrollbar) { .data-scrollbar { scrollbar-width: auto; scrollbar-color: auto; } }
.data-scrollbar::-webkit-scrollbar-thumb { background: #226b68; border-radius: 3px; }
.data-scrollbar::-webkit-scrollbar-track { background: #dbe5e9; border-radius: 3px; }
.data-scrollbar:focus-visible { outline: 2px solid #226b68; outline-offset: 1px; }
.logistik-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.logistik-form-actions .button { margin-left: auto; white-space: nowrap; }
[hidden] { display: none !important; }
@media (max-width: 640px) { .logistik-grid { grid-template-columns: 1fr; } .workspace-tabs { flex-wrap: wrap; } }

.twx-confirm-card { box-sizing: border-box; width: min(480px, calc(100vw - 2rem)); padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid #b8ddcd; border-inline: 6px solid #028a51; border-radius: 12px; background: linear-gradient(120deg, #fff, #e6f0f7); color: #182e3d; box-shadow: 0 12px 40px rgb(2 138 81 / 18%); text-align: center; overflow-wrap: anywhere; }
.twx-confirm-dialog { max-height: calc(100dvh - 2rem); overflow-y: auto; }
.twx-confirm-dialog::backdrop { background: rgb(24 46 61 / 48%); backdrop-filter: blur(3px); }
.twx-confirm-page { margin: 2rem auto; }
.twx-confirm-card .twx-confirm-eyebrow { margin: 0 0 .75rem; color: #028a51; font-size: .8rem; font-weight: 650; letter-spacing: .06em; }
.workspace .twx-confirm-card h1, .workspace .twx-confirm-card h2 { margin: 0 0 1rem; font-size: 1.5rem; color: #175d48; }
.twx-confirm-card p { line-height: 1.6; }
.twx-confirm-card .twx-confirm-note { color: #526674; font-size: .9rem; }
.twx-confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.workspace .twx-confirm-actions button, .workspace .twx-confirm-actions .button { box-sizing: border-box; min-height: 42px; margin: 0; padding: .65rem 1.1rem; border-radius: 7px; font: inherit; cursor: pointer; }
.workspace .twx-confirm-actions .twx-confirm-delete { border: 1px solid #a52b2b; background: #b83232; color: #fff; }
.workspace .twx-confirm-actions .twx-confirm-delete:hover { background: #982626; }
.twx-confirm-actions :focus-visible { outline: 3px solid #028a51; outline-offset: 3px; }
.twx-confirm-actions button:disabled { opacity: .6; cursor: wait; }

/* First visual row: original #edf4f8 mixed with 21.25% black (added darkening reduced by 15%). */
.workspace .registration-record .registration-field.is-first-row:not(.event-field):not(.col-validity) .data-bubble { background: #bbc0c3; }

/* Second visual row uses the booked event field palette. */
.workspace .registration-record .registration-field.is-second-row:not(.col-validity) .data-bubble { background: #e4e7eb; border-color: #cdd3da; color: #253247; }

.registration-review-dot { position: absolute; right: -17px; top: calc(.432rem + 2.1px); transform: translateY(-50%); box-sizing: border-box; width: 13px; height: 13px; border: 1px solid #879497; border-radius: 50%; background: #bbc0c3; }
.registration-review-dot.is-reviewed { background: #226b68; border-color: #226b68; }
.registration-record .registration-edit-button { top: var(--registration-edit-top, calc(.432rem + 18.1px)); }

/* One slow horizontal turn on page entry; preserve existing positioning. */
.registrations-content .registration-record :is(.registration-edit-button, .registration-delete-button) {
  animation: registration-button-turn 4s ease-in-out 1;
}
@keyframes registration-button-turn {
  from { rotate: y 0deg; }
  to { rotate: y 360deg; }
}
@media (prefers-reduced-motion: reduce) {
      .registrations-content .registration-record :is(.registration-edit-button, .registration-delete-button) {
    animation: none;
  }
}

/* Review circles turn horizontally, synchronized with the button animation. */
.registrations-content .registration-review-dot {
  animation: registration-review-turn 4s ease-in-out 1;
}
@keyframes registration-review-turn {
  from { rotate: y 0deg; }
  to { rotate: y 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .registrations-content .registration-review-dot { animation: none; }
}

.registration-save-status { color: #226b68; }

.registration-toolbar-actions { display: flex; align-items: center; gap: .5rem; flex-basis: 100%; justify-content: flex-start; margin: 0; flex-wrap: wrap; }
.workspace .registration-manual-button, .workspace .registration-export-button, .workspace .registration-compact-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: calc(var(--registration-filter-height) * 1.25); padding: 0 .875rem; background: #fff; border-color: #226b68; color: #226b68; white-space: nowrap; font-size: 1.0625rem; line-height: normal; text-align: center; }
.registration-export-dialog { max-height: calc(100dvh - 2rem); overflow-y: auto; }
.registration-export-dialog::backdrop { background: rgb(24 46 61 / 48%); backdrop-filter: blur(3px); }
.registration-export-formats { display: grid; gap: .65rem; margin-top: 1rem; }
.workspace .registration-export-formats .button { margin: 0; }

.registration-field.col-erfasst { width: 24px; }
.registration-field.col-guest { width: 140px; }
.guest-invitation-field[hidden], .guest-invitation-field [hidden] { display: none; }
.guest-invitation-hint { font-size: .85rem; color: #526674; }
.guest-invitation-dialog { max-height: calc(100dvh - 2rem); overflow-y: auto; }
.guest-invitation-dialog .logistik-form { margin-top: 0; }
.guest-invitation-dialog label { text-align: left; }
.guest-invitation-dialog input { text-align: left; }
.registration-field.col-validity { width: 40px; }
.registration-field.col-cancellation-date { width: 80px; }
.registration-field.col-validity dd { display: flex; justify-content: center; }
.workspace .registration-record .registration-field .data-bubble.registration-validity { display: flex; align-items: center; justify-content: center; width: 18px; box-sizing: border-box; padding-inline: 0; border: 0; border-radius: 0; background: transparent; font-weight: 700; }
.workspace .registration-record .registration-field .registration-validity.is-valid { color: #157344; }
.workspace .registration-record .registration-field .registration-validity.is-cancelled { color: #c62828; }
.registration-fields .manual-capture-mark { color: #000; font-size: .75rem; font-weight: 400; text-align: center; }

.registration-capture-editor { max-width: 960px; }
.registration-capture-form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 1.25rem; }
.registration-capture-form > * { grid-column: 1 / -1; min-width: 0; }
.registration-capture-form > .capture-personal { grid-column: span 2; }
.registration-capture-form > .capture-pair { grid-column: span 3; }
.registration-capture-form > .capture-personal + .capture-pair { grid-column: 1 / span 3; }
.registration-capture-form .capture-personal > label { min-height: 2.4em; }
.registration-capture-form .capture-choice-row,
.registration-capture-form .capture-field > fieldset,
.registration-capture-form .registration-internal .status-options { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.registration-capture-form .capture-field > fieldset > .choice,
.registration-capture-form .capture-choice-row > .choice { display: inline-flex; margin: 0; padding: .4rem 0; }
.registration-capture-form .registration-internal .status-option { flex: 0 1 auto; }
@media (max-width: 700px) {
  .registration-capture-form > .capture-personal { grid-column: span 3; }
}
@media (max-width: 480px) {
  .registration-capture-form > .capture-personal,
  .registration-capture-form > .capture-pair,
  .registration-capture-form > .capture-personal + .capture-pair { grid-column: 1 / -1; }
  .registration-capture-form .capture-personal > label { min-height: 0; }
}

.public-registration-form .public-personal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.public-personal-grid > div { min-width: 0; }
.public-registration-form .public-personal-grid label { min-height: 2.4em; }
.public-selection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; align-items: start; }
.public-registration-form .public-choice-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.public-registration-form .public-choice-row > .choice { display: inline-flex; margin: 0; padding: .4rem 0; }
@media (max-width: 700px) {
  .public-registration-form .public-personal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .public-registration-form .public-personal-grid,
  .public-selection-grid { grid-template-columns: minmax(0, 1fr); }
  .public-registration-form .public-personal-grid label { min-height: 0; }
}


.event-booking-row { display: flex; align-items: flex-start; gap: 2px; }
.event-booking-row + .event-booking-row { margin-top: 1px; }
.event-booking-label { flex: 1; min-width: 0; }
.workspace .registration-record .registration-field .event-booking-row > .data-bubble.part-checkin-status { display: flex; align-items: center; justify-content: center; flex: 0 0 18px; width: 18px; padding-inline: 0; border: 0; border-radius: 0; color: #c8ced2; font-weight: 700; text-align: center; background: transparent; }
.workspace .registration-record .registration-field .event-booking-row > .part-checkin-status.is-checked-in { color: #157344; }

.registration-field.col-sequence { width: 36px; }
.col-sequence .data-bubble { text-align: right; font-variant-numeric: tabular-nums; }

.workspace .registration-compact-button[hidden] { display: none; }
.registrations-list.is-compact .registration-fields { height: var(--registration-first-row-height, calc(.864rem + 3.2px)); overflow: hidden; }
.registrations-list.is-compact .registration-headings { height: var(--registration-first-row-height, calc(.81rem + 2px)); }
/* Match the first row before JavaScript has measured the wrapped fields. */
.workspace .registrations-list.is-compact .registration-record .registration-field:not(.event-field):not(.col-validity):not(.is-second-row) .data-bubble { background: #bbc0c3; }
.registrations-list.is-compact .registration-record { padding-right: 38px; }
.registrations-list.is-compact .registration-headings { padding-right: 38px; }
.registrations-list.is-compact .registration-record :is(.registration-edit-button, .registration-resend-button, .registration-review-dot, .registration-delete-control) { top: calc(.5px + var(--registration-first-row-height, calc(.864rem + 3.2px)) / 2); }
.registrations-list.is-compact .registration-record .registration-edit-button { right: 0; }
.registrations-list.is-compact .registration-record .registration-resend-button { right: 38px; }

.registration-headings dt:has(.registration-sort) { display: flex; align-items: center; gap: 2px; }
.registration-headings .registration-sort { display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 2px; min-width: 0; color: #fff; text-decoration: none; font: inherit; }
.registration-sort-label { flex-shrink: 0; white-space: nowrap; }
.registration-headings dt[data-scrollable] { overflow-x: auto; overflow-y: hidden; text-overflow: clip; scrollbar-width: thin; }
.registration-headings dt.has-external-scrollbar { scrollbar-width: none; }
.registration-headings dt.has-external-scrollbar::-webkit-scrollbar { display: none; }
.registration-headings .data-scrollbar { height: 5px; }
.registration-headings .data-scrollbar::-webkit-scrollbar { height: 5px; }
.registration-sort-arrows { display: inline-flex; flex-direction: column; flex-shrink: 0; font-size: .42rem; line-height: .8; }
.registration-sort-arrows > span { opacity: .4; }
.registration-sort-arrows > .is-active { opacity: 1; }
.registration-headings .registration-sort-checkin { flex: 0 0 14px; }
.registration-headings .registration-sort:focus-visible { outline: 1px solid #fff; outline-offset: 1px; }

.registration-toolbar-actions > .button > span { display: block; margin: 0; padding: 0; line-height: normal; }

/* Use the same centred line box for native buttons, action links and summaries. */
.workspace:has(.registrations-content) :is(button:not(.data-bubble), a.button, summary.button):not([hidden]) { display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: normal; }
.workspace .registrations-toolbar > .button { box-sizing: border-box; height: var(--registration-filter-height); padding-block: 0; font-size: .85rem; }
.registrations-filter select { padding-block: 0; line-height: normal; vertical-align: middle; }

.registration-dashboard-button { right: -38px; color: #52b5e5; }
.registration-dashboard-button:hover { background: #e4f5fd; color: #2486b5; }
.registration-dashboard-button:focus-visible { outline-color: #52b5e5; }
.registration-record .registration-edit-button { right: -57px; }
.registrations-list.is-compact .registration-record,
.registrations-list.is-compact .registration-headings { padding-right: 57px; }
.registrations-list.is-compact .registration-record .registration-dashboard-button { right: 19px; }
