.gpa-swim-admin {
    --gpa-swim-accent: #087ea4;
    --gpa-swim-accent-soft: #e8f6fb;
    --gpa-swim-border: #d8e1e7;
    --gpa-swim-text: #18242f;
    --gpa-swim-muted: #62717d;
    --gpa-swim-surface: #ffffff;
    max-width: 1440px;
    width: calc(100% - 20px);
    color: var(--gpa-swim-text);
}

.gpa-swim-admin h1 {
    margin-bottom: 18px;
    color: var(--gpa-swim-text);
    font-size: 28px;
    line-height: 1.15;
}

.gpa-swim-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) auto;
    gap: 12px;
    align-items: center;
    margin: 8px 0 18px;
}

.gpa-swim-tabs,
.gpa-swim-top-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gpa-swim-tabs a,
.gpa-swim-top-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 8px 13px;
    background: var(--gpa-swim-surface);
    color: var(--gpa-swim-muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.gpa-swim-tabs a.is-active,
.gpa-swim-top-tabs a.is-active,
.gpa-swim-tabs a:hover,
.gpa-swim-top-tabs a:hover {
    border-color: #9fd3e4;
    background: var(--gpa-swim-accent-soft);
    color: var(--gpa-swim-accent);
}

.gpa-swim-top-tabs {
    margin: 0 0 14px;
}

.gpa-swim-top-tabs .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.gpa-swim-search {
    position: relative;
}

.gpa-swim-search .dashicons {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: var(--gpa-swim-accent);
    font-size: 18px;
    transform: translateY(-50%);
}

.gpa-swim-search input {
    min-height: 40px;
    border-color: var(--gpa-swim-border);
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 38px;
    background: var(--gpa-swim-surface);
}

.gpa-swim-new-event {
    min-height: 40px;
    border-color: var(--gpa-swim-accent);
    border-radius: 8px;
    background: var(--gpa-swim-accent);
    white-space: nowrap;
    text-transform: none;
}

.gpa-swim-new-event .dashicons {
    margin-right: 6px;
}

.gpa-swim-list-panel,
.gpa-swim-box,
.gpa-swim-event-header,
.gpa-swim-settings-window {
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    background: var(--gpa-swim-surface);
    box-shadow: 0 12px 26px rgba(24, 36, 47, 0.06);
}

.gpa-swim-list-panel {
    overflow: visible;
}

.gpa-swim-event-table,
.gpa-swim-orders-table {
    border-collapse: collapse;
}

.gpa-swim-event-table th,
.gpa-swim-orders-table th {
    height: 42px;
    border-bottom: 1px solid var(--gpa-swim-border);
    background: #f7fafc;
    color: var(--gpa-swim-muted);
    font-size: 13px;
    font-weight: 800;
}

.gpa-swim-event-table td,
.gpa-swim-orders-table td {
    border-bottom: 1px solid #edf2f5;
    color: #3d4b55;
    font-size: 14px;
    vertical-align: middle;
}

.gpa-swim-event-table,
.gpa-swim-event-table tbody,
.gpa-swim-event-table tr,
.gpa-swim-event-table td {
    overflow: visible;
}

.gpa-swim-event-table tbody tr:nth-child(odd) td,
.gpa-swim-event-table tbody tr:nth-child(even) td {
    background: var(--gpa-swim-surface);
}

.gpa-swim-event-table tbody tr:hover td,
.gpa-swim-orders-table tbody tr:hover td {
    background: #f5fbfd;
}

.gpa-swim-event-name {
    color: var(--gpa-swim-accent);
    font-weight: 800;
    text-decoration: none;
}

.gpa-swim-sold {
    text-align: right;
    white-space: nowrap;
}

.gpa-swim-actions-col {
    width: 176px;
}

.gpa-swim-row-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
    white-space: nowrap;
}

.gpa-swim-row-actions a,
.gpa-swim-row-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--gpa-swim-accent);
    cursor: pointer;
    text-decoration: none;
}

.gpa-swim-row-actions a:hover,
.gpa-swim-row-actions button:hover {
    border-color: #b7ddeb;
    background: var(--gpa-swim-accent-soft);
}

.gpa-swim-row-actions .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.gpa-inline-form {
    display: inline-flex;
    margin: 0;
}

.gpa-swim-publish-button {
    border-color: #238636 !important;
    background: #238636 !important;
    color: #ffffff !important;
}

.gpa-swim-unpublish-button,
.gpa-danger-button {
    border-color: #c73535 !important;
    background: #c73535 !important;
    color: #ffffff !important;
}

.gpa-swim-row-menu {
    position: relative;
}

.gpa-swim-row-menu summary {
    list-style: none;
}

.gpa-swim-row-menu summary::-webkit-details-marker {
    display: none;
}

.gpa-swim-row-menu > div {
    position: absolute;
    right: 0;
    top: 38px;
    z-index: 1000;
    display: grid;
    min-width: 170px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 6px;
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(24, 36, 47, 0.16);
}

.gpa-swim-row-menu form,
.gpa-swim-row-menu button {
    margin: 0;
}

.gpa-swim-row-menu > div button {
    justify-content: flex-start;
    width: 100%;
    height: auto;
    min-height: 34px;
    padding: 7px 9px;
    color: var(--gpa-swim-text);
    font-weight: 700;
}

.gpa-swim-delete-open {
    color: #a31f1f !important;
}

.gpa-swim-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(9, 18, 25, 0.46);
}

.gpa-swim-dialog-backdrop[hidden] {
    display: none;
}

.gpa-swim-dialog {
    width: min(430px, 100%);
    border-radius: 8px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(9, 18, 25, 0.28);
}

.gpa-swim-dialog h2 {
    margin: 0 0 10px;
}

.gpa-swim-dialog p {
    margin: 0 0 20px;
    color: var(--gpa-swim-muted);
}

.gpa-swim-delete-guidance {
    margin: 0 0 20px;
    border: 1px solid #f0c36d;
    border-radius: 6px;
    padding: 14px 16px;
    background: #fff8e5;
    color: #3d3424;
}

.gpa-swim-delete-guidance[hidden] {
    display: none;
}

.gpa-swim-delete-guidance p {
    margin: 0 0 8px;
    color: inherit;
}

.gpa-swim-delete-guidance ul,
.gpa-swim-delete-guidance ol {
    margin: 0 0 14px 20px;
}

.gpa-swim-delete-guidance li + li {
    margin-top: 6px;
}

.gpa-swim-dialog > .gpa-swim-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.gpa-swim-event-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    padding: 16px;
}

.gpa-swim-event-header p {
    margin: 4px 0;
}

.gpa-swim-muted {
    color: var(--gpa-swim-muted);
}

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

.gpa-swim-header-actions .button {
    border-radius: 8px;
}

.gpa-swim-event-shell {
    display: grid;
    gap: 18px;
}

.gpa-swim-event-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 12px;
    background: #f8fbfd;
}

.gpa-swim-event-sidebar h2 {
    grid-column: 1 / -1;
    margin: 0 0 2px;
    color: var(--gpa-swim-muted);
    font-size: 13px;
    line-height: 1.35;
}

.gpa-swim-nav-help,
.gpa-swim-nav-title {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--gpa-swim-muted);
    font-size: 13px;
}

