.gp-pi-box{max-width:760px;margin:20px auto;padding:24px;border:1px solid #e6e6e6;border-radius:16px;background:#fff}
.gp-pi-title{font-size:28px;font-weight:800;line-height:1.15;margin:0 0 10px}
.gp-pi-sub{font-size:15px;color:#555;margin:0 0 20px}
.gp-pi-note{padding:12px 14px;border-radius:12px;background:#faf7ef;border:1px solid #f0dfb3;margin:0 0 16px}
.gp-pi-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gp-pi-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.gp-pi-field label{font-weight:700;font-size:14px;color:#222}

/* ---- all interactive controls share the same look ---- */
.gp-pi-field input,
.gp-pi-field select,
.gp-pi-field textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #d8d8d8;
    border-radius:12px;
    font-size:15px;
    font-family:inherit;
    color:#111;
    background:#fff;
    box-sizing:border-box;
    appearance:none;
    -webkit-appearance:none;
    transition:border-color .15s,box-shadow .15s;
    outline:none;
}
.gp-pi-field input:focus,
.gp-pi-field select:focus,
.gp-pi-field textarea:focus{
    border-color:#111;
    box-shadow:0 0 0 3px rgba(0,0,0,.08);
}

/* ---- select: custom chevron ---- */
.gp-pi-field select{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 14px center;
    padding-right:40px;
    cursor:pointer;
}

/* ---- disabled model dropdown ---- */
.gp-pi-field select:disabled{
    background-color:#f5f5f5;
    color:#aaa;
    border-color:#e0e0e0;
    cursor:not-allowed;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ccc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.gp-pi-field textarea{min-height:120px;resize:vertical}

/* ---- submit button ---- */
.gp-pi-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    padding:14px 20px;
    border-radius:999px;
    background:#111;
    color:#fff;
    border:0;
    font-size:16px;
    font-weight:800;
    font-family:inherit;
    cursor:pointer;
    margin-top:4px;
    transition:background .15s,transform .1s;
}
.gp-pi-btn:hover{background:#333}
.gp-pi-btn:active{transform:scale(.98)}

/* ---- feedback banners ---- */
.gp-pi-ok{padding:12px 14px;background:#eef9f0;border:1px solid #b8e0c0;border-radius:12px;color:#176235;margin-bottom:16px;font-weight:600}
.gp-pi-err{padding:12px 14px;background:#fff1f1;border:1px solid #efb8b8;border-radius:12px;color:#8a1f1f;margin-bottom:16px;font-weight:600}
.gp-pi-badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#f3f3f3;font-weight:700;font-size:13px;margin-bottom:10px}

.gp-pi-field-hint{font-size:13px;color:#b45309;margin-top:2px;}
@media(max-width:680px){.gp-pi-grid{grid-template-columns:1fr}}