/* =========================================================
   SPLG v1.3.49 — SLIM PRECISION UI
   Final density layer: slimmer sidebars/cards/tables, smaller
   number/status/action controls, lighter typography.
   Theme colors and application features are untouched.
   ========================================================= */

/* ---------- ADMIN SHELL: narrower and calmer ---------- */
@media (min-width:921px){
  body.splg-admin-v41 .splg-admin-layout{
    grid-template-columns:218px minmax(0,1fr)!important;
  }
  body.splg-admin-v41 .splg-sidebar{
    width:218px!important;
    padding:10px 9px!important;
  }
}
body.splg-admin-v41 .splg-logo-block{
  height:82px!important;
  margin-bottom:4px!important;
}
body.splg-admin-v41 .splg-logo-ring{
  width:50px!important;
  height:50px!important;
  border-radius:14px!important;
  box-shadow:0 0 14px color-mix(in srgb,var(--splg-green) 8%,transparent)!important;
}
body.splg-admin-v41 .splg-logo-ring img,
body.splg-admin-v41 .splg-logo-ring span{
  width:38px!important;
  height:38px!important;
  border-radius:10px!important;
}
body.splg-admin-v41 .splg-sidebar-title{
  padding:0 9px!important;
  margin:9px 0 5px!important;
  font-size:8px!important;
  font-weight:550!important;
  letter-spacing:.09em!important;
}
body.splg-admin-v41 .splg-nav{gap:2px!important}
body.splg-admin-v41 .splg-nav a{
  min-height:35px!important;
  padding:0 9px!important;
  margin:0!important;
  border-radius:8px!important;
  font-size:11.5px!important;
  font-weight:550!important;
  box-shadow:none!important;
}
body.splg-admin-v41 .splg-nav a i{font-size:13px!important}
body.splg-admin-v41 .splg-nav a:hover,
body.splg-admin-v41 .splg-nav a.active{
  box-shadow:none!important;
}

body.splg-admin-v41 .splg-topbar{
  min-height:52px!important;
  height:52px!important;
  padding:6px 16px!important;
  box-shadow:0 8px 20px rgba(0,0,0,.14)!important;
}
body.splg-admin-v41 .splg-content{
  padding:16px 18px 36px!important;
}
body.splg-admin-v41 .splg-search{height:35px!important;border-radius:9px!important}
body.splg-admin-v41 .splg-top-action-v48{height:32px!important;min-height:32px!important;font-size:11px!important;border-radius:8px!important}
body.splg-admin-v41 .splg-profile-btn{height:37px!important;min-height:37px!important;border-radius:9px!important}

