/* App Customization + logo branding kustom di Admin Web. Hanya menambah gaya; desain halaman lain tidak diubah. */

/* ---- logo kustom pada komponen .brand (login + sidebar) ---- */
.brand { min-width: 0; }
.brand__mark.has-logo { width: auto; min-width: 30px; max-width: 96px; background: transparent; color: inherit; overflow: hidden; }
.brand__logo { display: block; height: 30px; width: auto; max-width: 96px; object-fit: contain; border-radius: 8px; }
.brand--lg .brand__mark.has-logo { min-width: 34px; max-width: 112px; }
.brand--lg .brand__logo { height: 34px; max-width: 112px; border-radius: 9px; }
.brand__name { min-width: 0; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.brand--lg .brand__name { max-width: 220px; }

/* ---- halaman App Customization ---- */
.ac-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.ac-side { position: sticky; top: 84px; }
.ac-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ac-logo-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ac-logo { flex: none; display: grid; place-items: center; width: 132px; height: 132px; padding: 10px; border-radius: var(--r-lg); border: 1px dashed var(--line-strong); background: var(--wash); overflow: hidden; }
.ac-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.ac-logo__ph { color: var(--muted); font-size: 12.5px; text-align: center; }
.ac-logo__ph--mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--fg); color: var(--c-black); font: 800 26px var(--f-display); letter-spacing: -0.06em; }
.ac-logo-side { flex: 1 1 200px; min-width: 0; }
.ac-logo-side small { overflow-wrap: anywhere; }
.ac-counter { justify-self: end; }
.ac-reset { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.ac-prev { display: grid; gap: 8px; }
.ac-prev__label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.ac-prev__surface { display: flex; align-items: center; min-height: 64px; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.ac-prev__surface--app { background: #0b0c10; }
.ac-prev__surface--admin { background: var(--c-black); }
.ac-prev__surface--center { justify-content: center; min-height: 88px; }
.ac-prev__surface .brand { margin: 0; max-width: 100%; }
.ac-prev__surface .brand__name { max-width: 160px; }
@media (max-width: 1100px) { .ac-grid { grid-template-columns: minmax(0, 1fr); } .ac-side { position: static; } }
