/* Painel administrativo */
body.admin { background: var(--sand); }
.abar {
    background: #fff; border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 18px; position: sticky; top: 0; z-index: 40;
}
.abar img { height: 40px; }
.abar nav { display: flex; gap: 4px; }
.abar nav a { padding: 10px 12px; font-size: 17px; border-radius: 8px; }
.abar nav a:active { background: var(--sand); }
.awrap { max-width: 680px; margin: 0 auto; padding: 24px 18px 60px; }
.awrap h1 { font-size: 25px; font-weight: 500; margin-bottom: 18px; }
.acard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; margin-bottom: 16px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 16px; color: var(--ink-soft); margin-bottom: 6px; }
.field input[type=text], .field input[type=number], .field input[type=password], .field textarea, .field select {
    width: 100%; padding: 13px 14px; font-size: 18px; font-family: inherit;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.msg-ok { background: #e5f4ec; color: var(--green); border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 17px; }
.msg-err { background: #fbeaea; color: var(--danger); border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 17px; }
.prop-row {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px; margin-bottom: 12px;
}
.prop-row img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; background: #ddd; }
.prop-row .t { font-size: 18px; font-weight: 500; }
.prop-row .s { font-size: 15px; color: var(--ink-soft); }
.prop-row .links { margin-left: auto; display: flex; flex-direction: column; gap: 6px; text-align: right; }
.prop-row .links a { font-size: 16px; text-decoration: underline; white-space: nowrap; }
.prop-row.inactive { opacity: .55; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumbs .th { position: relative; }
.thumbs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.thumbs .del {
    position: absolute; top: 6px; right: 6px;
    background: rgba(0,0,0,.7); color: #fff; border: 0; border-radius: 999px;
    width: 34px; height: 34px; font-size: 17px; cursor: pointer;
}
.btn-sm {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 8px 18px; border-radius: 10px; border: 0;
    font-family: inherit; font-size: 17px; cursor: pointer;
}
/* Calendário admin */
.cal .day.togglable { cursor: pointer; }
.cal .day.blocked.togglable { cursor: pointer; }
.login-box { max-width: 380px; margin: 60px auto; }
.login-box img { width: 210px; margin: 0 auto 30px; }
.admin .btn-ghost, .admin .btn-light { background: #fff; border: 1px solid var(--line); }

/* Cadastro v4 */
.asec { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.ahint { font-size: 15px; color: var(--ink-soft); background: var(--sand); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; line-height: 1.5; }
.num-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.amen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amen-item {
    display: flex; align-items: center; gap: 9px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 10px 12px; font-size: 16px; cursor: pointer;
}
.amen-item input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--sea-deep); }
.amen-item:has(input:checked) { background: var(--sky); border-color: var(--sea-deep); }
.capa-tag {
    position: absolute; left: 6px; top: 6px;
    background: var(--sea-deep); color: #fff; font-size: 12px; letter-spacing: .06em;
    padding: 3px 8px; border-radius: 6px;
}
.th-tools { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.th-tools a {
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    min-width: 34px; height: 32px; display: flex; align-items: center; justify-content: center;
    font-size: 16px; text-decoration: none;
}
.th-tools a.mk-capa { font-size: 14px; padding: 0 10px; }
@media (min-width: 700px) { .amen-grid { grid-template-columns: 1fr 1fr 1fr; } }
