*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    position: relative;
    font-weight: 400;
    outline: none;
    border: none;
}
body {
    color: #313131;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 400;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
        sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1 {
    font-size: 2.5rem;
    font-weight: 500;
}
h2 {
    font-size: 1.4rem;
}
main {
    margin: 8rem auto;
    padding: 0 1.5rem;
    width: 100%;
    max-width: 60rem;
}
.content {
    height: 100px;
    margin: 2rem 0;
}
p {
    line-height: 1.75;
    font-size: 1.1rem;
}
.challenge {
    border: 1px solid #e0e0e0;
    background-color: #fafafa;
    border-radius: 3px;
    height: 65px;
    max-width: 300px;
    width: 100%;
    -webkit-user-select: none;
    user-select: none;
}
.challenge-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
}
.challenge-branding {
    width: 30px;
    height: 30px;
}
.challenge-branding svg {
    width: 30px;
    height: 30px;
}
.challenge-item {
    display: flex;
    align-items: center;
}
.challenge-label {
    margin-left: 10px;
    font-size: 15px;
}
.ctp-checkbox-label {
    cursor: pointer;
    height: 28px;
    display: flex;
    align-items: center;
}
.ctp-checkbox-label input {
    position: absolute;
    opacity: 0;
    z-index: 9999;
    cursor: pointer;
    width: 28px;
    height: 28px;
}
input:focus ~ .mark,
input:checked ~ .mark,
input:disabled ~ .mark {
    border-color: #038127;
}
.p1 {
    fill: none;
    stroke: #fff;
}
.success-icon {
    display: flex;
    margin-right: 8px;
    border-radius: 50%;
    box-shadow: inset 0 0 #038127;
    width: 30px;
    height: 30px;
    animation: scale-up-center 0.5s
        cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
    stroke-width: 6px;
    stroke: #f8f8f8;
    stroke-miterlimit: 10;
}
.success-icon .p1 {
    stroke-dasharray: 242;
    stroke-dashoffset: 242;
    box-shadow: inset 0 0 #038127;
    animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    animation-delay: 0.4s;
}
.success-circle {
    stroke-dashoffset: 0;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #038127;
    fill: #038127;
}
@keyframes stroke {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes scale {
    0%,
    to {
        transform: none;
    }
    50% {
        transform: scaleZ(1);
    }
}
.ctp-checkbox-label .mark {
    transition: border-color 0.1s ease-in,
        border-radius 0.1s ease-in;
    z-index: 9998;
    border: 2px solid #6d6d6d;
    border-radius: 3px;
    background: #fff;
    width: 28px;
    height: 28px;
}
.challenge-verifying svg {
    display: flex;
    margin-right: 8px;
    width: 30px;
    height: 30px;
    animation: rotate 5s linear infinite;
}
.circle {
    stroke-width: 3px;
    stroke-linecap: round;
    stroke: #038127;
    stroke-dasharray: 0, 100, 0;
    stroke-dashoffset: 200;
    stroke-miterlimit: 1;
    stroke-linejoin: round;
}
@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}
@keyframes unspin {
    40% {
        stroke-width: 1px;
        stroke-linecap: square;
        stroke-dashoffset: 192;
    }
    to {
        stroke-width: 0;
    }
}
@keyframes scale-up-center {
    0% {
        transform: scale(0.01);
    }
    to {
        transform: scale(1);
    }
}
@media (max-width: 750px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.25rem;
    }
}
@media (max-width: 450px) {
    main {
        margin: 5rem auto;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    p {
        font-size: 1rem;
    }
}
@media (max-width: 350px) {
    .challenge-branding {
        display: none;
    }
}

body {
    background: #fff;
    color-scheme: light;
}

h1 {
    overflow-wrap: anywhere;
}

.content {
    height: auto;
    min-height: 100px;
}

.challenge-label {
    margin-left: 0;
    margin-inline-start: 10px;
    max-width: 176px;
    line-height: 1.3;
    text-align: start;
}

.challenge-stage {
    min-width: 0;
}

.challenge-verifying,
.challenge-success {
    display: none;
    align-items: center;
    gap: 0;
    font-size: 15px;
}

.challenge[data-state="verifying"] .checkbox-stage,
.challenge[data-state="success"] .checkbox-stage {
    display: none;
}

.challenge[data-state="verifying"] .challenge-verifying,
.challenge[data-state="success"] .challenge-success {
    display: flex;
}

.ctp-checkbox-label input:focus-visible ~ .mark {
    outline: 3px solid #9bbdf3;
    outline-offset: 3px;
}

.challenge-verifying svg,
.success-icon {
    flex-shrink: 0;
    margin-right: 0;
    margin-inline-end: 8px;
}

.challenge-branding {
    flex-shrink: 0;
    margin-inline-start: 8px;
}

.status {
    margin-top: 12px;
    max-width: 540px;
    font-size: 14px;
    color: #666;
}

.status.error {
    color: #a12626;
}

.retry {
    margin-top: 8px;
    padding: 4px 0;
    color: #444;
    background: transparent;
    font: inherit;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.retry:focus-visible {
    outline: 2px solid #9bbdf3;
    outline-offset: 3px;
}

.retry:disabled {
    opacity: 0.5;
    cursor: wait;
}

[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.ctp-checkbox-label input:checked ~ .mark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 3px;
    width: 7px;
    height: 13px;
    border: solid #038127;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.answer-panel {
    width: 100%;
    max-width: 300px;
    margin-top: 12px;
    padding: 14px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
}
.answer-prompt {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}
.captcha-image {
    display: block;
    width: 100%;
    height: auto;
    background: #f5f7f5;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
}
.answer-label {
    display: block;
    margin-top: 12px;
    margin-bottom: 5px;
    font-size: 14px;
}
.answer-input {
    display: block;
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid #b9c0bb;
    border-radius: 3px;
    background: #fff;
    color: #313131;
    font: 20px ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 4px;
    text-transform: uppercase;
}
.answer-input:focus-visible {
    border-color: #038127;
    outline: 2px solid #b7d8c1;
    outline-offset: 1px;
}
.answer-input[aria-invalid="true"] {
    border-color: #a12626;
}
.answer-hint {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}
.reload-image {
    display: block;
    margin: 10px 0 14px;
    background: transparent;
    color: #315b3e;
    font: inherit;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}
.submit-answer {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 3px;
    background: #038127;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.reload-image:focus-visible,
.submit-answer:focus-visible {
    outline: 3px solid #9bbdf3;
    outline-offset: 3px;
}
.answer-input:disabled,
.reload-image:disabled,
.submit-answer:disabled {
    opacity: 0.65;
    cursor: wait;
}
