:root { --sidebar-w: 240px; --mp-bg: #f5f7fb; }
body { background: var(--mp-bg); }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-w); background: #111827 !important; color: #cbd5e1; display: flex; flex-direction: column; }
@media (min-width: 992px) { .sidebar { position: sticky; top: 0; height: 100vh; } }
.sidebar-brand { font-weight: 700; font-size: 1.15rem; color: #fff; padding: 1.1rem 1.25rem; }
.sidebar-brand i { color: #60a5fa; }
.nav-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: #64748b; padding: .9rem .8rem .3rem; }
.sidebar .nav-link { display: flex; align-items: center; color: #cbd5e1; border-radius: .5rem; padding: .55rem .8rem; margin-bottom: 2px; }
.sidebar .nav-link i { margin-right: .5rem; }
.sidebar .nav-link:hover { background: #1f2937; color: #fff; }
.sidebar .nav-link.active { background: #2563eb; color: #fff; }
.sidebar-footer { margin-top: auto; padding: 1rem 1.25rem; color: #94a3b8; border-top: 1px solid #1f2937; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: .5rem; padding: .6rem 1.25rem; background: #fff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 10; }
.topbar .form-select { min-width: 160px; }
.content { padding: 1.5rem; }
.card { border: 1px solid #e5e7eb; border-radius: .75rem; }
.stat-card .stat-icon { width: 44px; height: 44px; border-radius: .6rem; display: grid; place-items: center; font-size: 1.3rem; }
.stat-value { font-size: 1.5rem; font-weight: 700; line-height: 1.1; min-width: 2rem; }
.stat-label { font-size: .8rem; color: #6b7280; }
.brand-logo { width: 44px; height: 44px; border-radius: .6rem; object-fit: contain; background: #f3f4f6; }
.brand-initial { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.2rem; }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #e5e7eb; display: inline-block; }
.auth-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #eef2ff, #f5f7fb); }
.auth-card { width: 100%; max-width: 420px; }

.carousel-card { overflow: hidden; transition: transform .15s, box-shadow .15s; }
.carousel-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.carousel-thumb { aspect-ratio: 4 / 5; background: #eef2f7; overflow: hidden; }
.carousel-thumb img { width: 100%; height: 100%; object-fit: contain; }
.carousel-thumb-empty { height: 100%; display: grid; place-items: center; color: #94a3b8; font-size: 2rem; }
.slide-strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.slide-frame { flex: 0 0 300px; margin: 0; scroll-snap-align: start; }
.slide-frame img, .slide-placeholder { width: 100%; border-radius: .6rem; box-shadow: 0 2px 10px rgba(0,0,0,.08); display: block; }
.slide-placeholder { aspect-ratio: 4 / 5; background: #eef2f7; display: grid; place-items: center; }

.reel-thumb { aspect-ratio: 9 / 16; background: #0f172a; overflow: hidden; position: relative; }
.reel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.reel-duration { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.7); color: #fff; font-size: .75rem; padding: 1px 6px; border-radius: 4px; }
.reel-player { border-radius: .75rem; background: #000; max-height: 78vh; }

.format-chip { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid #e5e7eb; border-radius: 999px; padding: .15rem .6rem; font-size: .8rem; background: #fff; cursor: pointer; }
.format-chip:has(input:checked) { border-color: #2563eb; background: #eff6ff; }
.format-chip .form-check-input { margin: 0; }
.media-thumb { aspect-ratio: 1; background: #eef2f7; overflow: hidden; position: relative; }
.media-thumb img, .media-thumb video { width: 100%; height: 100%; object-fit: cover; }

.notif-menu { width: 340px; max-height: 70vh; overflow: auto; }
.approval-thumb { width: 84px; height: 105px; border-radius: .4rem; background: #eef2f7; overflow: hidden; display: grid; place-items: center; }
.approval-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar { overflow-y: auto; }
