.tspb-public-form-wrap {
    --tspb-border: #d7dde5;
    --tspb-muted: #5f6b7a;
    --tspb-bg: #f7f9fc;
    max-width: 1180px;
    margin: 0 auto;
}
.tspb-public-form-intro {
    margin-bottom: 18px;
}
.tspb-public-form-intro h2 {
    margin-bottom: 6px;
}
.tspb-public-form-intro p {
    margin-top: 0;
    color: var(--tspb-muted);
}
.tspb-public-section {
    border: 1px solid var(--tspb-border);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.tspb-public-section h3 {
    margin: 0 0 14px;
    font-size: 1.1rem;
}
.tspb-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(190px, 1fr));
    gap: 14px 16px;
}
.tspb-public-field {
    margin: 0;
}
.tspb-public-field label,
.tspb-checkbox {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}
.tspb-public-field input,
.tspb-public-field select,
.tspb-public-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--tspb-border);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    color: inherit;
    font: inherit;
}
.tspb-public-field textarea {
    min-height: 110px;
    resize: vertical;
}
.tspb-span-2 {
    grid-column: span 2;
}
.tspb-span-3 {
    grid-column: 1 / -1;
}
.tspb-conditional[hidden] {
    display: none !important;
}
.tspb-help {
    display: block;
    margin-top: 5px;
    color: var(--tspb-muted);
    font-size: .92rem;
}
.tspb-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 600;
}
.tspb-checkbox input {
    margin-top: 4px;
}
.tspb-public-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}
.tspb-public-actions button {
    border: 0;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 700;
    cursor: pointer;
    background: #123d6b;
    color: #fff;
}
.tspb-public-actions button:hover,
.tspb-public-actions button:focus {
    filter: brightness(1.08);
}
.required {
    color: #b42318;
}
.tspb-form-message {
    padding: 13px 15px;
    border-radius: 10px;
    margin-bottom: 16px;
}
.tspb-form-success {
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #067647;
}
.tspb-form-error {
    background: #fff1f3;
    border: 1px solid #fecdd6;
    color: #b42318;
}
.tspb-form-error ul {
    margin-bottom: 0;
}
.tspb-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}
@media (max-width: 980px) {
    .tspb-public-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}
@media (max-width: 720px) {
    .tspb-public-grid {
        grid-template-columns: 1fr;
    }
    .tspb-span-2,
    .tspb-span-3 {
        grid-column: auto;
    }
    .tspb-public-actions {
        justify-content: stretch;
    }
    .tspb-public-actions button {
        width: 100%;
    }
}

.tspb-season-notice {
    margin: 0;
    padding: 12px 14px;
    background: #f6f7f7;
    border-left: 4px solid #2271b1;
}
.tspb-prefill-section .tspb-prefill-form {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    margin-bottom: 12px;
}
.tspb-prefill-actions {
    margin-bottom: 0;
}

.tspb-prefill-section .tspb-prefill-form {
    margin: 0 0 14px;
}
.tspb-prefill-section .tspb-prefill-secondary {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}
.tspb-prefill-locked,
.tspb-email-locked {
    padding: 12px 14px;
    border-radius: 8px;
    background: #f0f7ff;
    border: 1px solid #cfe5ff;
    margin: 0 0 14px;
}
.tspb-form-info {
    background: #f8fafc;
    border-color: #dbe3ea;
    color: #334155;
}

.tspb-prefill-verified {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.tspb-prefill-reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 16px;
    background: #123d6b;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}
.tspb-prefill-reset-button:hover,
.tspb-prefill-reset-button:focus {
    filter: brightness(1.08);
    color: #fff !important;
}
@media (max-width: 720px) {
    .tspb-prefill-verified {
        align-items: stretch;
        flex-direction: column;
    }
    .tspb-prefill-reset-button {
        width: 100%;
    }
}
