 

.work-consent {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.work-consent[data-work-consent-root] {
    animation: work-consent-reveal 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes work-consent-reveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.work-consent__check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--ws-line, rgba(21, 28, 44, 0.1));
    border-radius: var(--ws-radius-md, 12px);
    background: var(--ws-surface, var(--ws-surface));
    color: var(--ws-text, var(--ws-fg));
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease;
}

.work-consent__check:hover {
    border-color: var(--ws-line-strong, var(--ws-line-strong));
}

.work-consent__check:has(input:checked) {
    border-color: color-mix(in srgb, var(--ws-primary, var(--ws-primary)) 34%, transparent);
    background: var(--ws-primary-soft, rgba(42, 31, 61, 0.05));
}

.work-consent__check input[type="checkbox"] {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    cursor: pointer;
}

.work-consent__check > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.work-consent__check strong {
    font: 700 14px/1.4 var(--ws-font-body, Inter, sans-serif);
}

.work-consent__note {
    color: var(--ws-muted, var(--ws-fg-muted));
    font: 500 12.5px/1.5 var(--ws-font-body, Inter, sans-serif);
}

.work-consent__details {
    color: var(--ws-muted, var(--ws-fg-muted));
    font: 500 12.5px/1.5 var(--ws-font-body, Inter, sans-serif);
}

.work-consent__details summary {
    cursor: pointer;
    list-style: none;
    color: var(--ws-primary, var(--ws-primary));
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.work-consent__details summary::-webkit-details-marker {
    display: none;
}

.work-consent__details ul {
    margin: 8px 0 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.work-consent__notice {
    margin: 2px 0 0;
    padding: 0 2px;
    color: var(--ws-muted, var(--ws-fg-muted));
    font: 500 12px/1.5 var(--ws-font-body, Inter, sans-serif);
}

.work-consent__notice--hackathon {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: var(--ws-radius-sm, 8px);
    background: var(--ws-surface-soft);
    color: var(--ws-fg);
    font-weight: 600;
}

.work-consent__notice--hackathon a {
    color: var(--ws-primary);
    text-decoration: underline;
}

.btn.is-blocked,
.btn.is-blocked:hover,
.btn.is-blocked:active {
    opacity: 0.45;
    box-shadow: none;
    transform: none;
    cursor: default;
    pointer-events: auto;
}

@keyframes work-consent-unlock-flash {
    0%   { box-shadow: 0 0 0 0 var(--ws-primary-soft, rgba(42, 31, 61, 0.28)); }
    30%  { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ws-primary, var(--ws-primary)) 20%, transparent); }
    100% { box-shadow: 0 0 0 0 rgba(42, 31, 61, 0); }
}

.btn.just-unblocked {
    animation: work-consent-unlock-flash 700ms ease-out 1;
}

@media (prefers-reduced-motion: reduce) {
    .work-consent[data-work-consent-root],
    .btn.just-unblocked {
        animation: none;
    }
}
