:root {
    --pf-card: #fff;
    --pf-bg: #fbf6f8;
    --pf-line: #f0d7dd;
    --pf-shadow: 0 18px 40px rgba(60, 20, 35, .08);
    --pf-text: #2a1b22;
    --pf-muted: #7a5a66;

    --pf-pink: #f2b8c7;
    --pf-gold: #d6b06a;

    --pf-danger: rgba(180, 40, 40, .12);
    --pf-danger-br: rgba(180, 40, 40, .28);
}

.pf-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 14px 28px;
}

/* Card */
.pf-card {
    max-width: 740px;
    margin: 0 auto;
    background: var(--pf-card);
    border: 1px solid var(--pf-line);
    border-radius: 22px;
    box-shadow: var(--pf-shadow);
    overflow: hidden;
}

/* Head */
.pf-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    padding: 18px 18px;
    border-bottom: 1px solid var(--pf-line);
    background: linear-gradient(180deg, rgba(247, 198, 211, .35), rgba(255, 255, 255, 0));
}

.pf-head h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: var(--pf-text);
}

.pf-muted {
    margin: 6px 0 0;
    color: var(--pf-muted);
    font-weight: 600;
    font-size: 13.5px;
}

.pf-back {
    text-decoration: none;
    font-weight: 900;
    color: var(--pf-text);
    border: 1px solid var(--pf-line);
    background: rgba(251, 246, 248, .7);
    padding: 10px 12px;
    border-radius: 12px;
    transition: transform .06s ease, box-shadow .14s ease, border-color .14s ease;
    white-space: nowrap;
}

.pf-back:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 176, 106, .65);
    box-shadow: 0 10px 22px rgba(60, 20, 35, .08);
}

/* Form */
.pf-form {
    padding: 16px 18px 18px;
}

.pf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pf-field label {
    font-weight: 900;
    font-size: 13px;
    color: var(--pf-text);
    letter-spacing: .2px;
}

.pf-field input,
.pf-field select {
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--pf-line);
    background: var(--pf-bg);
    padding: 0 12px;
    outline: none;
    font-weight: 800;
    color: var(--pf-text);
}

.pf-field input:focus,
.pf-field select:focus {
    background: #fff;
    border-color: rgba(214, 176, 106, .65);
    box-shadow: 0 10px 22px rgba(60, 20, 35, .08);
}

/* Actions */
.pf-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--pf-line);
}

.pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--pf-line);
    background: #fff;
    color: var(--pf-text);
    font-weight: 900;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .14s ease, border-color .14s ease;
}

.pf-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(214, 176, 106, .65);
    box-shadow: 0 10px 22px rgba(60, 20, 35, .08);
}

.pf-btn.pf-primary {
    border-color: rgba(242, 184, 199, .95);
    background: linear-gradient(180deg, rgba(242, 184, 199, .85), rgba(247, 198, 211, .55));
}

/* Responsive */
@media (max-width: 720px) {
    .pf-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .pf-grid {
        grid-template-columns: 1fr;
    }

    .pf-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
