:root { --navy: #1f4785; --navy-deep: #0d1f3d; --gold: #c9b533; }
body { background: #f3f5f9; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.btn-primary { background: var(--navy); border-color: var(--navy); }
.btn-primary:hover, .btn-primary:focus { background: var(--navy-deep); border-color: var(--navy-deep); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; flex-shrink: 0; background: var(--navy-deep); color: #fff; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar .brand { background: var(--navy); padding: .9rem 1rem; display: block; }
.admin-sidebar .brand img { width: 100%; height: auto; max-height: 64px; object-fit: contain; }
.admin-sidebar .nav-section { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: rgba(255,255,255,.45); padding: 1.2rem 1.3rem .4rem; }
.admin-sidebar a.nav-item-link { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.8); padding: .6rem 1.3rem; text-decoration: none; border-left: 3px solid transparent; }
.admin-sidebar a.nav-item-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-sidebar a.nav-item-link.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--gold); }
.admin-sidebar .badge { margin-left: auto; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { background: #fff; border-bottom: 1px solid #e5e8ef; padding: .75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.admin-content { padding: 1.75rem; }
.page-title { font-size: 1.45rem; font-weight: 700; margin: 0; }
@media (max-width: 991.98px) {
  .admin-sidebar { position: fixed; left: -260px; z-index: 1050; transition: left .25s; }
  .admin-sidebar.open { left: 0; box-shadow: 0 0 40px rgba(0,0,0,.4); }
  .admin-content { padding: 1rem; }
}
.admin-card { border: 1px solid #e5e8ef; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.03); }
.admin-card .card-header { background: #fff; border-bottom: 1px solid #eef0f4; }
.stat-tile { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid #e5e8ef; border-radius: 12px; padding: 1rem 1.2rem; color: inherit; height: 100%; }
.stat-tile:hover { border-color: var(--navy); }
.stat-tile .ico { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 1.3rem; }
.stat-tile .val { font-size: 1.6rem; font-weight: 700; line-height: 1; color: #1d2433; }
.stat-tile .lbl { color: #6b7385; font-size: .85rem; }
.thumb { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; display: block; }
.album-cover { height: 180px; object-fit: cover; }
.media-thumb { position: relative; aspect-ratio: 4/3; background: #e9ecf2; border-radius: 12px 12px 0 0; overflow: hidden; }
.media-thumb img, .media-thumb video { width: 100%; height: 100%; object-fit: cover; }
.media-type { position: absolute; left: .5rem; bottom: .5rem; }
.cover-badge { position: absolute; right: .5rem; top: .5rem; }
.media-card.is-cover { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.dropzone { position: relative; border: 2px dashed #c6cbd6; border-radius: 12px; padding: 1.6rem; text-align: center; background: #fafbfd; transition: .2s; }
.dropzone.over { border-color: var(--navy); background: #eef3fb; }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.status-new { background: #0d6efd; } .status-contacted { background: #fd7e14; } .status-converted { background: #198754; } .status-closed { background: #6c757d; }
.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); padding: 1rem; }
.login-card { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.login-brand { background: var(--navy); padding: 1.4rem; text-align: center; }
.login-brand img { height: 56px; max-width: 100%; object-fit: contain; }