.gpa-swim-event-sidebar a {
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 10px 12px;
    background: var(--gpa-swim-surface);
    color: var(--gpa-swim-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.gpa-swim-event-sidebar a.is-active,
.gpa-swim-event-sidebar a:hover {
    border-color: #9fd3e4;
    background: var(--gpa-swim-accent-soft);
    color: var(--gpa-swim-accent);
}

.gpa-swim-event-main {
    min-width: 0;
}

.gpa-swim-event-main > h1 {
    margin: 4px 0 16px;
    font-size: 30px;
    line-height: 1.1;
}

.gpa-swim-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: 16px;
    margin-bottom: 0;
}

.gpa-swim-box {
    overflow: hidden;
    min-width: 0;
}

.gpa-swim-box h2 {
    margin: 0;
    border-bottom: 1px solid var(--gpa-swim-border);
    padding: 13px 15px;
    background: #f7fafc;
    color: var(--gpa-swim-muted);
    font-size: 14px;
}

.gpa-swim-box p {
    margin: 14px 15px;
}

.gpa-swim-box dl {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 15px;
}

.gpa-swim-box dl div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.gpa-swim-box dt {
    color: var(--gpa-swim-text);
    font-weight: 800;
}

.gpa-swim-box dd {
    margin: 0;
    color: #33424d;
    text-align: right;
    overflow-wrap: anywhere;
}

.gpa-swim-manual-membership {
    margin: 0 0 18px;
    padding: 0;
}

.gpa-swim-manual-membership > summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 18px;
    color: var(--gpa-swim-accent);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.gpa-swim-manual-membership > summary::-webkit-details-marker {
    display: none;
}

.gpa-swim-manual-membership[open] > summary {
    border-bottom: 1px solid var(--gpa-swim-border);
    background: var(--gpa-swim-accent-soft);
}

.gpa-swim-manual-membership > form {
    padding: 18px;
}

.gpa-swim-manual-membership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gpa-swim-manual-membership-grid label {
    display: grid;
    gap: 6px;
    color: var(--gpa-swim-text);
    font-weight: 800;
}

.gpa-swim-manual-membership-grid small {
    color: var(--gpa-swim-muted);
    font-weight: 400;
}

.gpa-swim-membership-source {
    display: inline-block;
    border-radius: 999px;
    padding: 5px 9px;
    background: var(--gpa-swim-accent-soft);
    color: #17647c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.gpa-swim-membership-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 220px;
}

.gpa-swim-membership-delete-blocked {
    display: block;
    flex: 1 1 220px;
    line-height: 1.4;
}

.gpa-swim-overview-grid + .gpa-swim-public-link-box,
.gpa-swim-public-link-box {
    margin-top: 16px;
}

.gpa-swim-public-link-box {
    margin-bottom: 16px;
}

.gpa-swim-copy-link {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 15px;
}

.gpa-swim-copy-link input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 38px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 8px 10px;
}

.gpa-swim-copy-link + .gpa-swim-muted {
    margin: 0;
    padding: 0 15px 15px;
}

.gpa-swim-check {
    color: #278341;
    font-size: 18px;
    font-weight: 900;
}

.gpa-swim-store {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 6px;
    margin: 2px 4px 2px 0;
    padding: 5px 10px;
    background: #111820;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.gpa-swim-settings-window {
    overflow: hidden;
    max-width: none;
}

.gpa-swim-settings-window > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    padding: 0 18px 0 22px;
    border-bottom: 1px solid var(--gpa-swim-border);
    background: #f7fafc;
}

.gpa-swim-settings-window > header h1 {
    margin: 0;
    font-size: 18px;
}

.gpa-swim-settings-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gpa-swim-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--gpa-swim-muted);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.gpa-swim-close:hover {
    background: #edf3f6;
    color: var(--gpa-swim-text);
}

.gpa-swim-settings-body {
    display: grid;
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(280px, 360px);
    gap: 18px;
    padding: 18px;
    align-items: start;
}

.gpa-swim-settings-nav {
    display: grid;
    gap: 10px;
    align-self: start;
    position: sticky;
    top: 18px;
    z-index: 3;
}

.gpa-swim-nav-title {
    display: block;
    color: var(--gpa-swim-text);
    font-size: 14px;
}

.gpa-swim-settings-nav a,
.gpa-swim-settings-nav button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 9px 12px;
    background: var(--gpa-swim-surface);
    color: var(--gpa-swim-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

.gpa-swim-settings-nav a.is-active,
.gpa-swim-settings-nav a:hover,
.gpa-swim-settings-nav button.is-active,
.gpa-swim-settings-nav button:hover {
    border-color: #9fd3e4;
    background: var(--gpa-swim-accent-soft);
    color: var(--gpa-swim-accent);
}

.gpa-swim-settings-window .gpa-swim-close {
    display: none;
}

.gpa-swim-settings-header-actions .gpa-inline-form .button {
    min-height: 30px;
    border-radius: 10px;
    padding: 3px 10px;
    font-size: 12px;
    line-height: 1.3;
}

.gpa-swim-settings-panel[hidden] {
    display: none !important;
}

.gpa-swim-settings-main {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.gpa-swim-settings-form,
.gpa-swim-settings-panel,
.gpa-swim-field-tabs,
.gpa-swim-field-tabs > [data-field-tab-panel],
.gpa-swim-field-settings {
    min-width: 0;
    max-width: 100%;
}

.gpa-swim-edit-preview {
    min-width: 0;
    z-index: 1;
}

.gpa-swim-edit-preview-sticky {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 12px;
}

.gpa-swim-edit-preview header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    color: var(--gpa-swim-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.gpa-swim-edit-preview header strong {
    color: var(--gpa-swim-text);
    font-size: 15px;
    text-transform: none;
}

.gpa-swim-preview-hero {
    min-height: 150px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    background-color: #1c4454;
    background-position: center;
    background-size: cover;
}

.gpa-swim-preview-card,
.gpa-swim-preview-contact,
.gpa-swim-preview-slots {
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 16px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(22, 38, 49, 0.06);
}

.gpa-swim-preview-card img {
    display: block;
    width: 72px;
    height: auto;
    margin-bottom: 12px;
}

.gpa-swim-preview-card h2 {
    margin: 0 0 10px;
    color: var(--gpa-swim-text);
    font-size: 22px;
    line-height: 1.15;
}

.gpa-swim-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.gpa-swim-preview-meta span {
    border-radius: 8px;
    padding: 5px 8px;
    background: #eef7fa;
    color: #24414f;
    font-size: 12px;
    font-weight: 800;
}

.gpa-swim-preview-card [data-preview-description] {
    max-height: 220px;
    overflow: auto;
    color: #263946;
    line-height: 1.55;
}

.gpa-swim-preview-contact {
    display: grid;
    gap: 6px;
}

.gpa-swim-preview-contact img {
    display: block;
    width: 120px;
    height: auto;
}

.gpa-swim-preview-slots {
    display: grid;
    gap: 10px;
}

.gpa-swim-preview-slots h3 {
    margin: 0;
    font-size: 15px;
}

.gpa-swim-preview-slots [data-preview-slots] {
    display: grid;
    gap: 8px;
}

.gpa-swim-preview-slots article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    border: 1px solid #e3edf2;
    border-radius: 8px;
    padding: 10px;
    background: #f8fbfd;
}

.gpa-swim-preview-slots article strong {
    min-width: 0;
    color: var(--gpa-swim-text);
    font-size: 13px;
}

.gpa-swim-preview-slots article span,
.gpa-swim-preview-slots article small {
    color: var(--gpa-swim-muted);
    font-size: 12px;
}

.gpa-swim-preview-slots article small {
    grid-column: 1 / -1;
}

.gpa-swim-preview-contact h3,
.gpa-swim-preview-contact strong,
.gpa-swim-preview-contact span {
    margin: 0;
}

.gpa-swim-preview-contact a {
    color: var(--gpa-swim-accent);
    font-weight: 800;
    text-decoration: none;
}

.gpa-swim-settings-form {
    display: grid;
    gap: 14px;
}

.gpa-swim-settings-form h2 {
    margin: 0;
    font-size: 22px;
}

.gpa-swim-settings-form label {
    display: grid;
    gap: 6px;
    color: var(--gpa-swim-text);
    font-weight: 800;
}

.gpa-swim-settings-form input,
.gpa-swim-settings-form select,
.gpa-swim-settings-form textarea {
    border-color: var(--gpa-swim-border);
    border-radius: 8px;
}

.gpa-swim-editor {
    min-height: 360px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.45;
}

.gpa-swim-date-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 12px;
}

.gpa-swim-map-preview {
    display: grid;
    gap: 10px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 14px;
    background: #f8fbfd;
}

.gpa-swim-map-preview h3 {
    margin: 0;
    color: var(--gpa-swim-text);
    font-size: 16px;
}

.gpa-swim-map-preview iframe {
    width: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 8px;
    background: #e9eef2;
}

.gpa-swim-media-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px;
}

