
.twfg-plqh {
    --twfg-teal: #3F6C7D;
    --twfg-teal-dark: #315765;
    --twfg-aqua: #58A7AF;
    --twfg-red: #D66965;
    --twfg-charcoal: #4B4F54;
    --twfg-bg: #f7fafb;
    --twfg-border: #dbe5e8;
    --twfg-text: #25313b;
    --twfg-muted: #5d6972;
    font-family: inherit;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 16px;
    color: var(--twfg-text);
}

.twfg-plqh,
.twfg-plqh * {
    box-sizing: border-box;
}

.twfg-plqh a {
    color: var(--twfg-teal);
}

.twfg-plqh-hero {
    background: linear-gradient(135deg, var(--twfg-teal), #254756);
    border-radius: 22px;
    color: #fff;
    padding: clamp(22px, 4vw, 38px);
    margin: 0 0 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    overflow: hidden;
}

.twfg-plqh-eyebrow {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 700;
    opacity: .9;
    margin: 0 0 8px;
}

.twfg-plqh-hero h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 800;
}

.twfg-plqh-hero p {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.55;
    margin: 0;
    max-width: 820px;
    color: rgba(255, 255, 255, .94);
}

.twfg-plqh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.twfg-plqh-card {
    background: #fff;
    border: 1px solid var(--twfg-border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(23, 43, 58, .06);
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.twfg-plqh-card:hover {
    border-color: var(--twfg-aqua);
    box-shadow: 0 8px 22px rgba(23, 43, 58, .10);
}

.twfg-plqh-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #eef8f9;
    color: var(--twfg-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .02em;
    margin: 0 0 14px;
    flex: 0 0 auto;
}

.twfg-plqh-card h3 {
    font-size: 20px;
    line-height: 1.25;
    color: #20323d;
    margin: 0 0 8px;
    font-weight: 800;
}

.twfg-plqh-card p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--twfg-muted);
    margin: 0 0 18px;
}

.twfg-plqh-btn {
    margin-top: auto;
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: var(--twfg-teal);
    color: #fff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    box-shadow: none;
}

.twfg-plqh-btn:hover,
.twfg-plqh-btn:focus {
    background: var(--twfg-teal-dark);
    color: #fff !important;
    outline: 2px solid transparent;
}

.twfg-plqh-muted {
    margin-top: auto;
    color: #69747c;
    font-size: 14px;
    border: 1px dashed #c9d4d8;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    width: 100%;
}

.twfg-plqh-inactive {
    opacity: .65;
}

.twfg-plqh-admin-note {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff3cd;
    color: #7a5900;
    font-size: 11px;
    border-radius: 999px;
    padding: 4px 8px;
}

.twfg-plqh-inline-wrap {
    margin-top: 24px;
}

.twfg-plqh-inline-form {
    background: #fff;
    border: 2px solid var(--twfg-teal);
    border-radius: 20px;
    padding: clamp(14px, 3vw, 22px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    overflow: visible;
}

.twfg-plqh-inline-form[hidden] {
    display: none !important;
}

.twfg-plqh-inline-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 16px;
    border-bottom: 1px solid #e3ecef;
    padding-bottom: 14px;
}

.twfg-plqh-inline-head h3 {
    margin: 0;
    color: #20323d;
    line-height: 1.25;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    flex: 1 1 auto;
}

.twfg-plqh-close {
    border: 1px solid #ccd7db;
    background: #fff;
    color: #20323d;
    border-radius: 999px;
    padding: 9px 16px;
    min-height: 44px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    flex-shrink: 0;
    text-decoration: none;
}

.twfg-plqh-close:hover,
.twfg-plqh-close:focus {
    border-color: var(--twfg-teal);
    color: var(--twfg-teal);
}

.twfg-plqh-close-bottom {
    display: none;
    margin-top: 18px;
}

.twfg-plqh-help {
    margin-top: 24px;
    background: #f4fafb;
    border: 1px solid var(--twfg-border);
    border-radius: 16px;
    padding: 18px;
    color: #384852;
    font-size: 15px;
    line-height: 1.5;
}

.twfg-plqh-empty {
    padding: 18px;
    border: 1px dashed #c9d4d8;
    border-radius: 16px;
    background: #fff;
    color: var(--twfg-muted);
}

@media (max-width: 900px) {
    .twfg-plqh {
        padding-left: 14px;
        padding-right: 14px;
    }

    .twfg-plqh-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .twfg-plqh {
        padding: 14px 10px;
    }

    .twfg-plqh-hero {
        padding: 22px 18px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .twfg-plqh-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .twfg-plqh-card {
        padding: 18px;
        border-radius: 16px;
    }

    .twfg-plqh-card h3 {
        font-size: 19px;
    }

    .twfg-plqh-card p {
        font-size: 14px;
    }

    .twfg-plqh-btn {
        width: 100%;
        min-height: 50px;
    }

    .twfg-plqh-inline-form {
        padding: 12px;
        border-radius: 16px;
    }

    .twfg-plqh-inline-head {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .twfg-plqh-inline-head h3 {
        font-size: 20px;
        overflow-wrap: anywhere;
    }

    .twfg-plqh-close {
        width: auto;
        min-height: 44px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .twfg-plqh-close-bottom {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }

    .twfg-plqh-help {
        font-size: 14px;
        padding: 14px;
    }
}
