/* V36.7.53 — Admin theme component installer and safe brand mark sizing. */
.theme-import-analysis {
  display:grid; gap:12px; margin-top:10px; padding:14px;
  border:1px solid var(--border-color,rgba(148,163,184,.35));
  border-radius:14px; background:var(--bg-surface,rgba(20,28,48,.62));
  color:var(--text-main,inherit); min-width:0; overflow:hidden;
}
.theme-import-analysis[hidden],.theme-import-option-group[hidden]{display:none!important}
.theme-import-analysis-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.theme-import-analysis-head strong{font-size:15px}
.theme-import-analysis-head p{margin:4px 0 0;color:var(--text-muted);font-size:12px}
.theme-import-safe-badge{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:rgba(16,185,129,.12);color:#159568;border:1px solid rgba(16,185,129,.28);font-size:11px;font-weight:800}
.theme-import-change-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px;min-width:0}
.theme-import-change-item{min-width:0;padding:10px 11px;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-card,rgba(15,23,42,.28))}
.theme-import-change-item strong{display:block;font-size:13px}
.theme-import-change-item p{margin:4px 0 0;color:var(--text-muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.theme-import-file-list{min-width:0;padding:10px 11px;border-radius:10px;background:rgba(120,140,170,.08);border:1px dashed var(--border-color);font-size:12px;overflow-wrap:anywhere}
.theme-import-file-list ul{margin:6px 0 0 18px;padding:0;overflow-wrap:anywhere}
.theme-import-file-list li{margin:3px 0;overflow-wrap:anywhere}
.theme-import-option-group{display:grid;gap:7px;min-width:0}
.theme-import-option-group label,.theme-import-mode-label{font-weight:750;font-size:12px}
.theme-import-confirm-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.theme-import-confirm-row button{min-width:min(150px,100%)}
.theme-import-analysis .form-control{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
#theme-analyze-button[aria-busy="true"],#theme-import-confirm[aria-busy="true"]{cursor:progress;opacity:.8}

/* Brand logo is a home/navigation mark only: no spin, burst, jump or press animation. */
.app-header a.brand,
.app-header a.brand:hover,
.app-header a.brand:active,
.app-header a.brand:focus,
.app-header a.brand:focus-visible,
.app-header .brand-icon,
.app-header .brand-icon:hover,
.app-header .brand-icon:active,
.app-header .brand-icon:focus,
.app-header .brand-icon:focus-visible,
.app-header .brand-icon.is-burst,
.app-header .brand-icon.cinema-icon-burst {
  transform:none!important; rotate:0deg!important; animation:none!important; transition:none!important;
}
.app-header .brand-icon {
  cursor:inherit!important; overflow:visible!important; box-sizing:border-box!important;
  width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
  flex:0 0 48px!important;padding:0!important;display:grid!important;place-items:center!important;
}
.app-header .brand-icon img,
.app-header a.brand:hover .brand-icon img,
.app-header a.brand:active .brand-icon img,
.app-header .brand-icon:hover img,
.app-header .brand-icon:active img,
.app-header .brand-icon.is-burst img,
.app-header .brand-icon.cinema-icon-burst img {
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;overflow:visible!important;clip-path:none!important;
  box-sizing:border-box!important;padding:2px!important;margin:0!important;
  transform:none!important;rotate:0deg!important;animation:none!important;transition:none!important;
}
@media(max-width:600px){.app-header .brand-icon{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex-basis:42px!important}}
@media(prefers-reduced-motion:reduce){.theme-import-analysis *,.app-header a.brand,.app-header .brand-icon,.app-header .brand-icon img{animation:none!important;transition:none!important}}