.gpa-swim-media-field {
    display: grid;
    gap: 8px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 12px;
    background: #f8fbfd;
}

.gpa-swim-media-field > strong {
    color: var(--gpa-swim-text);
    font-weight: 900;
}

.gpa-swim-media-field .button.is-selected {
    border-color: #2271b1 !important;
    background: #2271b1 !important;
    color: #ffffff !important;
}

.gpa-swim-media-field img {
    display: block;
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    background: #ffffff;
}

.gpa-swim-placeholder {
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 16px;
    background: #f8fbfd;
}

.gpa-swim-placeholder h3 {
    margin-top: 0;
}

.gpa-swim-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--gpa-swim-border);
}

.gpa-swim-settings-validation {
    margin: 0;
}

.gpa-swim-share-settings {
    display: grid;
    gap: 12px;
}

.gpa-swim-share-row {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr;
    gap: 12px;
    align-items: end;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
}

.gpa-swim-confirmation-tools {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
}

.gpa-swim-confirmation-preview {
    overflow: hidden;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    background: #ffffff;
}

.gpa-swim-confirmation-preview header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--gpa-swim-border);
    padding: 10px 12px;
    background: #f7fafc;
}

.gpa-swim-confirmation-preview iframe {
    display: block;
    width: 100%;
    min-height: 520px;
    border: 0;
    background: #f4f7f9;
}

.gpa-swim-reminder-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 12px;
}

.gpa-swim-reminder-summary div {
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 12px;
    background: #f8fbfd;
}

.gpa-swim-reminder-summary strong,
.gpa-swim-reminder-summary span {
    display: block;
}

.gpa-swim-reminder-summary strong {
    margin-bottom: 6px;
    color: var(--gpa-swim-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.gpa-swim-reminder-summary span {
    color: var(--gpa-swim-text);
    font-weight: 800;
}

.gpa-swim-reminder-status {
    display: grid;
    gap: 4px;
    border: 1px solid #b6d8ee;
    border-radius: 8px;
    padding: 12px;
    background: #f1f8fc;
    color: #164463;
}

.gpa-swim-reminder-status.is-complete {
    border-color: #b7dfc5;
    background: #f0fbf3;
    color: #1f6f3a;
}

.gpa-swim-reminder-status strong,
.gpa-swim-reminder-status span,
.gpa-swim-reminder-status small {
    display: block;
}

.gpa-swim-reminder-status small {
    color: inherit;
    opacity: 0.78;
}

.gpa-swim-reminder-form {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.gpa-swim-reminder-form label:not(.gpa-checkbox) {
    display: grid;
    gap: 6px;
    color: var(--gpa-swim-text);
    font-weight: 800;
}

.gpa-swim-reminder-form input,
.gpa-swim-reminder-form textarea {
    width: 100%;
    border-color: var(--gpa-swim-border);
    border-radius: 8px;
}

.gpa-swim-reminder-test {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 12px;
    background: #f8fbfd;
}

.gpa-swim-reminder-test .gpa-swim-muted {
    grid-column: 1 / -1;
    margin: 0;
}

.gpa-swim-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gpa-swim-text);
    font-weight: 900;
}

.gpa-swim-switch b {
    margin-right: 4px;
}

.gpa-swim-switch input {
    position: absolute;
    width: auto;
    opacity: 0;
    pointer-events: none;
}

.gpa-swim-switch span {
    position: relative;
    display: inline-flex;
    width: 58px;
    height: 30px;
    border-radius: 999px;
    background: #c73535;
    transition: background 160ms ease;
}

.gpa-swim-switch span::before,
.gpa-swim-switch span::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.gpa-swim-switch span::before {
    right: 10px;
    content: "×";
}

.gpa-swim-switch span::after {
    left: 10px;
    content: "✓";
    opacity: 0;
}

.gpa-swim-switch i {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    transition: transform 160ms ease;
}

.gpa-swim-switch input:checked + span {
    background: #238636;
}

.gpa-swim-switch input:checked + span::before {
    opacity: 0;
}

.gpa-swim-switch input:checked + span::after {
    opacity: 1;
}

.gpa-swim-switch input:checked + span i {
    transform: translateX(28px);
}

.gpa-swim-email-preview {
    padding: 0 16px 16px;
}

.gpa-swim-email-preview[hidden] {
    display: none;
}

.gpa-swim-email-preview iframe {
    width: 100%;
    min-height: 560px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    background: #ffffff;
}

.gpa-swim-mail-settings {
    margin-top: 16px;
}

.gpa-swim-mail-launchers {
    margin-top: 16px;
}

.gpa-swim-mail-launcher-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
    padding: 16px;
}

.gpa-swim-mail-launcher {
    display: grid !important;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    text-align: left;
}

.gpa-swim-mail-launcher strong,
.gpa-swim-mail-launcher em {
    display: block;
    min-width: 0;
}

.gpa-swim-mail-launcher em {
    border-radius: 999px;
    padding: 3px 8px;
    background: #f1f5f8;
    color: #687985;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

.gpa-swim-mail-launcher.is-active {
    border-color: #62b47c !important;
    background: #f0fbf3 !important;
    color: #1f6f3a !important;
}

.gpa-swim-mail-launcher.is-active em {
    background: #238636;
    color: #ffffff;
}

.gpa-swim-mail-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(15, 23, 31, 0.46);
}

.gpa-swim-mail-modal[hidden] {
    display: none;
}

.gpa-swim-mail-modal-card {
    width: min(920px, 100%);
    max-height: min(760px, calc(100vh - 44px));
    overflow: auto;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(15, 23, 31, 0.25);
}

.gpa-swim-mail-modal-card > header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gpa-swim-border);
    padding: 14px 16px;
    background: #f7fafc;
}

.gpa-swim-mail-modal-card > header h2 {
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--gpa-swim-text);
    font-size: 18px;
}

.gpa-swim-mail-error-compact {
    margin: 0 16px 16px;
}

.gpa-swim-smtp-form {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.gpa-swim-smtp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px;
}

.gpa-swim-smtp-grid label:not(.gpa-checkbox),
.gpa-swim-test-mail-form label {
    display: grid;
    gap: 6px;
    color: var(--gpa-swim-text);
    font-weight: 800;
}

.gpa-swim-smtp-grid input,
.gpa-swim-smtp-grid select,
.gpa-swim-test-mail-form input {
    width: 100%;
    border-color: var(--gpa-swim-border);
    border-radius: 8px;
}

.gpa-swim-test-mail-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
    border-top: 1px solid var(--gpa-swim-border);
    padding: 16px;
}

.gpa-swim-mail-error {
    display: grid;
    gap: 6px;
    border: 1px solid #f0c2c2;
    border-radius: 8px;
    padding: 12px;
    background: #fff7f7;
    color: #6f1d1d;
}

