.gotcm-public {
    --gotcm-blue: #28a8df;
    --gotcm-green: #77a22f;
    --gotcm-lime: #d4ea59;
    --gotcm-ink: #234050;
    --gotcm-muted: #607482;
    --gotcm-soft: #f4f9fb;
    color: var(--gotcm-ink);
    font-size: 16px;
}

.gotcm-role-menu {
    display: block;
}

.gotcm-role-menu-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gotcm-role-menu-item {
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.gotcm-role-menu-item a {
    align-items: center;
    color: inherit;
    display: inline-flex;
    font: inherit;
    min-height: 32px;
    text-decoration: none;
}

.gotcm-role-menu-item a:hover,
.gotcm-role-menu-item a:focus {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.gotcm-public-panel {
    background: linear-gradient(180deg, #ffffff 0%, var(--gotcm-soft) 100%);
    border: 1px solid rgba(40, 168, 223, 0.22);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(35, 64, 80, 0.08);
    margin: 0 0 22px;
    padding: 24px;
}

.gotcm-muted {
    color: #646970;
}

.gotcm-step-panel {
    position: relative;
}

.gotcm-step-label {
    background: var(--gotcm-lime);
    border-radius: 999px;
    color: var(--gotcm-ink);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    padding: 5px 12px;
    text-transform: uppercase;
}

.gotcm-public h2,
.gotcm-public h3 {
    color: var(--gotcm-green);
    margin: 0 0 12px;
}

.gotcm-help {
    margin-top: 0;
}

.gotcm-franchise-admin-switcher {
    background: linear-gradient(160deg, rgba(212, 234, 89, 0.22), rgba(40, 168, 223, 0.08));
}

.gotcm-admin-profile-note {
    background: rgba(212, 234, 89, 0.22);
    border: 1px solid rgba(119, 162, 47, 0.26);
    border-radius: 12px;
    padding: 10px 12px;
}

.gotcm-admin-switcher-form {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(260px, 1fr) auto;
}

.gotcm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gotcm-school-club-grid {
    align-items: end;
}

.gotcm-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 18px;
    margin-top: 18px;
}

.gotcm-auth-card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(119, 162, 47, 0.22);
    border-radius: 16px;
    padding: 18px;
}

.gotcm-auth-card-highlight {
    background: linear-gradient(160deg, rgba(212, 234, 89, 0.32), rgba(40, 168, 223, 0.08));
}

.gotcm-promo-code-field {
    background: rgba(212, 234, 89, 0.14);
    border: 1px solid rgba(119, 162, 47, 0.2);
    border-radius: 16px;
    margin: 4px 0 14px;
    padding: 14px;
}

.gotcm-promo-code-field label,
.gotcm-promo-code-field .gotcm-help {
    margin-bottom: 0;
}

.gotcm-price-preview {
    background: linear-gradient(160deg, rgba(40, 168, 223, 0.1), rgba(212, 234, 89, 0.22));
    border: 1px solid rgba(40, 168, 223, 0.24);
    border-radius: 18px;
    margin-top: 18px;
    padding: 18px;
}

.gotcm-price-preview h3 {
    margin-top: 0;
}

.gotcm-price-table {
    background: rgba(255, 255, 255, 0.82);
}

.gotcm-price-total {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.gotcm-price-warning {
    background: #fff9e8;
    border: 1px solid rgba(180, 131, 20, 0.25);
    border-radius: 12px;
    color: #6b4a00;
    padding: 10px 12px;
}

.gotcm-public label {
    display: block;
    margin-bottom: 14px;
}

.gotcm-public input[type="text"],
.gotcm-public input[type="email"],
.gotcm-public input[type="date"],
.gotcm-public input[type="month"],
.gotcm-public input[type="number"],
.gotcm-public input[type="password"],
.gotcm-public input[type="time"],
.gotcm-public select,
.gotcm-public textarea {
    background: #fff;
    border: 1px solid rgba(35, 64, 80, 0.2);
    border-radius: 12px;
    box-sizing: border-box;
    display: block;
    margin-top: 6px;
    padding: 12px 14px;
    width: 100%;
}

.gotcm-public input:focus,
.gotcm-public select:focus,
.gotcm-public textarea:focus {
    border-color: var(--gotcm-blue);
    box-shadow: 0 0 0 3px rgba(40, 168, 223, 0.16);
    outline: none;
}

.gotcm-password-reveal-wrap {
    display: block;
    max-width: 100%;
    position: relative;
}

.gotcm-public .gotcm-password-reveal-wrap {
    margin-top: 6px;
}

.gotcm-public .gotcm-password-reveal-wrap input[type="password"],
.gotcm-public .gotcm-password-reveal-wrap input[type="text"] {
    margin-top: 0;
    padding-right: 48px;
}

.gotcm-password-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #597383;
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
}

.gotcm-password-toggle:hover,
.gotcm-password-toggle:focus {
    background: rgba(40, 168, 223, 0.12);
    color: var(--gotcm-green);
    outline: none;
}

.gotcm-password-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(40, 168, 223, 0.22);
}

.gotcm-password-toggle.is-visible {
    color: var(--gotcm-green);
}

.gotcm-password-toggle svg {
    display: block;
    pointer-events: none;
}

.gotcm-public .gotcm-activity-filters {
    margin: 0 0 16px;
    padding: 12px;
}

.gotcm-public .gotcm-activity-filter-row {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(180px, 1.35fr) repeat(5, minmax(112px, 1fr)) auto;
}

.gotcm-public .gotcm-activity-filters label {
    display: grid;
    gap: 4px;
    margin: 0;
}

