#mha-wrapper {
    max-width: 480px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    color: #1d2b44;
}
#mha-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 6px;
    color: #1d2b44;
}
#mha-subtitle { font-size: .9rem; margin: 0 0 18px; }

/* ── Calendário ── */
#mha-calendar-container { overflow: hidden; }
#mha-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #c9a15b;
    color: #fff;
    padding: 12px 16px;
}
#mha-nav button {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 8px;
    border-radius: 4px;
    transition: background .2s;
}
#mha-nav button:hover { background: rgba(255,255,255,.2); }
#mha-month-label { font-size: .95em; font-weight: 700; }
#mha-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #efe8d9;
    text-align: center;
    padding: 8px 0;
}
#mha-weekdays span {
    font-size: .7em;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
}
#mha-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 8px 0;
    background: #fff;
}
.mha-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: .85em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .15s;
    user-select: none;
}
.mha-day:hover:not(.mha-day--reserved):not(.mha-day--past):not(.mha-day--empty) {
    border-color: #c9a15b;
}
.mha-day--empty    { cursor: default; }
.mha-day--past     { color: #ccc; cursor: not-allowed; }
.mha-day--reserved { background: #fde8e8; color: #c0392b; cursor: not-allowed; text-decoration: line-through; }
.mha-day--available { background: #f5f2ea; color: #1d2b44; font-weight: 500; }
.mha-day--today    { border-color: #c9a15b; }
.mha-day--start,
.mha-day--range-edge { background: #c9a15b; color: #fff; font-weight: 700; }
.mha-day--range-mid  { background: #efe8d9; color: #1d2b44; font-weight: 500; }

/* ── Legenda e avisos ── */
#mha-legend { font-size: .72em; margin-top: 10px; color: #888; }
.mha-selected-leg { color: #c9a15b; font-weight: 700; }
.mha-reserved-leg { color: #c0392b; }
#mha-hint { font-size: .8em; color: #c9a15b; font-style: italic; margin: 8px 0; min-height: 18px; }
#mha-conflict-msg {
    display: none;
    background: #fde8e8;
    color: #c0392b;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: .8em;
    margin: 0 0 10px;
}

/* ── Resumo ── */
#mha-summary { margin-top: 10px; border-top: 1px solid #ddd; padding-top: 14px; }
.mha-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .88em;
    margin-bottom: 8px;
}
.mha-row span:last-child { text-align: right; white-space: nowrap; }
.mha-row--total {
    border-top: 1px solid #ddd;
    margin-top: 12px;
    padding-top: 14px;
    font-size: 1.05em;
    font-weight: 700;
}
#mha-km { font-size: .72em; color: #777; margin: 4px 0 14px; }

.mha-extra {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82em;
    margin-bottom: 10px;
    cursor: pointer;
}
.mha-extra input { accent-color: #c9a15b; width: 16px; height: 16px; margin: 0; }

#mha-whatsapp-btn {
    display: block;
    text-align: center;
    background: #c9a15b;
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .85em;
    text-transform: uppercase;
    transition: background .2s;
    margin-top: 16px;
}
#mha-whatsapp-btn:hover { background: #b38d49; }
#mha-clear {
    display: block;
    margin: 10px auto 0;
    background: none;
    border: none;
    color: #888;
    font-family: inherit;
    font-size: .78em;
    text-decoration: underline;
    cursor: pointer;
}
#mha-clear:hover { color: #c0392b; }
#mha-note { font-size: .72em; color: #777; margin: 14px 0 0; line-height: 1.5; }