.gpa-swim-mail-error strong {
    color: #9a2323;
}

.gpa-swim-mail-error span {
    color: #806060;
    font-size: 12px;
}

.gpa-swim-mail-error code {
    display: block;
    max-width: 100%;
    overflow: auto;
    padding: 8px;
    background: #ffffff;
    color: #2f2020;
    white-space: pre-wrap;
}

.gpa-compact-admin-form {
    display: grid;
    grid-template-columns: minmax(150px, 1fr);
    gap: 8px;
    min-width: 220px;
}

.gpa-compact-admin-form label {
    display: grid;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
}

.gpa-compact-admin-form select {
    min-height: 34px;
    border-radius: 8px;
    padding: 5px 8px;
}

.gpa-swim-readonly-field {
    display: grid;
    gap: 6px;
    border: 1px solid #d7e5eb;
    border-radius: 8px;
    padding: 10px;
    background: #f8fbfd;
}

.gpa-swim-readonly-field strong,
.gpa-swim-readonly-field p {
    margin: 0;
}

.gpa-swim-course-grid .gpa-card {
    align-content: start;
}

.gpa-swim-course-card p,
.gpa-swim-signup-form p {
    margin: 0;
}

.gpa-swim-field-settings {
    overflow: hidden;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    background: #ffffff;
}

.gpa-swim-field-tabs {
    display: grid;
    gap: 14px;
}

.gpa-swim-field-tabs > nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gpa-swim-field-tabs > nav button {
    min-height: 38px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 8px 12px;
    background: #ffffff;
    color: var(--gpa-swim-muted);
    font-weight: 900;
    cursor: pointer;
}

.gpa-swim-field-tabs > nav button.is-active {
    border-color: #9fd3e4;
    background: var(--gpa-swim-accent-soft);
    color: var(--gpa-swim-accent);
}

.gpa-swim-slot-field-panel {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.gpa-swim-slot-field-panel h3 {
    margin: 0;
    font-size: 16px;
}

.gpa-swim-slot-editor {
    overflow-x: auto;
}

.gpa-swim-slot-editor table {
    min-width: 760px;
}

.gpa-swim-slot-row input {
    min-height: 34px;
}

.gpa-swim-slot-row .gpa-swim-time-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.gpa-swim-slot-booked {
    text-align: center;
    font-weight: 900;
}

.gpa-swim-slot-remove {
    width: 42px;
    text-align: center;
}

.gpa-swim-slot-remove label {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #c73535;
    color: #ffffff;
    cursor: pointer;
}

.gpa-swim-slot-remove input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gpa-swim-slot-remove label:has(input:checked) {
    outline: 3px solid #f3b1b1;
}

.gpa-swim-orders-table tr.is-cancelled td {
    background: #fff7f7 !important;
    color: #7a5555;
}

.gpa-swim-registration-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(15, 23, 31, 0.46);
}

.gpa-swim-registration-modal[hidden] {
    display: none;
}

.gpa-swim-registration-modal > section {
    width: min(760px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(15, 23, 31, 0.25);
}

.gpa-swim-registration-modal header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gpa-swim-border);
    padding: 14px 16px;
    background: #f7fafc;
}

.gpa-swim-registration-modal h2 {
    margin: 0;
    font-size: 18px;
}

.gpa-swim-registration-modal .gpa-compact-admin-form {
    padding: 16px;
}

.gpa-swim-registration-details {
    padding: 16px 16px 0;
}

.gpa-swim-registration-details h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.gpa-swim-registration-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin: 0;
}

.gpa-swim-registration-details div {
    min-width: 0;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 9px 10px;
    background: #f7fafc;
}

.gpa-swim-registration-details dt {
    margin: 0 0 3px;
    color: var(--gpa-swim-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.gpa-swim-registration-details dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--gpa-swim-text);
}

.gpa-swim-registration-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gpa-swim-registration-extra-fields {
    display: grid;
    gap: 10px;
    margin: 0;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 12px;
    background: #f7fafc;
}

.gpa-swim-registration-extra-fields legend {
    padding: 0 6px;
    color: var(--gpa-swim-muted);
    font-size: 12px;
    font-weight: 800;
}

.gpa-swim-registration-danger-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 16px 16px;
}

.gpa-swim-registration-danger-actions .gpa-compact-admin-form {
    padding: 0;
}

.gpa-swim-delete-warning {
    margin: 16px;
    border: 1px solid #f0b4b4;
    border-radius: 8px;
    padding: 14px;
    background: #fff5f5;
    color: #7a1f1f;
}

.gpa-swim-delete-warning p {
    margin: 0 0 8px;
}

.gpa-swim-delete-warning p:last-child {
    margin-bottom: 0;
}

.gpa-swim-registration-groups {
    display: grid;
    gap: 18px;
}

.gpa-swim-slot-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: thin;
}

.gpa-swim-slot-tabs button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 8px 12px;
    background: #ffffff;
    color: var(--gpa-swim-text);
    cursor: pointer;
    font-weight: 800;
}

.gpa-swim-slot-tabs button:hover,
.gpa-swim-slot-tabs button:focus-visible,
.gpa-swim-slot-tabs button.is-active {
    border-color: #9fd3e4;
    background: var(--gpa-swim-accent-soft);
    color: var(--gpa-swim-accent);
}

.gpa-swim-slot-tabs button small {
    border-radius: 999px;
    padding: 3px 7px;
    background: #eef4f7;
    color: var(--gpa-swim-muted);
    font-size: 12px;
    font-weight: 900;
}

.gpa-swim-slot-tabs button.is-active small {
    background: #ffffff;
    color: var(--gpa-swim-accent);
}

.gpa-swim-registration-group {
    overflow-x: auto;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(22, 38, 49, 0.05);
}

.gpa-swim-registration-group h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    border-bottom: 1px solid var(--gpa-swim-border);
    padding: 12px 14px;
    background: #f7fafc;
    color: var(--gpa-swim-text);
    font-size: 16px;
}

.gpa-swim-registration-group-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.gpa-swim-registration-count {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 4px 9px;
    background: #e6f6fb;
    color: var(--gpa-swim-accent);
    font-size: 12px;
    font-weight: 900;
}

.gpa-swim-registration-group p {
    margin: 0;
    padding: 14px;
    color: var(--gpa-swim-muted);
}

.gpa-swim-registration-group .gpa-swim-orders-table {
    margin: 0;
    border: 0;
    box-shadow: none;
}

.gpa-swim-event-main > .gpa-swim-box {
    overflow-x: auto;
}

.gpa-swim-registration-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 14px;
}

.gpa-swim-registration-search {
    flex: 1 1 320px;
}

.gpa-swim-registration-search input {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 9px 12px;
}

.gpa-swim-export-menu {
    position: relative;
}

.gpa-swim-export-menu summary {
    cursor: pointer;
    list-style: none;
    color: #172834;
}

.gpa-swim-export-menu summary::-webkit-details-marker {
    display: none;
}

.gpa-swim-export-menu[open] > div {
    position: absolute;
    right: 0;
    z-index: 20;
    display: grid;
    gap: 4px;
    min-width: 150px;
    margin-top: 6px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    padding: 6px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(22, 38, 49, 0.14);
}

.gpa-swim-export-menu button {
    display: flex;
    justify-content: flex-start !important;
    width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 8px 10px;
    background: #ffffff;
    color: #172834 !important;
    text-align: left !important;
    cursor: pointer;
    font-weight: 800;
}

.gpa-swim-export-menu .gpa-inline-form {
    width: 100%;
    margin: 0;
}

.gpa-list-export-dialog {
    width: min(520px, calc(100vw - 32px));
    box-sizing: border-box;
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 24px;
    border: 1px solid #d4e1e8;
    border-radius: 14px;
    color: #172834;
    background: #fff;
}

