:root {
    --tl-bg: #fbf6f7;
    --tl-card: #ffffff;
    --tl-line: #f0d7dd;
    --tl-shadow: 0 14px 30px rgba(60, 20, 35, .08);
    --tl-text: #2a1b22;
    --tl-muted: #7a5a66;

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

    --err: #ffd1d1;
    --err-b: #ff8a8a;
}

.form-page {
    max-width: 980px;
    margin: 28px auto;
    padding: 0 16px;
}

.tul-card {
    background: var(--tl-card);
    border: 1px solid var(--tl-line);
    border-radius: 18px;
    box-shadow: var(--tl-shadow);
    padding: 18px;
}

.form-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.form-head h1 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -.3px;
    color: var(--tl-text);
}

.muted {
    margin: 6px 0 0 0;
    color: var(--tl-muted);
    font-weight: 700;
}

.head-chip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--tl-line);
    background: rgba(214, 176, 106, .16);
    color: #6b4a1d;
    font-weight: 950;
    font-size: 12px;
}

.chip.soft {
    background: rgba(242, 184, 199, .18);
    color: #7a2f45;
}

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

.field label {
    display: block;
    font-weight: 900;
    font-size: 12px;
    color: var(--tl-muted);
    margin-bottom: 6px;
    letter-spacing: .4px;
}

.field .hint {
    font-weight: 800;
    color: rgba(122, 90, 102, .8);
}

.field input,
.field select {
    width: 100%;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid var(--tl-line);
    outline: none;
    background: rgba(242, 184, 199, .10);
    color: var(--tl-text);
    font-weight: 800;
}

.field input:focus,
.field select:focus {
    border-color: rgba(214, 176, 106, .65);
    box-shadow: 0 0 0 4px rgba(214, 176, 106, .16);
}

.help {
    margin-top: 6px;
    color: rgba(122, 90, 102, .85);
    font-weight: 700;
    font-size: 12px;
}

.err-text {
    margin-top: 6px;
    color: #7a1a1a;
    font-weight: 800;
    font-size: 12px;
}

.alert {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--tl-line);
    margin-bottom: 12px;
    font-weight: 900;
}

.alert.err {
    background: rgba(255, 209, 209, .55);
    border-color: rgba(255, 138, 138, .75);
    color: #7a1a1a;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--tl-line);
    background: #fff;
    color: var(--tl-text);
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}

.btn.primary {
    background: linear-gradient(90deg, var(--tl-pink), var(--tl-gold));
    border-color: rgba(0, 0, 0, .04);
}

.btn.ghost {
    background: transparent;
}

.btn:hover {
    background: rgba(242, 184, 199, .18);
}

/* responsive */
@media (max-width: 820px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .form-head {
        flex-direction: column;
    }
}
