:root { font-family: system-ui, -apple-system, Segoe UI, sans-serif; color: #1b1b1b; background: #f4f2ee; }
* { box-sizing: border-box; }
body { margin: 0; padding: 24px; }
.card { max-width: 420px; margin: 10vh auto; padding: 32px; background: #fff; border-radius: 14px; box-shadow: 0 8px 30px #0001; }
h1 { font-size: 26px; margin: 0 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
button, .file-button { font: inherit; cursor: pointer; border: 1px solid #c9c4bb; background: #fff; padding: 10px 16px; border-radius: 8px; }
button.primary { background: #111; color: #fff; border-color: #111; padding: 12px 28px; font-size: 16px; }
button.danger { color: #9b2c2c; }
nav { display: flex; gap: 10px; margin-bottom: 20px; }
nav button.active { background: #111; color: #fff; }
#editor { display: grid; gap: 16px; }
.panel { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 10px #0001; }
.panel h2 { margin: 0 0 16px; font-size: 18px; }
label { display: block; font-size: 14px; margin-bottom: 6px; color: #555; }
input[type="text"], input[type="email"], input[type="tel"], textarea, input[type="password"] {
  width: 100%; padding: 10px; border: 1px solid #d3cec6; border-radius: 8px; font: inherit; background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.picture img { display: block; max-width: 220px; max-height: 150px; margin-bottom: 10px; border-radius: 8px; object-fit: cover; }
.status { font-size: 14px; color: #555; }
.status.error, .error { color: #b42318; }
footer { margin-top: 28px; font-size: 14px; }
a { color: #444; }
@media (max-width: 600px) { header { flex-direction: column; align-items: flex-start; } }
