* { box-sizing: border-box; }
body {
    font-family: -apple-system, Segoe UI, Arial, sans-serif;
    background: #f4f3ef;
    color: #2c2c2a;
    margin: 0;
    padding: 0;
}
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.topbar {
    background: #26215c;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar a { color: #fff; text-decoration: none; font-size: 14px; }
.topbar h1 { font-size: 18px; margin: 0; font-weight: 500; }
.version-tag { font-size: 11px; font-weight: 400; opacity: 0.6; margin-left: 8px; }

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

form label { display: block; margin-bottom: 4px; font-size: 13px; color: #5f5e5a; }
form input[type=text], form select {
    width: 100%; padding: 8px; margin-bottom: 14px;
    border: 1px solid #ccc; border-radius: 6px; font-size: 14px;
}
button, .btn {
    background: #26215c; color: #fff; border: none; padding: 9px 16px;
    border-radius: 6px; cursor: pointer; font-size: 14px; text-decoration: none;
    display: inline-block;
}
button.secondary, .btn.secondary { background: #888780; }
button.danger, .btn.danger { background: #A32D2D; }
button.small { padding: 5px 10px; font-size: 12px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eee; }
th { color: #5f5e5a; font-weight: 500; font-size: 12px; text-transform: uppercase; }

.badge { padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.badge-alta { background: #F0997B; color: #4A1B0C; }
.badge-media { background: #FAC775; color: #412402; }
.badge-baja { background: #D3D1C7; color: #2C2C2A; }

.checkbox-line {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: #5f5e5a; margin-bottom: 12px; cursor: pointer;
}
.checkbox-line input { margin: 0; }
.hint-inline { color: #888780; font-size: 12px; }

.error { color: #A32D2D; margin-bottom: 12px; }
.hint { color: #888780; font-size: 12px; margin-top: -8px; margin-bottom: 14px; }
textarea {
    width: 100%; min-height: 140px; padding: 10px; border-radius: 6px;
    border: 1px solid #ccc; font-size: 14px; font-family: inherit;
}
