html.is-embedded,
html.is-embedded body {
    overflow: hidden;
}

.formal-scene-list {
    clear: both;
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.formal-scene-location-title {
    margin: 20px 0 11px;
}

.formal-scene-location-toggle {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 12px 16px;
    border: 1px solid #cfdadd;
    border-radius: 14px;
    color: #29495b;
    background: #f3f7f8;
    font-family: inherit;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease;
}

.formal-scene-location-toggle:hover,
.formal-scene-location-toggle:focus-visible,
.formal-scene-location-toggle[aria-expanded="true"] {
    border-color: #bd9347;
    background: #fffaf0;
}

.formal-scene-location-toggle:focus-visible {
    outline: 3px solid rgba(189, 147, 71, .25);
    outline-offset: 3px;
}

.formal-scene-location-toggle__meta {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 10px;
    align-items: center;
}

.formal-scene-location-toggle__selected {
    display: none;
    padding: 3px 9px;
    border-radius: 999px;
    color: #76591f;
    background: #fff2d8;
    font-size: 16px;
    white-space: nowrap;
}

.formal-scene-location-toggle.has-selection .formal-scene-location-toggle__selected {
    display: inline-flex;
}

.formal-scene-location-toggle__icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: #bd9347;
    font-size: 22px;
    font-weight: 500;
}

.formal-scene-divider {
    height: 1px;
    margin: 24px 0 18px;
    background: #d7dfe2;
}

.formal-scene-card {
    position: relative;
    margin-bottom: 12px;
}

.formal-scene-card[hidden] {
    display: none !important;
}

.formal-scene-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

#signUpForm .formal-scene-option {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d6dfe2;
    border-radius: 14px;
    color: #314650;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

#signUpForm .formal-scene-option:hover {
    border-color: #bd9347;
    background: #fffdf8;
}

.formal-scene-option__indicator {
    width: 22px;
    height: 22px;
    margin-top: 3px;
    border: 2px solid #8a989e;
    border-radius: 50%;
    background: #fff;
}

.formal-scene-option__content {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
    align-items: center;
    min-width: 0;
}

.formal-scene-option__date {
    color: #263842;
    font-size: 20px;
    font-weight: 800;
}

.formal-scene-option__topic {
    color: #846326;
    font-size: 18px;
    font-weight: 800;
}

.formal-scene-option__address {
    flex-basis: 100%;
    color: #566870;
    font-size: 20px;
    overflow-wrap: anywhere;
}

.formal-scene-option__status {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    color: #76591f;
    background: #fff2d8;
    font-size: 17px;
    font-weight: 800;
}

.formal-scene-option__status.is-full {
    color: #68757b;
    background: #e9eeef;
}

.formal-scene-option__status.is-registered {
    color: #28643f;
    background: #e3f3e8;
}

.formal-scene-radio:checked + .formal-scene-option {
    border-color: #bd9347;
    background: #fffaf0;
    box-shadow: inset 4px 0 0 #bd9347;
}

.formal-scene-radio:checked + .formal-scene-option .formal-scene-option__indicator {
    border: 6px solid #bd9347;
}

.formal-scene-radio:focus-visible + .formal-scene-option {
    outline: 3px solid rgba(189, 147, 71, .3);
    outline-offset: 3px;
}

.formal-scene-card.is-full .formal-scene-option {
    color: #748086;
    background: #f0f3f4;
    cursor: not-allowed;
    opacity: .8;
}

.formal-scene-card.is-registered .formal-scene-option {
    border-color: #82b493;
    color: #456453;
    background: #f0f8f2;
    cursor: not-allowed;
}

.formal-scene-card.is-registered .formal-scene-option__indicator {
    border-color: #4c8a61;
    background: #4c8a61;
    box-shadow: inset 0 0 0 4px #f0f8f2;
}

#resultMsg.is-success {
    color: #28643f !important;
}

@media (max-width: 640px) {
    .formal-scene-location-toggle {
        min-height: 54px;
        padding: 10px 12px;
        font-size: 20px;
    }

    #signUpForm .formal-scene-option {
        gap: 11px;
        padding: 14px 13px;
    }

    .formal-scene-option__date,
    .formal-scene-option__address {
        font-size: 19px;
    }

    .formal-scene-option__topic {
        flex-basis: 100%;
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .formal-scene-location-toggle,
    #signUpForm .formal-scene-option {
        transition: none;
    }
}