.gpa-list-export-dialog::backdrop { background: rgba(15, 30, 42, .45); }
.gpa-list-export-dialog h2 { margin-top: 0; }
.gpa-list-export-dialog fieldset { border: 0; padding: 0; margin: 20px 0; }
.gpa-list-export-dialog label { display: block; margin: 12px 0; }
.gpa-list-export-dialog p { color: #526775; }
.gpa-list-export-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

.gpa-swim-export-menu button:hover {
    background: #e8f6fb !important;
    color: #063f50 !important;
}

.gpa-swim-field-settings p {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gpa-swim-border);
    background: #f7fafc;
}

.gpa-swim-field-settings table {
    width: 100%;
    border-collapse: collapse;
}

.gpa-swim-field-settings th,
.gpa-swim-field-settings td {
    padding: 11px 12px;
    border-bottom: 1px solid #edf2f5;
    text-align: left;
    vertical-align: middle;
}

.gpa-swim-field-settings th {
    color: var(--gpa-swim-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.gpa-swim-form-field-editor {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
}

.gpa-swim-form-field-editor table {
    width: 100%;
    min-width: 900px;
    table-layout: fixed;
    border-collapse: collapse;
}

.gpa-swim-form-field-editor input[type="text"],
.gpa-swim-form-field-editor select,
.gpa-swim-form-field-editor textarea {
    width: 100%;
    min-height: 30px;
    padding: 4px 7px;
    font-size: 12px;
}

.gpa-swim-form-field-editor textarea {
    min-height: 58px;
    resize: none;
}

.gpa-swim-form-field-editor > .button {
    margin: 12px;
}

.gpa-swim-form-field-editor.is-compact table {
    min-width: 700px;
}

.gpa-swim-form-field-editor th,
.gpa-swim-form-field-editor td {
    padding: 6px;
}

.gpa-swim-field-toggle-col {
    width: 46px;
    text-align: center;
}

.gpa-swim-field-type-col {
    width: 120px;
}

.gpa-swim-field-options-col {
    width: 180px;
}

.gpa-swim-field-options-col textarea {
    height: 58px;
    min-height: 58px;
    max-height: 58px;
    resize: none;
    overflow-y: auto;
}

.gpa-swim-field-options-col [data-field-options-panel][hidden] {
    display: none;
}

.gpa-swim-field-delete-col {
    width: 116px;
    text-align: center;
}

.gpa-swim-mini-check {
    display: inline-grid;
    place-items: center;
    margin: 0;
    cursor: pointer;
}

.gpa-swim-mini-check input,
.gpa-swim-delete-field input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gpa-swim-mini-check span {
    width: 22px;
    height: 22px;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 6px;
    background: #ffffff;
}

.gpa-swim-mini-check input:checked + span {
    border-color: #0b7899;
    background: #0b7899;
    box-shadow: inset 0 0 0 5px #ffffff;
}

.gpa-swim-delete-field {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.gpa-swim-delete-field-button {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #b42318;
    border-radius: 7px;
    background: #b42318;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.gpa-swim-delete-field-button:hover,
.gpa-swim-delete-field-button:focus-visible {
    background: #8f1d14;
    border-color: #8f1d14;
}

.gpa-swim-delete-field-confirm {
    position: absolute;
    left: 34px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 122px;
    border: 1px solid #f0b6b6;
    border-radius: 7px;
    padding: 5px;
    background: #fff7f7;
    color: #7a1b14;
    box-shadow: 0 10px 24px rgba(122, 27, 20, 0.14);
    font-size: 11px;
    font-weight: 800;
}

.gpa-swim-delete-field-confirm[hidden] {
    display: none;
}

.gpa-swim-delete-field-confirm button {
    min-height: 22px;
    border: 0;
    border-radius: 5px;
    padding: 2px 6px;
    background: #b42318;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.gpa-swim-delete-field-confirm button[data-delete-form-field-cancel] {
    background: #eef2f5;
    color: #3d4b57;
}

.gpa-swim-form-field-editor tr.is-marked-delete {
    display: none;
}

[data-slot-field-panel][hidden],
[data-field-tab-panel][hidden] {
    display: none !important;
}

.gpa-swim-release-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px;
}

.gpa-swim-slot-editor {
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--gpa-swim-border);
    border-radius: 8px;
    background: #ffffff;
}

.gpa-swim-slot-editor table {
    width: 100%;
    border-collapse: collapse;
}

.gpa-swim-slot-editor th,
.gpa-swim-slot-editor td {
    padding: 10px;
    border-bottom: 1px solid #edf2f5;
    text-align: left;
    vertical-align: top;
}

.gpa-swim-slot-order-col {
    width: 42px;
    text-align: center !important;
}

.gpa-swim-slot-drag-handle {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 34px;
    border: 1px solid #d6e2e8;
    border-radius: 8px;
    background: #f7fafc;
    color: #617684;
    cursor: grab;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.gpa-swim-slot-drag-handle:active {
    cursor: grabbing;
}

.gpa-swim-slot-row.is-dragging {
    opacity: 0.55;
}

.gpa-swim-slot-editor th {
    background: #f7fafc;
    color: var(--gpa-swim-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.gpa-swim-slot-editor input[type="text"],
.gpa-swim-slot-editor input[type="time"],
.gpa-swim-slot-editor input[type="number"] {
    width: 100%;
}

.gpa-swim-slot-editor > .button {
    margin: 12px;
}

.gpa-swim-time-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gpa-swim-slot-fields-row td {
    background: #fbfdfe;
}

.gpa-swim-slot-fields-row summary {
    cursor: pointer;
    color: var(--gpa-swim-accent);
    font-weight: 800;
}

.gpa-swim-slot-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.gpa-swim-slot-fields > div {
    display: grid;
    gap: 7px;
    border: 1px solid #dfe9ee;
    border-radius: 8px;
    padding: 10px;
    background: #ffffff;
}

.gpa-swim-public-body {
    margin: 0;
    background: #eef5f7;
    color: #162631;
}

.gpa-swim-booking-page {
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gpa-swim-booking-wrap {
    width: calc(100% - 32px);
    max-width: 1480px;
    margin: 0 auto;
    padding: 22px 0 52px;
}

.gpa-swim-public-list-hero {
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    margin: 18px 0 24px;
    padding: 28px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(22, 38, 49, 0.08);
}

.gpa-swim-public-list-hero img {
    display: block;
    width: 180px;
    height: auto;
}

.gpa-swim-contact-card > img {
    display: block;
    width: 92px;
    height: auto;
}

.gpa-swim-public-list-hero p {
    margin: 0 0 4px;
    color: #0b7899;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.gpa-swim-public-list-hero h1 {
    margin: 0;
    color: #142532;
    font-size: 40px;
    line-height: 1.05;
}

.gpa-swim-public-list-hero span {
    display: block;
    margin-top: 8px;
    color: #5d6f7a;
    font-size: 16px;
}

.gpa-swim-public-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.gpa-swim-public-course-card {
    display: grid;
    gap: 8px;
    min-height: 132px;
    border: 1px solid #d7e5eb;
    border-radius: 8px;
    padding: 18px;
    background: #ffffff;
    color: #172834;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(22, 38, 49, 0.06);
}

.gpa-swim-public-course-card:hover {
    border-color: #82c7dc;
    transform: translateY(-1px);
}

.gpa-swim-public-course-card strong {
    color: #0b7899;
    font-size: 18px;
}

.gpa-swim-public-course-card span {
    color: #233744;
    font-weight: 700;
}

.gpa-swim-public-course-card small {
    color: #60727e;
}

.gpa-swim-public-hero {
    position: relative;
    min-height: 310px;
    border-radius: 8px;
    margin: 10px 0 22px;
    background-color: #1c4454;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 42px rgba(22, 38, 49, 0.12);
}

.gpa-swim-public-hero-shade {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(5, 28, 39, 0.08), rgba(5, 28, 39, 0.22));
}

.gpa-swim-public-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 26px;
    align-items: start;
}

.gpa-swim-public-content,
.gpa-swim-booking-card,
.gpa-swim-contact-card {
    border: 1px solid #d7e5eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(22, 38, 49, 0.08);
}

.gpa-swim-public-content {
    padding: 30px;
}

.gpa-swim-public-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
    gap: 28px;
    align-items: start;
}

.gpa-swim-public-title-logo {
    display: block;
    width: min(100%, 390px);
    height: auto;
    max-height: 150px;
    object-fit: contain;
    justify-self: end;
    margin-top: 4px;
}

.gpa-swim-public-back {
    display: inline-flex;
    margin-bottom: 16px;
    color: #0b7899;
    font-weight: 800;
    text-decoration: none;
}

.gpa-swim-public-content h1 {
    margin: 0 0 14px;
    color: #142532;
    font-size: 42px;
    line-height: 1.06;
}

.gpa-swim-public-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.gpa-swim-public-meta span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    border-radius: 8px;
    padding: 5px 10px;
    background: #eef7fa;
    color: #24414f;
    font-size: 13px;
    font-weight: 800;
}

.gpa-swim-public-description {
    color: #263946;
    font-size: 17px;
    line-height: 1.65;
}

.gpa-swim-public-description p:first-child {
    margin-top: 0;
}

.gpa-swim-public-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 4px;
}

.gpa-swim-public-share a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #cde0e8;
    border-radius: 999px;
    background: #f8fbfd;
    color: #0b5f7a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.gpa-swim-public-share a:hover {
    border-color: #0b7899;
    background: #eaf7fb;
    color: #074d63;
}

