:root {
    --bs-primary: #71233c;
    --bs-primary-rgb: 113, 35, 60;
    --wine: #71233c;
    --gold: #d5b57d;
    --ink: #302b2c;
    --muted: #766d70;
    --paper: #faf7f2
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

main {
    flex: 1
}

.site-header {
    background: #542035;
    color: #fff
}

.brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 650
}

.brand:hover {
    color: #fff
}

.brand small {
    display: block;
    font-weight: 400;
    font-size: .8rem;
    color: #e7d8d5;
    margin-top: .1rem
}

.brand-mark {
    font-size: 2.4rem;
    color: var(--gold);
    line-height: 1
}

.header-link {
    color: #f2e7e4;
    text-decoration: none;
    font-size: .85rem
}

.header-link:hover {
    color: #fff;
    text-decoration: underline
}

.eyebrow {
    color: var(--wine);
    text-transform: uppercase;
    font-size: .73rem;
    letter-spacing: .14em;
    font-weight: 750
}

.display-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    line-height: 1.1
}

.lead-copy {
    color: var(--muted);
    line-height: 1.65;
    font-size: 1.05rem
}

.card {
    border: 1px solid #e9e0d7;
    border-radius: 1rem;
    box-shadow: 0 8px 28px #452d2510
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700
}

.form-label {
    font-size: .88rem;
    font-weight: 650
}

.form-control,
.form-select {
    min-height: 45px;
    border-color: #d8d1cb
}

.form-control:focus,
.form-select:focus {
    border-color: #a76b80;
    box-shadow: 0 0 0 .2rem #71233c20
}

.btn-primary {
    --bs-btn-bg: #71233c;
    --bs-btn-border-color: #71233c;
    --bs-btn-hover-bg: #542035;
    --bs-btn-hover-border-color: #542035;
    --bs-btn-active-bg: #542035;
    --bs-btn-active-border-color: #542035;
    --bs-btn-disabled-bg: #71233c;
    --bs-btn-disabled-border-color: #71233c
}

.btn-outline-primary {
    --bs-btn-color: #71233c;
    --bs-btn-border-color: #71233c;
    --bs-btn-hover-bg: #71233c;
    --bs-btn-hover-border-color: #71233c;
    --bs-btn-active-bg: #542035;
    --bs-btn-active-border-color: #542035
}

.cover-panel {
    background: #efe6db;
    border: 1px solid #e2d4c5;
    border-radius: 1rem;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem
}

.cover-panel img {
    max-height: 510px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px #32211825)
}

.cover-placeholder {
    width: 220px;
    min-height: 300px;
    border: 1px dashed #bba58e;
    border-radius: .4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: #816854;
    background: #fcf9f3;
    box-shadow: 8px 10px 0 #dbc9b4
}

.cover-placeholder .star {
    font-size: 3.5rem;
    color: #b09160
}

.cover-placeholder strong {
    font-family: Georgia, serif;
    font-size: 1.7rem;
    line-height: 1.1;
    margin: 1rem 0
}

.cover-placeholder small {
    font-size: .8rem
}

.minimum {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #efe4e5;
    border: 1px solid #e3cdd4;
    color: #652039;
    border-radius: 100px;
    padding: .45rem .9rem;
    font-size: .8rem;
    font-weight: 650
}

.total-panel {
    background: #f4eee7;
    border: 1px solid #e5d9cc;
    border-radius: .7rem;
    padding: 1.1rem
}

.total-value {
    font-size: 1.85rem;
    font-weight: 750;
    color: var(--wine);
    font-variant-numeric: tabular-nums
}

.contact-actions .btn {
    font-size: .82rem;
    overflow-wrap: anywhere
}

.site-footer {
    color: #807578;
    font-size: .8rem;
    border-top: 1px solid #e7ded5
}

.admin-nav {
    background: #fff
}

.metric-label {
    color: var(--muted);
    font-size: .8rem
}

.metric-value {
    font-size: 1.7rem;
    font-weight: 750;
    color: var(--wine)
}

.table>:not(caption)>*>* {
    padding: .9rem .8rem;
    vertical-align: middle
}

.table thead th {
    font-size: .75rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: #f5efe9;
    color: #6f6266
}

.table {
    font-size: .9rem
}

.muted {
    color: var(--muted)
}

.protocol {
    letter-spacing: .04em;
    font-family: ui-monospace, monospace;
    font-size: .85rem;
    overflow-wrap: anywhere
}

.form-help {
    font-size: .8rem;
    color: var(--muted)
}

[hidden] {
    display: none !important
}

.receipt {
    max-width: 780px;
    margin: auto
}

.step {
    font-size: .72rem;
    background: #eee2e6;
    color: #71233c;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: .3rem
}

@media(max-width:575px) {
    .header-link {
        max-width: 95px;
        text-align: right
    }

    .cover-panel {
        min-height: 260px
    }

    .cover-placeholder {
        min-height: 225px;
        width: 175px;
        padding: 1rem
    }

    .cover-placeholder strong {
        font-size: 1.4rem
    }

    .total-value {
        font-size: 1.6rem
    }
}

@media print {

    .site-header,
    .site-footer,
    .admin-nav,
    .no-print {
        display: none !important
    }

    body {
        background: #fff
    }

    main.container {
        padding: 0 !important;
        max-width: 100%
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd
    }

    .receipt {
        max-width: 100%
    }

    a {
        color: #000;
        text-decoration: none
    }
}