.wp-sjs-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.wp-sjs-captcha:not([hidden]) {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.wp-sjs-restricted__message {
    margin: 16px 0;
    padding: 16px 20px;
    border: 1px solid currentColor;
    border-radius: 4px;
}

.wp-sjs-restricted__message > :first-child {
    margin-top: 0;
}

.wp-sjs-restricted__message > :last-child {
    margin-bottom: 0;
}

.wp-sjs-restricted .wp-sjs-survey[hidden] {
    display: none;
}

.wp-sjs-survey:empty {
    min-height: 400px;
}

.wp-sjs-draft-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 0 0 16px;
    padding: 12px 16px;
    border: 1px solid rgba(127, 127, 127, 0.4);
    border-radius: 4px;
    font-size: 0.9em;
}

.wp-sjs-plugin .wp-sjs-draft-notice__start-over {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: normal;
    text-decoration: underline;
    text-transform: none;
    cursor: pointer;
}

.wp-block-sjs-gutenberg-block.alignfull {
    box-sizing: border-box;
    padding-left: var(--wp--style--root--padding-left, clamp(16px, 4vw, 40px));
    padding-right: var(--wp--style--root--padding-right, clamp(16px, 4vw, 40px));
}

/* The adaptive survey root bleeds 4px past its container (see themes/wordpress.css); at the viewport edge that
   would add a horizontal scrollbar. */
.wp-block-sjs-gutenberg-block:is(.alignwide, .alignfull) {
    overflow-x: clip;
}