.gpa-swim-public-map {
    display: grid;
    gap: 12px;
    margin-top: 26px;
    border-top: 1px solid #edf2f5;
    padding-top: 22px;
}

.gpa-swim-public-map h2 {
    margin: 0;
    color: #142532;
    font-size: 24px;
}

.gpa-swim-map-toggle {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gpa-swim-public-map-frame[hidden] {
    display: none;
}

.gpa-swim-public-map-frame {
    overflow: hidden;
    border: 1px solid #d7e0e5;
    border-radius: 8px;
    background: #e8eef2;
}

.gpa-swim-public-map-frame iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 8px;
    background: #e8eef2;
}

.gpa-swim-booking-card {
    display: grid;
    gap: 16px;
    margin-top: 22px;
    padding: 22px;
    width: 100%;
    box-sizing: border-box;
}

.gpa-swim-contact-card > img {
    width: 86px;
}

.gpa-swim-contact-card {
    position: sticky;
    top: 22px;
    display: grid;
    gap: 10px;
    padding: 22px;
}

.gpa-swim-contact-card > img {
    width: 150px;
}

.gpa-swim-contact-card h2,
.gpa-swim-contact-card p {
    margin: 0;
}

.gpa-swim-contact-card strong {
    color: #142532;
    font-size: 18px;
}

.gpa-swim-contact-card span {
    color: #60727e;
}

.gpa-swim-contact-card a {
    color: #0b7899;
    font-weight: 800;
    text-decoration: none;
}

.gpa-swim-booking-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
}

.gpa-swim-booking-card h2 {
    margin: 0;
    color: #142532;
    font-size: 24px;
    line-height: 1.15;
}

.gpa-swim-booking-card p {
    margin: 0;
    color: #60727e;
    line-height: 1.45;
}

.gpa-swim-discount-box {
    border: 1px solid #d9e3ea;
    border-radius: 8px;
    padding: 16px;
    display: grid;
    gap: 12px;
    background: #f8fbfd;
}

.gpa-swim-discount-box h3 {
    margin: 0;
}

.gpa-swim-discount-result {
    border: 1px solid #b8d8be;
    border-radius: 8px;
    padding: 12px;
    background: #f0fbf2;
    display: grid;
    gap: 8px;
}

.gpa-swim-discount-result.is-error {
    border-color: #e0b4b4;
    background: #fff5f5;
}

.gpa-swim-discount-result div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gpa-swim-discount-result p {
    margin: 0;
}

.gpa-swim-discount-settings {
    display: grid;
    gap: 14px;
}

.gpa-swim-booking-notice {
    margin-top: 8px;
    color: #9a4b00;
    font-weight: 800;
}

.gpa-swim-booking-countdown {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    max-width: 520px;
    border: 1px solid #9bd3e2;
    border-radius: 10px;
    padding: 16px;
    background: #effaff;
}

.gpa-swim-booking-countdown-title {
    color: #15566c;
    font-size: 16px;
}

.gpa-swim-booking-countdown-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.gpa-swim-booking-countdown-values > span {
    display: grid;
    gap: 2px;
    border-radius: 8px;
    padding: 12px 8px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 3px 12px rgba(22, 38, 49, 0.08);
}

.gpa-swim-booking-countdown-values strong {
    color: #0b7899;
    font-size: 28px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.gpa-swim-booking-countdown-values small {
    color: #526873;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gpa-swim-booking-card .gpa-swim-slot-list {
    grid-template-columns: 1fr;
}

.gpa-swim-public-form {
    display: grid;
    gap: 14px;
}

.gpa-swim-participant-fields,
.gpa-swim-guardian-fields {
    display: grid;
    gap: 12px;
}

.gpa-swim-participant-fields h4,
.gpa-swim-guardian-fields h4 {
    margin: 4px 0 0;
    color: #172834;
    font-size: 16px;
}

.gpa-swim-participant-group {
    display: grid;
    gap: 12px;
    margin: 0;
    border: 1px solid #d7e5eb;
    border-radius: 8px;
    padding: 12px;
    background: #fbfdfe;
}

.gpa-swim-participant-group legend {
    padding: 0 6px;
    color: #0b7899;
    font-weight: 900;
}

.gpa-swim-participant-slot-lock {
    display: grid;
    gap: 6px;
    border: 1px solid #d7e5eb;
    border-radius: 8px;
    padding: 9px 11px;
    background: #f7fbfd;
    color: #172834;
}

.gpa-swim-participant-slot-lock span {
    font-weight: 800;
}

.gpa-swim-participant-slot-lock strong {
    color: #0b6f8f;
    font-size: 14px;
}

.gpa-swim-booking-step {
    display: none;
    gap: 14px;
}

.gpa-swim-booking-step.is-active {
    display: grid;
}

.gpa-swim-booking-step h3 {
    margin: 6px 0 0;
    color: #172834;
    font-size: 18px;
}

.gpa-swim-slot-list {
    display: grid;
    gap: 9px;
}

.gpa-swim-slot-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 54px;
    border: 1px solid #d7e5eb;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fbfdfe;
}

.gpa-swim-slot-option.is-full {
    opacity: 0.56;
    cursor: not-allowed;
}

.gpa-swim-slot-copy {
    display: grid;
    gap: 4px;
}

.gpa-swim-slot-option span {
    color: #172834;
    font-weight: 900;
}

.gpa-swim-slot-option small {
    color: #60727e;
    white-space: normal;
}

.gpa-swim-slot-time-label + small {
    margin-top: -6px;
}