/* ---------- ADMIN TITLES / CARDS ---------- */
body.splg-admin-v41 .admin-title,
body.splg-admin-v41 .admin-title-v24{
  padding:14px 16px!important;
  margin-bottom:11px!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
body.splg-admin-v41 .admin-title h1,
body.splg-admin-v41 .admin-title-v24 h1{
  font-size:23px!important;
  font-weight:650!important;
  letter-spacing:-.02em!important;
}
body.splg-admin-v41 .admin-title p,
body.splg-admin-v41 .admin-title-v24 p{
  margin-top:4px!important;
  font-size:11.5px!important;
  font-weight:400!important;
}
body.splg-admin-v41 .admin-eyebrow{
  height:19px!important;
  padding:0 7px!important;
  margin-bottom:6px!important;
  border-radius:6px!important;
  font-size:8px!important;
  font-weight:600!important;
}

body.splg-admin-v41 .panel,
body.splg-admin-v41 .panel-v24,
body.splg-admin-v41 .splg-panel,
body.splg-admin-v41 .ts-card,
body.splg-admin-v41 .ts-section,
body.splg-admin-v41 .settings-tab-card,
body.splg-admin-v41 .settings-inline-card,
body.splg-admin-v41 .user-action-card-v330,
body.splg-admin-v41 .album-manager-section-v145,
body.splg-admin-v41 .profile-card-v51{
  padding:12px 13px!important;
  border-radius:10px!important;
  box-shadow:0 8px 22px rgba(0,0,0,.10)!important;
}
body.splg-admin-v41 .panel h2,
body.splg-admin-v41 .panel-v24 h2,
body.splg-admin-v41 .splg-panel h2,
body.splg-admin-v41 .ts-card h2,
body.splg-admin-v41 .ts-section h2,
body.splg-admin-v41 .profile-card-v51 h2{
  font-size:15px!important;
  font-weight:600!important;
}
body.splg-admin-v41 .panel h3,
body.splg-admin-v41 .panel-v24 h3,
body.splg-admin-v41 .ts-card h3,
body.splg-admin-v41 .ts-section h3{
  font-size:13px!important;
  font-weight:600!important;
}
body.splg-admin-v41 .panel p,
body.splg-admin-v41 .panel-v24 p,
body.splg-admin-v41 .ts-card p,
body.splg-admin-v41 .ts-section p{
  font-size:11px!important;
  line-height:1.42!important;
  font-weight:400!important;
}

/* ---------- COMPACT SUMMARY CARDS ---------- */
body.splg-admin-v41 .stat-card,
body.splg-admin-v41 .splg-stat-card,
body.splg-admin-v41 .users-summary-item{
  min-height:68px!important;
  padding:10px 11px!important;
  border-radius:9px!important;
  box-shadow:none!important;
}
body.splg-admin-v41 .stat-card strong,
body.splg-admin-v41 .splg-stat-card strong,
body.splg-admin-v41 .users-summary-item strong{
  margin-top:7px!important;
  font-size:20px!important;
  font-weight:650!important;
}
body.splg-admin-v41 .stat-card small,
body.splg-admin-v41 .splg-stat-card small,
body.splg-admin-v41 .users-summary-item small,
body.splg-admin-v41 .users-summary-item span{
  font-size:8px!important;
  font-weight:550!important;
}

/* ---------- TABLES: flatter, shorter, straighter ---------- */
body.splg-admin-v41 .table-wrap,
body.splg-admin-v41 .table-wrap-v24{
  border-radius:9px!important;
  box-shadow:none!important;
}
body.splg-admin-v41 .table-wrap th,
body.splg-admin-v41 .table-wrap-v24 th,
body.splg-admin-v41 .admin-table-v24 th,
body.splg-admin-v41 .panel th{
  height:34px!important;
  padding:7px 9px!important;
  font-size:8.5px!important;
  font-weight:600!important;
  letter-spacing:.045em!important;
  line-height:1.15!important;
}
body.splg-admin-v41 .table-wrap td,
body.splg-admin-v41 .table-wrap-v24 td,
body.splg-admin-v41 .admin-table-v24 td,
body.splg-admin-v41 .panel td{
  padding:8px 9px!important;
  font-size:11.5px!important;
  font-weight:400!important;
  line-height:1.28!important;
}
body.splg-admin-v41 .table-wrap tr,
body.splg-admin-v41 .table-wrap-v24 tr,
body.splg-admin-v41 .admin-table-v24 tr{
  box-shadow:none!important;
}
body.splg-admin-v41 .tbl-thumb{
  width:46px!important;
  height:38px!important;
  border-radius:6px!important;
}
body.splg-admin-v41 .images-admin-table th:nth-child(1),
body.splg-admin-v41 .images-admin-table td:nth-child(1){width:36px!important;min-width:36px!important;padding-left:8px!important;padding-right:5px!important}
body.splg-admin-v41 .images-admin-table th:nth-child(2),
body.splg-admin-v41 .images-admin-table td:nth-child(2){width:42px!important;min-width:42px!important;text-align:center!important;padding-left:4px!important;padding-right:4px!important}

/* Kill the oversized bubble look */
body.splg-admin-v41 .table-index-pill,
body.splg-admin-v41 td.num .table-index-pill,
body.splg-admin-v41 .num .table-index-pill{
  width:22px!important;
  min-width:22px!important;
  max-width:22px!important;
  height:22px!important;
  min-height:22px!important;
  padding:0!important;
  border-radius:7px!important;
  background:rgba(103,232,249,.055)!important;
  border:1px solid rgba(103,232,249,.14)!important;
  box-shadow:none!important;
  font-size:9px!important;
  font-weight:550!important;
  letter-spacing:0!important;
}
body.splg-admin-v41 .pill,
body.splg-admin-v41 .update-badge-v110,
body.splg-admin-v41 .album-count-pill,
body.splg-admin-v41 .role-pill-v49,
body.splg-admin-v41 .status-pill-v49,
body.splg-admin-v41 .approval-pill{
  min-height:21px!important;
  height:21px!important;
  padding:0 7px!important;
  border-radius:7px!important;
  box-shadow:none!important;
  font-size:8.5px!important;
  font-weight:550!important;
  letter-spacing:0!important;
}
body.splg-admin-v41 input[type=checkbox]{
  width:15px!important;
  height:15px!important;
  min-height:15px!important;
}

/* Action control should read as a control, not a bubble */
body.splg-admin-v41 .action-dots-v327,
body.splg-admin-v41 .action-menu-trigger-v326{
  width:27px!important;
  min-width:27px!important;
  height:27px!important;
  min-height:27px!important;
  padding:0 0 4px!important;
  border-radius:7px!important;
  font-size:16px!important;
  font-weight:600!important;
  letter-spacing:1px!important;
  box-shadow:none!important;
}
body.splg-admin-v41 .images-admin-table th.image-action-head,
body.splg-admin-v41 .images-admin-table td.image-action-cell,
body.splg-admin-v41 .album-admin-table th:last-child,
body.splg-admin-v41 .album-admin-table td.album-action-cell,
body.splg-admin-v41 .users-admin-table th:last-child,
body.splg-admin-v41 .users-admin-table td.users-action-cell,
body.splg-admin-v41 .registration-history-table th:last-child,
body.splg-admin-v41 .registration-history-table td.registration-history-actions{
  width:50px!important;
  min-width:50px!important;
  max-width:50px!important;
  padding-left:6px!important;
  padding-right:6px!important;
}
body.splg-admin-v41 .action-menu-panel-v326{
  width:220px!important;
  padding:6px!important;
  border-radius:10px!important;
  box-shadow:0 16px 42px rgba(0,0,0,.34)!important;
}
body.splg-admin-v41 .action-menu-head-v326{padding:7px 8px!important}
body.splg-admin-v41 .action-menu-item-v326{
  min-height:34px!important;
  padding:6px 8px!important;
  border-radius:7px!important;
  font-size:11px!important;
  font-weight:500!important;
}
body.splg-admin-v41 .action-menu-item-v326 small{font-size:9px!important;font-weight:400!important}

/* Inputs / buttons */
body.splg-admin-v41 .btn,
body.splg-admin-v41 button.btn,
body.splg-admin-v41 a.btn{
  min-height:32px!important;
  padding:0 10px!important;
  border-radius:7px!important;
  font-size:11px!important;
  font-weight:550!important;
}
body.splg-admin-v41 input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.splg-admin-v41 select{
  min-height:35px!important;
  height:35px!important;
  padding:0 9px!important;
  border-radius:7px!important;
  font-size:11.5px!important;
  font-weight:400!important;
}
body.splg-admin-v41 textarea{
  min-height:74px!important;
  padding:8px 9px!important;
  border-radius:7px!important;
  font-size:11.5px!important;
}
body.splg-admin-v41 .form-stack label,
body.splg-admin-v41 .wide-form label,
body.splg-admin-v41 .panel label,
body.splg-admin-v41 .field label{
  font-size:10.5px!important;
  font-weight:550!important;
}

/* Update History specifically: less chunky */
body.splg-admin-v41 .updates-manager-v134 table td{
  vertical-align:top!important;
}
body.splg-admin-v41 .updates-manager-v134 table td:last-child{
  font-size:10.5px!important;
  line-height:1.32!important;
  font-weight:400!important;
}
body.splg-admin-v41 .compact-pagination-bar,
body.splg-admin-v41 .manager-table-footer-v134,
body.splg-admin-v41 .table-footer-v24,
body.splg-admin-v41 .images-pagination-footer{
  min-height:42px!important;
  padding:7px 9px!important;
  font-size:9.5px!important;
}

/* ---------- USER: same visual density ---------- */
@media (min-width:901px){
  body.user-v44{--user-sidebar-w:218px!important}
  body.user-v44 .user-sidebar{width:218px!important;padding:9px!important}
}
body.user-v44 .user-brand{min-height:78px!important;padding:8px 6px!important}
body.user-v44 .user-mark{width:46px!important;height:46px!important;border-radius:13px!important}
body.user-v44 .user-nav{gap:2px!important}
body.user-v44 .user-nav a{min-height:35px!important;padding:0 9px!important;border-radius:8px!important;font-size:11.5px!important;font-weight:550!important}
body.user-v44 .user-topbar{min-height:52px!important;height:52px!important;padding-top:6px!important;padding-bottom:6px!important}
body.user-v44 .user-page{padding-top:16px!important;padding-bottom:34px!important}
body.user-v44 .user-hero{padding:14px 16px!important;border-radius:11px!important;margin-bottom:10px!important;box-shadow:none!important}
body.user-v44 .user-hero h1{font-size:24px!important;font-weight:650!important}
body.user-v44 .user-card,
body.user-v44 .user-panel,
body.user-v44 .user-home-box,
body.user-v44 .user-list-card,
body.user-v44 .album-manager-section-v145{
  padding:11px 12px!important;
  border-radius:10px!important;
  box-shadow:0 8px 22px rgba(0,0,0,.10)!important;
}
body.user-v44 .user-stat{min-height:70px!important;padding:10px!important}
body.user-v44 .user-stat strong{font-size:20px!important;font-weight:650!important;margin-top:6px!important}
body.user-v44 .user-table th{padding:7px 9px!important;font-size:8.5px!important;font-weight:600!important}
body.user-v44 .user-table td{padding:8px 9px!important;font-size:11.5px!important;font-weight:400!important}
body.user-v44 .table-index-pill{width:22px!important;min-width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;border-radius:7px!important;font-size:9px!important;font-weight:550!important;box-shadow:none!important}
body.user-v44 .action-menu-trigger-v326{width:27px!important;height:27px!important;min-height:27px!important;border-radius:7px!important;font-size:16px!important;box-shadow:none!important}

/* ---------- MOBILE: keep touchability ---------- */
@media (max-width:920px){
  body.splg-admin-v41 .splg-content{padding:13px 11px 30px!important}
  body.splg-admin-v41 .splg-sidebar{width:100%!important}
  body.user-v44 .user-page{padding:12px 10px 30px!important}
}
@media (max-width:620px){
  body.splg-admin-v41 .btn,
  body.user-v44 .user-btn{min-height:34px!important}
  body.splg-admin-v41 .table-wrap td,
  body.splg-admin-v41 .table-wrap-v24 td,
  body.user-v44 .user-table td{padding-top:8px!important;padding-bottom:8px!important}
}
