.wts-qf-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    font-family: inherit;
    color: #333;
    line-height: 1.55;
}

.wts-qf-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.wts-qf-notice {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 15px;
}
.wts-qf-success { background: #e6f4ea; border: 1px solid #34a853; color: #1e7e34; }
.wts-qf-error   { background: #fdecea; border: 1px solid #d93025; color: #a12a22; }

.wts-qf-form hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 32px 0;
}

.wts-qf-section-title {
    font-size: 19px;
    margin: 8px 0 16px;
    color: #222;
}

.wts-qf-callout {
    text-align: center;
    font-weight: 700;
    color: #b34700;
    margin: 18px 0;
}

.wts-qf-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.wts-qf-hint {
    font-size: 13px;
    color: #777;
    margin: 2px 0 6px;
}

.wts-qf-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.wts-qf-row .wts-qf-field { flex: 1 1 220px; margin-bottom: 0; }
.wts-qf-row-3 .wts-qf-field { flex: 1 1 30%; }

.wts-qf-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.wts-qf-field label,
.wts-qf-fieldset legend {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14.5px;
}

.wts-qf-field input[type="text"],
.wts-qf-field input[type="tel"],
.wts-qf-field input[type="email"],
.wts-qf-field input[type="date"],
.wts-qf-field select,
.wts-qf-field textarea {
    padding: 9px 11px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14.5px;
    width: 100%;
    box-sizing: border-box;
}

.wts-qf-fieldset {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.wts-qf-fieldset legend {
    padding: 0 6px;
}

.wts-qf-checkbox,
.wts-qf-radio {
    display: block;
    font-weight: 400;
    margin: 6px 0;
    font-size: 14.5px;
}
.wts-qf-checkbox input,
.wts-qf-radio input {
    margin-right: 8px;
}

/* 5 options per column, flowing left to right */
.wts-qf-grid-5 {
    display: grid;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    column-gap: 20px;
    row-gap: 4px;
    align-items: start;
}
.wts-qf-grid-5 legend {
    grid-column: 1 / -1;
}
.wts-qf-grid-5 .wts-qf-other-field {
    grid-column: 1 / -1;
}
.wts-qf-grid-5 .wts-qf-checkbox,
.wts-qf-grid-5 .wts-qf-radio {
    margin: 4px 0;
}

@media (max-width: 640px) {
    .wts-qf-grid-5 {
        grid-template-rows: none;
        grid-auto-flow: row;
        grid-template-columns: 1fr;
    }
}

.wts-qf-other-field {
    margin-top: 10px;
}

.wts-qf-field-inline {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}
.wts-qf-field-inline input[type="text"] {
    margin-top: 4px;
    display: block;
    max-width: 320px;
    padding: 7px 9px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.wts-qf-important {
    background: #fff8e6;
    border: 1px solid #f0d78c;
    border-radius: 6px;
    padding: 18px 20px;
    font-size: 13.5px;
    margin: 24px 0;
}
.wts-qf-important p { margin: 0 0 10px; }
.wts-qf-important p:last-child { margin-bottom: 0; }

.wts-qf-agreement {
    display: block;
    margin: 20px 0;
    font-weight: 600;
}

.wts-qf-submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: #2f6f4f;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.wts-qf-submit-btn:hover {
    background: #255a3f;
}

.wts-qf-credit {
    text-align: center;
    margin-top: 18px;
    font-size: 12.5px;
    color: #999;
}
.wts-qf-credit a {
    color: #2f6f4f;
    font-weight: 600;
    text-decoration: none;
}
.wts-qf-credit a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .wts-qf-row,
    .wts-qf-row-3 { flex-direction: column; }
}