.gpa-swim-few-left {
    color: #b35300;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}

.gpa-swim-slot-full-label {
    justify-self: end;
    border-radius: 8px;
    padding: 9px 12px;
    background: #f3f4f5;
    color: #6a737b;
    font-size: 13px;
    font-weight: 900;
}

.gpa-swim-slot-picker {
    display: grid;
    grid-template-columns: 40px 58px 40px;
    gap: 8px;
    align-items: center;
}

.gpa-swim-slot-picker button,
.gpa-swim-slot-picker input {
    width: 100%;
    height: 38px;
    border: 1px solid #c7d9e1;
    border-radius: 8px;
    background: #ffffff;
    color: #172834;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.gpa-swim-slot-picker button {
    border-color: #0b7899;
    background: #e8f6fb;
    color: #075f78;
    cursor: pointer;
}

.gpa-swim-slot-picker button:hover,
.gpa-swim-slot-picker button:focus-visible,
.gpa-swim-quantity-control button:hover,
.gpa-swim-quantity-control button:focus-visible {
    border-color: #075f78;
    background: #ccecf6;
    color: #063f50;
    outline: 2px solid rgba(11, 120, 153, 0.16);
    outline-offset: 1px;
}

.gpa-swim-slot-picker input[readonly] {
    pointer-events: none;
}

.gpa-swim-slot-picker input[type="number"],
.gpa-swim-quantity-control input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
    padding: 0;
    display: grid;
    place-items: center;
    text-align: center;
    text-align-last: center;
}

.gpa-swim-slot-picker input[type="number"]::-webkit-outer-spin-button,
.gpa-swim-slot-picker input[type="number"]::-webkit-inner-spin-button,
.gpa-swim-quantity-control input[type="number"]::-webkit-outer-spin-button,
.gpa-swim-quantity-control input[type="number"]::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

.gpa-swim-quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid #edf2f5;
    padding-top: 14px;
    color: #172834;
    font-weight: 900;
}

.gpa-swim-booking-queue {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid #9bcbd9;
    border-radius: 10px;
    padding: 13px;
    background: #edf9fc;
    color: #123847;
}

.gpa-swim-booking-queue[hidden] {
    display: none;
}

.gpa-swim-booking-queue .dashicons {
    color: #08789a;
}

.gpa-swim-booking-queue strong,
.gpa-swim-booking-queue p {
    display: block;
    margin: 0;
}

.gpa-swim-booking-queue p {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 620px) {
    .gpa-swim-booking-queue {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .gpa-swim-booking-queue .button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.gpa-swim-quantity-control {
    display: grid;
    grid-template-columns: 40px 58px 40px;
    gap: 8px;
    align-items: center;
}

.gpa-swim-quantity-control button,
.gpa-swim-quantity-control input {
    width: 100%;
    height: 38px;
    border: 1px solid #c7d9e1;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
    font-weight: 900;
}

.gpa-swim-public-form label:not(.gpa-checkbox) {
    display: grid;
    gap: 6px;
    color: #172834;
    font-weight: 800;
}

.gpa-swim-birth-date-field {
    display: grid;
    gap: 6px;
    color: #172834;
    font-weight: 800;
}

.gpa-swim-birth-date-parts {
    display: grid;
    grid-template-columns: minmax(92px, 1.3fr) minmax(78px, 1fr) minmax(78px, 1fr);
    gap: 8px;
}

.gpa-swim-birth-date-parts label span {
    font-size: 12px;
    font-weight: 700;
}

.gpa-swim-birth-date-parts input,
.gpa-swim-birth-date-parts select {
    min-width: 0;
    background: #f3f6f8;
}

.gpa-swim-public-form [data-personal-identity-field][hidden] {
    display: none !important;
}

.gpa-swim-confirmation-resend-form {
    align-items: start;
    border-top: 1px solid #dbe5ea;
    border-bottom: 1px solid #dbe5ea;
    padding: 14px 0;
}

.gpa-swim-confirmation-resend-form button {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    width: fit-content;
}

.gpa-swim-confirmation-resend-form small {
    color: #52606d;
}

.gpa-swim-public-form input,
.gpa-swim-public-form textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid #c7d9e1;
    border-radius: 8px;
    padding: 9px 11px;
    background: #ffffff;
    color: #172834;
    box-sizing: border-box;
}

.gpa-swim-public-form [data-birth-date-input],
.gpa-swim-public-form [data-personal-identity-input] {
    background: #f3f6f8;
}

.gpa-swim-public-form [data-birth-date-input]::placeholder,
.gpa-swim-public-form [data-personal-identity-input]::placeholder {
    color: #6b7c86;
    opacity: 1;
}

.gpa-swim-public-form select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #c7d9e1;
    border-radius: 8px;
    padding: 9px 11px;
    background: #ffffff;
    color: #172834;
    box-sizing: border-box;
}

.gpa-swim-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.gpa-swim-consent-box {
    display: grid;
    gap: 8px;
}

.gpa-swim-consent-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.gpa-swim-consent-link {
    font-size: 14px;
    font-weight: 800;
    color: #0b6f8f;
}

.gpa-swim-consent-check,
.gpa-swim-public-form label.gpa-swim-consent-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #c7d9e1;
    border-radius: 10px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 800;
    color: #172834;
}

.gpa-swim-consent-check input,
.gpa-swim-public-form .gpa-swim-consent-check input {
    width: 15px;
    min-height: 15px;
    margin: 0;
    padding: 0;
}

.gpa-swim-consent-page {
    max-width: 860px;
    margin: 0 auto;
}

.gpa-swim-consent-document {
    color: #243844;
    font-size: 16px;
    line-height: 1.7;
}

.gpa-swim-confirmation-page {
    display: grid;
    gap: 18px;
}

.gpa-swim-confirmation-intro {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid #d6e4ea;
    border-radius: 12px;
    padding: 18px;
    background: #f5fbfd;
}

.gpa-swim-confirmation-intro .dashicons {
    color: #238636;
    font-size: 28px;
}

.gpa-swim-confirmation-ticket {
    border: 1px solid #d7e5eb;
    border-radius: 14px;
    padding: 22px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(24, 36, 47, 0.08);
}

.gpa-swim-confirmation-ticket header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.gpa-swim-confirmation-ticket header img {
    max-width: 110px;
    height: auto;
}

.gpa-swim-confirmation-body {
    margin-bottom: 18px;
}

.gpa-swim-confirmation-meta,
.gpa-swim-confirmation-rows {
    display: grid;
    gap: 12px;
}

.gpa-swim-confirmation-meta div,
.gpa-swim-confirmation-rows article {
    border: 1px solid #e4edf2;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fbfdfe;
}

.gpa-swim-public-form textarea {
    min-height: 88px;
    resize: vertical;
}

.gpa-swim-book-button {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
}

.gpa-swim-payment-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.gpa-swim-payment-actions .button {
    width: 100%;
    min-height: 46px;
}

.gpa-swim-payment-actions .gpa-swim-cancel-booking-button {
    border-color: #b42318;
    background: #b42318;
    color: #fff;
}

.gpa-swim-payment-actions .gpa-swim-cancel-booking-button:hover,
.gpa-swim-payment-actions .gpa-swim-cancel-booking-button:focus {
    border-color: #8f1b13;
    background: #8f1b13;
    color: #fff;
}

.gpa-swim-payment-actions .gpa-swim-cancel-booking-button:disabled {
    border-color: #d7a7a2;
    background: #d7a7a2;
    color: #fff;
}

.gpa-swim-waitlist-card {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    border: 1px solid #d7e5eb;
    border-radius: 8px;
    padding: 22px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(22, 38, 49, 0.08);
}

.gpa-swim-waitlist-card[hidden] {
    display: none !important;
}

.gpa-swim-waitlist-card h2,
.gpa-swim-waitlist-card p {
    margin: 0;
}

.gpa-swim-waitlist-card h2 {
    color: #142532;
    font-size: 22px;
}