.gotcm-public .gotcm-activity-filters label span {
    color: var(--gotcm-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.gotcm-public .gotcm-activity-filters input[type="search"],
.gotcm-public .gotcm-activity-filters select {
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.2;
    margin: 0;
    min-height: 34px;
    padding: 5px 8px;
    width: 100%;
}

.gotcm-public .gotcm-activity-filter-actions {
    align-items: center;
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.gotcm-checkbox {
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

.gotcm-checkbox input {
    margin-top: 5px;
}

.gotcm-consent-disclosures {
    display: grid;
    gap: 12px;
    margin: 16px 0 12px;
}

.gotcm-consent-disclosures-photo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gotcm-consent-disclosures-terms {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
}

.gotcm-consent-disclosure {
    background: #fff;
    border: 1px solid rgba(119, 162, 47, 0.28);
    border-radius: 8px;
    overflow: hidden;
}

.gotcm-consent-disclosure > summary {
    align-items: center;
    background: rgba(212, 234, 89, 0.34);
    color: var(--gotcm-ink);
    cursor: pointer;
    display: flex;
    font-weight: 800;
    gap: 10px;
    list-style: none;
    min-height: 46px;
    padding: 10px 14px;
}

.gotcm-consent-disclosure > summary::-webkit-details-marker {
    display: none;
}

.gotcm-consent-disclosure > summary::after {
    background: var(--gotcm-green);
    border-radius: 999px;
    color: #fff;
    content: "+";
    display: inline-flex;
    flex: 0 0 24px;
    font-size: 16px;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    line-height: 1;
    margin-left: auto;
    width: 24px;
}

.gotcm-consent-disclosure[open] > summary::after {
    content: "-";
}

.gotcm-consent-disclosure-body {
    color: #2f4550;
    line-height: 1.55;
    padding: 14px;
}

.gotcm-consent-disclosure-body p {
    margin: 0 0 12px;
}

.gotcm-consent-disclosure-body p:last-child {
    margin-bottom: 0;
}

.gotcm-checkbox-list {
    border: 1px solid rgba(119, 162, 47, 0.22);
    border-radius: 16px;
    margin: 0 0 16px;
    padding: 16px;
}

.gotcm-checkbox-list legend {
    color: var(--gotcm-ink);
    font-weight: 800;
    padding: 0 8px;
}

.gotcm-checkbox-list .gotcm-help {
    margin-bottom: 12px;
}

.gotcm-checkbox-grid {
    display: grid;
    gap: 10px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gotcm-button,
.gotcm-public .button-primary {
    background: var(--gotcm-green);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    padding: 13px 24px;
    text-decoration: none;
}

.gotcm-button:hover,
.gotcm-public .button-primary:hover {
    background: #668e28;
    color: #fff;
}

.gotcm-button-small {
    font-size: 0.88rem;
    margin-left: 8px;
    padding: 8px 14px;
}

.gotcm-notice {
    border-radius: 14px;
    margin: 0 0 22px;
    padding: 16px 18px;
    scroll-margin-top: 120px;
}

.gotcm-notice-success {
    background: #edf8df;
    border: 1px solid rgba(119, 162, 47, 0.35);
}

.gotcm-notice-error {
    background: #fff4f2;
    border: 1px solid rgba(184, 44, 31, 0.24);
}

.gotcm-online-access-status {
    margin: 0 0 18px;
}

.gotcm-online-access-status:empty {
    display: none;
}

[data-gotcm-online-access-offer][hidden] {
    display: none !important;
}

.gotcm-online-access-hero {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.gotcm-online-access-hero p {
    margin-bottom: 0;
    max-width: 780px;
}

.gotcm-online-access-primary-cta {
    flex: 0 0 auto;
    text-align: center;
}

.gotcm-online-access-bundles .gotcm-section-heading {
    margin-bottom: 18px;
}

.gotcm-online-access-bundle-card small {
    color: var(--gotcm-muted);
    line-height: 1.4;
}

.gotcm-online-access-offer-grid {
    margin: 0 0 18px;
}

.gotcm-online-access-form {
    margin-top: 18px;
}

.gotcm-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.gotcm-online-bundle-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gotcm-public .gotcm-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.gotcm-public .gotcm-section-heading h2 {
    margin-bottom: 8px;
}

.gotcm-public .gotcm-section-heading p {
    margin-bottom: 0;
}

.gotcm-online-bundles-back {
    flex: 0 0 auto;
    margin-top: 4px;
}

.gotcm-mini-card {
    background: #fff;
    border: 1px solid rgba(119, 162, 47, 0.25);
    border-radius: 14px;
    padding: 16px;
}

.gotcm-online-bundle-card {
    display: grid;
    gap: 10px;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}

.gotcm-online-bundle-card .gotcm-button {
    align-items: center;
    display: flex;
    height: 48px;
    justify-content: center;
    justify-self: stretch;
    margin-top: 10px;
    padding-bottom: 0;
    padding-top: 0;
    text-align: center;
    width: 100%;
}

.gotcm-online-bundle-image {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(212, 234, 89, 0.22), rgba(40, 168, 223, 0.12));
    border: 1px solid rgba(35, 64, 80, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
    display: block;
    margin: -4px -4px 4px;
    overflow: hidden;
}

.gotcm-online-bundle-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gotcm-online-bundle-activity-list {
    color: var(--gotcm-muted);
    display: grid;
    gap: 3px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.gotcm-online-bundle-activity-list li {
    font-size: 0.88rem;
    list-style: none !important;
    line-height: 1.25;
    min-width: 0;
    overflow-wrap: anywhere;
    padding-left: 12px;
    position: relative;
}

.gotcm-online-bundle-activity-list li::marker {
    content: "";
}

.gotcm-online-bundle-activity-list li::before {
    background: var(--gotcm-green);
    border-radius: 50%;
    content: "";
    height: 5px;
    left: 0;
    opacity: 0.7;
    position: absolute;
    top: 0.48em;
    width: 5px;
}

.gotcm-online-bundle-activity-more {
    color: var(--gotcm-green);
    font-weight: 800;
}

.gotcm-public-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(119, 162, 47, 0.22);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(35, 64, 80, 0.05);
    padding: 18px;
}

.gotcm-compact-list {
    margin: 0 0 14px;
    padding-left: 20px;
}

.gotcm-compact-list li {
    margin: 0 0 6px;
}

.gotcm-stripe-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}

.gotcm-stripe-actions .gotcm-inline-form {
    margin: 0;
}

.gotcm-button:disabled,
.gotcm-button[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
}

.gotcm-franchise-landing {
    display: grid;
    gap: 22px;
}

body.gotcm-franchise-full-width-page .widget-area,
body.gotcm-franchise-full-width-page .sidebar,
body.gotcm-franchise-full-width-page aside.sidebar,
body.gotcm-franchise-full-width-page #secondary {
    display: none !important;
}

body.gotcm-franchise-full-width-page .content-area,
body.gotcm-franchise-full-width-page .site-content,
body.gotcm-franchise-full-width-page .site-main,
body.gotcm-franchise-full-width-page main {
    float: none !important;
    max-width: none !important;
    width: 100% !important;
}

body.gotcm-franchise-full-width-page h1.entry-title,
body.gotcm-franchise-full-width-page h1.main_title,
body.gotcm-franchise-full-width-page .et_post_meta_wrapper > h1,
body.gotcm-franchise-full-width-page .et_pb_title_container h1 {
    display: none !important;
}

body.gotcm-franchise-full-width-page .et_post_meta_wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

body.gotcm-franchise-full-width-page .gotcm-public {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(130px, 12vw, 230px);
    max-width: 1180px;
    width: min(100%, calc(100vw - 32px));
}

.gotcm-franchise-landing-hero {
    background: #f3f8e8;
    border: 1px solid #dbeab7;
    border-radius: 10px;
    padding: clamp(22px, 4vw, 38px);
}

.gotcm-franchise-landing-hero h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    margin: 8px 0 12px;
}

.gotcm-franchise-landing-hero p {
    color: #31515c;
    font-size: 1.08rem;
    max-width: 760px;
}

.gotcm-franchise-landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.gotcm-landing-summary-grid,
.gotcm-landing-info-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.gotcm-landing-summary-item {
    border-left: 4px solid #77a22f;
    padding: 4px 0 4px 14px;
}

.gotcm-landing-summary-item span {
    color: #5c6f76;
    display: block;
    font-size: .82rem;
    text-transform: uppercase;
}

.gotcm-landing-summary-item strong {
    display: block;
    margin-top: 4px;
}

.gotcm-landing-school-card {
    border: 1px solid #d7e2e4;
    border-radius: 8px;
    margin-top: 16px;
    overflow: hidden;
}

.gotcm-landing-school-header {
    background: #f7faf9;
    border-bottom: 1px solid #d7e2e4;
    padding: 16px 18px;
}

.gotcm-landing-school-header h3,
.gotcm-landing-club-card h4 {
    margin: 0;
}

.gotcm-landing-school-header p {
    color: #5c6f76;
    margin: 4px 0 0;
}

.gotcm-landing-club-list {
    display: grid;
    gap: 0;
}

.gotcm-landing-club-card {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 16px 18px;
}

.gotcm-landing-club-card + .gotcm-landing-club-card {
    border-top: 1px solid #e6eeee;
}

.gotcm-landing-club-meta,
.gotcm-landing-club-price {
    color: #405960;
    margin: 6px 0 0;
}

.gotcm-landing-club-action {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gotcm-landing-availability {
    background: #eef6df;
    border: 1px solid #d6e7ad;
    border-radius: 999px;
    color: #315513;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 6px 10px;
    white-space: nowrap;
}

.gotcm-landing-legal-links {
    margin-top: 16px;
}

.gotcm-franchise-public-profile {
    align-items: center;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
}

.gotcm-franchise-public-profile-image img,
.gotcm-franchise-profile-image-preview img {
    aspect-ratio: 1;
    border-radius: 10px;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.gotcm-franchise-public-profile-image img {
    box-shadow: 0 12px 28px rgba(35, 64, 80, 0.14);
}

.gotcm-franchise-public-profile-copy h2 {
    margin-top: 0;
}

.gotcm-franchise-public-profile-copy p:last-child {
    margin-bottom: 0;
}

.gotcm-franchise-profile-image-field,
.gotcm-franchise-profile-description-field {
    display: block;
}

.gotcm-franchise-profile-image-preview {
    margin: 10px 0;
    max-width: 180px;
}

.gotcm-message-template-image-field {
    display: block;
    margin: 14px 0;
}

.gotcm-message-template-image-preview {
    background: #f7fbfd;
    border: 1px solid rgba(35, 64, 80, 0.14);
    border-radius: 8px;
    margin: 10px 0;
    max-width: 420px;
    padding: 10px;
}

.gotcm-message-template-image-preview-frame {
    align-items: center;
    background: #fff;
    border: 1px dashed rgba(35, 64, 80, 0.2);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    min-height: 140px;
    overflow: hidden;
}

.gotcm-message-template-image-preview img {
    border-radius: 6px;
    display: block;
    height: auto;
    max-width: 100%;
}

.gotcm-message-template-image-placeholder {
    color: #667085;
    font-size: 13px;
    padding: 28px 16px;
    text-align: center;
}

.gotcm-message-template-image-caption {
    color: #667085;
    font-size: 12px;
    margin: 8px 0 0;
}

.gotcm-child-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(119, 162, 47, 0.22);
    border-radius: 16px;
    margin: 18px 0;
    padding: 18px;
}

.gotcm-child-count-label {
    max-width: 260px;
}

.gotcm-child-card[hidden] {
    display: none;
}

.gotcm-child-card h3 {
    margin-top: 0;
}

.gotcm-public-fieldset {
    border: 1px solid var(--gotcm-border, #d8ded2);
    border-radius: 8px;
    margin: 1rem 0;
    padding: 1rem;
}

.gotcm-public-fieldset legend {
    font-weight: 700;
    padding: 0 0.35rem;
}

.gotcm-pickup-contact-row {
    margin-bottom: 0.75rem;
}

.gotcm-mini-card strong,
.gotcm-mini-card span,
.gotcm-mini-card small {
    display: block;
}

.gotcm-finance-card-grid {
    margin-bottom: 20px;
}

.gotcm-finance-card strong {
    color: var(--gotcm-blue);
    font-size: 1.45rem;
    line-height: 1.1;
}

.gotcm-finance-card span {
    font-weight: 800;
    margin-top: 8px;
}

.gotcm-finance-card small {
    color: rgba(35, 64, 80, 0.68);
    margin-top: 5px;
}

.gotcm-finance-filter-form {
    align-items: end;
    background: linear-gradient(135deg, rgba(212, 234, 89, 0.18), rgba(40, 168, 223, 0.08));
    border: 1px solid rgba(119, 162, 47, 0.24);
    border-radius: 16px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 18px 0;
    padding: 14px;
}

.gotcm-finance-filter-form label {
    margin: 0;
}

.gotcm-finance-analytics {
    display: grid;
    gap: 16px;
    margin: 20px 0;
}

.gotcm-finance-analytics-summary {
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(40, 168, 223, 0.18);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: space-between;
    padding: 12px 14px;
}

.gotcm-finance-analytics-summary strong {
    color: var(--gotcm-ink);
    font-size: 1rem;
}

.gotcm-finance-analytics-summary span {
    color: rgba(35, 64, 80, 0.7);
}

.gotcm-finance-chart-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(35, 64, 80, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(35, 64, 80, 0.05);
    padding: 16px;
}

.gotcm-finance-chart-heading {
    align-items: start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.gotcm-finance-chart-heading h4 {
    color: var(--gotcm-green);
    margin: 0 0 4px;
}

.gotcm-finance-chart-heading p {
    color: rgba(35, 64, 80, 0.68);
    margin: 0;
}

.gotcm-finance-chart-heading > span {
    background: rgba(40, 168, 223, 0.1);
    border-radius: 999px;
    color: var(--gotcm-ink);
    font-weight: 700;
    padding: 6px 10px;
    white-space: nowrap;
}

.gotcm-finance-metric-toggles {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin: 14px 0;
}

.gotcm-finance-metric-toggles label {
    background: #fff;
    border: 1px solid rgba(35, 64, 80, 0.12);
    border-left: 5px solid var(--gotcm-metric-colour, var(--gotcm-blue));
    border-radius: 14px;
    display: grid;
    gap: 3px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 10px;
}

.gotcm-finance-metric-toggles label.is-hidden {
    opacity: 0.45;
}

.gotcm-finance-metric-toggles label.is-hidden span {
    text-decoration: line-through;
}

.gotcm-finance-metric-toggles input {
    grid-row: span 2;
    margin-top: 3px;
}

.gotcm-finance-metric-toggles span,
.gotcm-finance-metric-toggles strong {
    display: block;
}

.gotcm-finance-metric-toggles span {
    color: rgba(35, 64, 80, 0.68);
}

.gotcm-finance-chart-scroll {
    overflow-x: auto;
}

.gotcm-finance-line-chart {
    min-width: 720px;
    width: 100%;
}

.gotcm-chart-axis {
    stroke: rgba(35, 64, 80, 0.45);
    stroke-width: 1.4;
}

.gotcm-chart-grid {
    stroke: rgba(35, 64, 80, 0.1);
    stroke-width: 1;
}

.gotcm-chart-label {
    fill: rgba(35, 64, 80, 0.68);
    font-size: 13px;
    font-weight: 700;
}

.gotcm-chart-y-label {
    fill: rgba(35, 64, 80, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.gotcm-finance-line-chart [data-gotcm-metric-point] {
    cursor: pointer;
}

.gotcm-finance-line-chart [data-gotcm-metric-point]:focus,
.gotcm-finance-line-chart [data-gotcm-metric-point].is-active {
    outline: none;
    stroke: var(--gotcm-ink);
    stroke-width: 3;
}

.gotcm-finance-point-readout {
    background: rgba(40, 168, 223, 0.08);
    border: 1px solid rgba(35, 64, 80, 0.12);
    border-radius: 12px;
    color: var(--gotcm-ink);
    font-weight: 700;
    margin-top: 10px;
    padding: 10px 12px;
}

.gotcm-finance-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.gotcm-finance-chart-legend span {
    align-items: center;
    color: rgba(35, 64, 80, 0.68);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
}

.gotcm-finance-chart-legend span::before {
    background: var(--gotcm-metric-colour, var(--gotcm-blue));
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 9px;
    width: 22px;
}

.gotcm-finance-chart-legend span.is-hidden {
    opacity: 0.35;
    text-decoration: line-through;
}

.gotcm-action-panel {
    border-color: rgba(212, 234, 89, 0.75);
    box-shadow: 0 14px 36px rgba(119, 162, 47, 0.14);
}

.gotcm-renewal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.gotcm-family-payment-action {
    margin-top: 18px;
}

.gotcm-payment-action {
    margin: 0;
}

.gotcm-payment-action .gotcm-button {
    padding: 9px 15px;
    white-space: nowrap;
}

.gotcm-franchise-hero {
    background: linear-gradient(135deg, rgba(40, 168, 223, 0.14), rgba(212, 234, 89, 0.22));
}

.gotcm-franchise-view-switcher {
    align-items: end;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(119, 162, 47, 0.2);
    border-radius: 16px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 1fr) auto;
    margin-top: 18px;
    padding: 14px;
}

.gotcm-franchise-view-switcher label {
    display: grid;
    gap: 5px;
    margin: 0;
}

.gotcm-franchise-view-switcher label span {
    color: rgba(35, 64, 80, 0.68);
    font-size: 0.9rem;
}

.gotcm-franchise-landing-link {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(40, 168, 223, 0.22);
    border-radius: 16px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, auto);
    margin-top: 18px;
    padding: 14px;
}

.gotcm-franchise-landing-link-copy {
    display: grid;
    gap: 4px;
}

.gotcm-franchise-landing-link-copy strong {
    color: var(--gotcm-ink);
}

.gotcm-franchise-landing-link-copy span {
    color: rgba(35, 64, 80, 0.68);
    font-size: 0.9rem;
}

.gotcm-franchise-landing-link-actions {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(220px, 1fr);
}

.gotcm-franchise-landing-link-actions label,
.gotcm-franchise-landing-generate-form {
    margin: 0;
}

.gotcm-franchise-landing-link-actions input[type="url"] {
    font-size: 0.88rem;
    margin: 0;
    min-height: 46px;
}

.gotcm-hero-stat-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-top: 18px;
}

.gotcm-hero-stat-grid span {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(119, 162, 47, 0.18);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 74px;
    padding: 12px 14px;
}

.gotcm-hero-stat-grid strong {
    color: var(--gotcm-green);
    display: block;
    font-size: 1.45rem;
    line-height: 1;
}

.gotcm-dashboard-nav {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(40, 168, 223, 0.18);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(35, 64, 80, 0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 10px 12px;
}

.gotcm-dashboard-nav span {
    color: rgba(35, 64, 80, 0.72);
    font-weight: 700;
    margin: 0 4px;
}

.gotcm-dashboard-nav a {
    background: rgba(40, 168, 223, 0.1);
    border-radius: 999px;
    color: var(--gotcm-ink);
    font-weight: 700;
    padding: 8px 12px;
    text-decoration: none;
}

.gotcm-dashboard-nav a:hover {
    background: var(--gotcm-blue);
    color: #fff;
}

.gotcm-dashboard-card-nav {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(40, 168, 223, 0.18);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(35, 64, 80, 0.07);
    margin: 0 0 20px;
    padding: 16px;
}

.gotcm-dashboard-card-nav-head {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 12px;
}

.gotcm-dashboard-card-nav-head strong {
    color: var(--gotcm-ink);
    font-size: 1rem;
}

.gotcm-dashboard-card-nav-head span {
    color: rgba(35, 64, 80, 0.68);
    font-size: 0.92rem;
}

.gotcm-dashboard-card-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.gotcm-dashboard-nav-card {
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 254, 0.9));
    border: 1px solid rgba(40, 168, 223, 0.16);
    border-radius: 18px;
    color: var(--gotcm-ink);
    display: grid;
    gap: 10px;
    grid-template-areas:
        "title title title"
        "icon copy metric";
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 96px;
    padding: 12px;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gotcm-dashboard-nav-card:hover,
.gotcm-dashboard-nav-card:focus {
    border-color: rgba(40, 168, 223, 0.52);
    box-shadow: 0 12px 24px rgba(35, 64, 80, 0.1);
    color: var(--gotcm-ink);
    transform: translateY(-1px);
}

.gotcm-dashboard-nav-card-icon,
.gotcm-dashboard-summary-icon {
    align-items: center;
    background: rgba(212, 234, 89, 0.52);
    border: 1px solid rgba(119, 162, 47, 0.28);
    border-radius: 14px;
    color: var(--gotcm-green);
    display: inline-flex;
    flex: 0 0 auto;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.gotcm-dashboard-nav-card-icon {
    grid-area: icon;
}

.gotcm-dashboard-icon {
    display: block;
    height: 24px;
    width: 24px;
}

.gotcm-dashboard-nav-card-main {
    display: contents;
}

.gotcm-dashboard-nav-card-main strong {
    color: var(--gotcm-ink);
    display: block;
    font-size: 0.96rem;
    grid-area: title;
    line-height: 1.2;
    overflow-wrap: normal;
    text-wrap: balance;
    word-break: normal;
}

.gotcm-dashboard-nav-card-main small {
    color: rgba(35, 64, 80, 0.62);
    display: -webkit-box;
    font-size: 0.78rem;
    grid-area: copy;
    line-height: 1.3;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: normal;
}

.gotcm-dashboard-nav-card-metric,
.gotcm-dashboard-summary-metric {
    background: rgba(40, 168, 223, 0.1);
    border-radius: 999px;
    color: var(--gotcm-ink);
    font-size: 0.76rem;
    font-weight: 800;
    grid-area: metric;
    justify-self: end;
    padding: 6px 9px;
    white-space: nowrap;
}

.gotcm-guided-setup-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 18px;
}

.gotcm-guided-setup-card {
    background: #fff;
    border: 1px solid rgba(119, 162, 47, 0.28);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(35, 64, 80, 0.05);
    color: var(--gotcm-ink);
    display: block;
    min-height: 150px;
    padding: 16px;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.gotcm-guided-setup-card:hover {
    border-color: var(--gotcm-blue);
    box-shadow: 0 12px 26px rgba(40, 168, 223, 0.14);
    color: var(--gotcm-ink);
    transform: translateY(-1px);
}

.gotcm-guided-setup-card strong,
.gotcm-guided-setup-card span {
    display: block;
}

.gotcm-guided-setup-card strong {
    color: var(--gotcm-ink);
    font-size: 1.08rem;
    margin-top: 10px;
}

.gotcm-guided-setup-card span:not(.gotcm-guided-step) {
    color: rgba(35, 64, 80, 0.72);
    margin-top: 6px;
}

.gotcm-guided-setup-card .gotcm-guided-step {
    background: var(--gotcm-lime);
    border-radius: 999px;
    color: var(--gotcm-ink);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    text-transform: uppercase;
    width: fit-content;
}

.gotcm-owner-nav {
    background: #fff;
    border: 1px solid rgba(40, 168, 223, 0.22);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(35, 64, 80, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    padding: 14px;
}

.gotcm-owner-nav a {
    border-radius: 999px;
    color: var(--gotcm-ink);
    font-weight: 700;
    padding: 9px 13px;
    text-decoration: none;
}

.gotcm-owner-nav a:hover,
.gotcm-owner-nav a.is-active {
    background: var(--gotcm-green);
    color: #fff;
}

.gotcm-owner-screen .wrap {
    margin: 0;
}

.gotcm-workflow-panel {
    border-color: rgba(119, 162, 47, 0.35);
    padding-bottom: 18px;
    padding-top: 18px;
}

.gotcm-stat-card strong {
    color: var(--gotcm-blue);
    font-size: 2rem;
    line-height: 1;
}

.gotcm-stat-card span {
    margin-top: 8px;
}

.gotcm-wide {
    grid-column: 1 / -1;
}

.gotcm-inline-form {
    margin-top: 12px;
}

.gotcm-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gotcm-inline-actions .gotcm-button {
    padding: 8px 12px;
}

.gotcm-school-actions,
.gotcm-club-actions,
.gotcm-family-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gotcm-school-actions .gotcm-inline-form,
.gotcm-club-actions .gotcm-inline-form,
.gotcm-family-actions .gotcm-inline-form {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0;
}

.gotcm-school-delete-linked,
.gotcm-club-delete-linked,
.gotcm-family-delete-linked {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    white-space: nowrap;
}

.gotcm-school-delete-count,
.gotcm-club-delete-count,
.gotcm-family-delete-count {
    color: #667085;
    white-space: nowrap;
}

.gotcm-family-delete-unavailable {
    color: #667085;
}

.gotcm-resource-divider {
    border: 0;
    border-top: 1px solid rgba(119, 162, 47, 0.18);
    margin: 8px 0;
}

.gotcm-resource-bulk-links {
    background: rgba(212, 234, 89, 0.16);
    border: 1px solid rgba(119, 162, 47, 0.22);
    border-radius: 10px;
    margin-top: 8px;
    padding: 8px 10px;
}

.gotcm-resource-bulk-links a,
.gotcm-resource-folder-link {
    color: var(--gotcm-green);
    font-weight: 800;
}

.gotcm-register-filter {
    align-items: end;
    margin-bottom: 18px;
}

.gotcm-register-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.gotcm-register-meta {
    color: rgba(35, 64, 80, 0.72);
    font-size: 0.92rem;
}

.gotcm-dashboard-details {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(119, 162, 47, 0.2);
    border-radius: 14px;
    margin: 0 0 18px;
    padding: 14px 16px;
}

.gotcm-dashboard-details summary {
    color: var(--gotcm-green);
    cursor: pointer;
    font-weight: 700;
}

.gotcm-dashboard-details form {
    margin-top: 16px;
}

.gotcm-public-accordion-stack {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.gotcm-public-accordion {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(119, 162, 47, 0.22);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(35, 64, 80, 0.06);
    overflow: hidden;
}

.gotcm-dashboard-module.gotcm-public-panel {
    padding: 0;
}

.gotcm-dashboard-module[open] > summary {
    border-bottom: 1px solid rgba(119, 162, 47, 0.16);
}

.gotcm-dashboard-module.gotcm-workflow-panel {
    border-color: rgba(119, 162, 47, 0.34);
}

.gotcm-public-accordion > summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    list-style: none;
    padding: 18px 20px;
}

.gotcm-public-accordion > summary::-webkit-details-marker {
    display: none;
}

.gotcm-public-accordion > summary::after {
    background: rgba(212, 234, 89, 0.68);
    border-radius: 999px;
    color: var(--gotcm-green);
    content: "+";
    display: inline-grid;
    flex: 0 0 auto;
    font-size: 1.35rem;
    font-weight: 800;
    height: 34px;
    line-height: 1;
    place-items: center;
    width: 34px;
}

.gotcm-public-accordion[open] > summary::after {
    content: "-";
}

.gotcm-public-accordion > summary span {
    color: var(--gotcm-ink);
    display: block;
    font-weight: 800;
}

.gotcm-public-accordion > summary small {
    color: rgba(35, 64, 80, 0.72);
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 4px;
}

.gotcm-public-accordion > summary.gotcm-dashboard-summary {
    justify-content: flex-start;
}

.gotcm-public-accordion > summary.gotcm-dashboard-summary::after {
    margin-left: auto;
}

.gotcm-public-accordion > summary .gotcm-dashboard-summary-icon {
    display: inline-flex;
}

.gotcm-public-accordion > summary .gotcm-dashboard-summary-copy {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.gotcm-public-accordion > summary .gotcm-dashboard-summary-title {
    color: var(--gotcm-ink);
    display: block;
    font-weight: 800;
}

.gotcm-public-accordion > summary .gotcm-dashboard-summary-metric {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
}

.gotcm-public-accordion > :not(summary) {
    margin-left: 20px;
    margin-right: 20px;
}

.gotcm-public-accordion > :last-child {
    margin-bottom: 20px;
}

.gotcm-dashboard-module > .gotcm-dashboard-module-body {
    margin: 0;
    padding: 20px;
}

.gotcm-dashboard-module > .gotcm-dashboard-module-body.is-loading {
    opacity: 0.75;
}

.gotcm-module-placeholder {
    background: linear-gradient(135deg, rgba(212, 234, 89, 0.18), rgba(40, 168, 223, 0.1));
    border: 1px dashed rgba(119, 162, 47, 0.35);
    border-radius: 14px;
    color: rgba(35, 64, 80, 0.82);
    padding: 18px;
}

.gotcm-module-placeholder-progress p {
    margin: 0 0 12px;
}

.gotcm-inline-progress {
    background: #d9e9f1;
    border-radius: 999px;
    display: block;
    height: 10px;
    overflow: hidden;
    position: relative;
}

.gotcm-inline-progress span {
    animation: gotcm-progress-indeterminate 1.1s ease-in-out infinite;
    background: linear-gradient(90deg, var(--gotcm-green), var(--gotcm-blue));
    border-radius: inherit;
    display: block;
    height: 100%;
    width: 38%;
}

@keyframes gotcm-progress-indeterminate {
    0% {
        transform: translateX(-110%);
    }
    100% {
        transform: translateX(270%);
    }
}

.gotcm-ajax-notice {
    border-left: 4px solid var(--gotcm-green);
    margin: 0 0 16px;
    padding: 10px 12px;
}

.gotcm-ajax-notice p {
    margin: 0;
}

.gotcm-ajax-notice-success {
    background: rgba(212, 234, 89, 0.2);
}

.gotcm-ajax-notice-error {
    background: #fff4f4;
    border-left-color: #b32d2e;
}

.gotcm-grid.is-saving,
.gotcm-form.is-saving {
    opacity: 0.82;
}

.gotcm-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin: 12px 0 20px;
}

.gotcm-pagination span {
    color: rgba(35, 64, 80, 0.68);
    margin-right: auto;
}

.gotcm-pagination strong {
    color: var(--gotcm-ink);
}

.gotcm-dashboard-module > .gotcm-dashboard-module-body > :first-child {
    margin-top: 0;
}

.gotcm-dashboard-module > .gotcm-dashboard-module-body > :last-child {
    margin-bottom: 0;
}

.gotcm-dashboard-module > .gotcm-dashboard-module-body:last-child {
    margin-bottom: 0;
}

.gotcm-term-builder {
    background: linear-gradient(160deg, rgba(212, 234, 89, 0.18), rgba(40, 168, 223, 0.08));
    border: 1px solid rgba(119, 162, 47, 0.22);
    border-radius: 16px;
    margin: 16px 0;
    padding: 16px;
}

.gotcm-term-builder-summary {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(119, 162, 47, 0.2);
    border-radius: 14px;
    margin-bottom: 14px;
    padding: 12px 14px;
}

.gotcm-term-builder-summary span {
    margin-left: 6px;
}

.gotcm-term-helper {
    border-bottom: 1px solid rgba(119, 162, 47, 0.18);
    margin-bottom: 14px;
    padding-bottom: 12px;
}

.gotcm-term-helper [data-gotcm-add-weekday].gotcm-button {
    background: #77a22f;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(95, 133, 36, 0.24);
    font-size: 16px;
    min-height: 52px;
    padding: 15px 24px;
}

.gotcm-term-helper [data-gotcm-add-weekday].gotcm-button:hover,
.gotcm-term-helper [data-gotcm-add-weekday].gotcm-button:focus {
    background: #668e28;
    color: #fff;
}

.gotcm-calendar-toolbar {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 18px;
}

.gotcm-calendar-toolbar label {
    flex: 0 1 260px;
    margin: 0;
    min-width: 220px;
}

.gotcm-calendar-toolbar .gotcm-button {
    margin-bottom: 0;
    min-height: 48px;
}

.gotcm-term-calendar-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gotcm-calendar-month {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(35, 64, 80, 0.12);
    border-radius: 14px;
    min-width: 0;
    padding: 14px;
}

.gotcm-calendar-month h4 {
    color: var(--gotcm-green);
    font-size: 1rem;
    margin: 0 0 10px;
}

.gotcm-calendar-days {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    min-width: 0;
}

.gotcm-calendar-day-heading {
    color: rgba(35, 64, 80, 0.68);
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 0;
    overflow: hidden;
    padding: 0 1px;
    text-align: center;
    text-overflow: clip;
    white-space: nowrap;
}

.gotcm-calendar-date {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #f6f8f8;
    border: 1px solid rgba(35, 64, 80, 0.16);
    border-radius: 8px;
    color: var(--gotcm-ink);
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 0.94rem;
    font-variant-numeric: tabular-nums;
    height: auto;
    justify-content: center;
    line-height: 1;
    max-width: 100%;
    min-height: 0;
    min-width: 0;
    overflow-wrap: normal;
    padding: 0;
    position: relative;
    white-space: nowrap;
    width: 100%;
    word-break: normal;
}

.gotcm-calendar-date:hover {
    border-color: var(--gotcm-green);
}

.gotcm-calendar-date.is-selected {
    background: var(--gotcm-green);
    border-color: #5f8424;
    color: #fff;
    font-weight: 800;
}

.gotcm-calendar-date.is-bank-holiday {
    background: #fff5dc;
    border-color: rgba(180, 131, 20, 0.46);
    color: #795600;
}

.gotcm-calendar-date.is-inset-day {
    background: #eef4ff;
    border-color: rgba(73, 104, 176, 0.5);
    color: #23446f;
}

.gotcm-calendar-date.is-bank-holiday::after,
.gotcm-calendar-date.is-inset-day::after {
    background: #d4ea59;
    border-radius: 999px;
    bottom: 2px;
    color: #4d661d;
    font-size: 0.5rem;
    font-weight: 900;
    line-height: 1;
    padding: 1px 3px;
    position: absolute;
    right: 2px;
}

.gotcm-calendar-date.is-bank-holiday::after {
    content: "BH";
}

.gotcm-calendar-date.is-inset-day::after {
    background: #dce8ff;
    color: #23446f;
    content: "Inset";
}

.gotcm-calendar-date.is-selected.is-bank-holiday,
.gotcm-calendar-date.is-selected.is-inset-day {
    background: #a66600;
    border-color: #7a4b00;
    color: #fff;
}

.gotcm-bank-holiday-note,
.gotcm-bank-holiday-warning {
    border-radius: 12px;
    font-size: 0.92rem;
    padding: 10px 12px;
}

.gotcm-bank-holiday-note {
    background: rgba(255, 245, 220, 0.72);
    border: 1px solid rgba(180, 131, 20, 0.2);
    color: #6b4a00;
}

.gotcm-bank-holiday-warning {
    background: #fff4f2;
    border: 1px solid rgba(184, 44, 31, 0.2);
    color: #8f1f16;
    margin: 0 0 12px;
}

.gotcm-inset-date-list {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(35, 64, 80, 0.12);
    border-radius: 8px;
    margin: 12px 0;
    padding: 10px;
}

.gotcm-inset-date-list label {
    display: block;
    margin-bottom: 8px;
}

.gotcm-selected-date-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.gotcm-date-chip {
    background: #fff;
    border: 1px solid var(--gotcm-lime);
    border-radius: 999px;
    color: #2f5d26;
    cursor: pointer;
    padding: 6px 11px;
}

.gotcm-date-chip.is-bank-holiday {
    border-color: rgba(180, 131, 20, 0.5);
    color: #795600;
}

.gotcm-date-chip.is-inset-day {
    border-color: rgba(73, 104, 176, 0.5);
    color: #23446f;
}

.gotcm-registers {
    margin: 0 auto;
    max-width: 1280px;
    padding: 18px;
}

.gotcm-registers-header {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.gotcm-registers-header h1 {
    margin: 0;
}

.gotcm-registers-dashboard-link {
    flex: 0 0 auto;
}

.gotcm-register-club-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gotcm-register-club-card {
    color: inherit;
    text-decoration: none;
}

.gotcm-term-register-scroll {
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(35, 64, 80, 0.14);
    border-radius: 8px;
    display: block;
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: visible;
    padding-bottom: 8px;
    scrollbar-gutter: stable;
    touch-action: pan-x pan-y;
    width: 100%;
}

.gotcm-term-register-scroll:focus {
    box-shadow: 0 0 0 3px rgba(40, 168, 223, 0.16);
    outline: none;
}

.gotcm-term-register-scroll::-webkit-scrollbar {
    height: 12px;
}

.gotcm-term-register-scroll::-webkit-scrollbar-track {
    background: rgba(35, 64, 80, 0.08);
    border-radius: 999px;
}

.gotcm-term-register-scroll::-webkit-scrollbar-thumb {
    background: rgba(40, 168, 223, 0.72);
    border-radius: 999px;
}

.gotcm-term-register-table {
    border-collapse: collapse;
    min-width: max(100%, calc(350px + (var(--gotcm-register-session-count, 3) * 300px)));
    table-layout: fixed;
    width: max-content;
}

.gotcm-term-register-table th,
.gotcm-term-register-table td {
    border: 1px solid rgba(35, 64, 80, 0.14);
    padding: 8px;
    text-align: left;
    vertical-align: top;
}

.gotcm-term-register-table thead th {
    background: rgba(212, 234, 89, 0.24);
    color: var(--gotcm-ink);
    position: sticky;
    top: 0;
    z-index: 1;
}

.gotcm-term-register-table th:first-child,
.gotcm-term-register-table td:first-child {
    background: rgba(247, 252, 255, 0.98);
    left: 0;
    min-width: 120px;
    position: sticky;
    width: 120px;
    z-index: 2;
}

.gotcm-term-register-table thead th:first-child {
    background: #edf8df;
    z-index: 3;
}

.gotcm-register-notes {
    min-width: 230px;
    width: 230px;
}

.gotcm-register-mark {
    min-width: 300px;
    width: 300px;
}

.gotcm-register-mark label {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: 5px;
    margin: 0 8px 8px 0;
}

.gotcm-register-mark input[type="checkbox"] {
    min-height: 22px;
    min-width: 22px;
}

.gotcm-register-mark input[type="text"] {
    margin-top: 6px;
    width: 100%;
}

.gotcm-register-upload {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(220px, 1fr) auto;
    margin: 12px 0;
}

.gotcm-register-uploads {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(35, 64, 80, 0.12);
    border-radius: 8px;
    margin: 12px 0;
    padding: 12px;
}

@media (max-width: 720px) {
    .gotcm-landing-club-card {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .gotcm-landing-club-action {
        align-items: flex-start;
    }

    .gotcm-franchise-public-profile {
        grid-template-columns: 1fr;
    }

    .gotcm-franchise-public-profile-image {
        max-width: 220px;
    }

    .gotcm-registers {
        padding: 10px;
    }

    .gotcm-registers-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .gotcm-register-upload {
        grid-template-columns: 1fr;
    }

    .gotcm-term-register-table {
        min-width: max(100%, calc(300px + (var(--gotcm-register-session-count, 3) * 270px)));
    }

    .gotcm-term-register-table th,
    .gotcm-term-register-table td {
        padding: 7px;
    }

    .gotcm-term-register-table th:first-child,
    .gotcm-term-register-table td:first-child {
        min-width: 104px;
        width: 104px;
    }

    .gotcm-register-notes {
        min-width: 190px;
        width: 190px;
    }

    .gotcm-register-mark {
        min-width: 270px;
        width: 270px;
    }
}

.gotcm-button-secondary {
    background: var(--gotcm-blue);
}

.gotcm-button-secondary:hover {
    background: #198fc1;
}

.gotcm-button-danger {
    background: #b83a2f;
}

.gotcm-button-danger:hover {
    background: #982d25;
}

.gotcm-table-scroll {
    overflow-x: auto;
}

.gotcm-public-table {
    border-collapse: collapse;
    min-width: 720px;
    width: 100%;
}

.gotcm-public-table th,
.gotcm-public-table td {
    border-bottom: 1px solid rgba(35, 64, 80, 0.12);
    padding: 12px;
    text-align: left;
}

.gotcm-public-table th {
    color: var(--gotcm-green);
}

.gotcm-activity-template {
    margin: 0 auto;
    max-width: 100%;
    padding: clamp(18px, 3vw, 34px);
    width: 100%;
}

.gotcm-activity-template .site-main,
.gotcm-activity-template .content-area {
    max-width: none;
}

.gotcm-activity-plan-page {
    color: var(--gotcm-ink);
    font-size: 18px;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 1440px;
}

.gotcm-activity-hero {
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(212, 234, 89, 0.42), transparent 34%),
        linear-gradient(135deg, rgba(40, 168, 223, 0.16), rgba(119, 162, 47, 0.18));
    border: 1px solid rgba(119, 162, 47, 0.24);
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(35, 64, 80, 0.12);
    display: grid;
    gap: 26px;
    grid-template-columns: 170px minmax(0, 1fr);
    margin: 22px 0 28px;
    padding: 28px;
}

.gotcm-activity-brand {
    align-items: center;
    background: #fff;
    border: 8px solid var(--gotcm-lime);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(35, 64, 80, 0.12);
    display: flex;
    justify-content: center;
    min-height: 150px;
    overflow: hidden;
    padding: 12px;
    text-align: center;
}

.gotcm-activity-brand img {
    display: block;
    height: auto;
    max-height: 128px;
    max-width: 128px;
    object-fit: contain;
    width: auto;
}

.gotcm-activity-brand span {
    color: var(--gotcm-green);
    font-weight: 800;
}

.gotcm-activity-kicker {
    color: var(--gotcm-green);
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.gotcm-activity-hero h1 {
    color: var(--gotcm-green);
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1;
    margin: 0 0 12px;
}

.gotcm-activity-hero p {
    max-width: 760px;
}

.gotcm-activity-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.gotcm-activity-actions .gotcm-button,
.gotcm-activity-actions .gotcm-button:visited {
    background: #5f8424 !important;
    border: 2px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 22px rgba(35, 64, 80, 0.2);
    color: #fff !important;
    text-shadow: none;
}

.gotcm-activity-actions .gotcm-button:hover,
.gotcm-activity-actions .gotcm-button:focus {
    background: #42620f !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.gotcm-activity-actions .gotcm-button-secondary,
.gotcm-activity-actions .gotcm-button-secondary:visited {
    background: #1f88b8 !important;
}

.gotcm-activity-actions .gotcm-button-secondary:hover,
.gotcm-activity-actions .gotcm-button-secondary:focus {
    background: #156b92 !important;
}

.gotcm-activity-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
}

.gotcm-activity-pills span {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(119, 162, 47, 0.22);
    border-radius: 999px;
    color: var(--gotcm-green);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 6px 10px;
}

.gotcm-activity-section {
    background: linear-gradient(135deg, #fff, rgba(246, 251, 235, 0.72));
    border: 1px solid rgba(119, 162, 47, 0.2);
    border-left: 8px solid rgba(119, 162, 47, 0.42);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(35, 64, 80, 0.08);
    margin: 24px 0;
    padding: 24px;
}

.gotcm-activity-section-stack {
    display: grid;
    gap: 18px;
    margin: 24px 0;
}

.gotcm-activity-section-stack .gotcm-activity-section {
    margin: 0;
}

.gotcm-activity-lazy-section {
    padding: 0;
}

.gotcm-activity-lazy-section > summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    list-style: none;
    padding: 22px 24px;
}

.gotcm-activity-lazy-section > summary::-webkit-details-marker {
    display: none;
}

.gotcm-activity-lazy-section > summary strong {
    color: var(--gotcm-green);
    display: block;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    line-height: 1.15;
}

.gotcm-activity-lazy-section > summary small {
    color: rgba(35, 64, 80, 0.68);
    display: block;
    font-weight: 700;
    margin-top: 4px;
}

.gotcm-activity-section-toggle {
    align-items: center;
    background: rgba(119, 162, 47, 0.12);
    border: 1px solid rgba(119, 162, 47, 0.24);
    border-radius: 999px;
    color: var(--gotcm-green);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.7rem;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    line-height: 1;
    width: 42px;
}

.gotcm-activity-section-toggle::before {
    content: "+";
}

.gotcm-activity-lazy-section[open] .gotcm-activity-section-toggle::before {
    content: "-";
}

.gotcm-activity-section-body {
    border-top: 1px solid rgba(35, 64, 80, 0.1);
    padding: 22px 24px 24px;
}

.gotcm-activity-section-placeholder {
    background: rgba(255, 255, 255, 0.78);
    border: 1px dashed rgba(119, 162, 47, 0.28);
    border-radius: 14px;
    color: rgba(35, 64, 80, 0.72);
    padding: 18px;
}

.gotcm-activity-section-placeholder p {
    margin: 0;
}

.gotcm-activity-section-placeholder.is-loading {
    background: linear-gradient(90deg, rgba(255,255,255,.78), rgba(234,246,252,.88), rgba(255,255,255,.78));
    background-size: 220% 100%;
    animation: gotcmActivitySectionLoading 1.2s ease-in-out infinite;
}

.gotcm-activity-section-placeholder.is-error {
    background: #fff2f0;
    border-color: rgba(184, 44, 31, 0.3);
    color: #822;
}

@keyframes gotcmActivitySectionLoading {
    0% { background-position: 0 0; }
    100% { background-position: 220% 0; }
}

.gotcm-activity-section:nth-of-type(even) {
    background: linear-gradient(135deg, #fff, rgba(234, 246, 252, 0.8));
    border-color: rgba(40, 168, 223, 0.22);
    border-left-color: rgba(40, 168, 223, 0.42);
}

.gotcm-activity-section h2,
.gotcm-activity-section h3 {
    color: var(--gotcm-green);
}

.gotcm-activity-section h2 {
    border-bottom: 1px solid rgba(35, 64, 80, 0.1);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 20px;
    padding-bottom: 12px;
}

.gotcm-activity-plan-text h3 {
    background: linear-gradient(135deg, rgba(212, 234, 89, 0.32), rgba(255, 255, 255, 0.8));
    border: 1px solid rgba(119, 162, 47, 0.18);
    border-left: 7px solid var(--gotcm-green);
    border-radius: 12px;
    color: var(--gotcm-ink);
    margin: 28px 0 14px;
    padding: 12px 16px;
}

.gotcm-activity-plan-text > p,
.gotcm-activity-html-block p,
.gotcm-learndash-content p {
    margin: 0 0 14px;
}

.gotcm-activity-plan-text > p + p {
    margin-top: 4px;
}

.gotcm-activity-plan-text .et_pb_row,
.gotcm-activity-plan-text .et_pb_module {
    box-sizing: border-box;
    max-width: 100%;
}

.gotcm-activity-plan-text .et_pb_row {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(119, 162, 47, 0.18);
    border-radius: 14px;
    clear: both;
    margin: 20px 0;
    padding: 18px;
    width: 100%;
}

.gotcm-activity-plan-text .et_pb_row:nth-of-type(even) {
    background: rgba(234, 246, 252, 0.58);
    border-color: rgba(40, 168, 223, 0.18);
}

.gotcm-activity-plan-text .et_pb_row::after {
    clear: both;
    content: "";
    display: table;
}

.gotcm-activity-plan-text .et_pb_column {
    box-sizing: border-box;
    max-width: 100%;
}

.gotcm-activity-plan-text .et_pb_gallery,
.gotcm-activity-plan-text .et_pb_gallery_items {
    clear: both;
    width: 100%;
}

.gotcm-activity-plan-text .et_pb_gallery_items {
    display: grid !important;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.gotcm-activity-plan-text .et_pb_gallery_item {
    clear: none !important;
    float: none !important;
    margin: 0 !important;
    width: auto !important;
}

.gotcm-activity-plan-text .et_pb_gallery_image,
.gotcm-activity-plan-text .et_pb_gallery_image a {
    display: block !important;
    height: 100% !important;
    overflow: hidden;
    width: 100% !important;
}

.gotcm-activity-plan-text .et_pb_gallery_image {
    aspect-ratio: 4 / 3;
}

.gotcm-activity-plan-text .et_pb_gallery_image img {
    aspect-ratio: 4 / 3;
    display: block !important;
    height: 100% !important;
    object-fit: cover;
    position: static !important;
    width: 100% !important;
}

.gotcm-activity-plan-text .et_overlay,
.gotcm-activity-plan-text .et_pb_gallery_pagination {
    display: none !important;
}

.gotcm-online-extra-activity {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(119, 162, 47, 0.2);
    border-radius: 16px;
    clear: both;
    display: flow-root;
    margin: 18px 0;
    overflow: visible;
    padding: 16px;
}

.gotcm-online-extra-activity h3 {
    margin-top: 0;
}

.gotcm-activity-html-block img,
.gotcm-learndash-content img,
.gotcm-online-extra-activity img {
    border: 1px solid rgba(35, 64, 80, 0.12);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(35, 64, 80, 0.08);
    height: auto;
    max-width: 100%;
}

.gotcm-activity-plan-text img.gotcm-activity-inline-icon,
.gotcm-activity-html-block img.gotcm-activity-inline-icon,
.gotcm-learndash-content img.gotcm-activity-inline-icon,
.gotcm-online-extra-activity img.gotcm-activity-inline-icon {
    aspect-ratio: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline-block !important;
    height: auto !important;
    margin: 0 8px 8px 0;
    max-height: 64px !important;
    max-width: 64px !important;
    object-fit: contain !important;
    vertical-align: middle;
    width: auto !important;
}

.gotcm-activity-plan-text img.alignleft,
.gotcm-activity-plan-text img.alignright,
.gotcm-activity-plan-text .alignleft,
.gotcm-activity-plan-text .alignright {
    clear: both !important;
    float: none !important;
}

.gotcm-activity-puzzles-content .wha-wordsearch-app,
.gotcm-online-extra-interactive .wha-wordsearch-app,
.gotcm-activity-html-block .wha-wordsearch-app {
    box-sizing: border-box;
    clear: both;
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: auto !important;
    margin: 0 auto 18px;
    max-width: 100%;
    min-height: 0 !important;
    overflow: visible !important;
    position: relative;
    text-align: center;
    width: 100%;
}

.gotcm-activity-puzzles-content .wha-dir-bottom,
.gotcm-online-extra-interactive .wha-dir-bottom,
.gotcm-activity-html-block .wha-dir-bottom,
.gotcm-activity-puzzles-content .wha-dir-top,
.gotcm-online-extra-interactive .wha-dir-top,
.gotcm-activity-html-block .wha-dir-top,
.gotcm-activity-puzzles-content .wha-dir-left,
.gotcm-online-extra-interactive .wha-dir-left,
.gotcm-activity-html-block .wha-dir-left,
.gotcm-activity-puzzles-content .wha-dir-right,
.gotcm-online-extra-interactive .wha-dir-right,
.gotcm-activity-html-block .wha-dir-right {
    align-items: center !important;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    gap: 22px;
    height: auto !important;
    justify-content: flex-start !important;
    margin: 0 auto !important;
    max-width: 100%;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: relative !important;
    width: 100% !important;
}

.gotcm-activity-puzzles-content .wha-ws-grid,
.gotcm-online-extra-interactive .wha-ws-grid,
.gotcm-activity-html-block .wha-ws-grid {
    flex: 0 0 auto;
    margin: 0 auto !important;
    max-width: 100%;
}

.gotcm-activity-puzzles-content .wha-word-list,
.gotcm-online-extra-interactive .wha-word-list,
.gotcm-activity-html-block .wha-word-list {
    align-content: flex-start !important;
    align-items: center;
    box-sizing: border-box;
    clear: both;
    display: flex !important;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 10px 12px;
    height: auto !important;
    justify-content: center !important;
    left: auto !important;
    margin: 0 auto 18px !important;
    max-width: min(100%, 680px) !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
    right: auto !important;
    text-align: center;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
}

.gotcm-activity-puzzles-content .wha-word-list .wha-word,
.gotcm-online-extra-interactive .wha-word-list .wha-word,
.gotcm-activity-html-block .wha-word-list .wha-word,
.gotcm-activity-puzzles-content button.wha-word,
.gotcm-online-extra-interactive button.wha-word,
.gotcm-activity-html-block button.wha-word {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(35, 64, 80, 0.78);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: var(--gotcm-ink);
    display: inline-flex !important;
    float: none !important;
    font-size: 0.98rem;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 !important;
    max-width: 100%;
    min-height: 42px;
    min-width: 88px;
    padding: 8px 14px;
    position: static !important;
    text-align: center;
    text-transform: none;
    transform: none !important;
    white-space: normal;
}

.gotcm-activity-puzzles-content .wha-word-list .wha-word.wha-solved,
.gotcm-online-extra-interactive .wha-word-list .wha-word.wha-solved,
.gotcm-activity-html-block .wha-word-list .wha-word.wha-solved {
    text-decoration-thickness: 2px;
}

@supports selector(p:has(img)) {
    .gotcm-activity-plan-text p > a:not(:has(img)):empty {
        display: none !important;
    }

    .gotcm-activity-plan-text p:has(> img:only-child),
    .gotcm-activity-plan-text p:has(> a:only-child > img:only-child) {
        clear: both;
        display: block;
        margin: 16px 0 18px;
        max-width: 100%;
        overflow: visible;
        width: fit-content;
    }

    .gotcm-activity-plan-text p:has(> a:only-child > img:only-child) > a {
        display: block;
        width: fit-content;
    }

    .gotcm-activity-plan-text p:has(> a:nth-of-type(2) > img) {
        aspect-ratio: auto;
        clear: both;
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        margin: 16px 0 18px;
        overflow: visible;
        width: 100%;
    }

    .gotcm-activity-plan-text p:has(> a:nth-of-type(2) > img) > a:not(:has(img)) {
        display: none !important;
    }

    .gotcm-activity-plan-text p:has(> a:nth-of-type(2) > img) > a {
        display: block;
        min-width: 0;
    }

    .gotcm-activity-plan-text p:has(> img:only-child) img,
    .gotcm-activity-plan-text p:has(> a:only-child > img:only-child) img {
        display: block;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        width: auto;
    }

    .gotcm-activity-plan-text p:has(> a:nth-of-type(2) > img) img {
        aspect-ratio: 4 / 3;
        display: block;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .gotcm-activity-plan-text p:has(> img:only-child) + p:not(:has(img)),
    .gotcm-activity-plan-text p:has(> a:only-child > img:only-child) + p:not(:has(img)) {
        clear: both;
    }

    .gotcm-activity-plan-text li > a:has(> img),
    .gotcm-activity-plan-text li > p:has(> img),
    .gotcm-activity-plan-text p > a:has(> img) {
        clear: both;
        display: block;
        margin: 12px 0;
        width: fit-content;
    }

    .gotcm-activity-plan-text li > a:has(> img) img,
    .gotcm-activity-plan-text li > p:has(> img) img,
    .gotcm-activity-plan-text p > a:has(> img) img {
        display: block;
        height: auto;
        max-width: 100%;
    }

    .gotcm-activity-plan-text p:has(> a:nth-of-type(2) > img) > a:has(> img) {
        margin: 0;
        width: auto;
    }

    .gotcm-activity-plan-text p:has(> a:nth-of-type(2) > img) > a:has(> img) img {
        aspect-ratio: 4 / 3;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .gotcm-activity-plan-text p:has(> a:first-child:empty + a:last-child > img) {
        display: block;
        margin: 16px 0 18px;
        width: fit-content;
    }

    .gotcm-activity-plan-text p:has(> a:first-child:empty + a:last-child > img) > a:has(> img) {
        display: block;
        width: fit-content;
    }

    .gotcm-activity-plan-text p:has(> a:first-child:empty + a:last-child > img) > a:has(> img) img {
        aspect-ratio: auto;
        height: auto;
        object-fit: contain;
        width: auto;
    }

    .gotcm-activity-plan-text p > a:has(> img.gotcm-activity-inline-icon),
    .gotcm-activity-plan-text li > a:has(> img.gotcm-activity-inline-icon) {
        clear: none !important;
        display: inline-block !important;
        margin: 0 8px 8px 0 !important;
        width: auto !important;
    }

    .gotcm-activity-plan-text p:has(> img.gotcm-activity-inline-icon:only-child),
    .gotcm-activity-plan-text p:has(> a:only-child > img.gotcm-activity-inline-icon:only-child),
    .gotcm-activity-plan-text p:has(> a:first-child:empty + a:last-child > img.gotcm-activity-inline-icon) {
        display: block;
        margin: 6px 0 10px;
        width: auto;
    }

    .gotcm-activity-plan-text p:has(> a:nth-of-type(2) > img) img.gotcm-activity-inline-icon,
    .gotcm-activity-plan-text p:has(> img:only-child) img.gotcm-activity-inline-icon,
    .gotcm-activity-plan-text p:has(> a:only-child > img:only-child) img.gotcm-activity-inline-icon,
    .gotcm-activity-plan-text li > a:has(> img) img.gotcm-activity-inline-icon,
    .gotcm-activity-plan-text li > p:has(> img) img.gotcm-activity-inline-icon,
    .gotcm-activity-plan-text p > a:has(> img) img.gotcm-activity-inline-icon {
        aspect-ratio: auto !important;
        display: inline-block !important;
        height: auto !important;
        max-height: 64px !important;
        max-width: 64px !important;
        object-fit: contain !important;
        width: auto !important;
    }
}

.gotcm-activity-plan-text iframe,
.gotcm-activity-plan-text video,
.gotcm-activity-html-block iframe,
.gotcm-activity-html-block video,
.gotcm-learndash-content iframe,
.gotcm-learndash-content video,
.gotcm-online-extra-activity iframe,
.gotcm-online-extra-activity video {
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.gotcm-activity-kv {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 14px 0;
}

.gotcm-activity-kv > div {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(119, 162, 47, 0.18);
    border-radius: 16px;
    padding: 15px;
}

.gotcm-activity-kv > div:empty {
    display: none;
}

.gotcm-activity-kv strong {
    color: var(--gotcm-green);
    display: block;
    margin-bottom: 6px;
}

.gotcm-activity-kv p {
    margin-bottom: 0;
}

.gotcm-activity-kv-large p {
    font-size: 0.95em;
    line-height: 1.5;
}

.gotcm-activity-supplier-link,
.gotcm-activity-supplier-link:visited {
    color: var(--gotcm-blue);
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.gotcm-activity-supplier-link:hover,
.gotcm-activity-supplier-link:focus {
    color: var(--gotcm-green);
}

.gotcm-activity-table {
    min-width: 0;
}

.gotcm-activity-table td {
    vertical-align: top;
}

.gotcm-activity-hazard-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
    overflow: hidden;
    table-layout: fixed;
    width: 100%;
}

.gotcm-activity-hazard-table th {
    background: rgba(212, 234, 89, 0.34);
    color: var(--gotcm-green);
    font-weight: 900;
    text-align: left;
}

.gotcm-activity-hazard-table th,
.gotcm-activity-hazard-table td {
    border: 1px solid rgba(35, 64, 80, 0.18);
    border-width: 0 1px 1px 0;
    padding: 14px 16px;
    vertical-align: top;
    overflow-wrap: anywhere;
    width: 50%;
}

.gotcm-activity-hazard-table th:first-child,
.gotcm-activity-hazard-table td:first-child {
    border-left-width: 1px;
}

.gotcm-activity-hazard-table th {
    border-top-width: 1px;
}

.gotcm-activity-hazard-table td:first-child {
    color: var(--gotcm-ink);
    font-weight: 750;
}

.gotcm-activity-hazard-table p {
    line-height: 1.35;
    margin: 0 0 28px;
}

.gotcm-activity-hazard-table p:last-child {
    margin-bottom: 0;
}

.gotcm-activity-method-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 920px;
}

.gotcm-activity-method-table th {
    background: rgba(212, 234, 89, 0.3);
    color: var(--gotcm-green);
    font-weight: 900;
}

.gotcm-activity-method-table th,
.gotcm-activity-method-table td {
    border-color: rgba(35, 64, 80, 0.14);
}

.gotcm-activity-method-table tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.72);
}

.gotcm-activity-method-table tbody tr:nth-child(even) td {
    background: rgba(248, 252, 239, 0.74);
}

.gotcm-activity-method-table th:first-child,
.gotcm-activity-method-table td:first-child {
    width: 135px;
}

.gotcm-activity-method-table th:last-child,
.gotcm-activity-method-table td:last-child {
    background-color: rgba(234, 246, 252, 0.58);
    width: 28%;
}

.gotcm-activity-method-table td {
    vertical-align: top;
}

.gotcm-activity-method-table p {
    margin: 0 0 12px;
}

.gotcm-activity-method-table p:last-child {
    margin-bottom: 0;
}

.gotcm-activity-time-cell strong {
    background: rgba(119, 162, 47, 0.12);
    border-radius: 12px;
    color: var(--gotcm-green);
    display: inline-block;
    padding: 8px 10px;
}

.gotcm-activity-gallery {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.gotcm-activity-resource-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gotcm-activity-video-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gotcm-activity-video-card {
    background: #fff;
    border: 1px solid rgba(119, 162, 47, 0.24);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(35, 64, 80, 0.08);
    overflow: hidden;
}

.gotcm-activity-video-card video {
    aspect-ratio: 16 / 9;
    background: rgba(35, 64, 80, 0.92);
    display: block;
    height: auto;
    width: 100%;
}

.gotcm-activity-video-meta {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.gotcm-activity-video-meta strong,
.gotcm-activity-video-meta small {
    display: block;
}

.gotcm-activity-video-meta strong {
    color: var(--gotcm-green);
}

.gotcm-activity-video-meta small {
    color: rgba(35, 64, 80, 0.66);
}

.gotcm-activity-video-meta .gotcm-button {
    justify-self: start;
    margin-top: 2px;
    padding: 9px 15px;
}

.gotcm-activity-gallery a,
.gotcm-activity-resource-card a {
    background: #fff;
    border: 1px solid rgba(35, 64, 80, 0.12);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(35, 64, 80, 0.08);
    color: var(--gotcm-ink);
    display: block;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.gotcm-activity-gallery a:hover,
.gotcm-activity-resource-card a:hover {
    box-shadow: 0 16px 34px rgba(35, 64, 80, 0.14);
    transform: translateY(-2px);
}

.gotcm-activity-gallery img {
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gotcm-activity-gallery span,
.gotcm-activity-gallery figcaption {
    display: none !important;
}

.gotcm-franchise-pack-groups,
.gotcm-activity-plan-card-grid {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.gotcm-franchise-pack-group {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 239, 0.9));
    border: 1px solid rgba(119, 162, 47, 0.24);
    border-radius: 22px;
    padding: 18px;
}

.gotcm-franchise-pack-group-header {
    align-items: start;
    border-bottom: 1px solid rgba(119, 162, 47, 0.18);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-bottom: 14px;
}

.gotcm-franchise-pack-group-header h3 {
    color: var(--gotcm-green);
    font-size: 22px;
    margin: 0 0 4px;
}

.gotcm-franchise-pack-group-header p {
    color: #5f6f78;
    margin: 0;
}

.gotcm-franchise-pack-group-meta {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gotcm-franchise-pack-group-meta span,
.gotcm-empty-state {
    background: #fff;
    border: 1px solid #dfe7eb;
    border-radius: 999px;
    color: var(--gotcm-ink);
    display: inline-flex;
    font-weight: 700;
    line-height: 1.35;
    padding: 8px 12px;
}

.gotcm-empty-state {
    border-radius: 16px;
    display: block;
}

.gotcm-activity-plan-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gotcm-activity-plan-card {
    background: #fff;
    border: 1px solid #dfe7eb;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(35, 64, 80, 0.08);
    display: grid;
    grid-template-rows: 156px minmax(0, 1fr);
    overflow: hidden;
}

.gotcm-activity-plan-card-thumb {
    background: linear-gradient(135deg, rgba(212, 234, 89, 0.25), rgba(40, 168, 223, 0.12));
    color: var(--gotcm-ink);
    display: block;
    min-height: 0;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.gotcm-activity-plan-card-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gotcm-activity-plan-card-placeholder {
    align-items: center;
    color: rgba(35, 64, 80, 0.68);
    display: flex;
    font-size: 18px;
    font-weight: 800;
    height: 100%;
    justify-content: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gotcm-activity-plan-card-body {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.gotcm-activity-plan-card-heading {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.gotcm-activity-plan-card-heading h3 {
    color: var(--gotcm-ink);
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
}

.gotcm-activity-plan-card-counts {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gotcm-activity-plan-card-counts span {
    background: #f8fbf0;
    border: 1px solid #e1ebcf;
    border-radius: 12px;
    color: #5f6f78;
    display: block;
    font-size: 13px;
    padding: 10px 12px;
}

.gotcm-activity-plan-card-counts strong {
    color: var(--gotcm-green);
    display: block;
    font-size: 20px;
    line-height: 1;
}

.gotcm-activity-plan-card-meta {
    color: #5f6f78;
    display: grid;
    gap: 6px;
    font-size: 13px;
    line-height: 1.35;
}

.gotcm-activity-plan-card-actions {
    border-top: 1px solid #eef1ea;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-top: 12px;
}

.gotcm-activity-plan-card-actions a {
    color: var(--gotcm-blue);
    font-weight: 800;
    text-decoration: none;
}

.gotcm-activity-plan-card-grid-franchise .gotcm-activity-plan-card-actions a:first-child,
.gotcm-activity-plan-card-grid-franchise .gotcm-activity-plan-card-actions a:nth-child(2) {
    background: var(--gotcm-green);
    border-radius: 999px;
    color: #fff;
    padding: 8px 12px;
}

.gotcm-activity-plan-card-grid-franchise .gotcm-activity-plan-card-actions a:nth-child(2) {
    background: var(--gotcm-blue);
}

.gotcm-activity-resource-card strong,
.gotcm-activity-resource-card small {
    display: block;
    padding: 10px 13px;
}

.gotcm-activity-resource-preview {
    align-items: center;
    background: linear-gradient(135deg, rgba(212, 234, 89, 0.22), rgba(40, 168, 223, 0.11));
    display: flex;
    justify-content: center;
    min-height: 168px;
}

.gotcm-activity-resource-preview img {
    display: block;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    width: 100%;
}

.gotcm-activity-file-badge {
    align-items: center;
    background: var(--gotcm-green);
    border-radius: 18px;
    color: #fff;
    display: inline-flex;
    font-size: 1.6rem;
    font-weight: 800;
    justify-content: center;
    min-height: 94px;
    min-width: 112px;
}

.gotcm-activity-resource-card strong {
    color: var(--gotcm-green);
    padding-bottom: 0;
}

.gotcm-activity-resource-card small {
    color: rgba(35, 64, 80, 0.66);
    padding-top: 4px;
}

.gotcm-lightbox {
    align-items: center;
    background: rgba(12, 26, 34, 0.86);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 32px;
    position: fixed;
    z-index: 99999;
}

body.gotcm-lightbox-open {
    overflow: hidden;
}

.gotcm-lightbox img {
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    max-height: 90vh;
    max-width: 92vw;
}

.gotcm-lightbox .gotcm-lightbox-close,
.gotcm-lightbox .gotcm-lightbox-close:visited {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 3px solid var(--gotcm-lime);
    border-radius: 999px;
    color: var(--gotcm-ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 34px;
    font-weight: 800;
    height: 52px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    position: fixed;
    right: 22px;
    text-align: center;
    top: 22px;
    width: 52px;
    z-index: 100000;
}

.gotcm-lightbox .gotcm-lightbox-close:hover,
.gotcm-lightbox .gotcm-lightbox-close:focus {
    background: var(--gotcm-lime);
    color: var(--gotcm-ink);
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .gotcm-term-calendar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @supports selector(p:has(img)) {
        .gotcm-activity-plan-text p:has(> img:only-child),
        .gotcm-activity-plan-text p:has(> a:only-child > img:only-child) {
            width: fit-content;
        }
    }
}

@media (max-width: 820px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .gotcm-grid,
    .gotcm-checkbox-grid,
    .gotcm-auth-grid,
    .gotcm-admin-switcher-form {
        grid-template-columns: 1fr;
    }

    .gotcm-public {
        font-size: 15px;
    }

    .gotcm-public-panel {
        border-radius: 14px;
        padding: 18px;
    }

    .gotcm-dashboard-nav {
        border-radius: 18px;
    }

    .gotcm-dashboard-card-grid {
        grid-template-columns: 1fr;
    }

    .gotcm-dashboard-nav-card {
        grid-template-areas:
            "title title"
            "icon copy"
            "icon metric";
        grid-template-columns: auto minmax(0, 1fr);
    }

    .gotcm-dashboard-nav-card-metric {
        justify-self: start;
    }

    .gotcm-franchise-view-switcher {
        grid-template-columns: 1fr;
    }

    .gotcm-franchise-landing-link,
    .gotcm-franchise-landing-link-actions {
        grid-template-columns: 1fr;
    }

    .gotcm-franchise-landing-link-actions .gotcm-button {
        text-align: center;
    }

    .gotcm-public-accordion > summary.gotcm-dashboard-summary {
        align-items: flex-start;
    }

    .gotcm-public-accordion > summary .gotcm-dashboard-summary-metric {
        display: none;
    }

    .gotcm-public .gotcm-activity-filter-row {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .gotcm-public .gotcm-activity-filter-actions {
        justify-content: flex-start;
    }

    .gotcm-term-calendar-grid {
        grid-template-columns: 1fr;
    }

    .gotcm-activity-hero {
        grid-template-columns: 1fr;
        margin: 12px 0 18px;
        padding: 20px;
    }

    .gotcm-activity-brand {
        border-width: 5px;
        justify-self: start;
        min-height: 116px;
        width: 116px;
    }

    .gotcm-activity-template {
        padding: 12px;
    }

    .gotcm-activity-plan-page {
        font-size: 16px;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .gotcm-activity-hero h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .gotcm-activity-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gotcm-activity-actions .gotcm-button,
    .gotcm-activity-actions .gotcm-button:visited {
        text-align: center;
        width: 100%;
    }

    .gotcm-activity-section {
        border-radius: 18px;
        border-left-width: 5px;
        margin: 16px 0;
        padding: 16px;
    }

    .gotcm-activity-kv,
    .gotcm-activity-resource-grid,
    .gotcm-activity-video-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gotcm-activity-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @supports selector(p:has(img)) {
        .gotcm-activity-plan-text p:has(> img:only-child),
        .gotcm-activity-plan-text p:has(> a:only-child > img:only-child) {
            margin-right: 0;
            width: fit-content;
        }
    }

    .gotcm-table-scroll {
        margin-left: -4px;
        margin-right: -4px;
        max-width: calc(100vw - 16px);
        overflow-x: auto;
        padding: 0 4px 4px;
    }

    .gotcm-public-table {
        min-width: 0;
    }

    .gotcm-activity-hazard-scroll {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        overflow: visible;
        padding: 0;
    }

    .gotcm-activity-hazard-table,
    .gotcm-activity-hazard-table thead,
    .gotcm-activity-hazard-table tbody,
    .gotcm-activity-hazard-table tr,
    .gotcm-activity-hazard-table th,
    .gotcm-activity-hazard-table td {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .gotcm-activity-hazard-table {
        min-width: 0;
    }

    .gotcm-activity-hazard-table thead {
        display: none;
    }

    .gotcm-activity-hazard-table tr {
        background: rgba(255, 255, 255, 0.88);
        border: 1px solid rgba(119, 162, 47, 0.18);
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(35, 64, 80, 0.06);
        margin: 0 0 14px;
        overflow: hidden;
    }

    .gotcm-activity-hazard-table td {
        border: 0;
        padding: 12px 14px;
    }

    .gotcm-activity-hazard-table td + td {
        border-top: 1px solid rgba(35, 64, 80, 0.1);
    }

    .gotcm-activity-hazard-table td::before {
        color: var(--gotcm-green);
        content: attr(data-label);
        display: block;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    .gotcm-activity-method-scroll {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        overflow: visible;
        padding: 0;
    }

    .gotcm-activity-method-table,
    .gotcm-activity-method-table thead,
    .gotcm-activity-method-table tbody,
    .gotcm-activity-method-table tr,
    .gotcm-activity-method-table td {
        display: block;
        width: 100%;
    }

    .gotcm-activity-method-table {
        min-width: 0;
    }

    .gotcm-activity-method-table thead {
        display: none;
    }

    .gotcm-activity-method-table tr {
        background: rgba(255, 255, 255, 0.88);
        border: 1px solid rgba(119, 162, 47, 0.18);
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(35, 64, 80, 0.06);
        margin: 0 0 14px;
        overflow: hidden;
    }

    .gotcm-activity-method-table td {
        border-bottom: 1px solid rgba(35, 64, 80, 0.1);
        padding: 12px 14px;
    }

    .gotcm-activity-method-table td:last-child {
        border-bottom: 0;
        width: 100%;
    }

    .gotcm-activity-method-table td::before {
        color: var(--gotcm-green);
        content: attr(data-label);
        display: block;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    .gotcm-activity-method-table th:first-child,
    .gotcm-activity-method-table td:first-child,
    .gotcm-activity-method-table th:last-child,
    .gotcm-activity-method-table td:last-child {
        width: 100%;
    }

    .gotcm-activity-time-cell strong {
        display: inline-flex;
    }

.gotcm-lightbox {
    padding: 18px;
}
}

@media (max-width: 520px) {
    .gotcm-activity-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    @supports selector(p:has(img)) {
        .gotcm-activity-plan-text p:has(> img:only-child),
        .gotcm-activity-plan-text p:has(> a:only-child > img:only-child) {
            display: block;
            margin-right: 0;
            width: fit-content;
        }
    }
}

.gotcm-map-shell {
    background: linear-gradient(135deg, rgba(229, 246, 255, 0.72), rgba(239, 250, 202, 0.72));
    border: 1px solid rgba(47, 170, 218, 0.18);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(35, 64, 80, 0.08);
    margin: 20px 0;
    padding: 18px;
}

.gotcm-map-heading {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gotcm-map-heading h3 {
    color: var(--gotcm-green, #77a22f);
    margin: 0;
}

.gotcm-map-heading .gotcm-help {
    margin: 0;
    max-width: 760px;
}

.gotcm-map-canvas {
    aspect-ratio: 2 / 1;
    background: #eef7fb;
    border: 1px solid rgba(35, 64, 80, 0.12);
    border-radius: 18px;
    min-height: 320px;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.gotcm-map-canvas.leaflet-container,
.gotcm-map-canvas .leaflet-container {
    background: #eef7fb;
    font-family: inherit;
}

.gotcm-map-canvas .leaflet-pane,
.gotcm-map-canvas .leaflet-tile,
.gotcm-map-canvas .leaflet-marker-icon,
.gotcm-map-canvas .leaflet-marker-shadow,
.gotcm-map-canvas .leaflet-tile-container,
.gotcm-map-canvas .leaflet-overlay-pane svg,
.gotcm-map-canvas .leaflet-overlay-pane canvas {
    box-sizing: content-box !important;
    max-height: none !important;
    max-width: none !important;
}

.gotcm-map-canvas img.leaflet-tile {
    border: 0 !important;
    box-shadow: none !important;
    height: 256px !important;
    margin: 0 !important;
    opacity: 1;
    padding: 0 !important;
    width: 256px !important;
}

.gotcm-map-canvas .leaflet-tile-pane {
    z-index: 200 !important;
}

.gotcm-map-canvas .leaflet-overlay-pane {
    z-index: 400 !important;
}

.gotcm-map-canvas .leaflet-marker-pane {
    z-index: 700 !important;
}

.gotcm-school-map-marker {
    background: transparent;
    border: 0;
}

.gotcm-school-map-marker span {
    background: #244f8f;
    border: 3px solid #fff;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(13, 35, 52, 0.32);
    display: block;
    height: 18px;
    outline: 2px solid #d6ee5b;
    width: 18px;
}

.gotcm-map-empty {
    margin: 12px 0 0;
}

.gotcm-map-notice {
    background: #fff9e7;
    border: 1px solid rgba(133, 86, 0, 0.18);
    border-radius: 12px;
    color: #855600;
    margin: 10px 0 0;
    padding: 10px 12px;
}

.gotcm-map-notice[hidden] {
    display: none !important;
}

.gotcm-map-notice[data-gotcm-map-notice-type="error"] {
    background: #fff0f0;
    border-color: rgba(169, 47, 47, 0.24);
    color: #8c1f1f;
}

.gotcm-map-popup {
    color: #243f50;
    font-family: inherit;
    min-width: 220px;
    max-width: 290px;
}

.gotcm-map-popup ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.gotcm-map-popup li {
    border-top: 1px solid rgba(35, 64, 80, 0.12);
    padding: 9px 0;
}

.gotcm-map-popup li:first-child {
    border-top: 0;
    padding-top: 0;
}

.gotcm-map-popup small {
    line-height: 1.35;
}

.gotcm-map-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.gotcm-map-action {
    align-items: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.15;
    min-height: 28px;
    padding: 6px 11px;
    text-decoration: none;
}

.gotcm-map-action:hover,
.gotcm-map-action:focus {
    text-decoration: none;
}

.gotcm-map-action-primary {
    background: var(--gotcm-green, #77a22f);
    color: #fff;
}

.gotcm-map-action-primary:hover,
.gotcm-map-action-primary:focus {
    background: #5f8d25;
    color: #fff;
}

.gotcm-map-action-secondary {
    background: #e9f7fb;
    border: 1px solid rgba(47, 170, 218, 0.28);
    color: #234050;
}

.gotcm-map-action-secondary:hover,
.gotcm-map-action-secondary:focus {
    background: #d9f1f8;
    color: #234050;
}

.gotcm-map-mode-enrolment {
    margin-top: 14px;
}

.gotcm-map-mode-enrolment .gotcm-map-canvas {
    min-height: 260px;
}

@media (max-width: 760px) {
    .gotcm-role-menu-list {
        align-items: stretch;
        gap: 10px;
    }

    .gotcm-role-menu-item a {
        justify-content: center;
        width: 100%;
    }

    .gotcm-online-access-hero {
        align-items: stretch;
        display: grid;
    }

    .gotcm-online-access-primary-cta {
        width: 100%;
    }

    .gotcm-public .gotcm-section-heading {
        display: block;
    }

    .gotcm-consent-disclosures-photo {
        grid-template-columns: 1fr;
    }

    .gotcm-online-bundles-back {
        margin-top: 12px;
        width: 100%;
    }

    .gotcm-online-bundle-activity-list {
        grid-template-columns: 1fr;
    }

    .gotcm-map-heading {
        display: block;
    }

    .gotcm-map-canvas {
        aspect-ratio: 1 / 1;
        min-height: 280px;
    }
}

@media (max-width: 1280px) {
    .gotcm-online-bundle-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1020px) {
    .gotcm-online-bundle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .gotcm-online-bundle-grid {
        grid-template-columns: 1fr;
    }
}
