.gwd-survey-shell {
    --gwd-survey-accent: #89cff0;
    --gwd-survey-black: #000;
    --gwd-survey-white: #fff;
    --gwd-survey-gray-100: #f3f4f6;
    --gwd-survey-gray-400: rgba(0, 0, 0, 0.12);
    --gwd-survey-gray-500: rgba(0, 0, 0, 0.4);
    --gwd-survey-shadow: 10px 10px 0 0 rgba(0, 0, 0, 1);
    --gwd-survey-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --gwd-survey-font-heavy: "Arial Black", "Inter", "Segoe UI", sans-serif;
    width: 100%;
    max-width: 28rem;
    margin: 32px auto;
    font-family: var(--gwd-survey-font-sans);
}

.gwd-survey-card {
    position: relative;
    background: var(--gwd-survey-white);
    border: 4px solid var(--gwd-survey-black);
    box-shadow: var(--gwd-survey-shadow);
}

.gwd-survey-tag {
    position: absolute;
    top: -20px;
    left: -12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 3px solid var(--gwd-survey-black);
    background: var(--gwd-survey-black);
    color: var(--gwd-survey-white);
    transform: rotate(-3deg);
}

.gwd-survey-tag-label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    white-space: nowrap;
}

.gwd-survey-body {
    padding: 48px 32px 32px;
}

.gwd-survey-description {
    margin: 0 0 10px;
    color: var(--gwd-survey-gray-500);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.gwd-survey-body > .gwd-survey-question {
    margin: 0 0 32px !important;
    font-size: 24px !important;
    line-height: 1;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    font-family: inherit;
}

.gwd-survey-message {
    display: none;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 2px solid var(--gwd-survey-black);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.gwd-survey-message.is-visible {
    display: block;
}

.gwd-survey-message[data-gwd-survey-feedback].is-visible {
    background: #fff8c5;
}

.gwd-survey-message[data-gwd-survey-thankyou].is-visible {
    background: #ecfccb;
}

.gwd-survey-message[data-gwd-survey-closed].is-visible {
    background: #f3f4f6;
}

.gwd-survey-form.is-hidden,
.gwd-survey-results.is-hidden,
.gwd-survey-meta.is-hidden {
    display: none;
}

.gwd-survey-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gwd-survey-option {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: var(--gwd-survey-white);
    color: var(--gwd-survey-black);
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
}

.gwd-survey-option:hover {
    border-color: var(--gwd-survey-black);
    background: #fafafa;
    color: var(--gwd-survey-black);
}

.gwd-survey-option:focus,
.gwd-survey-option:active,
.gwd-survey-option:visited {
    color: var(--gwd-survey-black);
}

.gwd-survey-option.is-selected {
    border-color: var(--gwd-survey-black);
    background: var(--gwd-survey-accent);
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 1);
    color: var(--gwd-survey-black);
    transform: translateY(-4px);
}

.gwd-survey-option-label {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.gwd-survey-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.gwd-survey-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.gwd-survey-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gwd-survey-tag-icon,
.gwd-survey-result-trophy {
    color: var(--gwd-survey-accent);
}

.gwd-survey-tag-icon {
    width: 14px;
    height: 14px;
}

.gwd-survey-icon-default {
    color: rgba(0, 0, 0, 0.12);
}

.gwd-survey-option:hover .gwd-survey-icon-default {
    color: rgba(0, 0, 0, 0.2);
}

.gwd-survey-icon-selected {
    display: none;
    color: var(--gwd-survey-black);
}

.gwd-survey-option.is-selected .gwd-survey-icon-default {
    display: none;
}

.gwd-survey-option.is-selected .gwd-survey-icon-selected {
    display: inline-flex;
}

.gwd-survey-submit {
    display: inline-flex;
    width: 100%;
    margin-top: 24px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    border: 0;
    background: var(--gwd-survey-black);
    color: var(--gwd-survey-white);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 4px 4px 0 0 rgba(137, 207, 240, 0.3);
}

.gwd-survey-submit:hover:not(:disabled) {
    background: var(--gwd-survey-accent);
    color: var(--gwd-survey-black);
}

.gwd-survey-submit:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gwd-survey-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gwd-survey-results-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.gwd-survey-result-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gwd-survey-result-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.gwd-survey-result-label-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gwd-survey-result-label,
.gwd-survey-result-percent {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.gwd-survey-result-label {
    color: var(--gwd-survey-gray-500);
}

.gwd-survey-result-label.is-winner {
    color: var(--gwd-survey-black);
}

.gwd-survey-result-track {
    width: 100%;
    height: 24px;
    border: 2px solid var(--gwd-survey-black);
    background: var(--gwd-survey-gray-100);
}

.gwd-survey-result-fill {
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: width 0.9s ease;
}

.gwd-survey-result-fill.is-winner {
    background: var(--gwd-survey-accent);
}

.gwd-survey-summary {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gwd-survey-gray-500);
}

.gwd-survey-summary.is-hidden {
    display: none;
}

.gwd-survey-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 2px dashed rgba(0, 0, 0, 0.1);
}

.gwd-survey-meta-copy {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gwd-survey-meta-check {
    color: #22c55e;
}

.gwd-survey-meta-copy [data-gwd-survey-responses] {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(0, 0, 0, 0.4);
}

.gwd-survey-share {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: color 0.18s ease;
    appearance: none;
    box-shadow: none;
    outline: none;
    line-height: 0;
}

.gwd-survey-share:hover,
.gwd-survey-share:focus,
.gwd-survey-share:active {
    background: transparent;
    color: var(--gwd-survey-black);
    box-shadow: none;
}

.gwd-survey-share.is-copied {
    color: var(--gwd-survey-accent);
}

.gwd-survey-tag-icon svg,
.gwd-survey-option-icon svg,
.gwd-survey-submit svg,
.gwd-survey-result-trophy svg,
.gwd-survey-meta-check svg,
.gwd-survey-share svg {
    width: 100%;
    height: 100%;
}

.gwd-survey-result-trophy {
    width: 12px;
    height: 12px;
}

.gwd-survey-meta-check {
    width: 16px;
    height: 16px;
}

.gwd-survey-share .gwd-survey-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 640px) {
    .gwd-survey-shell {
        max-width: none;
        margin: 24px auto;
    }

    .gwd-survey-body {
        padding: 44px 20px 24px;
    }

    .gwd-survey-body > .gwd-survey-question {
        margin-bottom: 32px !important;
        font-size: 24px !important;
    }

    .gwd-survey-tag {
        left: 8px;
        top: -18px;
    }
}