.gpa-swim-waitlist-card p {
    color: #60727e;
    line-height: 1.45;
}

.gpa-swim-waitlist-open {
    justify-self: start;
    min-height: 42px;
    border-color: #0b7899 !important;
    color: #0b7899 !important;
    font-weight: 900;
}

.gpa-swim-waitlist-form {
    display: grid;
    gap: 12px;
    border-top: 1px solid #edf2f5;
    padding-top: 16px;
}

.gpa-swim-waitlist-form[hidden] {
    display: none;
}

.gpa-swim-waitlist-times {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.gpa-swim-waitlist-times h3 {
    margin: 0;
    color: #172834;
    font-size: 16px;
    font-weight: 900;
}

.gpa-swim-waitlist-slot-list {
    gap: 8px;
}

.gpa-swim-waitlist-option {
    position: relative;
    grid-template-columns: 34px minmax(0, 1fr);
    cursor: pointer;
}

.gpa-swim-waitlist-option:hover,
.gpa-swim-waitlist-option:focus-within {
    border-color: #8ac9dc;
    background: #f4fbfd;
    outline: 2px solid rgba(11, 120, 153, 0.12);
    outline-offset: 1px;
}

.gpa-swim-waitlist-option:has(input:checked) {
    border-color: #0b7899;
    background: #ecf8fb;
    box-shadow: inset 0 0 0 1px rgba(11, 120, 153, 0.18);
}

.gpa-swim-waitlist-option input[type="checkbox"] {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.gpa-swim-waitlist-check {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid #b7cbd4;
    border-radius: 6px;
    background: #ffffff;
}

.gpa-swim-waitlist-check::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
}

.gpa-swim-waitlist-option:has(input:checked) .gpa-swim-waitlist-check {
    border-color: #0b7899;
    background: #0b7899;
}

.gpa-swim-waitlist-option:has(input:checked) .gpa-swim-waitlist-check::after {
    opacity: 1;
}

@media (max-width: 1100px) {
    .gpa-swim-toolbar,
    .gpa-swim-overview-grid,
    .gpa-swim-reminder-summary,
    .gpa-swim-smtp-grid,
    .gpa-swim-settings-body,
    .gpa-swim-mail-launcher-grid,
    .gpa-swim-date-grid,
    .gpa-swim-media-fields,
    .gpa-swim-reminder-test,
    .gpa-swim-test-mail-form,
    .gpa-swim-event-header,
    .gpa-swim-public-layout {
        grid-template-columns: 1fr;
    }

    .gpa-swim-header-actions {
        justify-content: flex-start;
    }

    .gpa-swim-registration-details dl,
    .gpa-swim-registration-edit-grid {
        grid-template-columns: 1fr;
    }

    .gpa-swim-contact-card {
        position: static;
    }

    .gpa-swim-public-heading {
        grid-template-columns: minmax(0, 1fr) 260px;
    }

    .gpa-swim-public-title-logo {
        width: 260px;
    }

    .gpa-swim-settings-nav,
    .gpa-swim-edit-preview-sticky {
        position: static;
    }
}

@media (max-width: 1320px) and (min-width: 1101px) {
    .gpa-swim-settings-body {
        grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
    }

    .gpa-swim-edit-preview {
        grid-column: 1 / -1;
    }

    .gpa-swim-edit-preview-sticky {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gpa-swim-edit-preview header,
    .gpa-swim-preview-hero {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .gpa-swim-manual-membership-grid {
        grid-template-columns: 1fr;
    }

    .gpa-swim-admin {
        width: calc(100% - 12px);
    }

    .gpa-swim-admin h1 {
        font-size: 24px;
    }

    .gpa-swim-toolbar {
        gap: 10px;
    }

    .gpa-swim-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .gpa-swim-tabs a {
        justify-content: center;
        min-height: 36px;
        padding: 7px 6px;
        font-size: 11px;
        line-height: 1.15;
        text-align: center;
    }

    .gpa-swim-search,
    .gpa-swim-search input,
    .gpa-swim-new-event {
        width: 100%;
    }

    .gpa-swim-new-event {
        display: inline-flex;
        justify-content: center;
    }

    .gpa-swim-list-panel {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .gpa-swim-event-table,
    .gpa-swim-event-table tbody,
    .gpa-swim-event-table tr,
    .gpa-swim-event-table td {
        display: block;
        width: 100%;
    }

    .gpa-swim-event-table {
        border: 0;
        background: transparent;
    }

    .gpa-swim-event-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .gpa-swim-event-table tbody {
        display: grid;
        gap: 12px;
    }

    .gpa-swim-event-table tbody tr {
        border: 1px solid var(--gpa-swim-border);
        border-radius: 8px;
        background: var(--gpa-swim-surface);
        box-shadow: 0 10px 22px rgba(24, 36, 47, 0.07);
        overflow: visible;
    }

    .gpa-swim-event-table td {
        display: grid;
        grid-template-columns: minmax(92px, 38%) minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        min-height: 0;
        border-bottom: 1px solid #edf2f5;
        padding: 10px 12px;
        text-align: left;
        white-space: normal;
        word-break: break-word;
    }

    .gpa-swim-event-table td::before {
        content: attr(data-label);
        color: var(--gpa-swim-muted);
        font-size: 12px;
        font-weight: 800;
        line-height: 1.35;
        text-transform: uppercase;
    }

    .gpa-swim-event-table td:first-child {
        grid-template-columns: 1fr;
        padding-top: 14px;
    }

    .gpa-swim-event-table td:first-child::before {
        content: none;
    }

    .gpa-swim-event-table td:last-child {
        border-bottom: 0;
    }

    .gpa-swim-event-name {
        font-size: 16px;
        line-height: 1.3;
    }

    .gpa-swim-sold {
        text-align: left;
    }

    .gpa-swim-row-actions {
        display: flex !important;
        align-items: center;
        gap: 6px;
        justify-content: flex-start;
        white-space: normal;
    }

    .gpa-swim-row-actions::before {
        flex: 0 0 calc(38% - 5px);
        align-self: center;
    }

    .gpa-swim-row-actions > * {
        flex: 0 0 auto;
    }

    .gpa-swim-row-actions a,
    .gpa-swim-row-actions button {
        width: 36px;
        height: 36px;
    }

    .gpa-swim-row-menu > div {
        right: auto;
        left: 0;
    }

    .gpa-swim-event-main > h1 {
        font-size: 26px;
    }

    .gpa-swim-event-sidebar,
    .gpa-swim-settings-nav {
        grid-template-columns: 1fr;
    }

    .gpa-swim-booking-wrap {
        width: min(100% - 22px, 1180px);
        padding-top: 12px;
    }

    .gpa-swim-public-list-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 20px;
    }

    .gpa-swim-public-list-hero img {
        width: min(88vw, 340px);
    }

    .gpa-swim-public-list-hero h1,
    .gpa-swim-public-content h1 {
        font-size: 30px;
    }

    .gpa-swim-public-hero {
        min-height: 210px;
    }

    .gpa-swim-public-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gpa-swim-public-title-logo {
        justify-self: start;
        width: min(100%, 220px);
        margin-top: 0;
    }

    .gpa-swim-public-content,
    .gpa-swim-booking-card,
    .gpa-swim-contact-card {
        padding: 18px;
    }

    .gpa-swim-release-grid,
    .gpa-swim-share-row,
    .gpa-swim-confirmation-tools,
    .gpa-swim-booking-intro {
        grid-template-columns: 1fr;
    }

    .gpa-swim-slot-option {
        grid-template-columns: 1fr;
    }

    .gpa-swim-waitlist-option {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .gpa-swim-slot-option small {
        grid-column: auto;
    }
}
