/* Wspólne style panelu wyboru szablonu - działają w v1 i v2 */
.ui-template-admin-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.ui-template-card{
  position:relative;
  width:100%;
  appearance:none;
  -webkit-appearance:none;
  font:inherit;
  color:inherit;
  align-items:flex-start;
  flex-direction:column;
  padding:16px;
  min-height:290px;
  text-align:left;
}

.ui-template-card-left{
  width:100%;
  justify-content:space-between;
}

.ui-template-card-state{
  margin-left:auto;
  border-radius:999px;
  padding:6px 10px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.10);
  font-size:12px;
}

.ui-template-swatch{
  width:18px;
  height:18px;
  border-radius:7px;
}

.ui-template-swatch-v1{
  background:linear-gradient(135deg, #5aa7ff 0%, #0f1724 100%);
}

.ui-template-swatch-v2{
  background:linear-gradient(135deg, #6cb6ff 0%, #132031 100%);
}

.ui-template-preview{
  width:100%;
  margin-top:auto;
  border:1px solid rgba(255,255,255,0.10);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,0.06);
}

.ui-template-preview-topbar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.ui-template-preview-topbar span{
  width:12px;
  height:12px;
  border-radius:999px;
  background:rgba(255,255,255,0.18);
}

.ui-template-preview-body{
  display:grid;
  grid-template-columns:82px 1fr;
  min-height:150px;
}

.ui-template-preview-sidebar{
  padding:10px;
  border-right:1px solid rgba(255,255,255,0.08);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.ui-template-preview-pill,
.ui-template-preview-card,
.ui-template-preview-row{
  border-radius:12px;
}

.ui-template-preview-pill{
  height:18px;
  background:rgba(255,255,255,0.14);
}

.ui-template-preview-pill.short{
  width:70%;
}

.ui-template-preview-main{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.ui-template-preview-card{
  height:44px;
  background:rgba(255,255,255,0.12);
}

.ui-template-preview-table{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ui-template-preview-row{
  height:28px;
  background:rgba(255,255,255,0.10);
}

.ui-template-preview-v1{
  background:linear-gradient(180deg, rgba(14,22,34,0.96) 0%, rgba(10,16,26,0.98) 100%);
}

.ui-template-preview-v2{
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(90,167,255,0.12) 0%, rgba(0,0,0,0) 62%),
    linear-gradient(180deg, rgba(16,26,40,0.98) 0%, rgba(9,15,24,0.98) 100%);
}

@media (max-width: 900px){
  .ui-template-admin-grid{
    grid-template-columns:1fr;
  }

  .ui-template-card{
    min-height:250px;
  }
}

html[data-ui-template="v2"]{
  color-scheme:dark;
  --bg:#0b1018;
  --bg2:#0a0f17;
  --surface:#121b29;
  --surface2:#0f1825;
  --surface3:#0c1320;
  --text:#eef3ff;
  --muted:#a7b6d6;
  --border:rgba(255,255,255,0.08);
  --border2:rgba(255,255,255,0.14);
  --glow1:rgba(90,167,255,0.12);
  --glow2:rgba(57,211,159,0.08);
  --radius-xl:24px;
  --radius-lg:18px;
  --radius-md:14px;
  --radius-sm:12px;
  --shadow:0 24px 70px rgba(0,0,0,0.42);
  --shadow2:0 16px 34px rgba(0,0,0,0.28);
  --content-max:1520px;
  --gutter:20px;
  --topbar-h:68px;
}

html[data-ui-template="v2"] body{
  font-size:15px;
  line-height:1.58;
  background:var(--bg);
}

html[data-ui-template="v2"] body::before{
  background:
    radial-gradient(980px 680px at 18% 0%, rgba(90,167,255,0.12) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(960px 680px at 84% 10%, rgba(57,211,159,0.07) 0%, rgba(0,0,0,0) 58%),
    linear-gradient(180deg, #0c1220 0%, #0a1018 42%, #070b12 100%);
}

html[data-ui-template="v2"] body::after{
  opacity:.06;
}

html[data-ui-template="v2"] a{color:inherit}
html[data-ui-template="v2"] .muted{color:var(--muted)}
html[data-ui-template="v2"] .crumb,
html[data-ui-template="v2"] .brand-link,
html[data-ui-template="v2"] h1,
html[data-ui-template="v2"] h2,
html[data-ui-template="v2"] h3{
  color:var(--text);
}

html[data-ui-template="v2"] .layout{
  gap:18px;
}

html[data-ui-template="v2"] .sidebar{
  width:280px;
  padding:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(180deg, #10192a 0%, #0d1522 72%, #09111a 100%);
  border-color:rgba(255,255,255,0.08);
  box-shadow:0 28px 72px rgba(0,0,0,0.34);
}

html[data-ui-template="v2"] .brand{
  margin-bottom:14px;
}

html[data-ui-template="v2"] .nav{
  gap:12px;
  padding-right:4px;
}

html[data-ui-template="v2"] .nav-group > summary.nav-group-title{
  min-height:48px;
  border-radius:16px;
  border-color:rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.025);
}

html[data-ui-template="v2"] .nav-group > summary.nav-group-title:hover,
html[data-ui-template="v2"] .nav-sub > summary.nav-sub-title:hover,
html[data-ui-template="v2"] .nav-item:hover{
  border-color:rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.045);
}

html[data-ui-template="v2"] .nav-sub{
  padding-left:12px;
}

html[data-ui-template="v2"] .nav-sub > summary.nav-sub-title,
html[data-ui-template="v2"] .nav-item{
  min-height:44px;
  border-radius:15px;
}

html[data-ui-template="v2"] .nav-item.active{
  background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 20%, rgba(255,255,255,0.03)) 0%, color-mix(in srgb, var(--accent) 12%, rgba(255,255,255,0.02)) 100%);
  border-color:color-mix(in srgb, var(--accent) 40%, rgba(255,255,255,0.08));
  box-shadow:0 10px 22px rgba(0,0,0,0.18);
}

html[data-ui-template="v2"] .nav-auth{
  border-top-color:rgba(255,255,255,0.08);
}

html[data-ui-template="v2"] .nav-auth-btn{
  min-height:46px;
}

html[data-ui-template="v2"] .topbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  min-height:72px;
  padding:16px 18px;
  background:
    linear-gradient(180deg, rgba(18,28,42,0.90) 0%, rgba(13,20,32,0.86) 100%);
  border-color:rgba(255,255,255,0.08);
  box-shadow:0 18px 34px rgba(0,0,0,0.22);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

html[data-ui-template="v2"] .topbar-left{
  min-width:0;
  gap:12px;
}

@media (min-width: 1200px){
  html[data-ui-template="v2"] .topbar-left.has-shortcuts{
    display:flex;
    align-items:center;
    gap:14px;
    flex:1 1 auto;
  }

  html[data-ui-template="v2"] .topbar-shortcuts{
    gap:12px;
    justify-content:flex-start;
    flex:0 1 auto;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
  }

  html[data-ui-template="v2"] .topbar-shortcuts::-webkit-scrollbar{display:none}

  html[data-ui-template="v2"] .topbar-shortcut{
    min-height:42px;
    max-width:180px;
    border-radius:14px;
  }

  html[data-ui-template="v2"] .topbar-left.has-shortcuts .crumb{
    margin-left:auto;
    max-width:280px;
    text-align:right;
  }
}

html[data-ui-template="v2"] .crumb{
  font-size:16px;
  font-weight:950;
}

html[data-ui-template="v2"] .topbar-right{
  gap:12px;
  align-items:stretch;
}

html[data-ui-template="v2"] .topbar-right:empty{
  display:none;
}

html[data-ui-template="v2"] .topbar-right > .btn,
html[data-ui-template="v2"] .topbar-right > a.btn,
html[data-ui-template="v2"] .topbar-right > form .btn{
  min-width:140px;
  min-height:42px;
}

html[data-ui-template="v2"] .topbar-shortcut.active{
  background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 20%, rgba(255,255,255,0.04)) 0%, color-mix(in srgb, var(--accent) 12%, rgba(255,255,255,0.02)) 100%);
  border-color:color-mix(in srgb, var(--accent) 42%, rgba(255,255,255,0.10));
  box-shadow:0 12px 26px rgba(0,0,0,0.22);
}

html[data-ui-template="v2"] .content{
  max-width:1540px;
  padding:20px var(--gutter) calc(var(--gutter) + var(--footer-h));
}

html[data-ui-template="v2"] .content > *,
html[data-ui-template="v2"] #mcResults > *{
  margin-bottom:18px;
}

html[data-ui-template="v2"] .divider{
  background:rgba(255,255,255,0.08);
  margin:18px 0;
}

html[data-ui-template="v2"] .card,
html[data-ui-template="v2"] .table-wrap{
  border-color:rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(180deg, #121b29 0%, #0f1724 100%);
  box-shadow:var(--shadow2);
}

html[data-ui-template="v2"] .card{
  padding:18px 20px;
  border-radius:24px;
}

html[data-ui-template="v2"] .card-sub{
  padding:14px 16px;
  border-radius:18px;
  border-color:rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .btn{
  min-height:42px;
  padding:10px 16px;
  border-radius:14px;
  border-color:rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.035);
  font-size:14px;
}

html[data-ui-template="v2"] .btn:hover{
  background:rgba(255,255,255,0.06);
  border-color:rgba(255,255,255,0.16);
}

html[data-ui-template="v2"] .btn-primary{
  background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, rgba(255,255,255,0.04)) 0%, color-mix(in srgb, var(--accent) 14%, rgba(255,255,255,0.02)) 100%);
  border-color:color-mix(in srgb, var(--accent) 44%, rgba(255,255,255,0.08));
}

html[data-ui-template="v2"] .btn-primary:hover{
  background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 28%, rgba(255,255,255,0.04)) 0%, color-mix(in srgb, var(--accent) 18%, rgba(255,255,255,0.02)) 100%);
}

html[data-ui-template="v2"] .btn-danger{
  background:rgba(255,90,107,0.14);
  border-color:rgba(255,90,107,0.34);
}

html[data-ui-template="v2"] .btn-small{
  min-height:38px;
  padding:8px 12px;
  border-radius:13px;
}

html[data-ui-template="v2"] input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"] select,
html[data-ui-template="v2"] textarea{
  min-height:46px;
  padding:11px 14px;
  border-radius:14px;
  border-color:rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.04);
}

html[data-ui-template="v2"] textarea{
  min-height:120px;
}

html[data-ui-template="v2"] input::placeholder,
html[data-ui-template="v2"] textarea::placeholder{
  color:rgba(167,182,214,0.78);
}

html[data-ui-template="v2"] .field > span,
html[data-ui-template="v2"] .label{
  color:rgba(167,182,214,0.96);
  font-weight:800;
  letter-spacing:.01em;
}

html[data-ui-template="v2"] .field input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"] .field select,
html[data-ui-template="v2"] .field textarea{
  width:100%;
}

html[data-ui-template="v2"] .grid-2,
html[data-ui-template="v2"] .grid-3,
html[data-ui-template="v2"] .grid-4,
html[data-ui-template="v2"] .grid2,
html[data-ui-template="v2"] .settings-grid{
  gap:16px;
}

html[data-ui-template="v2"] .parts-filters-row{
  gap:14px;
  align-items:stretch;
}

html[data-ui-template="v2"] .parts-filters-row .input-grow{
  flex:1 1 460px;
  min-width:260px;
}

html[data-ui-template="v2"] .parts-filters-actions{
  margin-left:auto;
  gap:10px;
  align-items:stretch;
}

html[data-ui-template="v2"] .parts-filters-actions .btn,
html[data-ui-template="v2"] .form-actions .btn,
html[data-ui-template="v2"] .form-actions a.btn,
html[data-ui-template="v2"] .actions-inline > .btn,
html[data-ui-template="v2"] .actions-inline > a.btn,
html[data-ui-template="v2"] .detail-media-actions .btn,
html[data-ui-template="v2"] .detail-media-actions a.btn,
html[data-ui-template="v2"] .file-tile-actions .btn,
html[data-ui-template="v2"] .task-actions-grid .btn,
html[data-ui-template="v2"] .task-actions-grid a.btn,
html[data-ui-template="v2"] .lot-price-form .lot-actions .btn,
html[data-ui-template="v2"] .lot-form .lot-actions .btn{
  min-width:136px;
  justify-content:center;
}

html[data-ui-template="v2"] .table-wrap{
  border-radius:24px;
  overflow:hidden;
}

html[data-ui-template="v2"] .table thead th{
  padding:16px 14px;
  background:rgba(255,255,255,0.025);
  border-bottom-color:rgba(255,255,255,0.08);
  color:#9fb0d0;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

html[data-ui-template="v2"] .table tbody td{
  padding:18px 14px;
  border-bottom-color:rgba(255,255,255,0.08);
  vertical-align:middle;
}

html[data-ui-template="v2"] .parts-main-table .col-thumb{width:94px}
html[data-ui-template="v2"] .parts-main-table .col-stock{width:124px}
html[data-ui-template="v2"] .parts-main-table .col-price{width:156px}
html[data-ui-template="v2"] .parts-main-table .col-location{width:198px}
html[data-ui-template="v2"] .parts-main-table .col-actions{width:84px}
html[data-ui-template="v2"] .parts-main-table.tools-main-table .col-status,
html[data-ui-template="v2"] .parts-main-table.equipment-main-table .col-status{width:156px}
html[data-ui-template="v2"] .parts-main-table.tools-main-table .col-location,
html[data-ui-template="v2"] .parts-main-table.equipment-main-table .col-location,
html[data-ui-template="v2"] .parts-main-table.auto-parts-main-table .col-location{width:198px}
html[data-ui-template="v2"] .parts-main-table.tools-main-table .col-warranty,
html[data-ui-template="v2"] .parts-main-table.equipment-main-table .col-warranty{width:150px}
html[data-ui-template="v2"] .parts-main-table.auto-parts-main-table .col-stock{width:126px}
html[data-ui-template="v2"] .parts-main-table.auto-parts-main-table .col-price{width:150px}

html[data-ui-template="v2"] .parts-main-table tbody tr{
  transition:background .14s ease, transform .14s ease;
}

html[data-ui-template="v2"] .parts-main-table tbody tr:hover,
html[data-ui-template="v2"] .table tbody tr:hover{
  background:rgba(255,255,255,0.03);
}

html[data-ui-template="v2"] .parts-main-table .thumb,
html[data-ui-template="v2"] .parts-main-table .thumb-placeholder,
html[data-ui-template="v2"] .part-card .thumb,
html[data-ui-template="v2"] .part-card .thumb-placeholder{
  width:60px;
  height:60px;
  border-radius:18px;
  border-color:rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  box-shadow:none;
}

html[data-ui-template="v2"] .part-name-stack{
  gap:8px;
}

html[data-ui-template="v2"] .part-name-link,
html[data-ui-template="v2"] .link-strong{
  font-size:16px;
  line-height:1.32;
}

html[data-ui-template="v2"] .inventory-name-meta{
  gap:8px 10px;
}

html[data-ui-template="v2"] .inventory-name-meta span{
  min-height:26px;
  padding:4px 10px;
  border-color:rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  color:rgba(238,243,255,0.76);
  font-size:11px;
}

html[data-ui-template="v2"] .part-desc-line,
html[data-ui-template="v2"] .pc-opis{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.46;
}

html[data-ui-template="v2"] .part-stock-stack{
  gap:10px;
}

html[data-ui-template="v2"] .part-price-main,
html[data-ui-template="v2"] .inventory-date-main{
  font-size:17px;
  font-weight:950;
  line-height:1.22;
}

html[data-ui-template="v2"] .part-location-main{
  font-size:15px;
  font-weight:850;
}

html[data-ui-template="v2"] .part-location-sub,
html[data-ui-template="v2"] .inventory-status-sub,
html[data-ui-template="v2"] .task-status-note,
html[data-ui-template="v2"] .task-date-note{
  margin-top:6px;
  font-size:12px;
}

html[data-ui-template="v2"] .part-actions-menu > summary{
  width:44px;
  height:42px;
  border-radius:14px;
}

html[data-ui-template="v2"] .part-actions-panel{
  border-color:rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%),
    rgba(8,12,19,0.96);
  box-shadow:0 22px 44px rgba(0,0,0,0.34);
}

html[data-ui-template="v2"] .part-actions-link{
  min-height:40px;
  border-radius:13px;
}

html[data-ui-template="v2"] .chips{
  gap:10px;
}

html[data-ui-template="v2"] .chip,
html[data-ui-template="v2"] .pill,
html[data-ui-template="v2"] .search-kind-badge,
html[data-ui-template="v2"] .task-priority-pill{
  min-height:28px;
}

html[data-ui-template="v2"] .task-tabs{
  gap:12px;
}

html[data-ui-template="v2"] .task-tab{
  min-height:46px;
  padding:0 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .task-tab:hover{
  border-color:rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.04);
}

html[data-ui-template="v2"] .task-tab.active{
  border-color:color-mix(in srgb, var(--accent) 38%, rgba(255,255,255,0.08));
  background:color-mix(in srgb, var(--accent) 14%, rgba(255,255,255,0.03));
}

html[data-ui-template="v2"] .part-card,
html[data-ui-template="v2"] .table.table-mobile tr{
  border-color:rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%),
    linear-gradient(180deg, #131d2c 0%, #101826 100%);
  box-shadow:var(--shadow2);
}

html[data-ui-template="v2"] .part-card{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:16px;
  padding:16px;
  border-radius:24px;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card{
  display:block;
  grid-template-columns:none;
  gap:0;
  padding:8px 10px;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card::before{
  left:10px;
  right:10px;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card .bulk-subloc-mobile-row{
  display:grid;
  grid-template-columns:18px 46px minmax(0,1fr);
  align-items:center;
  gap:10px;
  width:100%;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card .bulk-subloc-mobile-name{
  min-width:0;
  display:flex;
  align-items:center;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card .bulk-subloc-mobile-link{
  display:block;
  width:100%;
  min-width:0;
  color:var(--text);
  font-weight:900;
  font-size:15px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

html[data-ui-template="v2"] .part-card::before,
html[data-ui-template="v2"] .table.table-mobile tr::before{
  left:16px;
  right:16px;
}

html[data-ui-template="v2"] .pc-top{
  align-items:flex-start;
  gap:14px;
}

html[data-ui-template="v2"] .pc-meta{
  display:grid;
  gap:12px;
}

html[data-ui-template="v2"] .pc-row{
  display:grid;
  gap:4px;
}

html[data-ui-template="v2"] .pc-label{
  color:rgba(167,182,214,0.88);
  font-size:12px;
  font-weight:850;
  letter-spacing:.03em;
  text-transform:uppercase;
}

html[data-ui-template="v2"] .pc-actions{
  margin-top:8px;
}

html[data-ui-template="v2"] .file-tile,
html[data-ui-template="v2"] .detail-rev-box,
html[data-ui-template="v2"] .detail-media-box,
html[data-ui-template="v2"] .media-block,
html[data-ui-template="v2"] .media-section,
html[data-ui-template="v2"] .thumb-box,
html[data-ui-template="v2"] .quick-photo-empty-state{
  background:rgba(255,255,255,0.02);
  border-color:rgba(255,255,255,0.08);
  box-shadow:none;
}

html[data-ui-template="v2"] .quick-photo-card-head{
  margin:0 0 12px 0 !important;
}

html[data-ui-template="v2"] .quick-photo-card-title{
  margin:0 0 8px 0;
  font-size:18px;
  font-weight:950;
  line-height:1.2;
}

html[data-ui-template="v2"] .quick-photo-notice{
  margin-top:8px;
}

html[data-ui-template="v2"] .mobile-bar{
  background:linear-gradient(180deg, rgba(16,24,37,0.72) 0%, rgba(10,16,25,0.96) 100%);
  border-top-color:rgba(255,255,255,0.10);
}

html[data-ui-template="v2"] .mobile-bar-links a{
  min-height:42px;
  border-radius:14px;
}

html[data-ui-template="v2"] .footerbar{
  background:rgba(9,14,22,0.92);
  border-top-color:rgba(255,255,255,0.08);
}

@media (max-width: 1180px){
  html[data-ui-template="v2"] .topbar-right > .btn,
  html[data-ui-template="v2"] .topbar-right > a.btn,
  html[data-ui-template="v2"] .topbar-right > form .btn,
  html[data-ui-template="v2"] .parts-filters-actions .btn,
  html[data-ui-template="v2"] .form-actions .btn,
  html[data-ui-template="v2"] .form-actions a.btn{
    min-width:126px;
  }

  html[data-ui-template="v2"] .parts-main-table .col-thumb{width:84px}
  html[data-ui-template="v2"] .parts-main-table .col-stock{width:114px}
  html[data-ui-template="v2"] .parts-main-table .col-price{width:146px}
  html[data-ui-template="v2"] .parts-main-table .col-location{width:182px}
}

@media (max-width: 900px){
  html[data-ui-template="v2"]{
    --gutter:16px;
    --content-max:100%;
    --radius-xl:22px;
    --radius-lg:18px;
  }

  html[data-ui-template="v2"] .sidebar{
    width:286px;
  }

  html[data-ui-template="v2"] .topbar{
    grid-template-columns:1fr;
    align-items:flex-start;
    gap:14px;
    min-height:unset;
  }

  html[data-ui-template="v2"] .topbar-right{
    width:100%;
    justify-content:flex-start;
  }

  html[data-ui-template="v2"] .topbar-right > .btn,
  html[data-ui-template="v2"] .topbar-right > a.btn,
  html[data-ui-template="v2"] .topbar-right > form .btn,
  html[data-ui-template="v2"] .parts-filters-actions .btn,
  html[data-ui-template="v2"] .form-actions .btn,
  html[data-ui-template="v2"] .form-actions a.btn{
    flex:1 1 180px;
    min-width:0;
  }

  html[data-ui-template="v2"] .card{
    padding:16px 18px;
  }

  html[data-ui-template="v2"] .part-card{
    grid-template-columns:68px minmax(0,1fr);
    gap:14px;
  }

  html[data-ui-template="v2"] .parts-filters-actions{
    margin-left:0;
    width:100%;
  }

  html[data-ui-template="v2"] .ui-template-admin-grid{
    grid-template-columns:1fr;
  }

  html[data-ui-template="v2"] .ui-template-card{
    min-height:250px;
  }

  html[data-ui-template="v2"] .inventory-editor-page,
  html[data-ui-template="v2"] .dashboard-section-card,
  html[data-ui-template="v2"] .search-toolbar-card,
  html[data-ui-template="v2"] .search-results-card{
    padding:18px;
  }

  html[data-ui-template="v2"] .vehicle-detail-page .file-item{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 640px){
  html[data-ui-template="v2"] .card{
    padding:15px 16px;
  }

  html[data-ui-template="v2"] .parts-filters-row .input-grow{
    min-width:0;
  }

  html[data-ui-template="v2"] .part-card{
    grid-template-columns:64px minmax(0,1fr);
  }

  html[data-ui-template="v2"] .actions-inline,
  html[data-ui-template="v2"] .parts-filters-actions,
  html[data-ui-template="v2"] .form-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  html[data-ui-template="v2"] .actions-inline > .btn,
  html[data-ui-template="v2"] .actions-inline > a.btn,
  html[data-ui-template="v2"] .parts-filters-actions .btn,
  html[data-ui-template="v2"] .form-actions .btn,
  html[data-ui-template="v2"] .form-actions a.btn,
  html[data-ui-template="v2"] .task-actions-grid .btn,
  html[data-ui-template="v2"] .task-actions-grid a.btn,
  html[data-ui-template="v2"] .lot-price-form .lot-actions .btn,
  html[data-ui-template="v2"] .lot-form .lot-actions .btn{
    width:100%;
  }

  html[data-ui-template="v2"] .inventory-editor-page .edit-media-grid,
  html[data-ui-template="v2"] .inventory-editor-page .edit-file-grid,
  html[data-ui-template="v2"] .inventory-editor-page .part-edit-media-grid,
  html[data-ui-template="v2"] .inventory-editor-page .part-edit-file-grid{
    grid-template-columns:1fr;
  }

  html[data-ui-template="v2"] .vehicle-detail-page .vehicle-card-side-note{
    min-width:0;
    text-align:left;
  }
}

html[data-ui-template="v2"] .dashboard-page,
html[data-ui-template="v2"] .search-page-shell{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card{
  display:block;
  grid-template-columns:none;
  gap:0;
  padding:8px 10px;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card::before{
  left:10px;
  right:10px;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card .bulk-subloc-mobile-row{
  display:grid;
  grid-template-columns:18px 46px minmax(0, 1fr);
  align-items:center;
  gap:10px;
  width:100%;
  min-width:0;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card .bulk-subloc-mobile-name{
  min-width:0;
  display:flex;
  align-items:center;
}

html[data-ui-template="v2"] .bulk-subloc-mobile-card .bulk-subloc-mobile-link{
  display:block;
  width:100%;
  min-width:0;
  color:var(--text);
  font-weight:900;
  font-size:15px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

html[data-ui-template="v2"] .dashboard-welcome-card{
  padding:0;
  overflow:hidden;
}

html[data-ui-template="v2"] .dashboard-welcome-hero{
  padding:30px 22px;
  background:
    radial-gradient(120% 220% at 10% 0%, rgba(70,120,255,.18), rgba(70,120,255,0) 48%),
    radial-gradient(120% 220% at 100% 100%, rgba(0,210,170,.14), rgba(0,210,170,0) 50%);
}

html[data-ui-template="v2"] .dashboard-welcome-body{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
  min-height:156px;
}

html[data-ui-template="v2"] .dashboard-welcome-kicker{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:900;
}

html[data-ui-template="v2"] .dashboard-welcome-title{
  margin:0;
  font-size:clamp(28px, 4.4vw, 42px);
  line-height:1.06;
  font-weight:950;
  letter-spacing:.01em;
  max-width:100%;
  overflow-wrap:anywhere;
}

html[data-ui-template="v2"] .dashboard-now-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,.045);
  font-size:14px;
  font-weight:800;
  max-width:min(100%, 620px);
  text-align:center;
  overflow-wrap:anywhere;
}

html[data-ui-template="v2"] .dashboard-section-card,
html[data-ui-template="v2"] .search-toolbar-card,
html[data-ui-template="v2"] .search-results-card{
  padding:20px 22px;
}

html[data-ui-template="v2"] .dashboard-section-head,
html[data-ui-template="v2"] .search-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:14px;
}

html[data-ui-template="v2"] .dashboard-section-title,
html[data-ui-template="v2"] .search-section-title{
  margin:0;
  font-size:18px;
  font-weight:950;
  letter-spacing:.01em;
}

html[data-ui-template="v2"] .dashboard-section-note,
html[data-ui-template="v2"] .search-section-note{
  margin-top:5px;
  color:var(--muted);
  font-size:13px;
  line-height:1.52;
}

html[data-ui-template="v2"] .dashboard-metric-grid,
html[data-ui-template="v2"] .dashboard-trend-grid{
  align-items:stretch;
}

html[data-ui-template="v2"] .dashboard-metric-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:172px;
}

html[data-ui-template="v2"] .dashboard-metric-label{
  font-size:12px;
  line-height:1.45;
}

html[data-ui-template="v2"] .dashboard-metric-value{
  margin-top:auto;
  font-size:clamp(24px, 3vw, 30px);
  font-weight:950;
  line-height:1.08;
  letter-spacing:-.01em;
  color:var(--text);
}

html[data-ui-template="v2"] .dashboard-metric-link{
  margin-top:auto;
  min-width:0;
  width:100%;
}

html[data-ui-template="v2"] .dashboard-trend-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:100%;
}

html[data-ui-template="v2"] .dashboard-trend-title{
  margin-bottom:2px;
  font-size:12px;
  font-weight:850;
  line-height:1.45;
}

html[data-ui-template="v2"] .dashboard-trend-list{
  display:flex;
  flex-direction:column;
  gap:0;
}

html[data-ui-template="v2"] .dashboard-trend-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:9px 0;
  border-top:1px solid rgba(255,255,255,0.06);
}

html[data-ui-template="v2"] .dashboard-trend-row:first-child{
  border-top:0;
  padding-top:0;
}

html[data-ui-template="v2"] .dashboard-cost-note{
  margin-top:6px;
  font-size:12px;
  line-height:1.45;
}

html[data-ui-template="v2"] .search-toolbar-card .parts-filters-row,
html[data-ui-template="v2"] .dashboard-search-card .form-inline{
  align-items:stretch;
}

html[data-ui-template="v2"] .search-bar{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:stretch;
  gap:12px;
  width:100%;
}

html[data-ui-template="v2"] .search-bar-dashboard{
  grid-template-columns:minmax(0,1fr) 164px;
}

html[data-ui-template="v2"] .search-bar-field,
html[data-ui-template="v2"] .search-live-field{
  width:100%;
  min-width:0;
}

html[data-ui-template="v2"] .search-bar-input{
  min-height:48px;
  width:100%;
}

html[data-ui-template="v2"] .search-bar-actions{
  gap:12px;
  flex:0 0 auto;
  justify-content:flex-end;
}
html[data-ui-template="v2"] .search-bar-dashboard .search-bar-actions{
  width:164px;
}
html[data-ui-template="v2"] .search-live-bar .search-bar-actions{
  grid-auto-columns:minmax(148px, max-content);
}

html[data-ui-template="v2"] .search-bar-btn,
html[data-ui-template="v2"] .search-bar-actions .btn{
  min-width:148px;
}

html[data-ui-template="v2"] .search-results-card{
  overflow:visible;
}

html[data-ui-template="v2"] .dashboard-search-card .search-bar,
html[data-ui-template="v2"] .search-toolbar-card .search-bar{
  margin-top:6px;
}

html[data-ui-template="v2"] .search-dashboard-suggest{
  top:calc(100% + 10px);
  padding:8px;
  border-radius:20px;
  border-color:rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%),
    rgba(8,12,19,0.96);
  box-shadow:0 24px 54px rgba(0,0,0,0.34);
}

html[data-ui-template="v2"] .search-dashboard-suggest .mc-suggest-item{
  padding:12px;
  border-radius:16px;
}

html[data-ui-template="v2"] .search-dashboard-suggest .search-suggest-thumb{
  width:50px;
  height:50px;
  flex:0 0 50px;
  border-radius:14px;
}

html[data-ui-template="v2"] .search-dashboard-suggest .mc-suggest-name{
  font-size:14px;
}

html[data-ui-template="v2"] .search-dashboard-suggest .mc-suggest-sub{
  line-height:1.45;
}

html[data-ui-template="v2"] .search-dashboard-suggest .mc-suggest-action{
  min-width:88px;
}

html[data-ui-template="v2"] .search-empty-state{
  padding:26px;
  min-height:164px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

html[data-ui-template="v2"] .search-empty-title{
  font-size:18px;
  font-weight:950;
}

html[data-ui-template="v2"] .search-results-card .pager{
  margin-top:16px;
}

html[data-ui-template="v2"] form[action="/konto/ustawienia"] .grid2,
html[data-ui-template="v2"] form[action="/konto/ustawienia"] .settings-grid{
  gap:16px;
}

html[data-ui-template="v2"] .theme-card{
  min-height:84px;
  border-radius:18px;
  background:rgba(255,255,255,0.025);
  border-color:rgba(255,255,255,0.08);
  box-shadow:none;
}

html[data-ui-template="v2"] .theme-card:hover{
  background:rgba(255,255,255,0.045);
  border-color:rgba(255,255,255,0.14);
}

html[data-ui-template="v2"] .theme-card.is-active{
  outline:0;
  border-color:color-mix(in srgb, var(--accent) 42%, rgba(255,255,255,0.10));
  box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent), 0 10px 20px rgba(0,0,0,0.16);
}

html[data-ui-template="v2"] .theme-name{
  font-size:14px;
  font-weight:900;
}

html[data-ui-template="v2"] .theme-desc{
  font-size:12px;
  line-height:1.45;
}

html[data-ui-template="v2"] #menuHiddenForm .acl-tools,
html[data-ui-template="v2"] #accountSettingsForm .acl-tools,
html[data-ui-template="v2"] #userAclForm .acl-tools{
  margin-bottom:14px;
}

html[data-ui-template="v2"] #menuHiddenForm .acl-tree,
html[data-ui-template="v2"] #accountSettingsForm .acl-tree,
html[data-ui-template="v2"] #userAclForm .acl-tree{
  gap:12px;
}

html[data-ui-template="v2"] .acl-card{
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,0.022);
  border-color:rgba(255,255,255,0.08);
}

html[data-ui-template="v2"] .acl-card-head{
  margin-bottom:14px;
}

html[data-ui-template="v2"] .acl-card-head h3{
  font-size:18px;
  font-weight:950;
}

html[data-ui-template="v2"] .acl-badges .pill{
  min-height:30px;
}

html[data-ui-template="v2"] .acl-node{
  border-radius:18px;
  background:rgba(255,255,255,0.018);
}

html[data-ui-template="v2"] .acl-node-summary{
  min-height:58px;
  padding:14px 16px;
}

html[data-ui-template="v2"] .acl-node-children{
  padding:0 14px 14px 14px;
}

html[data-ui-template="v2"] .acl-node-check{
  font-size:15px;
}

html[data-ui-template="v2"] .acl-node-title{
  font-size:12px;
}

html[data-ui-template="v2"] .acl-depth-1{
  margin-left:12px;
}

html[data-ui-template="v2"] .acl-depth-2{
  margin-left:24px;
}

html[data-ui-template="v2"] .acl-depth-3{
  margin-left:36px;
}

html[data-ui-template="v2"] .menu-layout-card{
  gap:16px;
}

html[data-ui-template="v2"] .menu-layout-head{
  gap:6px;
}

html[data-ui-template="v2"] .menu-layout-head h3{
  font-size:18px;
  font-weight:950;
}

html[data-ui-template="v2"] .menu-layout-toolbar{
  gap:16px;
}

html[data-ui-template="v2"] .menu-layout-add-row{
  align-items:stretch;
}

html[data-ui-template="v2"] .menu-layout-help{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .menu-layout-tree-wrap{
  padding:14px;
  border-radius:22px;
  background:rgba(255,255,255,0.016);
}

html[data-ui-template="v2"] .ml-row{
  min-height:46px;
  padding:9px 12px;
  border-radius:15px;
}

html[data-ui-template="v2"] .ml-label{
  font-size:14px;
  font-weight:850;
}

html[data-ui-template="v2"] .details-grid{
  gap:14px;
}

html[data-ui-template="v2"] .detail-item{
  border-radius:18px;
  padding:14px 16px;
  background:rgba(255,255,255,0.02);
  border-color:rgba(255,255,255,0.08);
}

html[data-ui-template="v2"] .detail-label{
  margin-bottom:7px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(167,182,214,0.92);
}

html[data-ui-template="v2"] .detail-value{
  font-size:14px;
  line-height:1.55;
}

html[data-ui-template="v2"] .task-detail-head{
  gap:18px;
  align-items:stretch;
}

html[data-ui-template="v2"] .task-detail-title{
  margin-top:10px;
  font-size:clamp(28px, 3.5vw, 36px);
  line-height:1.08;
}

html[data-ui-template="v2"] .task-action-card{
  min-height:100%;
  border-radius:20px;
  padding:16px;
}

html[data-ui-template="v2"] .task-actions-grid,
html[data-ui-template="v2"] .task-actions-grid.task-actions-grid-compact{
  gap:12px;
}

html[data-ui-template="v2"] .task-actions-grid.task-actions-grid-compact{
  grid-template-columns:repeat(2, minmax(160px, 220px));
}

html[data-ui-template="v2"] .task-log-item,
html[data-ui-template="v2"] .task-complete-media-box{
  border-radius:18px;
}

html[data-ui-template="v2"] .table.table-mobile td .dashboard-cost-note,
html[data-ui-template="v2"] .table.table-mobile td .muted{
  line-height:1.45;
}

html[data-ui-template="v2"] .table.table-mobile tr .actions-inline{
  gap:10px;
}

html[data-ui-template="v2"] .table.table-mobile td .btn,
html[data-ui-template="v2"] .table.table-mobile td a.btn{
  min-width:120px;
}

html[data-ui-template="v2"] .stacked-meta{
  gap:5px;
}

@media (max-width: 900px){
  html[data-ui-template="v2"] .dashboard-welcome-hero{
    padding:22px 16px;
  }

  html[data-ui-template="v2"] .dashboard-welcome-body{
    min-height:126px;
    gap:10px;
  }

  html[data-ui-template="v2"] .dashboard-section-card,
  html[data-ui-template="v2"] .search-toolbar-card,
  html[data-ui-template="v2"] .search-results-card{
    padding:18px;
  }

  html[data-ui-template="v2"] .dashboard-metric-card{
    min-height:148px;
  }

  html[data-ui-template="v2"] .menu-layout-actions,
  html[data-ui-template="v2"] .menu-layout-actions .btn{
    width:100%;
  }
}

@media (max-width: 640px){
  html[data-ui-template="v2"] .dashboard-welcome-kicker{
    font-size:11px;
    letter-spacing:.1em;
  }

  html[data-ui-template="v2"] .dashboard-now-badge{
    width:100%;
    border-radius:15px;
    padding:9px 12px;
    font-size:13px;
  }

  html[data-ui-template="v2"] .dashboard-metric-link,
  html[data-ui-template="v2"] .dashboard-search-card .btn,
  html[data-ui-template="v2"] .search-toolbar-card .btn{
    width:100%;
  }

  html[data-ui-template="v2"] .dashboard-trend-row{
    flex-direction:column;
    align-items:flex-start;
  }

  html[data-ui-template="v2"] .search-bar,
  html[data-ui-template="v2"] .search-bar-dashboard{
    grid-template-columns:1fr;
  }

  html[data-ui-template="v2"] .search-bar-actions{
    width:100%;
  }
}

html[data-ui-template="v2"] .account-settings-page,
html[data-ui-template="v2"] .users-admin-page,
html[data-ui-template="v2"] .admin-layout-page,
html[data-ui-template="v2"] .task-detail-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .account-settings-page > .card,
html[data-ui-template="v2"] .users-admin-page > .card,
html[data-ui-template="v2"] .admin-layout-page > .card,
html[data-ui-template="v2"] .task-detail-page > .card{
  margin:0;
}

html[data-ui-template="v2"] .account-settings-page > .card > h3,
html[data-ui-template="v2"] .users-admin-page > .card > h2,
html[data-ui-template="v2"] .task-detail-page > .card > h3,
html[data-ui-template="v2"] .menu-layout-head h3{
  font-size:18px;
  font-weight:950;
  margin:0 0 12px 0;
}

html[data-ui-template="v2"] .account-settings-page > .card > .muted,
html[data-ui-template="v2"] .users-admin-page > .card > .muted,
html[data-ui-template="v2"] .menu-layout-head .muted{
  line-height:1.5;
}

html[data-ui-template="v2"] .account-settings-card{
  padding:20px 22px;
}

html[data-ui-template="v2"] .account-settings-accordion.account-settings-card{
  padding:0;
}

html[data-ui-template="v2"] .account-settings-page{
  padding-bottom:calc(var(--footer-h) + 112px);
}

html[data-ui-template="v2"] .account-settings-head{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:14px;
}

html[data-ui-template="v2"] .account-settings-section-title{
  margin:0;
  font-size:18px;
  font-weight:950;
}

html[data-ui-template="v2"] .account-settings-section-subtitle{
  margin:0;
  line-height:1.55;
}

html[data-ui-template="v2"] .account-settings-form{
  gap:18px;
}

html[data-ui-template="v2"] .account-settings-subsection-title{
  margin:0;
  font-size:15px;
  font-weight:950;
  color:rgba(238,243,255,0.96);
}

html[data-ui-template="v2"] .account-settings-subsection-title.compact{
  font-size:14px;
}

html[data-ui-template="v2"] .account-settings-inline-check{
  margin-top:6px;
  margin-bottom:4px;
}

html[data-ui-template="v2"] .account-settings-inline-checks{
  gap:12px 14px;
}

html[data-ui-template="v2"] .account-settings-inline-checks .check{
  margin:0;
}

html[data-ui-template="v2"] .account-settings-tree-head{
  margin-bottom:14px;
}

html[data-ui-template="v2"] .account-settings-accordion-head{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:0;
}

html[data-ui-template="v2"] .account-settings-accordion-copy{
  align-items:flex-start;
  text-align:left;
}

html[data-ui-template="v2"] .account-settings-section-title,
html[data-ui-template="v2"] .account-settings-section-subtitle{
  text-align:left;
}

html[data-ui-template="v2"] .account-settings-savebar-inner{
  border-color:rgba(255,255,255,0.14);
  background:rgba(9,13,21,0.94);
  box-shadow:0 22px 48px rgba(0,0,0,0.34);
}

html[data-ui-template="v2"] .theme-check{
  visibility:hidden;
}

html[data-ui-template="v2"] .theme-check.is-visible{
  visibility:visible;
}

html[data-ui-template="v2"] .account-mobile-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .account-mobile-card{
  margin:0;
}

html[data-ui-template="v2"] .account-mobile-code-inline{
  gap:8px;
  align-items:center;
}

html[data-ui-template="v2"] .account-mobile-code-input{
  max-width:220px;
  font-weight:800;
  letter-spacing:.08em;
}

html[data-ui-template="v2"] .mobile-qr-preview{
  margin-top:8px;
}

html[data-ui-template="v2"] .mobile-qr-image{
  display:block;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:12px;
  background:#fff;
  padding:6px;
}

html[data-ui-template="v2"] .users-list-card .table-wrap{
  margin-top:14px;
}

html[data-ui-template="v2"] .user-editor-card .divider{
  margin:20px 0;
}

html[data-ui-template="v2"] .inventory-editor-page{
  padding:22px 24px;
}

html[data-ui-template="v2"] .inventory-editor-page form.form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .inventory-editor-page .notice{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .inventory-editor-page .grid2{
  gap:18px;
  align-items:start;
}

html[data-ui-template="v2"] .inventory-editor-page .field{
  gap:8px;
}

html[data-ui-template="v2"] .inventory-editor-page .card-sub.editor-section-banner{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0 !important;
  padding:16px 18px;
  border-radius:20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.02) 100%);
}

html[data-ui-template="v2"] .inventory-editor-page .card-sub.editor-section-banner.compact{
  padding:14px 16px;
}

html[data-ui-template="v2"] .inventory-editor-page .card-sub.editor-section-banner h3{
  margin:0;
  font-size:18px;
  line-height:1.18;
  font-weight:950;
}

html[data-ui-template="v2"] .part-add-stock-page{
  gap:20px;
}

html[data-ui-template="v2"] .part-add-stock-status{
  margin:0;
}

html[data-ui-template="v2"] .inventory-editor-page .editor-check-spaced{
  margin-top:8px;
}

html[data-ui-template="v2"] .inventory-editor-page .editor-field-full{
  grid-column:1 / -1;
}

html[data-ui-template="v2"] .inventory-editor-page .editor-grid-tight{
  margin-top:12px;
}

html[data-ui-template="v2"] .part-add-stock-banner{
  gap:8px;
}

html[data-ui-template="v2"] .inventory-scan-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .inventory-scan-card{
  margin:0;
}

html[data-ui-template="v2"] .inventory-scan-subtitle{
  margin-top:6px;
  line-height:1.55;
}

html[data-ui-template="v2"] .inventory-scan-layout{
  margin-top:12px;
}

html[data-ui-template="v2"] .inventory-scan-panel{
  margin:0;
}

html[data-ui-template="v2"] .inventory-scan-input-row{
  margin-top:10px;
}

html[data-ui-template="v2"] .inventory-scan-actions{
  justify-content:flex-start;
  gap:10px;
}

html[data-ui-template="v2"] .inventory-scan-actions-spaced{
  margin-top:10px;
}

html[data-ui-template="v2"] .inventory-scan-camera-info{
  display:none;
  margin-top:10px;
}

html[data-ui-template="v2"] .inventory-scan-video-wrap{
  margin-top:10px;
}

html[data-ui-template="v2"] .inventory-scan-video{
  width:100%;
  max-width:520px;
  border-radius:16px;
  background:#000;
  display:block;
}

html[data-ui-template="v2"] .inventory-scan-status{
  margin-top:8px;
}

html[data-ui-template="v2"] .dict-electrical-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .dictionary-electrical-card{
  margin:0;
}

html[data-ui-template="v2"] .dict-inline-form{
  margin-bottom:12px;
}

html[data-ui-template="v2"] .dict-compact-input-70{
  max-width:70px;
}

html[data-ui-template="v2"] .dict-compact-input-90{
  max-width:90px;
}

html[data-ui-template="v2"] .dict-compact-input-110{
  max-width:110px;
}

html[data-ui-template="v2"] .qr-page,
html[data-ui-template="v2"] .public-dashboard-page,
html[data-ui-template="v2"] .reports-page,
html[data-ui-template="v2"] .import-export-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .qr-card,
html[data-ui-template="v2"] .public-dashboard-card,
html[data-ui-template="v2"] .public-dashboard-hero-card,
html[data-ui-template="v2"] .reports-filter-card,
html[data-ui-template="v2"] .reports-summary-card,
html[data-ui-template="v2"] .import-export-card{
  margin:0;
}

html[data-ui-template="v2"] .qr-subtitle,
html[data-ui-template="v2"] .reports-subtitle,
html[data-ui-template="v2"] .import-export-subtitle{
  margin-top:6px;
  line-height:1.55;
}

html[data-ui-template="v2"] .qr-input-row{
  margin-top:12px;
}

html[data-ui-template="v2"] .qr-actions,
html[data-ui-template="v2"] .import-export-actions{
  justify-content:flex-start;
  gap:10px;
}

html[data-ui-template="v2"] .qr-camera-info{
  display:none;
  margin-top:12px;
}

html[data-ui-template="v2"] .qr-video-wrap{
  margin-top:12px;
}

html[data-ui-template="v2"] .qr-video{
  width:100%;
  max-width:520px;
  border-radius:16px;
  background:#000;
  display:block;
}

html[data-ui-template="v2"] .qr-status{
  margin-top:8px;
}

html[data-ui-template="v2"] .qr-labels-results-card{
  margin-top:0;
}

html[data-ui-template="v2"] .qr-table-wrap{
  margin-top:12px;
}

html[data-ui-template="v2"] .qr-select-col{
  width:44px;
  text-align:center;
}

html[data-ui-template="v2"] .qr-cell-center{
  text-align:center;
}

html[data-ui-template="v2"] .qr-extra-locations{
  margin-top:2px;
}

html[data-ui-template="v2"] .public-dashboard-hero-card{
  padding:0;
  overflow:hidden;
}

html[data-ui-template="v2"] .public-hero{
  padding:18px 14px;
  text-align:center;
  background:
    radial-gradient(120% 220% at 10% 0%, rgba(70,120,255,.16), rgba(70,120,255,0) 48%),
    radial-gradient(120% 220% at 100% 100%, rgba(0,210,170,.12), rgba(0,210,170,0) 50%);
}

html[data-ui-template="v2"] .public-dashboard-kicker{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
}

html[data-ui-template="v2"] .public-hero-title{
  margin:4px 0 0 0;
  font-size:clamp(20px, 4.8vw, 30px);
  font-weight:900;
  line-height:1.08;
}

html[data-ui-template="v2"] .public-now{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,.04);
  font-weight:700;
  text-align:center;
  max-width:min(100%, 560px);
  overflow-wrap:anywhere;
}

html[data-ui-template="v2"] .public-dashboard-title{
  margin:0 0 8px 0;
  font-size:16px;
  font-weight:950;
}

html[data-ui-template="v2"] .public-dashboard-actions{
  flex-wrap:wrap;
}

html[data-ui-template="v2"] .public-dashboard-metric-card{
  display:flex;
  flex-direction:column;
}

html[data-ui-template="v2"] .public-dashboard-metric-value{
  font-size:21px;
  font-weight:900;
  margin-top:4px;
}

html[data-ui-template="v2"] .public-dashboard-metric-desc{
  margin-top:4px;
}

html[data-ui-template="v2"] .public-dashboard-metric-link{
  margin-top:8px;
}

html[data-ui-template="v2"] .reports-summary-bottom{
  margin-top:12px;
}

html[data-ui-template="v2"] .reports-grid{
  gap:18px;
}

html[data-ui-template="v2"] .reports-table-wrap{
  margin-top:10px;
}

html[data-ui-template="v2"] .parts-param-grid{
  margin-top:12px;
}

html[data-ui-template="v2"] .parts-filters-row-advanced{
  margin-top:12px;
  gap:14px;
}

html[data-ui-template="v2"] .parts-filters-check-tight{
  gap:8px;
}

html[data-ui-template="v2"] .import-export-actions-spaced{
  margin-top:12px;
}

html[data-ui-template="v2"] .import-export-form{
  margin-top:12px;
}

html[data-ui-template="v2"] .import-export-check{
  gap:10px;
}

html[data-ui-template="v2"] .task-detail-card{
  margin:0;
}

html[data-ui-template="v2"] .task-detail-section-title{
  margin:0 0 10px 0;
  font-size:18px;
  font-weight:950;
}

html[data-ui-template="v2"] .task-detail-section-title.no-margin{
  margin:0;
}

html[data-ui-template="v2"] .task-detail-subhead{
  margin-bottom:10px;
}

html[data-ui-template="v2"] .task-detail-subhead-small{
  margin-bottom:8px;
}

html[data-ui-template="v2"] .task-media-size-field{
  max-width:240px;
}

html[data-ui-template="v2"] .task-files-section{
  margin-top:16px;
}

html[data-ui-template="v2"] .merge-preview-page{
  display:flex;
  flex-direction:column;
  gap:12px;
}

html[data-ui-template="v2"] .merge-preview-title{
  margin:0;
}

html[data-ui-template="v2"] .merge-preview-subtitle{
  margin-top:6px;
  line-height:1.55;
}

html[data-ui-template="v2"] .merge-preview-summary{
  margin-top:10px;
}

html[data-ui-template="v2"] .merge-preview-target,
html[data-ui-template="v2"] .merge-preview-hint,
html[data-ui-template="v2"] .merge-preview-empty{
  margin-top:8px;
}

html[data-ui-template="v2"] .merge-preview-form{
  margin-top:10px;
}

html[data-ui-template="v2"] .merge-preview-back-form{
  margin-top:8px;
}

html[data-ui-template="v2"] .merge-preview-empty-actions{
  margin-top:10px;
}

html[data-ui-template="v2"] .auto-parts-price-grid{
  margin-top:10px;
}

html[data-ui-template="v2"] .auto-parts-extra-filters{
  margin-top:10px;
  gap:14px;
  flex-wrap:wrap;
}

html[data-ui-template="v2"] .auto-parts-inline-check{
  gap:8px;
}

html[data-ui-template="v2"] .auto-parts-tag-row{
  margin:6px 0 0 0;
}

html[data-ui-template="v2"] .auto-parts-tag-row-compact{
  margin-top:2px;
}

html[data-ui-template="v2"] .inventory-editor-page .editor-inline-section{
  margin-top:4px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,0.08);
}

html[data-ui-template="v2"] .inventory-editor-page .editor-inline-section h3{
  color:rgba(235,241,255,0.96);
  font-size:16px;
  font-weight:950;
  line-height:1.18;
}

html[data-ui-template="v2"] .inventory-editor-page .hint,
html[data-ui-template="v2"] .inventory-editor-page .muted{
  line-height:1.55;
}

html[data-ui-template="v2"] .inventory-editor-page .editor-section-note{
  margin-bottom:0;
}

html[data-ui-template="v2"] .inventory-editor-page .editor-section-note.bottom{
  margin-top:2px;
}

html[data-ui-template="v2"] .inventory-editor-page .media-section{
  padding:20px;
  border-radius:24px;
}

html[data-ui-template="v2"] .inventory-editor-page .media-section-header{
  align-items:flex-start;
  gap:12px;
  margin-bottom:16px;
}

html[data-ui-template="v2"] .inventory-editor-page .media-section-title{
  font-size:19px;
  font-weight:950;
}

html[data-ui-template="v2"] .inventory-editor-page .media-layout{
  gap:16px;
}

html[data-ui-template="v2"] .inventory-editor-page .media-block{
  padding:18px;
  border-radius:20px;
  min-height:100%;
}

html[data-ui-template="v2"] .inventory-editor-page .media-block-title{
  font-size:15px;
  font-weight:900;
  letter-spacing:.01em;
}

html[data-ui-template="v2"] .inventory-editor-page .photo-picker,
html[data-ui-template="v2"] .inventory-editor-page .attach-picker,
html[data-ui-template="v2"] .inventory-editor-page .edit-media-actions,
html[data-ui-template="v2"] .inventory-editor-page .file-tile-actions{
  gap:10px;
}

html[data-ui-template="v2"] .inventory-editor-page .photo-options{
  margin-top:10px;
}

html[data-ui-template="v2"] .inventory-editor-page .edit-media-grid{
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:16px;
}

html[data-ui-template="v2"] .inventory-editor-page .edit-file-grid{
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
}

html[data-ui-template="v2"] .inventory-editor-page .edit-media-card,
html[data-ui-template="v2"] .inventory-editor-page .edit-file-card{
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:22px;
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .inventory-editor-page .edit-media-thumb{
  border-radius:18px;
}

html[data-ui-template="v2"] .inventory-editor-page .part-edit-media-grid{
  grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
}

html[data-ui-template="v2"] .inventory-editor-page .part-edit-file-grid{
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

html[data-ui-template="v2"] .inventory-editor-page .lot-move-list{
  gap:16px;
}

html[data-ui-template="v2"] .inventory-editor-page .lot-move-item{
  padding:18px 20px;
  border-radius:24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%);
}

html[data-ui-template="v2"] .inventory-editor-page .lot-title{
  font-size:16px;
}

html[data-ui-template="v2"] .inventory-editor-page .lot-sub{
  line-height:1.55;
}

html[data-ui-template="v2"] .vehicle-detail-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .vehicle-list-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .vehicle-list-page > .card{
  margin:0;
}

html[data-ui-template="v2"] .vehicle-list-card{
  padding:22px 24px;
  border-radius:26px;
}

html[data-ui-template="v2"] .vehicle-list-title{
  margin:0 0 12px 0;
  font-size:18px;
  font-weight:950;
  line-height:1.16;
}

html[data-ui-template="v2"] .vehicle-filter-actions{
  margin-top:8px;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-section-title{
  font-size:18px;
  font-weight:950;
  line-height:1.16;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-card-head{
  margin-bottom:12px;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-card-side-note{
  min-width:180px;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-summary-grid{
  gap:14px;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-summary-grid > div{
  padding:14px 16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  background:rgba(255,255,255,0.02);
  line-height:1.55;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-inline-form{
  gap:16px;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-inline-field{
  display:flex;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-table-wrap{
  margin-top:0 !important;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-sublist,
html[data-ui-template="v2"] .vehicle-detail-page .vehicle-file-links,
html[data-ui-template="v2"] .vehicle-detail-page .vehicle-cost-breakdown{
  line-height:1.55;
}

html[data-ui-template="v2"] .vehicle-detail-page .vehicle-file-links-title{
  color:rgba(235,241,255,0.94);
  font-weight:850;
}

html[data-ui-template="v2"] .vehicle-detail-page .thumb-grid{
  gap:12px;
}

html[data-ui-template="v2"] .vehicle-detail-page .file-list{
  display:grid;
  gap:12px;
}

html[data-ui-template="v2"] .vehicle-detail-page .file-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .vehicle-detail-page .file-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

html[data-ui-template="v2"] .inventory-detail-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .inventory-detail-page > .card{
  margin:0;
}

html[data-ui-template="v2"] .inventory-detail-layout{
  gap:18px;
  align-items:start;
}

html[data-ui-template="v2"] .inventory-detail-card{
  padding:22px 24px;
  border-radius:26px;
}

html[data-ui-template="v2"] .inventory-detail-side-card{
  display:flex;
  flex-direction:column;
  gap:16px;
}

html[data-ui-template="v2"] .inventory-detail-page .details-grid{
  gap:16px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-item{
  min-height:100%;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-section-title{
  margin:0;
  font-size:18px;
  line-height:1.18;
  font-weight:950;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-chip-list,
html[data-ui-template="v2"] .inventory-detail-page .detail-chip-cloud{
  gap:8px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-chip-list .pill,
html[data-ui-template="v2"] .inventory-detail-page .detail-chip-cloud .pill{
  min-height:32px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-note{
  margin-top:4px;
  line-height:1.55;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-table-wrap,
html[data-ui-template="v2"] .inventory-detail-page .revisions-table-wrap{
  margin-top:0 !important;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-table-wrap .table,
html[data-ui-template="v2"] .inventory-detail-page .revisions-table-wrap .table{
  margin-top:0;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-media-grid,
html[data-ui-template="v2"] .inventory-detail-page .detail-file-grid{
  gap:14px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-media-box{
  padding:14px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:22px;
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .inventory-detail-page .detail-media-thumb{
  border-radius:18px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-media-actions{
  gap:8px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-media-actions .btn{
  min-width:104px;
}

html[data-ui-template="v2"] .inventory-detail-page .file-tile,
html[data-ui-template="v2"] .inventory-detail-page .file-tile-edit{
  min-height:100%;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-wrap{
  display:grid;
  grid-template-columns:minmax(170px, 210px) minmax(0, 1fr);
  gap:18px;
  align-items:start;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-box{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:22px;
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-img{
  width:100%;
  max-width:170px;
  height:auto;
  border-radius:16px;
  background:#fff;
  padding:10px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-meta{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-url{
  word-break:break-all;
  line-height:1.5;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-inline-action{
  margin-top:14px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-inline-action-link{
  display:inline-flex;
  width:max-content;
  margin-top:14px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-page-actions{
  justify-content:flex-end;
}

html[data-ui-template="v2"] .inventory-editor-page .grid-2,
html[data-ui-template="v2"] .inventory-editor-page .grid-3{
  gap:18px;
  align-items:start;
}

html[data-ui-template="v2"] form.inventory-editor-page.form{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:22px 24px;
  border-radius:26px;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.08);
}

html[data-ui-template="v2"] form.inventory-editor-page.form > .card{
  margin:0;
}

html[data-ui-template="v2"] .vehicle-editor-page .vehicle-editor-note{
  line-height:1.55;
}

html[data-ui-template="v2"] .vehicle-editor-page .vehicle-editor-notes{
  margin-top:2px;
}

html[data-ui-template="v2"] .vehicle-editor-page .vehicle-editor-media{
  margin-top:2px;
}

html[data-ui-template="v2"] .vehicle-editor-page .vehicle-existing-media-grid{
  gap:14px;
}

html[data-ui-template="v2"] .vehicle-editor-page .vehicle-existing-files{
  display:grid;
  gap:12px;
}

html[data-ui-template="v2"] .vehicle-editor-page .vehicle-existing-files .file-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .task-editor-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .task-editor-page .task-editor-card{
  margin:0;
}

html[data-ui-template="v2"] .task-editor-page .task-editor-hint-card{
  padding:16px 18px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .task-editor-page .task-form-note{
  line-height:1.6;
}

html[data-ui-template="v2"] .task-editor-page .media-section-pill{
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  font-size:12px;
  font-weight:850;
  letter-spacing:.03em;
  color:rgba(235,241,255,0.92);
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
}

html[data-ui-template="v2"] .part-pick-page{
  gap:18px;
}

html[data-ui-template="v2"] .part-pick-page > .card{
  margin:0;
}

html[data-ui-template="v2"] .part-pick-summary-card,
html[data-ui-template="v2"] .part-pick-form,
html[data-ui-template="v2"] .auto-parts-pick-card{
  padding:22px 24px;
  border-radius:26px;
}

html[data-ui-template="v2"] .part-pick-title-row{
  gap:18px;
  align-items:flex-start;
}

html[data-ui-template="v2"] .task-picked-title{
  margin:0;
  font-size:24px;
  line-height:1.15;
  font-weight:950;
}

html[data-ui-template="v2"] .part-pick-section-head{
  gap:8px;
}

html[data-ui-template="v2"] .part-pick-section-head-spaced{
  margin-top:4px;
}

html[data-ui-template="v2"] .part-pick-empty{
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.08);
}

html[data-ui-template="v2"] .part-pick-fields{
  gap:18px;
  align-items:start;
}

html[data-ui-template="v2"] .part-pick-short-field{
  max-width:320px;
}

html[data-ui-template="v2"] .borrow-editor-layout{
  gap:18px;
  align-items:start;
}

html[data-ui-template="v2"] .borrow-preview-box{
  max-width:260px;
}

html[data-ui-template="v2"] .borrow-editor-form{
  margin-top:6px;
}

html[data-ui-template="v2"] .borrow-inline-fields{
  flex-wrap:wrap;
  gap:12px;
  align-items:flex-end;
}

html[data-ui-template="v2"] .borrow-inline-field{
  flex:1 1 220px;
  min-width:220px;
}

html[data-ui-template="v2"] .borrow-inline-date{
  flex:0 0 180px;
  min-width:180px;
}

html[data-ui-template="v2"] .borrow-field-label{
  margin-bottom:6px;
}

html[data-ui-template="v2"] .vehicle-report-page,
html[data-ui-template="v2"] .project-detail-page,
html[data-ui-template="v2"] .project-list-page,
html[data-ui-template="v2"] .production-page,
html[data-ui-template="v2"] .purchases-page,
html[data-ui-template="v2"] .purchases-receive-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .vehicle-report-page > .card,
html[data-ui-template="v2"] .project-detail-page > .card,
html[data-ui-template="v2"] .project-list-page > .card,
html[data-ui-template="v2"] .production-page > .card,
html[data-ui-template="v2"] .purchases-page > .card,
html[data-ui-template="v2"] .purchases-receive-page > .card{
  margin:0;
}

html[data-ui-template="v2"] .vehicle-report-card,
html[data-ui-template="v2"] .project-detail-card,
html[data-ui-template="v2"] .project-list-card,
html[data-ui-template="v2"] .production-card,
html[data-ui-template="v2"] .purchases-card{
  padding:22px 24px;
  border-radius:26px;
}

html[data-ui-template="v2"] .report-page-note,
html[data-ui-template="v2"] .production-page-note{
  line-height:1.55;
  margin-bottom:12px;
}

html[data-ui-template="v2"] .report-table-wrap{
  margin-top:0 !important;
}

html[data-ui-template="v2"] .vehicle-report-filter-form{
  align-items:end;
  gap:18px;
}

html[data-ui-template="v2"] .vehicle-report-summary-grid{
  gap:16px;
}

html[data-ui-template="v2"] .vehicle-report-summary-box{
  min-height:120px;
  padding:18px;
  border-radius:20px;
}

html[data-ui-template="v2"] .vehicle-report-summary-value{
  font-size:22px;
  font-weight:950;
  line-height:1.15;
}

html[data-ui-template="v2"] .vehicle-report-cost-breakdown{
  margin-top:4px;
  line-height:1.55;
}

html[data-ui-template="v2"] .project-detail-meta,
html[data-ui-template="v2"] .project-detail-desc{
  line-height:1.55;
}

html[data-ui-template="v2"] .project-detail-meta{
  margin-bottom:10px;
}

html[data-ui-template="v2"] .project-detail-desc{
  margin-bottom:14px;
}

html[data-ui-template="v2"] .project-detail-inline-card{
  margin:0 0 14px 0;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,0.016);
}

html[data-ui-template="v2"] .project-inline-title{
  font-size:17px;
  font-weight:950;
  line-height:1.18;
}

html[data-ui-template="v2"] .project-detail-inline-card .project-inline-title{
  margin-bottom:12px;
}

html[data-ui-template="v2"] .project-suggest-field{
  position:relative;
}

html[data-ui-template="v2"] .project-suggest-note{
  margin-top:8px;
  line-height:1.55;
}

html[data-ui-template="v2"] .project-items-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin:10px 0 10px 0;
}

html[data-ui-template="v2"] .project-item-note{
  margin-top:4px;
  line-height:1.55;
}

html[data-ui-template="v2"] .production-actions-col{
  width:240px;
}

html[data-ui-template="v2"] .production-name{
  font-weight:950;
  line-height:1.2;
}

html[data-ui-template="v2"] .production-desc-line{
  max-width:700px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

html[data-ui-template="v2"] .production-actions-inline{
  gap:8px;
}

html[data-ui-template="v2"] .production-disabled-note{
  align-self:center;
}

html[data-ui-template="v2"] .production-detail-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

html[data-ui-template="v2"] .production-detail-main{
  min-width:260px;
  flex:1 1 340px;
}

html[data-ui-template="v2"] .production-detail-title{
  font-size:28px;
  line-height:1.06;
  font-weight:1000;
}

html[data-ui-template="v2"] .production-detail-desc{
  margin-top:8px;
  line-height:1.55;
}

html[data-ui-template="v2"] .production-detail-badges{
  margin-top:12px;
}

html[data-ui-template="v2"] .production-instruction-box{
  margin-top:10px;
  padding:14px 16px;
  border-radius:20px;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.08);
}

html[data-ui-template="v2"] .production-pre{
  margin:0;
  white-space:pre-wrap;
  font:inherit;
  line-height:1.55;
}

html[data-ui-template="v2"] .production-detail-note{
  margin-top:8px;
  font-size:12px;
  line-height:1.5;
}

html[data-ui-template="v2"] .purchases-page > .card,
html[data-ui-template="v2"] .purchases-receive-page > .card,
html[data-ui-template="v2"] .production-orders-page > .card{
  margin-top:0 !important;
}

html[data-ui-template="v2"] .purchases-section-title{
  margin:0 0 12px 0;
  font-size:18px;
  font-weight:950;
  line-height:1.16;
}

html[data-ui-template="v2"] .purchases-add-form,
html[data-ui-template="v2"] .purchases-editor-form,
html[data-ui-template="v2"] .purchases-receive-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

html[data-ui-template="v2"] .purchases-receive-card-spaced,
html[data-ui-template="v2"] .purchases-card-spaced{
  margin-top:18px;
}

html[data-ui-template="v2"] .section-title-spaced,
html[data-ui-template="v2"] .section-title-spaced-sm,
html[data-ui-template="v2"] .section-title-no-margin{
  font-weight:950;
  line-height:1.15;
}

html[data-ui-template="v2"] .form-top-spaced,
html[data-ui-template="v2"] .form-top-spaced-lg{
  margin-top:16px;
}

html[data-ui-template="v2"] .card-sub-spaced{
  margin-top:16px;
}

html[data-ui-template="v2"] .form-actions-spaced{
  margin-top:16px;
}

html[data-ui-template="v2"] .backup-chips-spaced{
  margin-bottom:12px;
}

html[data-ui-template="v2"] .backup-muted-top,
html[data-ui-template="v2"] .merge-intro-muted,
html[data-ui-template="v2"] .scan-start-note{
  line-height:1.55;
}

html[data-ui-template="v2"] .parts-inline-toolbar{
  gap:14px;
}

html[data-ui-template="v2"] .parts-inline-actions{
  gap:12px;
}

html[data-ui-template="v2"] .parts-date-filter-field{
  gap:8px;
}

html[data-ui-template="v2"] .audit-filter-form{
  gap:14px;
}

html[data-ui-template="v2"] .audit-change-stack{
  display:flex;
  flex-direction:column;
  gap:6px;
}

html[data-ui-template="v2"] .scan-start-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

html[data-ui-template="v2"] .scan-start-actions{
  margin-top:4px;
}

html[data-ui-template="v2"] .purchases-pending-media-grid-spaced{
  margin-bottom:14px;
}

html[data-ui-template="v2"] .purchases-list-head{
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:0;
  flex-wrap:wrap;
}

html[data-ui-template="v2"] .purchases-photo-size-row{
  gap:10px;
}

html[data-ui-template="v2"] .purchases-mobile-thumb-wrap{
  margin-top:10px;
}

html[data-ui-template="v2"] .purchases-mobile-thumb{
  max-width:180px;
}

html[data-ui-template="v2"] .purchases-note{
  margin-top:8px;
  line-height:1.55;
}

html[data-ui-template="v2"] .purchases-receive-summary .grid-4{
  gap:14px;
}

html[data-ui-template="v2"] .purchases-receive-summary .grid-4 > div{
  padding:14px 16px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  background:rgba(255,255,255,0.02);
  line-height:1.55;
}

html[data-ui-template="v2"] .purchases-pending-media-grid{
  gap:12px;
}

html[data-ui-template="v2"] .vehicle-repair-editor-page{
  padding:16px 18px;
}

html[data-ui-template="v2"] .vehicle-repair-editor-form{
  display:flex;
  flex-direction:column;
  gap:10px;
}

html[data-ui-template="v2"] .vehicle-repair-inline-field{
  gap:8px;
  align-items:center;
}

html[data-ui-template="v2"] .vehicle-repair-flex-input{
  flex:1 1 auto;
}

html[data-ui-template="v2"] .vehicle-repair-stack-field{
  margin-top:2px;
}

html[data-ui-template="v2"] .vehicle-repair-stack-field-spaced{
  margin-top:4px;
}

html[data-ui-template="v2"] .vehicle-repair-section-banner{
  margin:0 !important;
}

html[data-ui-template="v2"] .vehicle-repair-head{
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  flex-wrap:wrap;
}

html[data-ui-template="v2"] .vehicle-repair-subtitle{
  margin:0 0 6px 0;
  font-size:17px;
  font-weight:950;
  line-height:1.18;
}

html[data-ui-template="v2"] .vehicle-repair-media-grid{
  margin-top:4px !important;
}

html[data-ui-template="v2"] .vehicle-repair-media-grid-spaced{
  margin-top:8px !important;
}

html[data-ui-template="v2"] .vehicle-repair-existing-head{
  margin-bottom:8px;
}

html[data-ui-template="v2"] .vehicle-repair-subtitle-no-margin{
  margin:0;
}

html[data-ui-template="v2"] .vehicle-repair-editor-page .file-list{
  display:grid;
  gap:8px;
}

html[data-ui-template="v2"] .vehicle-repair-editor-page .file-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .vehicle-repair-editor-page .file-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

html[data-ui-template="v2"] .vehicle-repair-editor-page .repair-parts-list{
  display:grid;
  gap:10px;
}

html[data-ui-template="v2"] .vehicle-repair-editor-page .repair-part-row{
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.08);
}

html[data-ui-template="v2"] .vehicle-repair-editor-page .repair-part-grid{
  gap:10px;
  align-items:end;
}

html[data-ui-template="v2"] .vehicle-repair-editor-page .repair-part-actions{
  gap:8px;
}

html[data-ui-template="v2"] .vehicle-repair-parts-list-spaced{
  margin-top:6px;
}

html[data-ui-template="v2"] .vehicle-repair-form-actions{
  margin-top:6px;
}

html[data-ui-template="v2"] .production-orders-filter-form{
  align-items:flex-end;
  gap:10px;
}

html[data-ui-template="v2"] .production-orders-filter-form-align{
  align-items:flex-end;
}

html[data-ui-template="v2"] .production-orders-filter-field{
  min-width:200px;
}

html[data-ui-template="v2"] .production-orders-filter-field-compact{
  min-width:180px;
}

html[data-ui-template="v2"] .production-order-id,
html[data-ui-template="v2"] .production-order-flow-main{
  font-weight:950;
  line-height:1.2;
}

html[data-ui-template="v2"] .production-orders-list-card-spaced{
  margin-top:18px;
}

html[data-ui-template="v2"] .production-orders-actions-col{
  width:120px;
}

html[data-ui-template="v2"] .production-order-flow-sub{
  margin-top:2px;
  line-height:1.45;
}

html[data-ui-template="v2"] .production-order-detail-head{
  margin-bottom:2px;
}

html[data-ui-template="v2"] .production-order-detail-mainwide{
  flex:1 1 460px;
}

html[data-ui-template="v2"] .production-order-detail-title-wrap{
  margin-bottom:2px;
}

html[data-ui-template="v2"] .production-order-detail-title{
  font-size:26px;
  line-height:1.08;
  font-weight:1000;
}

html[data-ui-template="v2"] .production-order-detail-meta-spaced{
  margin-top:4px;
}

html[data-ui-template="v2"] .production-order-detail-meta,
html[data-ui-template="v2"] .production-order-location,
html[data-ui-template="v2"] .production-order-recipe-name{
  line-height:1.55;
}

html[data-ui-template="v2"] .production-order-recipe-box{
  display:flex;
  flex-direction:column;
  gap:2px;
}

html[data-ui-template="v2"] .production-order-recipe-label,
html[data-ui-template="v2"] .production-order-files-title{
  font-size:13px;
  letter-spacing:.02em;
}

html[data-ui-template="v2"] .production-order-detail-grid{
  gap:14px;
}

html[data-ui-template="v2"] .production-order-detail-single-grid{
  gap:14px;
}

html[data-ui-template="v2"] .production-order-subcard{
  padding:18px;
  border-radius:22px;
}

html[data-ui-template="v2"] .production-order-subcard-soft{
  padding:18px;
}

html[data-ui-template="v2"] .production-order-subtitle{
  margin-bottom:10px;
  font-size:17px;
  font-weight:950;
  line-height:1.18;
}

html[data-ui-template="v2"] .production-order-subtitle-compact{
  margin-bottom:10px;
}

html[data-ui-template="v2"] .production-order-kicker{
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}

html[data-ui-template="v2"] .production-order-strong{
  font-weight:950;
}

html[data-ui-template="v2"] .production-order-flow-grid{
  gap:10px;
}

html[data-ui-template="v2"] .production-order-location-inline{
  margin-top:4px;
}

html[data-ui-template="v2"] .production-order-new-card{
  padding:16px 18px;
  border-radius:18px;
}

html[data-ui-template="v2"] .production-order-form{
  display:flex;
  flex-direction:column;
  gap:10px;
}

html[data-ui-template="v2"] .production-recipe-preview{
  border-radius:22px;
  background:rgba(255,255,255,0.02);
}

html[data-ui-template="v2"] .production-recipe-preview-open{
  padding:16px 18px;
}

html[data-ui-template="v2"] .production-recipe-preview-summary{
  font-weight:950;
}

html[data-ui-template="v2"] .production-recipe-preview-summary-clickable{
  letter-spacing:.01em;
}

html[data-ui-template="v2"] .production-recipe-preview-desc{
  line-height:1.55;
}

html[data-ui-template="v2"] .production-recipe-preview-desc-spaced{
  margin-top:10px;
}

html[data-ui-template="v2"] .production-recipe-preview-body-spaced{
  margin-top:12px;
}

html[data-ui-template="v2"] .production-order-layout{
  gap:16px;
}

html[data-ui-template="v2"] .production-order-layout-single{
  gap:16px;
}

html[data-ui-template="v2"] .production-order-panel{
  padding:18px;
  border-radius:22px;
}

html[data-ui-template="v2"] .production-order-panel-soft{
  padding:18px;
}

html[data-ui-template="v2"] .production-order-panel-title,
html[data-ui-template="v2"] .production-order-plan-title{
  font-size:17px;
  font-weight:950;
  line-height:1.18;
}

html[data-ui-template="v2"] .production-order-plan-box{
  border-radius:20px;
}

html[data-ui-template="v2"] .production-order-plan-box-soft{
  padding:18px;
}

html[data-ui-template="v2"] .production-order-plan-title-compact{
  margin-bottom:8px;
}

html[data-ui-template="v2"] .production-order-plan-list{
  margin-top:12px;
}

html[data-ui-template="v2"] .production-order-mode-switch{
  gap:10px;
}

html[data-ui-template="v2"] .production-pill-option{
  min-height:36px;
}

html[data-ui-template="v2"] .production-order-two-col-grid{
  gap:14px;
}

html[data-ui-template="v2"] .production-order-form-actions{
  margin-top:4px;
}

html[data-ui-template="v2"] .production-order-form-actions-spaced{
  margin-top:8px;
}

html[data-ui-template="v2"] .production-order-form-actions-tight{
  margin-top:6px;
}

html[data-ui-template="v2"] .production-recipe-page{
  display:flex;
  flex-direction:column;
  gap:10px;
}

html[data-ui-template="v2"] .production-recipe-page > .card{
  margin-top:0 !important;
}

html[data-ui-template="v2"] .production-recipe-form{
  display:flex;
  flex-direction:column;
  gap:10px;
}

html[data-ui-template="v2"] .production-recipe-files-head{
  align-items:center;
}

html[data-ui-template="v2"] .production-recipe-files-card-spaced{
  padding:14px;
}

html[data-ui-template="v2"] .production-recipe-files-grid-spaced{
  margin-top:8px;
}

html[data-ui-template="v2"] .production-recipe-files-grid{
  gap:10px;
}

html[data-ui-template="v2"] .production-recipe-file-tile{
  min-height:100%;
}

html[data-ui-template="v2"] .production-recipe-file-stack{
  min-height:100%;
}

html[data-ui-template="v2"] .production-recipe-file-link{
  color:inherit;
}

html[data-ui-template="v2"] .production-recipe-file-link-clean{
  color:inherit;
}

html[data-ui-template="v2"] .production-recipe-file-head{
  align-items:center;
}

html[data-ui-template="v2"] .production-recipe-file-head-inline{
  align-items:center;
}

html[data-ui-template="v2"] .production-recipe-file-meta{
  min-width:0;
}

html[data-ui-template="v2"] .production-recipe-file-meta-fluid{
  min-width:0;
}

html[data-ui-template="v2"] .production-recipe-file-caption{
  margin:0;
}

html[data-ui-template="v2"] .production-recipe-file-caption-reset{
  margin:0;
}

html[data-ui-template="v2"] .production-recipe-file-size{
  font-size:12px;
}

html[data-ui-template="v2"] .production-recipe-empty-state{
  line-height:1.55;
}

@media (max-width: 900px){
  html[data-ui-template="v2"] .inventory-detail-card,
  html[data-ui-template="v2"] form.inventory-editor-page.form{
    padding:16px;
    border-radius:18px;
  }

  html[data-ui-template="v2"] .inventory-detail-page .detail-qr-wrap{
    grid-template-columns:1fr;
  }

  html[data-ui-template="v2"] .vehicle-editor-page .vehicle-existing-files .file-item{
    flex-direction:column;
    align-items:flex-start;
  }

  html[data-ui-template="v2"] .part-pick-summary-card,
  html[data-ui-template="v2"] .part-pick-form,
  html[data-ui-template="v2"] .auto-parts-pick-card{
    padding:16px;
    border-radius:18px;
  }

  html[data-ui-template="v2"] .vehicle-report-card,
  html[data-ui-template="v2"] .project-detail-card,
  html[data-ui-template="v2"] .project-list-card,
  html[data-ui-template="v2"] .production-card,
  html[data-ui-template="v2"] .purchases-card{
    padding:16px;
    border-radius:18px;
  }

  html[data-ui-template="v2"] .vehicle-repair-editor-page{
    padding:16px;
  }

  html[data-ui-template="v2"] .vehicle-list-card{
    padding:16px;
    border-radius:18px;
  }
}

@media (max-width: 640px){
  html[data-ui-template="v2"] .inventory-detail-page .detail-media-actions .btn,
  html[data-ui-template="v2"] .inventory-detail-page .detail-inline-action-link,
  html[data-ui-template="v2"] .inventory-detail-page .detail-qr-actions .btn,
  html[data-ui-template="v2"] .vehicle-editor-page .vehicle-existing-files .file-actions .btn,
  html[data-ui-template="v2"] .task-editor-page .btn{
    width:100%;
  }

  html[data-ui-template="v2"] .inventory-detail-page .detail-page-actions{
    justify-content:stretch;
  }

html[data-ui-template="v2"] .inventory-detail-page .detail-page-actions .btn{
  width:100%;
}

html[data-ui-template="v2"] .package-detail-page-shell{
  gap:12px;
  padding:16px 18px;
}

html[data-ui-template="v2"] .package-detail-layout{
  gap:12px;
}

html[data-ui-template="v2"] .package-detail-card{
  padding:16px 18px;
  border-radius:22px;
}

html[data-ui-template="v2"] .package-detail-card .detail-section-title{
  font-size:17px;
  line-height:1.14;
}

html[data-ui-template="v2"] .package-detail-form{
  gap:10px;
}

html[data-ui-template="v2"] .package-detail-grid{
  gap:12px 14px;
}

html[data-ui-template="v2"] .package-detail-form .field{
  gap:6px;
}

html[data-ui-template="v2"] .package-detail-form .field > span{
  font-size:11px;
}

html[data-ui-template="v2"] .package-detail-form input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"] .package-detail-form select{
  min-height:42px;
  padding-top:10px;
  padding-bottom:10px;
}

html[data-ui-template="v2"] .package-detail-form textarea{
  min-height:76px;
  padding-top:10px;
  padding-bottom:10px;
}

html[data-ui-template="v2"] .package-detail-wide-field{
  margin-top:2px;
}

html[data-ui-template="v2"] .package-detail-hint{
  margin-top:-2px;
  line-height:1.35;
}

html[data-ui-template="v2"] .package-detail-actions{
  margin-top:0;
  padding-top:0;
}

html[data-ui-template="v2"] .package-detail-actions .btn{
  min-width:168px;
}

html[data-ui-template="v2"] .package-types-page{
  display:flex;
  flex-direction:column;
  gap:10px;
}

html[data-ui-template="v2"] .package-types-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .package-types-card > h2{
  margin:0 0 8px 0;
  font-size:16px;
  line-height:1.14;
  font-weight:950;
}

html[data-ui-template="v2"] .package-types-form{
  gap:8px;
}

html[data-ui-template="v2"] .package-types-grid{
  gap:10px 12px;
  align-items:start;
}

html[data-ui-template="v2"] .package-types-form .field{
  gap:6px;
  min-width:0;
}

html[data-ui-template="v2"] .package-types-form .field > span{
  font-size:11px;
}

html[data-ui-template="v2"] .package-types-form input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"] .package-types-form select,
html[data-ui-template="v2"] .package-types-form textarea{
  min-height:38px;
  padding-top:8px;
  padding-bottom:8px;
}

html[data-ui-template="v2"] .package-types-form input[type="file"]{
  min-height:38px;
}

html[data-ui-template="v2"] .package-types-form .hint{
  line-height:1.3;
  font-size:11px;
  margin-top:2px;
}

html[data-ui-template="v2"] .package-types-actions{
  margin-top:0;
  padding-top:0;
  justify-content:flex-end;
}

html[data-ui-template="v2"] .package-types-actions .btn{
  min-width:136px;
}

@media (max-width: 900px){
  html[data-ui-template="v2"] .package-detail-page-shell{
    padding:14px;
  }

  html[data-ui-template="v2"] .package-detail-card{
    padding:14px;
    border-radius:20px;
  }

  html[data-ui-template="v2"] .package-types-card{
    padding:14px;
    border-radius:20px;
  }
}

  html[data-ui-template="v2"] .borrow-inline-field,
  html[data-ui-template="v2"] .borrow-inline-date{
    min-width:100%;
  }

  html[data-ui-template="v2"] .part-pick-short-field{
    max-width:none;
  }

  html[data-ui-template="v2"] .project-items-head,
  html[data-ui-template="v2"] .production-detail-head{
    align-items:flex-start;
  }

  html[data-ui-template="v2"] .purchases-list-head,
  html[data-ui-template="v2"] .vehicle-repair-head,
  html[data-ui-template="v2"] .vehicle-repair-editor-page .file-item{
    align-items:flex-start;
  }

  html[data-ui-template="v2"] .vehicle-repair-editor-page .file-item{
    flex-direction:column;
  }
}

/* ===== v2: ustawienia wyglądu użytkownika ===== */
html[data-ui-template="v2"][data-bg="nebula"] body::before{
  background:
    radial-gradient(980px 680px at 18% 0%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(960px 680px at 84% 10%, rgba(57,211,159,0.07) 0%, rgba(0,0,0,0) 58%),
    linear-gradient(180deg, #0c1220 0%, #0a1018 42%, #070b12 100%);
}

html[data-ui-template="v2"][data-bg="dusk"] body::before{
  background:
    radial-gradient(820px 520px at 12% 0%, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0) 58%),
    radial-gradient(980px 640px at 90% 0%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #11192a 0%, #0c131f 48%, #070c12 100%);
}

html[data-ui-template="v2"][data-bg="grid"] body::before{
  background:
    radial-gradient(880px 560px at 18% 0%, color-mix(in srgb, var(--accent) 12%, transparent) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #0b1421 0%, #09111a 55%, #070b11 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.028) 0, rgba(255,255,255,0.028) 1px, rgba(0,0,0,0) 1px, rgba(0,0,0,0) 56px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.028) 0, rgba(255,255,255,0.028) 1px, rgba(0,0,0,0) 1px, rgba(0,0,0,0) 56px);
}

html[data-ui-template="v2"][data-bg="carbon"] body::before{
  background:
    linear-gradient(180deg, #0b121c 0%, #09111a 56%, #060a10 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.024) 0, rgba(255,255,255,0.024) 6px, rgba(0,0,0,0) 6px, rgba(0,0,0,0) 12px);
}

html[data-ui-template="v2"][data-bg="plain"] body::before{
  background:
    linear-gradient(180deg, #0b1018 0%, #0a0f17 50%, #070b12 100%);
}

html[data-ui-template="v2"][data-bg="aurora"] body::before{
  background:
    radial-gradient(1080px 460px at 12% 0%, rgba(90,167,255,0.17) 0%, rgba(0,0,0,0) 56%),
    radial-gradient(820px 520px at 88% 12%, rgba(79,226,192,0.14) 0%, rgba(0,0,0,0) 54%),
    radial-gradient(620px 400px at 48% 100%, rgba(177,140,255,0.10) 0%, rgba(0,0,0,0) 58%),
    linear-gradient(180deg, #09131f 0%, #08111a 46%, #060b12 100%);
}

html[data-ui-template="v2"][data-bg="studio"] body::before{
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 14%, rgba(0,0,0,0) 34%),
    radial-gradient(circle at 50% 44%, rgba(17,31,48,0.20) 0%, rgba(0,0,0,0) 48%),
    linear-gradient(180deg, #0c121a 0%, #091019 54%, #060910 100%);
}

html[data-ui-template="v2"][data-bg="blueprint"] body::before{
  background:
    radial-gradient(980px 560px at 14% 0%, rgba(90,167,255,0.13) 0%, rgba(0,0,0,0) 58%),
    linear-gradient(180deg, #0a1522 0%, #08111a 55%, #070c12 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.026) 0, rgba(255,255,255,0.026) 1px, rgba(0,0,0,0) 1px, rgba(0,0,0,0) 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.024) 0, rgba(255,255,255,0.024) 1px, rgba(0,0,0,0) 1px, rgba(0,0,0,0) 40px);
}

html[data-ui-template="v2"][data-grain="off"] body::after{opacity:0}
html[data-ui-template="v2"][data-grain="soft"] body::after{opacity:.035}
html[data-ui-template="v2"][data-grain="medium"] body::after{opacity:.07}
html[data-ui-template="v2"][data-grain="strong"] body::after{opacity:.12}

html[data-ui-template="v2"][data-density="ultra_compact"] .topbar{
  min-height:62px;
  padding:12px 14px;
  gap:12px;
}
html[data-ui-template="v2"][data-density="ultra_compact"] .content{
  padding:12px var(--gutter) calc(var(--gutter) + var(--footer-h));
}
html[data-ui-template="v2"][data-density="ultra_compact"] .nav{gap:8px}
html[data-ui-template="v2"][data-density="ultra_compact"] .nav-group > summary.nav-group-title{min-height:42px;border-radius:14px}
html[data-ui-template="v2"][data-density="ultra_compact"] .nav-sub > summary.nav-sub-title,
html[data-ui-template="v2"][data-density="ultra_compact"] .nav-item{min-height:38px;border-radius:13px}
html[data-ui-template="v2"][data-density="ultra_compact"] .card{padding:12px 14px;border-radius:18px}
html[data-ui-template="v2"][data-density="ultra_compact"] .card-sub{padding:10px 12px;border-radius:14px}
html[data-ui-template="v2"][data-density="ultra_compact"] .btn{min-height:36px;padding:7px 11px;border-radius:12px}
html[data-ui-template="v2"][data-density="ultra_compact"] .btn-small{min-height:32px;padding:6px 9px;border-radius:11px}
html[data-ui-template="v2"][data-density="ultra_compact"] input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"][data-density="ultra_compact"] select,
html[data-ui-template="v2"][data-density="ultra_compact"] textarea{min-height:40px;padding:8px 11px;border-radius:12px}
html[data-ui-template="v2"][data-density="ultra_compact"] textarea{min-height:96px}

html[data-ui-template="v2"][data-density="compact"] .topbar{
  min-height:66px;
  padding:14px 16px;
  gap:14px;
}
html[data-ui-template="v2"][data-density="compact"] .content{
  padding:16px var(--gutter) calc(var(--gutter) + var(--footer-h));
}
html[data-ui-template="v2"][data-density="compact"] .nav{gap:10px}
html[data-ui-template="v2"][data-density="compact"] .nav-group > summary.nav-group-title{min-height:44px}
html[data-ui-template="v2"][data-density="compact"] .nav-sub > summary.nav-sub-title,
html[data-ui-template="v2"][data-density="compact"] .nav-item{min-height:40px}
html[data-ui-template="v2"][data-density="compact"] .card{padding:16px 18px;border-radius:20px}
html[data-ui-template="v2"][data-density="compact"] .card-sub{padding:12px 14px;border-radius:16px}
html[data-ui-template="v2"][data-density="compact"] .btn{min-height:38px;padding:8px 13px}
html[data-ui-template="v2"][data-density="compact"] .btn-small{min-height:34px;padding:7px 10px}
html[data-ui-template="v2"][data-density="compact"] input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"][data-density="compact"] select,
html[data-ui-template="v2"][data-density="compact"] textarea{min-height:42px;padding:9px 12px}
html[data-ui-template="v2"][data-density="compact"] textarea{min-height:104px}

html[data-ui-template="v2"][data-density="comfortable"] .topbar{
  min-height:76px;
  padding:18px 20px;
}
html[data-ui-template="v2"][data-density="comfortable"] .content{
  padding:24px var(--gutter) calc(var(--gutter) + var(--footer-h));
}
html[data-ui-template="v2"][data-density="comfortable"] .nav{gap:14px}
html[data-ui-template="v2"][data-density="comfortable"] .nav-group > summary.nav-group-title{min-height:50px;border-radius:17px}
html[data-ui-template="v2"][data-density="comfortable"] .nav-sub > summary.nav-sub-title,
html[data-ui-template="v2"][data-density="comfortable"] .nav-item{min-height:46px;border-radius:16px}
html[data-ui-template="v2"][data-density="comfortable"] .card{padding:20px 22px;border-radius:26px}
html[data-ui-template="v2"][data-density="comfortable"] .card-sub{padding:16px 18px;border-radius:20px}
html[data-ui-template="v2"][data-density="comfortable"] .btn{min-height:44px;padding:11px 17px}
html[data-ui-template="v2"][data-density="comfortable"] .btn-small{min-height:40px;padding:9px 13px}
html[data-ui-template="v2"][data-density="comfortable"] input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"][data-density="comfortable"] select,
html[data-ui-template="v2"][data-density="comfortable"] textarea{min-height:48px;padding:12px 15px}
html[data-ui-template="v2"][data-density="comfortable"] textarea{min-height:128px}

html[data-ui-template="v2"][data-density="relaxed"] .topbar{
  min-height:82px;
  padding:20px 22px;
}
html[data-ui-template="v2"][data-density="relaxed"] .content{
  padding:28px var(--gutter) calc(var(--gutter) + var(--footer-h));
}
html[data-ui-template="v2"][data-density="relaxed"] .nav{gap:16px}
html[data-ui-template="v2"][data-density="relaxed"] .nav-group > summary.nav-group-title{min-height:54px;border-radius:18px}
html[data-ui-template="v2"][data-density="relaxed"] .nav-sub > summary.nav-sub-title,
html[data-ui-template="v2"][data-density="relaxed"] .nav-item{min-height:48px;border-radius:17px}
html[data-ui-template="v2"][data-density="relaxed"] .card{padding:22px 24px;border-radius:28px}
html[data-ui-template="v2"][data-density="relaxed"] .card-sub{padding:18px 20px;border-radius:22px}
html[data-ui-template="v2"][data-density="relaxed"] .btn{min-height:46px;padding:12px 18px}
html[data-ui-template="v2"][data-density="relaxed"] .btn-small{min-height:42px;padding:10px 14px}
html[data-ui-template="v2"][data-density="relaxed"] input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"][data-density="relaxed"] select,
html[data-ui-template="v2"][data-density="relaxed"] textarea{min-height:50px;padding:13px 16px}
html[data-ui-template="v2"][data-density="relaxed"] textarea{min-height:136px}

html[data-ui-template="v2"][data-detail="minimal"] .sidebar,
html[data-ui-template="v2"][data-detail="minimal"] .topbar,
html[data-ui-template="v2"][data-detail="minimal"] .card,
html[data-ui-template="v2"][data-detail="minimal"] .table-wrap,
html[data-ui-template="v2"][data-detail="minimal"] .card-sub{
  box-shadow:0 10px 22px rgba(0,0,0,0.20);
}
html[data-ui-template="v2"][data-detail="minimal"] .sidebar{
  background:linear-gradient(180deg, #101927 0%, #0c1420 100%);
}
html[data-ui-template="v2"][data-detail="minimal"] .topbar{
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
html[data-ui-template="v2"][data-detail="minimal"] .card,
html[data-ui-template="v2"][data-detail="minimal"] .table-wrap{
  background:linear-gradient(180deg, rgba(255,255,255,0.024) 0%, rgba(255,255,255,0.01) 100%), linear-gradient(180deg, #121a27 0%, #101723 100%);
}
html[data-ui-template="v2"][data-detail="minimal"] .btn,
html[data-ui-template="v2"][data-detail="minimal"] input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"][data-detail="minimal"] select,
html[data-ui-template="v2"][data-detail="minimal"] textarea{
  border-color:rgba(255,255,255,0.07);
}

html[data-ui-template="v2"][data-detail="rich"] .sidebar{
  box-shadow:0 32px 80px rgba(0,0,0,0.38);
}
html[data-ui-template="v2"][data-detail="rich"] .topbar{
  box-shadow:0 20px 42px rgba(0,0,0,0.26);
}
html[data-ui-template="v2"][data-detail="rich"] .card,
html[data-ui-template="v2"][data-detail="rich"] .table-wrap{
  border-color:rgba(255,255,255,0.10);
  box-shadow:0 22px 42px rgba(0,0,0,0.30);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.018) 100%),
    linear-gradient(180deg, #121c2b 0%, #0f1724 100%);
}
html[data-ui-template="v2"][data-detail="rich"] .card-sub{
  background:rgba(255,255,255,0.028);
  border-color:rgba(255,255,255,0.10);
}

html[data-ui-template="v2"][data-detail="immersive"] .sidebar{
  background:
    radial-gradient(320px 180px at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.018) 100%),
    linear-gradient(180deg, #10192a 0%, #0d1522 72%, #09111a 100%);
  box-shadow:0 36px 90px rgba(0,0,0,0.42);
}
html[data-ui-template="v2"][data-detail="immersive"] .topbar{
  box-shadow:0 24px 50px rgba(0,0,0,0.30);
  background:
    radial-gradient(420px 180px at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, rgba(18,28,42,0.92) 0%, rgba(13,20,32,0.88) 100%);
}
html[data-ui-template="v2"][data-detail="immersive"] .card,
html[data-ui-template="v2"][data-detail="immersive"] .table-wrap{
  border-color:rgba(255,255,255,0.11);
  box-shadow:0 26px 50px rgba(0,0,0,0.34);
  background:
    radial-gradient(380px 180px at 100% 0%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%),
    linear-gradient(180deg, #132031 0%, #0f1826 100%);
}
html[data-ui-template="v2"][data-detail="immersive"] .card-sub{
  background:rgba(255,255,255,0.03);
  border-color:rgba(255,255,255,0.11);
}

html[data-ui-template="v2"] .table.bulk-subloc-table thead th{
  padding-top:8px;
  padding-bottom:8px;
}

html[data-ui-template="v2"] .table.bulk-subloc-table tbody td{
  padding-top:2px;
  padding-bottom:2px;
  vertical-align:middle;
}

html[data-ui-template="v2"] .table.bulk-subloc-table td.col-select,
html[data-ui-template="v2"] .table.bulk-subloc-table th.col-select{
  padding-left:10px;
  padding-right:6px;
}

html[data-ui-template="v2"] .table.bulk-subloc-table td.col-thumb,
html[data-ui-template="v2"] .table.bulk-subloc-table th.col-thumb{
  padding-left:8px;
  padding-right:8px;
}

html[data-ui-template="v2"] .table.bulk-subloc-table .link-strong{
  min-height:30px;
  align-items:center;
  line-height:1.04;
}

@media (max-width: 900px){
  html[data-ui-template="v2"] form[data-missing-sublocation-page] .bulk-subloc-table-wrap.parts-table-wrap{
    overflow-x:hidden;
    overflow-y:auto;
  }

  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table{
    width:100%;
    table-layout:fixed;
  }

  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table .col-select{
    width:36px;
  }

  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table .col-thumb{
    width:52px;
  }

  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table td.col-select,
  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table th.col-select{
    padding-left:8px;
    padding-right:4px;
  }

  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table td.col-thumb,
  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table th.col-thumb{
    padding-left:4px;
    padding-right:6px;
  }

  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table td.col-thumb .thumb,
  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table td.col-thumb .thumb-placeholder{
    width:36px;
    height:36px;
    border-radius:10px;
    display:block;
    margin:0 auto;
    max-width:none;
  }

  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table tbody td{
    padding-top:4px;
    padding-bottom:4px;
  }

  html[data-ui-template="v2"] form[data-missing-sublocation-page] .table.bulk-subloc-table .link-strong{
    display:block;
    width:100%;
    min-width:0;
    max-width:100%;
    min-height:36px;
    line-height:36px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

/* ====== Globalne ściskanie wspólnych wrapperów v2 ====== */
html[data-ui-template="v2"] .account-settings-page,
html[data-ui-template="v2"][data-density] .account-settings-page,
html[data-ui-template="v2"] .users-admin-page,
html[data-ui-template="v2"][data-density] .users-admin-page,
html[data-ui-template="v2"] .admin-layout-page,
html[data-ui-template="v2"][data-density] .admin-layout-page,
html[data-ui-template="v2"] .task-detail-page,
html[data-ui-template="v2"][data-density] .task-detail-page,
html[data-ui-template="v2"] .inventory-detail-page,
html[data-ui-template="v2"][data-density] .inventory-detail-page,
html[data-ui-template="v2"] .inventory-scan-page,
html[data-ui-template="v2"][data-density] .inventory-scan-page,
html[data-ui-template="v2"] .vehicle-detail-page,
html[data-ui-template="v2"][data-density] .vehicle-detail-page,
html[data-ui-template="v2"] .vehicle-list-page,
html[data-ui-template="v2"][data-density] .vehicle-list-page,
html[data-ui-template="v2"] .task-editor-page,
html[data-ui-template="v2"][data-density] .task-editor-page,
html[data-ui-template="v2"] .part-pick-page,
html[data-ui-template="v2"][data-density] .part-pick-page,
html[data-ui-template="v2"] .borrow-editor-layout,
html[data-ui-template="v2"][data-density] .borrow-editor-layout,
html[data-ui-template="v2"] .vehicle-report-page,
html[data-ui-template="v2"][data-density] .vehicle-report-page,
html[data-ui-template="v2"] .project-detail-page,
html[data-ui-template="v2"][data-density] .project-detail-page,
html[data-ui-template="v2"] .project-list-page,
html[data-ui-template="v2"][data-density] .project-list-page,
html[data-ui-template="v2"] .production-page,
html[data-ui-template="v2"][data-density] .production-page,
html[data-ui-template="v2"] .purchases-page,
html[data-ui-template="v2"][data-density] .purchases-page,
html[data-ui-template="v2"] .purchases-receive-page,
html[data-ui-template="v2"][data-density] .purchases-receive-page{
  gap:10px;
}

html[data-ui-template="v2"] .account-settings-card,
html[data-ui-template="v2"][data-density] .account-settings-card,
html[data-ui-template="v2"] .vehicle-list-card,
html[data-ui-template="v2"][data-density] .vehicle-list-card,
html[data-ui-template="v2"] .vehicle-report-card,
html[data-ui-template="v2"][data-density] .vehicle-report-card,
html[data-ui-template="v2"] .project-detail-card,
html[data-ui-template="v2"][data-density] .project-detail-card,
html[data-ui-template="v2"] .project-list-card,
html[data-ui-template="v2"][data-density] .project-list-card,
html[data-ui-template="v2"] .production-card,
html[data-ui-template="v2"][data-density] .production-card,
html[data-ui-template="v2"] .purchases-card,
html[data-ui-template="v2"][data-density] .purchases-card,
html[data-ui-template="v2"] .inventory-detail-card,
html[data-ui-template="v2"][data-density] .inventory-detail-card,
html[data-ui-template="v2"] form.inventory-editor-page.form,
html[data-ui-template="v2"][data-density] form.inventory-editor-page.form{
  padding:16px 18px;
  border-radius:18px;
}

html[data-ui-template="v2"] .account-settings-page > .card > h3,
html[data-ui-template="v2"][data-density] .account-settings-page > .card > h3,
html[data-ui-template="v2"] .users-admin-page > .card > h2,
html[data-ui-template="v2"][data-density] .users-admin-page > .card > h2,
html[data-ui-template="v2"] .task-detail-page > .card > h3,
html[data-ui-template="v2"][data-density] .task-detail-page > .card > h3,
html[data-ui-template="v2"] .menu-layout-head h3,
html[data-ui-template="v2"][data-density] .menu-layout-head h3{
  margin:0 0 8px 0;
  font-size:17px;
}

html[data-ui-template="v2"] .account-settings-head,
html[data-ui-template="v2"][data-density] .account-settings-head,
html[data-ui-template="v2"] .account-settings-form,
html[data-ui-template="v2"][data-density] .account-settings-form{
  gap:8px;
}

html[data-ui-template="v2"] .inventory-detail-layout,
html[data-ui-template="v2"][data-density] .inventory-detail-layout{
  gap:10px;
}

html[data-ui-template="v2"] .inventory-detail-side-card,
html[data-ui-template="v2"][data-density] .inventory-detail-side-card,
html[data-ui-template="v2"] .inventory-detail-page .details-grid,
html[data-ui-template="v2"][data-density] .inventory-detail-page .details-grid{
  gap:10px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-section-title,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-section-title,
html[data-ui-template="v2"] .vehicle-list-title,
html[data-ui-template="v2"][data-density] .vehicle-list-title{
  font-size:16px;
  margin:0 0 6px 0;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-note,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-note,
html[data-ui-template="v2"] .report-page-note,
html[data-ui-template="v2"][data-density] .report-page-note,
html[data-ui-template="v2"] .production-page-note,
html[data-ui-template="v2"][data-density] .production-page-note{
  line-height:1.42;
  margin-bottom:6px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-media-grid,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-media-grid,
html[data-ui-template="v2"] .inventory-detail-page .detail-file-grid,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-file-grid{
  gap:8px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-media-box,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-media-box{
  padding:10px;
  border-radius:14px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-media-actions,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-media-actions,
html[data-ui-template="v2"] .inventory-detail-page .detail-qr-actions,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-qr-actions{
  gap:6px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-inline-action,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-inline-action,
html[data-ui-template="v2"] .inventory-detail-page .detail-inline-action-link,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-inline-action-link{
  margin-top:10px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-wrap,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-qr-wrap{
  gap:10px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-box,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-qr-box{
  padding:12px;
  border-radius:14px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-meta,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-qr-meta{
  gap:6px;
}

html[data-ui-template="v2"] .inventory-editor-page,
html[data-ui-template="v2"][data-density] .inventory-editor-page{
  padding:16px 18px;
}

html[data-ui-template="v2"] .inventory-editor-page form.form,
html[data-ui-template="v2"][data-density] .inventory-editor-page form.form,
html[data-ui-template="v2"] .inventory-editor-page .grid-2,
html[data-ui-template="v2"][data-density] .inventory-editor-page .grid-2,
html[data-ui-template="v2"] .inventory-editor-page .grid-3,
html[data-ui-template="v2"][data-density] .inventory-editor-page .grid-3{
  gap:10px;
}

html[data-ui-template="v2"] .inventory-editor-page .grid2,
html[data-ui-template="v2"][data-density] .inventory-editor-page .grid2{
  gap:10px 12px;
}

html[data-ui-template="v2"] .inventory-editor-page .field,
html[data-ui-template="v2"][data-density] .inventory-editor-page .field{
  gap:5px;
}

html[data-ui-template="v2"] .inventory-editor-page .field > span,
html[data-ui-template="v2"][data-density] .inventory-editor-page .field > span{
  font-size:11px;
}

html[data-ui-template="v2"] .inventory-editor-page .card-sub.editor-section-banner,
html[data-ui-template="v2"][data-density] .inventory-editor-page .card-sub.editor-section-banner{
  padding:10px 12px;
  border-radius:14px;
}

html[data-ui-template="v2"] .inventory-editor-page .card-sub.editor-section-banner.compact,
html[data-ui-template="v2"][data-density] .inventory-editor-page .card-sub.editor-section-banner.compact{
  padding:8px 10px;
}

html[data-ui-template="v2"] .inventory-editor-page .card-sub.editor-section-banner h3,
html[data-ui-template="v2"][data-density] .inventory-editor-page .card-sub.editor-section-banner h3{
  font-size:15px;
}

html[data-ui-template="v2"] .inventory-editor-page input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"][data-density] .inventory-editor-page input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"] .inventory-editor-page select,
html[data-ui-template="v2"][data-density] .inventory-editor-page select{
  min-height:38px;
  padding-top:7px;
  padding-bottom:7px;
}

html[data-ui-template="v2"] .inventory-editor-page textarea,
html[data-ui-template="v2"][data-density] .inventory-editor-page textarea{
  min-height:84px;
  padding-top:8px;
  padding-bottom:8px;
}

html[data-ui-template="v2"] .inventory-editor-page .notice,
html[data-ui-template="v2"][data-density] .inventory-editor-page .notice{
  padding:10px 12px;
  border-radius:14px;
}

html[data-ui-template="v2"] .inventory-editor-page .editor-grid-tight,
html[data-ui-template="v2"][data-density] .inventory-editor-page .editor-grid-tight,
html[data-ui-template="v2"] .inventory-editor-page .photo-options,
html[data-ui-template="v2"][data-density] .inventory-editor-page .photo-options{
  margin-top:6px;
}

html[data-ui-template="v2"] .inventory-editor-page .media-section,
html[data-ui-template="v2"][data-density] .inventory-editor-page .media-section{
  padding:14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .inventory-editor-page .media-section-header,
html[data-ui-template="v2"][data-density] .inventory-editor-page .media-section-header{
  gap:8px;
  margin-bottom:8px;
}

html[data-ui-template="v2"] .inventory-editor-page .media-section-title,
html[data-ui-template="v2"][data-density] .inventory-editor-page .media-section-title{
  font-size:16px;
}

html[data-ui-template="v2"] .inventory-editor-page .media-layout,
html[data-ui-template="v2"][data-density] .inventory-editor-page .media-layout,
html[data-ui-template="v2"] .inventory-editor-page .edit-media-grid,
html[data-ui-template="v2"][data-density] .inventory-editor-page .edit-media-grid,
html[data-ui-template="v2"] .inventory-editor-page .edit-file-grid,
html[data-ui-template="v2"][data-density] .inventory-editor-page .edit-file-grid,
html[data-ui-template="v2"] .inventory-editor-page .part-edit-media-grid,
html[data-ui-template="v2"][data-density] .inventory-editor-page .part-edit-media-grid,
html[data-ui-template="v2"] .inventory-editor-page .part-edit-file-grid,
html[data-ui-template="v2"][data-density] .inventory-editor-page .part-edit-file-grid,
html[data-ui-template="v2"] .inventory-editor-page .lot-move-list,
html[data-ui-template="v2"][data-density] .inventory-editor-page .lot-move-list{
  gap:10px;
}

html[data-ui-template="v2"] .inventory-editor-page .media-block,
html[data-ui-template="v2"][data-density] .inventory-editor-page .media-block,
html[data-ui-template="v2"] .inventory-editor-page .edit-media-card,
html[data-ui-template="v2"][data-density] .inventory-editor-page .edit-media-card,
html[data-ui-template="v2"] .inventory-editor-page .edit-file-card,
html[data-ui-template="v2"][data-density] .inventory-editor-page .edit-file-card{
  padding:12px;
  border-radius:14px;
}

html[data-ui-template="v2"] .inventory-editor-page .photo-picker,
html[data-ui-template="v2"][data-density] .inventory-editor-page .photo-picker,
html[data-ui-template="v2"] .inventory-editor-page .attach-picker,
html[data-ui-template="v2"][data-density] .inventory-editor-page .attach-picker,
html[data-ui-template="v2"] .inventory-editor-page .edit-media-actions,
html[data-ui-template="v2"][data-density] .inventory-editor-page .edit-media-actions,
html[data-ui-template="v2"] .inventory-editor-page .file-tile-actions,
html[data-ui-template="v2"][data-density] .inventory-editor-page .file-tile-actions{
  gap:6px;
}

html[data-ui-template="v2"] .inventory-editor-page .lot-move-item,
html[data-ui-template="v2"][data-density] .inventory-editor-page .lot-move-item{
  padding:12px 14px;
  border-radius:14px;
}

html[data-ui-template="v2"] .inventory-editor-page .lot-title,
html[data-ui-template="v2"][data-density] .inventory-editor-page .lot-title{
  font-size:14px;
}

html[data-ui-template="v2"] .inventory-editor-page .lot-sub,
html[data-ui-template="v2"][data-density] .inventory-editor-page .lot-sub{
  line-height:1.42;
}

html[data-ui-template="v2"] .task-editor-page .task-editor-hint-card,
html[data-ui-template="v2"][data-density] .task-editor-page .task-editor-hint-card,
html[data-ui-template="v2"] .part-pick-empty,
html[data-ui-template="v2"][data-density] .part-pick-empty{
  padding:10px 12px;
  border-radius:14px;
}

html[data-ui-template="v2"] .part-pick-summary-card,
html[data-ui-template="v2"][data-density] .part-pick-summary-card,
html[data-ui-template="v2"] .part-pick-form,
html[data-ui-template="v2"][data-density] .part-pick-form,
html[data-ui-template="v2"] .auto-parts-pick-card,
html[data-ui-template="v2"][data-density] .auto-parts-pick-card{
  padding:16px 18px;
  border-radius:18px;
}

html[data-ui-template="v2"] .part-pick-title-row,
html[data-ui-template="v2"][data-density] .part-pick-title-row,
html[data-ui-template="v2"] .part-pick-fields,
html[data-ui-template="v2"][data-density] .part-pick-fields,
html[data-ui-template="v2"] .borrow-inline-fields,
html[data-ui-template="v2"][data-density] .borrow-inline-fields,
html[data-ui-template="v2"] .vehicle-report-summary-grid,
html[data-ui-template="v2"][data-density] .vehicle-report-summary-grid{
  gap:10px;
}

html[data-ui-template="v2"] .task-picked-title,
html[data-ui-template="v2"][data-density] .task-picked-title{
  font-size:19px;
}

html[data-ui-template="v2"] .vehicle-report-filter-form,
html[data-ui-template="v2"][data-density] .vehicle-report-filter-form{
  gap:10px;
}

html[data-ui-template="v2"] .vehicle-report-summary-box,
html[data-ui-template="v2"][data-density] .vehicle-report-summary-box{
  min-height:88px;
  padding:12px;
  border-radius:14px;
}

html[data-ui-template="v2"][data-density="comfortable"] .card{
  padding:16px 18px;
  border-radius:22px;
}

html[data-ui-template="v2"][data-density="comfortable"] .card-sub{
  padding:13px 15px;
  border-radius:18px;
}

html[data-ui-template="v2"][data-density="comfortable"] .content > *,
html[data-ui-template="v2"][data-density="comfortable"] #mcResults > *{
  margin-bottom:14px;
}

html[data-ui-template="v2"][data-density="comfortable"] input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"][data-density="comfortable"] select,
html[data-ui-template="v2"][data-density="comfortable"] textarea{
  min-height:44px;
  padding:10px 13px;
}

html[data-ui-template="v2"][data-density="comfortable"] textarea{
  min-height:112px;
}

html[data-ui-template="v2"][data-density="relaxed"] .card{
  padding:18px 20px;
  border-radius:24px;
}

html[data-ui-template="v2"][data-density="relaxed"] .card-sub{
  padding:15px 17px;
  border-radius:20px;
}

html[data-ui-template="v2"][data-density="relaxed"] .content > *,
html[data-ui-template="v2"][data-density="relaxed"] #mcResults > *{
  margin-bottom:16px;
}

html[data-ui-template="v2"][data-density="relaxed"] input:not([type="checkbox"]):not([type="radio"]),
html[data-ui-template="v2"][data-density="relaxed"] select,
html[data-ui-template="v2"][data-density="relaxed"] textarea{
  min-height:46px;
  padding:11px 14px;
}

html[data-ui-template="v2"][data-density="relaxed"] textarea{
  min-height:120px;
}

/* ====== Dodatkowe lokalne ściskanie wysp v2 ====== */

html[data-ui-template="v2"] .card{
  padding:16px 18px;
  border-radius:20px;
}

html[data-ui-template="v2"] .card-sub{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .layout,
html[data-ui-template="v2"][data-density] .layout{
  gap:14px;
}

html[data-ui-template="v2"] .sidebar,
html[data-ui-template="v2"][data-density] .sidebar{
  width:268px;
  padding:14px;
}

html[data-ui-template="v2"] .brand,
html[data-ui-template="v2"][data-density] .brand{
  margin-bottom:10px;
}

html[data-ui-template="v2"] .nav,
html[data-ui-template="v2"][data-density] .nav{
  gap:10px;
}

html[data-ui-template="v2"] .layout,
html[data-ui-template="v2"][data-density] .layout,
html[data-ui-template="v2"] .dashboard-page,
html[data-ui-template="v2"][data-density] .dashboard-page,
html[data-ui-template="v2"] .search-page-shell,
html[data-ui-template="v2"][data-density] .search-page-shell,
html[data-ui-template="v2"] .inventory-scan-page,
html[data-ui-template="v2"][data-density] .inventory-scan-page,
html[data-ui-template="v2"] .dict-electrical-page,
html[data-ui-template="v2"][data-density] .dict-electrical-page,
html[data-ui-template="v2"] .qr-page,
html[data-ui-template="v2"][data-density] .qr-page,
html[data-ui-template="v2"] .public-dashboard-page,
html[data-ui-template="v2"][data-density] .public-dashboard-page,
html[data-ui-template="v2"] .reports-page,
html[data-ui-template="v2"][data-density] .reports-page,
html[data-ui-template="v2"] .import-export-page,
html[data-ui-template="v2"][data-density] .import-export-page,
html[data-ui-template="v2"] .account-mobile-page,
html[data-ui-template="v2"][data-density] .account-mobile-page,
html[data-ui-template="v2"] .vehicle-detail-page,
html[data-ui-template="v2"][data-density] .vehicle-detail-page,
html[data-ui-template="v2"] .vehicle-list-page,
html[data-ui-template="v2"][data-density] .vehicle-list-page,
html[data-ui-template="v2"] .part-add-stock-page,
html[data-ui-template="v2"][data-density] .part-add-stock-page{
  gap:10px;
}

html[data-ui-template="v2"] .task-detail-head,
html[data-ui-template="v2"][data-density] .task-detail-head,
html[data-ui-template="v2"] .account-settings-inline-checks,
html[data-ui-template="v2"][data-density] .account-settings-inline-checks,
html[data-ui-template="v2"] .reports-grid,
html[data-ui-template="v2"][data-density] .reports-grid,
html[data-ui-template="v2"] .parts-filters-row-advanced,
html[data-ui-template="v2"][data-density] .parts-filters-row-advanced,
html[data-ui-template="v2"] .inventory-scan-actions,
html[data-ui-template="v2"][data-density] .inventory-scan-actions{
  gap:10px;
}

html[data-ui-template="v2"] .task-detail-title,
html[data-ui-template="v2"][data-density] .task-detail-title{
  margin-top:6px;
  font-size:clamp(24px, 3vw, 30px);
}

html[data-ui-template="v2"] .task-action-card,
html[data-ui-template="v2"][data-density] .task-action-card{
  padding:14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .dashboard-section-card,
html[data-ui-template="v2"][data-density] .dashboard-section-card,
html[data-ui-template="v2"] .search-toolbar-card,
html[data-ui-template="v2"][data-density] .search-toolbar-card,
html[data-ui-template="v2"] .search-results-card,
html[data-ui-template="v2"][data-density] .search-results-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .dashboard-section-head,
html[data-ui-template="v2"][data-density] .dashboard-section-head,
html[data-ui-template="v2"] .search-section-head,
html[data-ui-template="v2"][data-density] .search-section-head{
  gap:10px;
  margin-bottom:10px;
}

html[data-ui-template="v2"] .dashboard-welcome-hero,
html[data-ui-template="v2"][data-density] .dashboard-welcome-hero{
  padding:16px 18px;
}

html[data-ui-template="v2"] .dashboard-metric-card,
html[data-ui-template="v2"][data-density] .dashboard-metric-card{
  min-height:112px;
  padding:12px 14px;
  border-radius:18px;
}

html[data-ui-template="v2"] .dashboard-welcome-body,
html[data-ui-template="v2"][data-density] .dashboard-welcome-body{
  min-height:108px;
  gap:8px;
}

html[data-ui-template="v2"] .dashboard-search-card,
html[data-ui-template="v2"][data-density] .dashboard-search-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .account-settings-tree-head,
html[data-ui-template="v2"][data-density] .account-settings-tree-head,
html[data-ui-template="v2"] .users-list-card .table-wrap,
html[data-ui-template="v2"][data-density] .users-list-card .table-wrap{
  margin-top:10px;
}

html[data-ui-template="v2"] .account-settings-head,
html[data-ui-template="v2"][data-density] .account-settings-head{
  margin-bottom:10px;
}

html[data-ui-template="v2"] .user-editor-card .divider,
html[data-ui-template="v2"][data-density] .user-editor-card .divider{
  margin:14px 0;
}

html[data-ui-template="v2"] .inventory-scan-layout,
html[data-ui-template="v2"][data-density] .inventory-scan-layout,
html[data-ui-template="v2"] .dict-inline-form,
html[data-ui-template="v2"][data-density] .dict-inline-form{
  margin-top:8px;
  margin-bottom:8px;
}

html[data-ui-template="v2"] .inventory-scan-input-row,
html[data-ui-template="v2"][data-density] .inventory-scan-input-row,
html[data-ui-template="v2"] .inventory-scan-actions-spaced,
html[data-ui-template="v2"][data-density] .inventory-scan-actions-spaced,
html[data-ui-template="v2"] .inventory-scan-camera-info,
html[data-ui-template="v2"][data-density] .inventory-scan-camera-info,
html[data-ui-template="v2"] .inventory-scan-video-wrap,
html[data-ui-template="v2"][data-density] .inventory-scan-video-wrap,
html[data-ui-template="v2"] .inventory-scan-status,
html[data-ui-template="v2"][data-density] .inventory-scan-status,
html[data-ui-template="v2"] .reports-summary-bottom,
html[data-ui-template="v2"][data-density] .reports-summary-bottom,
html[data-ui-template="v2"] .parts-param-grid,
html[data-ui-template="v2"][data-density] .parts-param-grid,
html[data-ui-template="v2"] .qr-input-row,
html[data-ui-template="v2"][data-density] .qr-input-row{
  margin-top:8px;
}

html[data-ui-template="v2"] .qr-subtitle,
html[data-ui-template="v2"][data-density] .qr-subtitle,
html[data-ui-template="v2"] .reports-subtitle,
html[data-ui-template="v2"][data-density] .reports-subtitle,
html[data-ui-template="v2"] .import-export-subtitle,
html[data-ui-template="v2"][data-density] .import-export-subtitle,
html[data-ui-template="v2"] .inventory-scan-subtitle,
html[data-ui-template="v2"][data-density] .inventory-scan-subtitle{
  margin-top:4px;
  line-height:1.42;
}

html[data-ui-template="v2"] .vehicle-list-card,
html[data-ui-template="v2"][data-density] .vehicle-list-card{
  padding:16px 18px;
  border-radius:18px;
}

html[data-ui-template="v2"] .vehicle-list-title,
html[data-ui-template="v2"][data-density] .vehicle-list-title{
  margin:0 0 8px 0;
  font-size:16px;
}

html[data-ui-template="v2"] .purchases-add-form,
html[data-ui-template="v2"][data-density] .purchases-add-form,
html[data-ui-template="v2"] .purchases-editor-form,
html[data-ui-template="v2"][data-density] .purchases-editor-form,
html[data-ui-template="v2"] .purchases-receive-form,
html[data-ui-template="v2"][data-density] .purchases-receive-form{
  gap:10px;
}

html[data-ui-template="v2"] .purchases-receive-card-spaced,
html[data-ui-template="v2"][data-density] .purchases-receive-card-spaced,
html[data-ui-template="v2"] .purchases-card-spaced,
html[data-ui-template="v2"][data-density] .purchases-card-spaced{
  margin-top:10px;
}

html[data-ui-template="v2"] .account-settings-page > .card,
html[data-ui-template="v2"][data-density] .account-settings-page > .card,
html[data-ui-template="v2"] .users-admin-page > .card,
html[data-ui-template="v2"][data-density] .users-admin-page > .card,
html[data-ui-template="v2"] .admin-layout-page > .card,
html[data-ui-template="v2"][data-density] .admin-layout-page > .card,
html[data-ui-template="v2"] .task-detail-page > .card,
html[data-ui-template="v2"][data-density] .task-detail-page > .card,
html[data-ui-template="v2"] .account-mobile-card,
html[data-ui-template="v2"][data-density] .account-mobile-card,
html[data-ui-template="v2"] .inventory-scan-card,
html[data-ui-template="v2"][data-density] .inventory-scan-card,
html[data-ui-template="v2"] .dictionary-electrical-card,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card,
html[data-ui-template="v2"] .qr-card,
html[data-ui-template="v2"][data-density] .qr-card,
html[data-ui-template="v2"] .public-dashboard-card,
html[data-ui-template="v2"][data-density] .public-dashboard-card,
html[data-ui-template="v2"] .public-dashboard-hero-card,
html[data-ui-template="v2"][data-density] .public-dashboard-hero-card,
html[data-ui-template="v2"] .reports-filter-card,
html[data-ui-template="v2"][data-density] .reports-filter-card,
html[data-ui-template="v2"] .reports-summary-card,
html[data-ui-template="v2"][data-density] .reports-summary-card,
html[data-ui-template="v2"] .import-export-card,
html[data-ui-template="v2"][data-density] .import-export-card{
  padding:16px 18px;
  border-radius:18px;
}

html[data-ui-template="v2"] .account-settings-page > .card > .muted,
html[data-ui-template="v2"][data-density] .account-settings-page > .card > .muted,
html[data-ui-template="v2"] .users-admin-page > .card > .muted,
html[data-ui-template="v2"][data-density] .users-admin-page > .card > .muted,
html[data-ui-template="v2"] .menu-layout-head .muted,
html[data-ui-template="v2"][data-density] .menu-layout-head .muted{
  margin-top:2px;
  line-height:1.4;
}

html[data-ui-template="v2"] .account-settings-section-subtitle,
html[data-ui-template="v2"][data-density] .account-settings-section-subtitle,
html[data-ui-template="v2"] .task-form-note,
html[data-ui-template="v2"][data-density] .task-form-note{
  line-height:1.42;
}

html[data-ui-template="v2"] .account-mobile-code-inline,
html[data-ui-template="v2"][data-density] .account-mobile-code-inline{
  gap:6px;
}

html[data-ui-template="v2"] .mobile-qr-preview,
html[data-ui-template="v2"][data-density] .mobile-qr-preview{
  margin-top:6px;
}

html[data-ui-template="v2"] .mobile-qr-image,
html[data-ui-template="v2"][data-density] .mobile-qr-image{
  padding:4px;
  border-radius:10px;
}

html[data-ui-template="v2"] .menu-layout-head,
html[data-ui-template="v2"][data-density] .menu-layout-head{
  gap:8px;
}

html[data-ui-template="v2"] .menu-layout-actions,
html[data-ui-template="v2"][data-density] .menu-layout-actions{
  gap:8px;
}

html[data-ui-template="v2"] .inventory-scan-video,
html[data-ui-template="v2"][data-density] .inventory-scan-video{
  border-radius:14px;
}

html[data-ui-template="v2"] .reports-table-wrap,
html[data-ui-template="v2"][data-density] .reports-table-wrap{
  margin-top:8px;
}

html[data-ui-template="v2"] .search-toolbar-card .parts-filters-row,
html[data-ui-template="v2"][data-density] .search-toolbar-card .parts-filters-row{
  gap:10px;
}

html[data-ui-template="v2"] .search-results-card .pager,
html[data-ui-template="v2"][data-density] .search-results-card .pager{
  margin-top:8px;
}

/* ====== Końcowe ściskanie helperów, informacji i ekranów systemowych v2 ====== */
html[data-ui-template="v2"] .server-info-page,
html[data-ui-template="v2"][data-density] .server-info-page,
html[data-ui-template="v2"] .backup-manager-page,
html[data-ui-template="v2"][data-density] .backup-manager-page,
html[data-ui-template="v2"] .audit-log-page,
html[data-ui-template="v2"][data-density] .audit-log-page,
html[data-ui-template="v2"] .media-gallery-page,
html[data-ui-template="v2"][data-density] .media-gallery-page,
html[data-ui-template="v2"] .trash-admin-page,
html[data-ui-template="v2"][data-density] .trash-admin-page,
html[data-ui-template="v2"] .openbecken-admin-page,
html[data-ui-template="v2"][data-density] .openbecken-admin-page,
html[data-ui-template="v2"] .app-binary-info-page,
html[data-ui-template="v2"][data-density] .app-binary-info-page,
html[data-ui-template="v2"] .history-admin-page,
html[data-ui-template="v2"][data-density] .history-admin-page,
html[data-ui-template="v2"] .login-history-page,
html[data-ui-template="v2"][data-density] .login-history-page,
html[data-ui-template="v2"] .ui-template-admin-page,
html[data-ui-template="v2"][data-density] .ui-template-admin-page{
  display:flex;
  flex-direction:column;
  gap:10px;
}

html[data-ui-template="v2"] .server-info-page > .card,
html[data-ui-template="v2"][data-density] .server-info-page > .card,
html[data-ui-template="v2"] .backup-manager-page > .card,
html[data-ui-template="v2"][data-density] .backup-manager-page > .card,
html[data-ui-template="v2"] .audit-log-page > .card,
html[data-ui-template="v2"][data-density] .audit-log-page > .card,
html[data-ui-template="v2"] .media-gallery-page > .card,
html[data-ui-template="v2"][data-density] .media-gallery-page > .card,
html[data-ui-template="v2"] .trash-admin-page > .card,
html[data-ui-template="v2"][data-density] .trash-admin-page > .card,
html[data-ui-template="v2"] .openbecken-admin-page > .card,
html[data-ui-template="v2"][data-density] .openbecken-admin-page > .card,
html[data-ui-template="v2"] .app-binary-info-page > .card,
html[data-ui-template="v2"][data-density] .app-binary-info-page > .card,
html[data-ui-template="v2"] .history-admin-page > .card,
html[data-ui-template="v2"][data-density] .history-admin-page > .card,
html[data-ui-template="v2"] .login-history-page > .card,
html[data-ui-template="v2"][data-density] .login-history-page > .card,
html[data-ui-template="v2"] .ui-template-admin-page > .card,
html[data-ui-template="v2"][data-density] .ui-template-admin-page > .card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .server-info-page .details-grid,
html[data-ui-template="v2"][data-density] .server-info-page .details-grid{
  gap:10px;
}

html[data-ui-template="v2"] .server-info-page .detail-item,
html[data-ui-template="v2"][data-density] .server-info-page .detail-item{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .server-info-page .detail-label,
html[data-ui-template="v2"][data-density] .server-info-page .detail-label{
  margin-bottom:5px;
}

html[data-ui-template="v2"] .server-info-page .detail-sub,
html[data-ui-template="v2"][data-density] .server-info-page .detail-sub{
  margin-top:4px;
  line-height:1.42;
}

html[data-ui-template="v2"] .backup-manager-page .chips,
html[data-ui-template="v2"][data-density] .backup-manager-page .chips{
  gap:8px;
}

html[data-ui-template="v2"] .backup-manager-page .chip,
html[data-ui-template="v2"][data-density] .backup-manager-page .chip{
  padding:10px 12px;
  border-radius:14px;
}

html[data-ui-template="v2"] .backup-manager-page .actions-inline,
html[data-ui-template="v2"][data-density] .backup-manager-page .actions-inline,
html[data-ui-template="v2"] .audit-log-page .actions-inline,
html[data-ui-template="v2"][data-density] .audit-log-page .actions-inline,
html[data-ui-template="v2"] .trash-admin-page .actions-inline,
html[data-ui-template="v2"][data-density] .trash-admin-page .actions-inline{
  gap:8px;
}

html[data-ui-template="v2"] .backup-manager-page .grid-3,
html[data-ui-template="v2"][data-density] .backup-manager-page .grid-3,
html[data-ui-template="v2"] .audit-log-page .grid-3,
html[data-ui-template="v2"][data-density] .audit-log-page .grid-3{
  gap:10px;
}

html[data-ui-template="v2"] .backup-manager-page .table-wrap,
html[data-ui-template="v2"][data-density] .backup-manager-page .table-wrap,
html[data-ui-template="v2"] .audit-log-page .table-wrap,
html[data-ui-template="v2"][data-density] .audit-log-page .table-wrap,
html[data-ui-template="v2"] .trash-admin-page .table-wrap,
html[data-ui-template="v2"][data-density] .trash-admin-page .table-wrap,
html[data-ui-template="v2"] .history-admin-page .table-wrap,
html[data-ui-template="v2"][data-density] .history-admin-page .table-wrap,
html[data-ui-template="v2"] .login-history-page .table-wrap,
html[data-ui-template="v2"][data-density] .login-history-page .table-wrap{
  margin-top:8px;
}

html[data-ui-template="v2"] .media-gallery-page .gallery-grid,
html[data-ui-template="v2"][data-density] .media-gallery-page .gallery-grid{
  gap:10px;
}

html[data-ui-template="v2"] .media-gallery-page .gallery-item,
html[data-ui-template="v2"][data-density] .media-gallery-page .gallery-item{
  padding:8px;
  border-radius:14px;
}

html[data-ui-template="v2"] .media-gallery-page .gallery-name,
html[data-ui-template="v2"][data-density] .media-gallery-page .gallery-name{
  margin-top:8px;
}

html[data-ui-template="v2"] .app-binary-info-page .changelog-wrap,
html[data-ui-template="v2"][data-density] .app-binary-info-page .changelog-wrap{
  margin-top:8px;
}

html[data-ui-template="v2"] .app-binary-info-page .changelog-pre,
html[data-ui-template="v2"][data-density] .app-binary-info-page .changelog-pre{
  padding:12px 14px;
  border-radius:14px;
}

html[data-ui-template="v2"] .app-binary-info-page .changelog-footer,
html[data-ui-template="v2"][data-density] .app-binary-info-page .changelog-footer{
  margin-top:8px;
}

html[data-ui-template="v2"] .history-admin-page .form.form-inline,
html[data-ui-template="v2"][data-density] .history-admin-page .form.form-inline,
html[data-ui-template="v2"] .login-history-page .form.form-inline,
html[data-ui-template="v2"][data-density] .login-history-page .form.form-inline{
  gap:10px;
}

html[data-ui-template="v2"] .history-admin-page .history-card,
html[data-ui-template="v2"][data-density] .history-admin-page .history-card,
html[data-ui-template="v2"] .login-history-page .history-card,
html[data-ui-template="v2"][data-density] .login-history-page .history-card{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .history-admin-page .hc-grid,
html[data-ui-template="v2"][data-density] .history-admin-page .hc-grid,
html[data-ui-template="v2"] .login-history-page .hc-grid,
html[data-ui-template="v2"][data-density] .login-history-page .hc-grid{
  gap:8px;
}

html[data-ui-template="v2"] .history-admin-page .hc-row,
html[data-ui-template="v2"][data-density] .history-admin-page .hc-row,
html[data-ui-template="v2"] .login-history-page .hc-row,
html[data-ui-template="v2"][data-density] .login-history-page .hc-row{
  gap:10px;
}

html[data-ui-template="v2"] .history-admin-page .divider,
html[data-ui-template="v2"][data-density] .history-admin-page .divider,
html[data-ui-template="v2"] .login-history-page .divider,
html[data-ui-template="v2"][data-density] .login-history-page .divider{
  margin:10px 0;
}

html[data-ui-template="v2"] .ui-template-admin-page .menu-layout-head,
html[data-ui-template="v2"][data-density] .ui-template-admin-page .menu-layout-head{
  gap:8px;
}

html[data-ui-template="v2"] .ui-template-admin-page .theme-card,
html[data-ui-template="v2"][data-density] .ui-template-admin-page .theme-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .ui-template-admin-page .ui-template-preview,
html[data-ui-template="v2"][data-density] .ui-template-admin-page .ui-template-preview{
  margin-top:10px;
  padding:10px;
  border-radius:14px;
}

html[data-ui-template="v2"] .ui-template-admin-page .card-sub-spaced,
html[data-ui-template="v2"][data-density] .ui-template-admin-page .card-sub-spaced,
html[data-ui-template="v2"] .ui-template-admin-page .form-actions-spaced,
html[data-ui-template="v2"][data-density] .ui-template-admin-page .form-actions-spaced{
  margin-top:10px;
}

html[data-ui-template="v2"] .openbecken-admin-page .obk-card,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .openbecken-admin-page .obk-section-head,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-section-head{
  gap:10px;
  margin-bottom:10px;
}

html[data-ui-template="v2"] .openbecken-admin-page .obk-section-sub,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-section-sub{
  margin-top:4px;
  line-height:1.42;
}

html[data-ui-template="v2"] .openbecken-admin-page .obk-settings-grid,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-settings-grid,
html[data-ui-template="v2"] .openbecken-admin-page .obk-summary-grid,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-summary-grid,
html[data-ui-template="v2"] .openbecken-admin-page .obk-toggle-grid,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-toggle-grid,
html[data-ui-template="v2"] .openbecken-admin-page .obk-add-grid,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-add-grid,
html[data-ui-template="v2"] .openbecken-admin-page .obk-form-grid,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-form-grid{
  gap:10px;
}

html[data-ui-template="v2"] .openbecken-admin-page .obk-summary,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-summary,
html[data-ui-template="v2"] .openbecken-admin-page .obk-toggle,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-toggle,
html[data-ui-template="v2"] .openbecken-admin-page .obk-block,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-block{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .openbecken-admin-page .obk-summary-value,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-summary-value{
  font-size:26px;
  line-height:1;
}

html[data-ui-template="v2"] .openbecken-admin-page .obk-bulk-actions,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-bulk-actions,
html[data-ui-template="v2"] .openbecken-admin-page .obk-settings-meta,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .obk-settings-meta{
  gap:8px;
  margin-top:10px;
}

html[data-ui-template="v2"] .openbecken-admin-page .openbecken-jobs-wrap,
html[data-ui-template="v2"][data-density] .openbecken-admin-page .openbecken-jobs-wrap,
html[data-ui-template="v2"] .openbecken-admin-page #obk-jobs-pager,
html[data-ui-template="v2"][data-density] .openbecken-admin-page #obk-jobs-pager{
  margin-top:8px;
}

html[data-ui-template="v2"] .import-export-page,
html[data-ui-template="v2"][data-density] .import-export-page{
  gap:10px;
}

html[data-ui-template="v2"] .import-export-card,
html[data-ui-template="v2"][data-density] .import-export-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .import-export-card > h2,
html[data-ui-template="v2"][data-density] .import-export-card > h2{
  margin:0 0 8px 0;
}

html[data-ui-template="v2"] .import-export-subtitle,
html[data-ui-template="v2"][data-density] .import-export-subtitle{
  margin-top:2px;
  line-height:1.42;
}

html[data-ui-template="v2"] .import-export-form,
html[data-ui-template="v2"][data-density] .import-export-form{
  gap:10px;
}

html[data-ui-template="v2"] .import-export-actions,
html[data-ui-template="v2"][data-density] .import-export-actions{
  gap:8px;
  margin-top:8px;
}

html[data-ui-template="v2"] .import-export-check,
html[data-ui-template="v2"][data-density] .import-export-check{
  margin-top:2px;
  line-height:1.4;
}

html[data-ui-template="v2"] .reset-zero-page,
html[data-ui-template="v2"][data-density] .reset-zero-page{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .reset-zero-head,
html[data-ui-template="v2"][data-density] .reset-zero-head{
  gap:8px;
}

html[data-ui-template="v2"] .reset-zero-head h2,
html[data-ui-template="v2"][data-density] .reset-zero-head h2{
  margin:0 0 6px 0;
}

html[data-ui-template="v2"] .reset-zero-warning,
html[data-ui-template="v2"][data-density] .reset-zero-warning{
  margin-top:8px;
  margin-bottom:10px;
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .reset-zero-form,
html[data-ui-template="v2"][data-density] .reset-zero-form{
  gap:10px;
}

html[data-ui-template="v2"] .reset-zero-section,
html[data-ui-template="v2"][data-density] .reset-zero-section{
  gap:8px;
}

html[data-ui-template="v2"] .reset-zero-mode-grid,
html[data-ui-template="v2"][data-density] .reset-zero-mode-grid,
html[data-ui-template="v2"] .reset-zero-module-grid,
html[data-ui-template="v2"][data-density] .reset-zero-module-grid,
html[data-ui-template="v2"] .reset-zero-confirm-grid,
html[data-ui-template="v2"][data-density] .reset-zero-confirm-grid{
  gap:10px;
}

html[data-ui-template="v2"] .reset-zero-mode-card,
html[data-ui-template="v2"][data-density] .reset-zero-mode-card,
html[data-ui-template="v2"] .reset-zero-module-card,
html[data-ui-template="v2"][data-density] .reset-zero-module-card,
html[data-ui-template="v2"] .reset-zero-files-card,
html[data-ui-template="v2"][data-density] .reset-zero-files-card{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .reset-zero-actions,
html[data-ui-template="v2"][data-density] .reset-zero-actions{
  gap:8px;
  margin-top:8px;
}

html[data-ui-template="v2"] .search-empty-state,
html[data-ui-template="v2"][data-density] .search-empty-state{
  padding:18px 16px;
  min-height:124px;
}

html[data-ui-template="v2"] .account-settings-card,
html[data-ui-template="v2"][data-density] .account-settings-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .account-settings-head,
html[data-ui-template="v2"][data-density] .account-settings-head{
  gap:4px;
  margin-bottom:10px;
}

html[data-ui-template="v2"] .account-settings-form,
html[data-ui-template="v2"][data-density] .account-settings-form{
  gap:10px;
}

html[data-ui-template="v2"] .account-settings-inline-checks,
html[data-ui-template="v2"][data-density] .account-settings-inline-checks{
  gap:8px 10px;
}

html[data-ui-template="v2"] .account-settings-tree-head,
html[data-ui-template="v2"][data-density] .account-settings-tree-head{
  margin-bottom:10px;
}

html[data-ui-template="v2"] .theme-card,
html[data-ui-template="v2"][data-density] .theme-card{
  min-height:74px;
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .theme-desc,
html[data-ui-template="v2"][data-density] .theme-desc{
  line-height:1.35;
}

html[data-ui-template="v2"] .acl-card,
html[data-ui-template="v2"][data-density] .acl-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .acl-card-head,
html[data-ui-template="v2"][data-density] .acl-card-head{
  margin-bottom:10px;
}

html[data-ui-template="v2"] .acl-card-head h3,
html[data-ui-template="v2"][data-density] .acl-card-head h3{
  font-size:16px;
}

html[data-ui-template="v2"] .acl-badges .pill,
html[data-ui-template="v2"][data-density] .acl-badges .pill{
  min-height:26px;
}

html[data-ui-template="v2"] .acl-node,
html[data-ui-template="v2"][data-density] .acl-node{
  border-radius:16px;
}

html[data-ui-template="v2"] .acl-node-summary,
html[data-ui-template="v2"][data-density] .acl-node-summary{
  min-height:48px;
  padding:10px 12px;
}

html[data-ui-template="v2"] .acl-node-children,
html[data-ui-template="v2"][data-density] .acl-node-children{
  padding:0 10px 10px 10px;
}

html[data-ui-template="v2"] .acl-node-check,
html[data-ui-template="v2"][data-density] .acl-node-check{
  font-size:14px;
}

html[data-ui-template="v2"] .acl-depth-1,
html[data-ui-template="v2"][data-density] .acl-depth-1{
  margin-left:10px;
}

html[data-ui-template="v2"] .acl-depth-2,
html[data-ui-template="v2"][data-density] .acl-depth-2{
  margin-left:20px;
}

html[data-ui-template="v2"] .acl-depth-3,
html[data-ui-template="v2"][data-density] .acl-depth-3{
  margin-left:30px;
}

html[data-ui-template="v2"] .menu-layout-card,
html[data-ui-template="v2"][data-density] .menu-layout-card{
  gap:10px;
}

html[data-ui-template="v2"] .menu-layout-toolbar,
html[data-ui-template="v2"][data-density] .menu-layout-toolbar{
  gap:10px;
}

html[data-ui-template="v2"] .menu-layout-tree-wrap,
html[data-ui-template="v2"][data-density] .menu-layout-tree-wrap{
  padding:10px;
  border-radius:18px;
}

html[data-ui-template="v2"] .ml-row,
html[data-ui-template="v2"][data-density] .ml-row{
  min-height:40px;
  padding:7px 10px;
  border-radius:13px;
}

html[data-ui-template="v2"] .task-detail-head,
html[data-ui-template="v2"][data-density] .task-detail-head{
  gap:12px;
}

html[data-ui-template="v2"] .task-detail-title,
html[data-ui-template="v2"][data-density] .task-detail-title{
  margin-top:4px;
  font-size:clamp(22px, 2.7vw, 28px);
}

html[data-ui-template="v2"] .task-action-card,
html[data-ui-template="v2"][data-density] .task-action-card{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .task-actions-grid,
html[data-ui-template="v2"][data-density] .task-actions-grid,
html[data-ui-template="v2"] .task-actions-grid.task-actions-grid-compact,
html[data-ui-template="v2"][data-density] .task-actions-grid.task-actions-grid-compact{
  gap:10px;
}

/* ====== Końcowe globalne domknięcie gęstości wrapperów v2 ====== */
html[data-ui-template="v2"] .content,
html[data-ui-template="v2"][data-density] .content{
  padding:16px var(--gutter) calc(var(--gutter) + var(--footer-h));
}

html[data-ui-template="v2"] .card,
html[data-ui-template="v2"][data-density] .card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .card-sub,
html[data-ui-template="v2"][data-density] .card-sub{
  padding:11px 13px;
  border-radius:14px;
}

html[data-ui-template="v2"] .table-wrap,
html[data-ui-template="v2"][data-density] .table-wrap{
  border-radius:18px;
}

html[data-ui-template="v2"] .dashboard-page,
html[data-ui-template="v2"][data-density] .dashboard-page,
html[data-ui-template="v2"] .search-page-shell,
html[data-ui-template="v2"][data-density] .search-page-shell,
html[data-ui-template="v2"] .inventory-editor-page,
html[data-ui-template="v2"][data-density] .inventory-editor-page,
html[data-ui-template="v2"] .inventory-detail-page,
html[data-ui-template="v2"][data-density] .inventory-detail-page,
html[data-ui-template="v2"] .vehicle-detail-page,
html[data-ui-template="v2"][data-density] .vehicle-detail-page,
html[data-ui-template="v2"] .vehicle-list-page,
html[data-ui-template="v2"][data-density] .vehicle-list-page,
html[data-ui-template="v2"] .vehicle-report-page,
html[data-ui-template="v2"][data-density] .vehicle-report-page,
html[data-ui-template="v2"] .project-detail-page,
html[data-ui-template="v2"][data-density] .project-detail-page,
html[data-ui-template="v2"] .project-list-page,
html[data-ui-template="v2"][data-density] .project-list-page,
html[data-ui-template="v2"] .production-page,
html[data-ui-template="v2"][data-density] .production-page,
html[data-ui-template="v2"] .purchases-page,
html[data-ui-template="v2"][data-density] .purchases-page,
html[data-ui-template="v2"] .purchases-receive-page,
html[data-ui-template="v2"][data-density] .purchases-receive-page,
html[data-ui-template="v2"] .task-editor-page,
html[data-ui-template="v2"][data-density] .task-editor-page{
  gap:8px;
}

html[data-ui-template="v2"] .inventory-editor-page,
html[data-ui-template="v2"][data-density] .inventory-editor-page,
html[data-ui-template="v2"] form.inventory-editor-page.form,
html[data-ui-template="v2"][data-density] form.inventory-editor-page.form,
html[data-ui-template="v2"] .inventory-detail-card,
html[data-ui-template="v2"][data-density] .inventory-detail-card,
html[data-ui-template="v2"] .vehicle-list-card,
html[data-ui-template="v2"][data-density] .vehicle-list-card,
html[data-ui-template="v2"] .part-pick-summary-card,
html[data-ui-template="v2"][data-density] .part-pick-summary-card,
html[data-ui-template="v2"] .part-pick-form,
html[data-ui-template="v2"][data-density] .part-pick-form,
html[data-ui-template="v2"] .auto-parts-pick-card,
html[data-ui-template="v2"][data-density] .auto-parts-pick-card,
html[data-ui-template="v2"] .vehicle-report-card,
html[data-ui-template="v2"][data-density] .vehicle-report-card,
html[data-ui-template="v2"] .project-detail-card,
html[data-ui-template="v2"][data-density] .project-detail-card,
html[data-ui-template="v2"] .project-list-card,
html[data-ui-template="v2"][data-density] .project-list-card,
html[data-ui-template="v2"] .production-card,
html[data-ui-template="v2"][data-density] .production-card,
html[data-ui-template="v2"] .purchases-card,
html[data-ui-template="v2"][data-density] .purchases-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .inventory-detail-layout,
html[data-ui-template="v2"][data-density] .inventory-detail-layout,
html[data-ui-template="v2"] .inventory-editor-page .grid-2,
html[data-ui-template="v2"][data-density] .inventory-editor-page .grid-2,
html[data-ui-template="v2"] .inventory-editor-page .grid-3,
html[data-ui-template="v2"][data-density] .inventory-editor-page .grid-3,
html[data-ui-template="v2"] .inventory-editor-page .grid2,
html[data-ui-template="v2"][data-density] .inventory-editor-page .grid2,
html[data-ui-template="v2"] .inventory-editor-page form.form,
html[data-ui-template="v2"][data-density] .inventory-editor-page form.form,
html[data-ui-template="v2"] .part-pick-fields,
html[data-ui-template="v2"][data-density] .part-pick-fields,
html[data-ui-template="v2"] .borrow-editor-layout,
html[data-ui-template="v2"][data-density] .borrow-editor-layout,
html[data-ui-template="v2"] .vehicle-report-filter-form,
html[data-ui-template="v2"][data-density] .vehicle-report-filter-form,
html[data-ui-template="v2"] .vehicle-report-summary-grid,
html[data-ui-template="v2"][data-density] .vehicle-report-summary-grid,
html[data-ui-template="v2"] .purchases-add-form,
html[data-ui-template="v2"][data-density] .purchases-add-form,
html[data-ui-template="v2"] .purchases-editor-form,
html[data-ui-template="v2"][data-density] .purchases-editor-form,
html[data-ui-template="v2"] .purchases-receive-form,
html[data-ui-template="v2"][data-density] .purchases-receive-form,
html[data-ui-template="v2"] .production-order-form,
html[data-ui-template="v2"][data-density] .production-order-form,
html[data-ui-template="v2"] .production-order-detail-grid,
html[data-ui-template="v2"][data-density] .production-order-detail-grid,
html[data-ui-template="v2"] .production-order-detail-single-grid,
html[data-ui-template="v2"][data-density] .production-order-detail-single-grid{
  gap:8px;
}

html[data-ui-template="v2"] .card-sub.editor-section-banner,
html[data-ui-template="v2"][data-density] .card-sub.editor-section-banner,
html[data-ui-template="v2"] .inventory-editor-page .media-section,
html[data-ui-template="v2"][data-density] .inventory-editor-page .media-section,
html[data-ui-template="v2"] .inventory-editor-page .media-block,
html[data-ui-template="v2"][data-density] .inventory-editor-page .media-block,
html[data-ui-template="v2"] .inventory-editor-page .lot-move-item,
html[data-ui-template="v2"][data-density] .inventory-editor-page .lot-move-item,
html[data-ui-template="v2"] .project-detail-inline-card,
html[data-ui-template="v2"][data-density] .project-detail-inline-card,
html[data-ui-template="v2"] .production-order-subcard,
html[data-ui-template="v2"][data-density] .production-order-subcard,
html[data-ui-template="v2"] .production-order-panel,
html[data-ui-template="v2"][data-density] .production-order-panel,
html[data-ui-template="v2"] .production-order-panel-soft,
html[data-ui-template="v2"][data-density] .production-order-panel-soft{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .inventory-editor-page .edit-media-grid,
html[data-ui-template="v2"][data-density] .inventory-editor-page .edit-media-grid,
html[data-ui-template="v2"] .inventory-editor-page .edit-file-grid,
html[data-ui-template="v2"][data-density] .inventory-editor-page .edit-file-grid{
  gap:10px;
}

html[data-ui-template="v2"] .inventory-editor-page .edit-media-card,
html[data-ui-template="v2"][data-density] .inventory-editor-page .edit-media-card,
html[data-ui-template="v2"] .inventory-editor-page .edit-file-card,
html[data-ui-template="v2"][data-density] .inventory-editor-page .edit-file-card{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-wrap,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-qr-wrap{
  gap:12px;
}

html[data-ui-template="v2"] .inventory-detail-page .detail-qr-box,
html[data-ui-template="v2"][data-density] .inventory-detail-page .detail-qr-box{
  padding:12px;
  border-radius:16px;
}

html[data-ui-template="v2"] .dashboard-welcome-hero,
html[data-ui-template="v2"][data-density] .dashboard-welcome-hero{
  padding:14px 16px;
}

html[data-ui-template="v2"] .dashboard-search-card,
html[data-ui-template="v2"][data-density] .dashboard-search-card,
html[data-ui-template="v2"] .dashboard-section-card,
html[data-ui-template="v2"][data-density] .dashboard-section-card,
html[data-ui-template="v2"] .search-toolbar-card,
html[data-ui-template="v2"][data-density] .search-toolbar-card,
html[data-ui-template="v2"] .search-results-card,
html[data-ui-template="v2"][data-density] .search-results-card{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .dashboard-metric-card,
html[data-ui-template="v2"][data-density] .dashboard-metric-card{
  min-height:96px;
  padding:10px 12px;
  gap:8px;
}

html[data-ui-template="v2"] .duplicates-page,
html[data-ui-template="v2"][data-density] .duplicates-page,
html[data-ui-template="v2"] .params-page,
html[data-ui-template="v2"][data-density] .params-page,
html[data-ui-template="v2"] .dict-simple-page,
html[data-ui-template="v2"][data-density] .dict-simple-page,
html[data-ui-template="v2"] .dict-electrical-page,
html[data-ui-template="v2"][data-density] .dict-electrical-page{
  display:grid;
  gap:10px;
}

html[data-ui-template="v2"] .duplicates-card,
html[data-ui-template="v2"][data-density] .duplicates-card,
html[data-ui-template="v2"] .params-card,
html[data-ui-template="v2"][data-density] .params-card,
html[data-ui-template="v2"] .dict-simple-card,
html[data-ui-template="v2"][data-density] .dict-simple-card,
html[data-ui-template="v2"] .dictionary-electrical-card,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .duplicates-card h2,
html[data-ui-template="v2"][data-density] .duplicates-card h2,
html[data-ui-template="v2"] .params-card h2,
html[data-ui-template="v2"][data-density] .params-card h2,
html[data-ui-template="v2"] .dict-simple-card h2,
html[data-ui-template="v2"][data-density] .dict-simple-card h2,
html[data-ui-template="v2"] .dictionary-electrical-card h2,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card h2{
  margin:0 0 10px;
  font-size:1.12rem;
}

html[data-ui-template="v2"] .duplicates-card .form.form-inline,
html[data-ui-template="v2"][data-density] .duplicates-card .form.form-inline,
html[data-ui-template="v2"] .params-card .form.form-inline,
html[data-ui-template="v2"][data-density] .params-card .form.form-inline,
html[data-ui-template="v2"] .dict-simple-card .form.form-inline,
html[data-ui-template="v2"][data-density] .dict-simple-card .form.form-inline,
html[data-ui-template="v2"] .dictionary-electrical-card .dict-inline-form,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card .dict-inline-form{
  gap:8px 10px;
}

html[data-ui-template="v2"] .duplicates-card .table-wrap,
html[data-ui-template="v2"][data-density] .duplicates-card .table-wrap,
html[data-ui-template="v2"] .params-card .table-wrap,
html[data-ui-template="v2"][data-density] .params-card .table-wrap,
html[data-ui-template="v2"] .dict-simple-card .table-wrap,
html[data-ui-template="v2"][data-density] .dict-simple-card .table-wrap,
html[data-ui-template="v2"] .dictionary-electrical-card .table-wrap,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card .table-wrap{
  margin-top:8px;
}

html[data-ui-template="v2"] .duplicates-card .divider,
html[data-ui-template="v2"][data-density] .duplicates-card .divider,
html[data-ui-template="v2"] .params-card .divider,
html[data-ui-template="v2"][data-density] .params-card .divider,
html[data-ui-template="v2"] .dict-simple-card .divider,
html[data-ui-template="v2"][data-density] .dict-simple-card .divider{
  margin:10px 0;
}

html[data-ui-template="v2"] .duplicates-card .muted.section-bottom-spaced,
html[data-ui-template="v2"][data-density] .duplicates-card .muted.section-bottom-spaced{
  margin-bottom:10px;
}

html[data-ui-template="v2"] .duplicates-card .card-title,
html[data-ui-template="v2"][data-density] .duplicates-card .card-title{
  margin-bottom:4px;
}

html[data-ui-template="v2"] .duplicates-card .muted-top-tight,
html[data-ui-template="v2"][data-density] .duplicates-card .muted-top-tight{
  margin-top:0;
}

html[data-ui-template="v2"] .duplicates-card .hint,
html[data-ui-template="v2"][data-density] .duplicates-card .hint{
  margin-top:8px;
}

html[data-ui-template="v2"] .params-card .grid-2,
html[data-ui-template="v2"][data-density] .params-card .grid-2{
  gap:10px 12px;
}

html[data-ui-template="v2"] .params-card textarea,
html[data-ui-template="v2"][data-density] .params-card textarea{
  min-height:84px;
}

html[data-ui-template="v2"] .dict-simple-card .actions-inline,
html[data-ui-template="v2"][data-density] .dict-simple-card .actions-inline,
html[data-ui-template="v2"] .dictionary-electrical-card .actions-inline,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card .actions-inline{
  gap:6px;
}

html[data-ui-template="v2"] .dict-simple-card .table th,
html[data-ui-template="v2"][data-density] .dict-simple-card .table th,
html[data-ui-template="v2"] .dict-simple-card .table td,
html[data-ui-template="v2"][data-density] .dict-simple-card .table td,
html[data-ui-template="v2"] .duplicates-card .table th,
html[data-ui-template="v2"][data-density] .duplicates-card .table th,
html[data-ui-template="v2"] .duplicates-card .table td,
html[data-ui-template="v2"][data-density] .duplicates-card .table td,
html[data-ui-template="v2"] .params-card .table th,
html[data-ui-template="v2"][data-density] .params-card .table th,
html[data-ui-template="v2"] .params-card .table td,
html[data-ui-template="v2"][data-density] .params-card .table td,
html[data-ui-template="v2"] .dictionary-electrical-card .table th,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card .table th,
html[data-ui-template="v2"] .dictionary-electrical-card .table td,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card .table td{
  padding-top:10px;
  padding-bottom:10px;
}

html[data-ui-template="v2"] .dict-locations-card .bulk-subloc-toolbar,
html[data-ui-template="v2"][data-density] .dict-locations-card .bulk-subloc-toolbar,
html[data-ui-template="v2"] .dict-sublocations-card .bulk-subloc-toolbar,
html[data-ui-template="v2"][data-density] .dict-sublocations-card .bulk-subloc-toolbar{
  margin-bottom:8px;
}

html[data-ui-template="v2"] .dict-locations-card .bulk-subloc-grid,
html[data-ui-template="v2"][data-density] .dict-locations-card .bulk-subloc-grid,
html[data-ui-template="v2"] .dict-sublocations-card .bulk-subloc-grid,
html[data-ui-template="v2"][data-density] .dict-sublocations-card .bulk-subloc-grid{
  gap:10px;
}

html[data-ui-template="v2"] .dict-locations-card .bulk-subloc-actions,
html[data-ui-template="v2"][data-density] .dict-locations-card .bulk-subloc-actions,
html[data-ui-template="v2"] .dict-sublocations-card .bulk-subloc-actions,
html[data-ui-template="v2"][data-density] .dict-sublocations-card .bulk-subloc-actions{
  padding:0;
}

html[data-ui-template="v2"] .dict-sublocations-card .mc-livebar,
html[data-ui-template="v2"][data-density] .dict-sublocations-card .mc-livebar{
  display:grid;
  gap:8px;
}

html[data-ui-template="v2"] .dict-sublocations-card .mc-livebar .form.form-inline,
html[data-ui-template="v2"][data-density] .dict-sublocations-card .mc-livebar .form.form-inline{
  gap:8px 10px;
  align-items:flex-end;
}

html[data-ui-template="v2"] .dict-sublocations-card .mc-livebar-meta,
html[data-ui-template="v2"][data-density] .dict-sublocations-card .mc-livebar-meta{
  margin-top:0;
  font-size:.92rem;
}

html[data-ui-template="v2"] .dictionary-electrical-card .dict-inline-form .btn,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card .dict-inline-form .btn{
  min-height:40px;
}

html[data-ui-template="v2"] .dictionary-electrical-card .dict-inline-form input[type="text"],
html[data-ui-template="v2"][data-density] .dictionary-electrical-card .dict-inline-form input[type="text"],
html[data-ui-template="v2"] .dictionary-electrical-card .dict-inline-form input[type="number"],
html[data-ui-template="v2"][data-density] .dictionary-electrical-card .dict-inline-form input[type="number"],
html[data-ui-template="v2"] .dictionary-electrical-card .dict-inline-form select,
html[data-ui-template="v2"][data-density] .dictionary-electrical-card .dict-inline-form select{
  min-height:40px;
}

html[data-ui-template="v2"] .packages-page,
html[data-ui-template="v2"][data-density] .packages-page,
html[data-ui-template="v2"] .location-photos-page,
html[data-ui-template="v2"][data-density] .location-photos-page{
  display:grid;
  gap:10px;
}

html[data-ui-template="v2"] .packages-card,
html[data-ui-template="v2"][data-density] .packages-card,
html[data-ui-template="v2"] .location-photos-card,
html[data-ui-template="v2"][data-density] .location-photos-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .packages-card h2,
html[data-ui-template="v2"][data-density] .packages-card h2,
html[data-ui-template="v2"] .location-photos-card h2,
html[data-ui-template="v2"][data-density] .location-photos-card h2{
  margin:0 0 10px;
  font-size:1.12rem;
}

html[data-ui-template="v2"] .packages-card .grid2,
html[data-ui-template="v2"][data-density] .packages-card .grid2{
  gap:10px 12px;
}

html[data-ui-template="v2"] .packages-card .form,
html[data-ui-template="v2"][data-density] .packages-card .form{
  gap:10px;
}

html[data-ui-template="v2"] .packages-card .bulk-subloc-toolbar,
html[data-ui-template="v2"][data-density] .packages-card .bulk-subloc-toolbar{
  margin:8px 0;
}

html[data-ui-template="v2"] .packages-card .mc-livebar,
html[data-ui-template="v2"][data-density] .packages-card .mc-livebar{
  margin-bottom:8px;
}

html[data-ui-template="v2"] .location-photos-card .page-head,
html[data-ui-template="v2"][data-density] .location-photos-card .page-head{
  margin-bottom:10px;
  gap:10px;
}

html[data-ui-template="v2"] .location-photos-card .photo-picker,
html[data-ui-template="v2"][data-density] .location-photos-card .photo-picker,
html[data-ui-template="v2"] .location-photos-card .photo-options,
html[data-ui-template="v2"][data-density] .location-photos-card .photo-options{
  gap:8px 10px;
}

html[data-ui-template="v2"] .location-photos-card .loc-photo-grid,
html[data-ui-template="v2"][data-density] .location-photos-card .loc-photo-grid{
  gap:10px;
}

html[data-ui-template="v2"] .location-photos-card .loc-photo-tile,
html[data-ui-template="v2"][data-density] .location-photos-card .loc-photo-tile{
  padding:12px 14px;
  border-radius:16px;
}

html[data-ui-template="v2"] .tasks-list-page,
html[data-ui-template="v2"][data-density] .tasks-list-page,
html[data-ui-template="v2"] .parts-list-page,
html[data-ui-template="v2"][data-density] .parts-list-page,
html[data-ui-template="v2"] .tools-list-page,
html[data-ui-template="v2"][data-density] .tools-list-page,
html[data-ui-template="v2"] .equipment-list-page,
html[data-ui-template="v2"][data-density] .equipment-list-page,
html[data-ui-template="v2"] .auto-parts-list-page,
html[data-ui-template="v2"][data-density] .auto-parts-list-page,
html[data-ui-template="v2"] .scan-start-page,
html[data-ui-template="v2"][data-density] .scan-start-page,
html[data-ui-template="v2"] .project-form-page,
html[data-ui-template="v2"][data-density] .project-form-page,
html[data-ui-template="v2"] .changes-page,
html[data-ui-template="v2"][data-density] .changes-page{
  display:grid;
  gap:10px;
}

html[data-ui-template="v2"] .tasks-list-card,
html[data-ui-template="v2"][data-density] .tasks-list-card,
html[data-ui-template="v2"] .scan-start-card,
html[data-ui-template="v2"][data-density] .scan-start-card,
html[data-ui-template="v2"] .project-form-card,
html[data-ui-template="v2"][data-density] .project-form-card,
html[data-ui-template="v2"] .changes-card,
html[data-ui-template="v2"][data-density] .changes-card,
html[data-ui-template="v2"] .parts-list-page > .card,
html[data-ui-template="v2"][data-density] .parts-list-page > .card,
html[data-ui-template="v2"] .parts-list-page > form > .card,
html[data-ui-template="v2"][data-density] .parts-list-page > form > .card,
html[data-ui-template="v2"] .tools-list-page > .card,
html[data-ui-template="v2"][data-density] .tools-list-page > .card,
html[data-ui-template="v2"] .tools-list-page > form > .card,
html[data-ui-template="v2"][data-density] .tools-list-page > form > .card,
html[data-ui-template="v2"] .equipment-list-page > .card,
html[data-ui-template="v2"][data-density] .equipment-list-page > .card,
html[data-ui-template="v2"] .equipment-list-page > form > .card,
html[data-ui-template="v2"][data-density] .equipment-list-page > form > .card,
html[data-ui-template="v2"] .auto-parts-list-page > .card,
html[data-ui-template="v2"][data-density] .auto-parts-list-page > .card,
html[data-ui-template="v2"] .auto-parts-list-page > form > .card,
html[data-ui-template="v2"][data-density] .auto-parts-list-page > form > .card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .tasks-list-page .parts-filters-row,
html[data-ui-template="v2"][data-density] .tasks-list-page .parts-filters-row,
html[data-ui-template="v2"] .parts-list-page .parts-filters-row,
html[data-ui-template="v2"][data-density] .parts-list-page .parts-filters-row,
html[data-ui-template="v2"] .tools-list-page .parts-filters-row,
html[data-ui-template="v2"][data-density] .tools-list-page .parts-filters-row,
html[data-ui-template="v2"] .equipment-list-page .parts-filters-row,
html[data-ui-template="v2"][data-density] .equipment-list-page .parts-filters-row,
html[data-ui-template="v2"] .auto-parts-list-page .parts-filters-row,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .parts-filters-row{
  gap:10px;
}

html[data-ui-template="v2"] .tasks-list-page .parts-filters-actions,
html[data-ui-template="v2"][data-density] .tasks-list-page .parts-filters-actions,
html[data-ui-template="v2"] .parts-list-page .parts-filters-actions,
html[data-ui-template="v2"][data-density] .parts-list-page .parts-filters-actions,
html[data-ui-template="v2"] .tools-list-page .parts-filters-actions,
html[data-ui-template="v2"][data-density] .tools-list-page .parts-filters-actions,
html[data-ui-template="v2"] .equipment-list-page .parts-filters-actions,
html[data-ui-template="v2"][data-density] .equipment-list-page .parts-filters-actions,
html[data-ui-template="v2"] .auto-parts-list-page .parts-filters-actions,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .parts-filters-actions{
  gap:8px;
}

html[data-ui-template="v2"] .tasks-list-page .task-tabs,
html[data-ui-template="v2"][data-density] .tasks-list-page .task-tabs{
  gap:8px;
}

html[data-ui-template="v2"] .tasks-list-page .task-tab,
html[data-ui-template="v2"][data-density] .tasks-list-page .task-tab{
  min-height:40px;
  padding:0 14px;
  border-radius:14px;
}

html[data-ui-template="v2"] .tasks-list-page .parts-cards,
html[data-ui-template="v2"][data-density] .tasks-list-page .parts-cards,
html[data-ui-template="v2"] .parts-list-page .parts-cards,
html[data-ui-template="v2"][data-density] .parts-list-page .parts-cards,
html[data-ui-template="v2"] .tools-list-page .parts-cards,
html[data-ui-template="v2"][data-density] .tools-list-page .parts-cards,
html[data-ui-template="v2"] .equipment-list-page .parts-cards,
html[data-ui-template="v2"][data-density] .equipment-list-page .parts-cards,
html[data-ui-template="v2"] .auto-parts-list-page .parts-cards,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .parts-cards{
  gap:10px;
}

html[data-ui-template="v2"] .tasks-list-page .part-card,
html[data-ui-template="v2"][data-density] .tasks-list-page .part-card,
html[data-ui-template="v2"] .parts-list-page .part-card,
html[data-ui-template="v2"][data-density] .parts-list-page .part-card,
html[data-ui-template="v2"] .tools-list-page .part-card,
html[data-ui-template="v2"][data-density] .tools-list-page .part-card,
html[data-ui-template="v2"] .equipment-list-page .part-card,
html[data-ui-template="v2"][data-density] .equipment-list-page .part-card,
html[data-ui-template="v2"] .auto-parts-list-page .part-card,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .part-card{
  gap:12px;
  padding:12px 14px;
  border-radius:18px;
}

html[data-ui-template="v2"] .tasks-list-page .pc-meta,
html[data-ui-template="v2"][data-density] .tasks-list-page .pc-meta,
html[data-ui-template="v2"] .parts-list-page .pc-meta,
html[data-ui-template="v2"][data-density] .parts-list-page .pc-meta,
html[data-ui-template="v2"] .tools-list-page .pc-meta,
html[data-ui-template="v2"][data-density] .tools-list-page .pc-meta,
html[data-ui-template="v2"] .equipment-list-page .pc-meta,
html[data-ui-template="v2"][data-density] .equipment-list-page .pc-meta,
html[data-ui-template="v2"] .auto-parts-list-page .pc-meta,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .pc-meta{
  gap:9px;
}

html[data-ui-template="v2"] .tasks-list-page .table th,
html[data-ui-template="v2"][data-density] .tasks-list-page .table th,
html[data-ui-template="v2"] .tasks-list-page .table td,
html[data-ui-template="v2"][data-density] .tasks-list-page .table td,
html[data-ui-template="v2"] .parts-list-page .table th,
html[data-ui-template="v2"][data-density] .parts-list-page .table th,
html[data-ui-template="v2"] .parts-list-page .table td,
html[data-ui-template="v2"][data-density] .parts-list-page .table td,
html[data-ui-template="v2"] .tools-list-page .table th,
html[data-ui-template="v2"][data-density] .tools-list-page .table th,
html[data-ui-template="v2"] .tools-list-page .table td,
html[data-ui-template="v2"][data-density] .tools-list-page .table td,
html[data-ui-template="v2"] .equipment-list-page .table th,
html[data-ui-template="v2"][data-density] .equipment-list-page .table th,
html[data-ui-template="v2"] .equipment-list-page .table td,
html[data-ui-template="v2"][data-density] .equipment-list-page .table td,
html[data-ui-template="v2"] .auto-parts-list-page .table th,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .table th,
html[data-ui-template="v2"] .auto-parts-list-page .table td,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .table td{
  padding-top:10px;
  padding-bottom:10px;
}

html[data-ui-template="v2"] .parts-list-page .divider,
html[data-ui-template="v2"][data-density] .parts-list-page .divider,
html[data-ui-template="v2"] .tools-list-page .divider,
html[data-ui-template="v2"][data-density] .tools-list-page .divider,
html[data-ui-template="v2"] .equipment-list-page .divider,
html[data-ui-template="v2"][data-density] .equipment-list-page .divider,
html[data-ui-template="v2"] .auto-parts-list-page .divider,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .divider{
  margin:10px 0;
}

html[data-ui-template="v2"] .parts-list-page .chips,
html[data-ui-template="v2"][data-density] .parts-list-page .chips,
html[data-ui-template="v2"] .tools-list-page .chips,
html[data-ui-template="v2"][data-density] .tools-list-page .chips,
html[data-ui-template="v2"] .equipment-list-page .chips,
html[data-ui-template="v2"][data-density] .equipment-list-page .chips,
html[data-ui-template="v2"] .auto-parts-list-page .chips,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .chips{
  gap:8px;
}

html[data-ui-template="v2"] .parts-list-page .chip,
html[data-ui-template="v2"][data-density] .parts-list-page .chip,
html[data-ui-template="v2"] .tools-list-page .chip,
html[data-ui-template="v2"][data-density] .tools-list-page .chip,
html[data-ui-template="v2"] .equipment-list-page .chip,
html[data-ui-template="v2"][data-density] .equipment-list-page .chip,
html[data-ui-template="v2"] .auto-parts-list-page .chip,
html[data-ui-template="v2"][data-density] .auto-parts-list-page .chip{
  min-height:24px;
}

html[data-ui-template="v2"] .part-pick-page,
html[data-ui-template="v2"][data-density] .part-pick-page{
  gap:10px;
}

html[data-ui-template="v2"] .part-pick-summary-card,
html[data-ui-template="v2"][data-density] .part-pick-summary-card,
html[data-ui-template="v2"] .part-pick-form,
html[data-ui-template="v2"][data-density] .part-pick-form,
html[data-ui-template="v2"] .auto-parts-pick-card,
html[data-ui-template="v2"][data-density] .auto-parts-pick-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .part-pick-title-row,
html[data-ui-template="v2"][data-density] .part-pick-title-row{
  gap:10px;
}

html[data-ui-template="v2"] .task-picked-title,
html[data-ui-template="v2"][data-density] .task-picked-title{
  font-size:1.18rem;
}

html[data-ui-template="v2"] .part-pick-page .table th,
html[data-ui-template="v2"][data-density] .part-pick-page .table th,
html[data-ui-template="v2"] .part-pick-page .table td,
html[data-ui-template="v2"][data-density] .part-pick-page .table td{
  padding-top:9px;
  padding-bottom:9px;
}

html[data-ui-template="v2"] .auth-center .auth-v2-card,
html[data-ui-template="v2"][data-density] .auth-center .auth-v2-card{
  padding:18px 20px;
  border-radius:20px;
  max-width:430px;
}

html[data-ui-template="v2"] .auth-center .auth-v2-card h2,
html[data-ui-template="v2"][data-density] .auth-center .auth-v2-card h2{
  margin:0 0 12px;
}

html[data-ui-template="v2"] .scan-start-card .scan-start-note,
html[data-ui-template="v2"][data-density] .scan-start-card .scan-start-note{
  margin-bottom:10px;
}

html[data-ui-template="v2"] .project-form-card form.form,
html[data-ui-template="v2"][data-density] .project-form-card form.form{
  gap:10px;
}

html[data-ui-template="v2"] .changes-card .form-row,
html[data-ui-template="v2"][data-density] .changes-card .form-row{
  gap:8px 10px;
  margin-bottom:10px;
}

html[data-ui-template="v2"] .changes-card .changelog-wrap,
html[data-ui-template="v2"][data-density] .changes-card .changelog-wrap{
  margin-top:8px;
}

html[data-ui-template="v2"] .changes-card .changelog-pre,
html[data-ui-template="v2"][data-density] .changes-card .changelog-pre{
  padding:14px 16px;
  border-radius:16px;
}

html[data-ui-template="v2"] .package-types-card .package-types-grid,
html[data-ui-template="v2"][data-density] .package-types-card .package-types-grid{
  gap:10px 12px;
}

html[data-ui-template="v2"] .package-types-card .package-types-actions,
html[data-ui-template="v2"][data-density] .package-types-card .package-types-actions{
  margin-top:2px;
}

html[data-ui-template="v2"] .admin-public-page,
html[data-ui-template="v2"][data-density] .admin-public-page{
  display:grid;
  gap:10px;
}

html[data-ui-template="v2"] .admin-public-card,
html[data-ui-template="v2"][data-density] .admin-public-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .admin-public-card .actions-inline,
html[data-ui-template="v2"][data-density] .admin-public-card .actions-inline{
  gap:8px;
}

html[data-ui-template="v2"] .admin-public-card .grid2,
html[data-ui-template="v2"][data-density] .admin-public-card .grid2{
  gap:10px 12px;
}

html[data-ui-template="v2"] .admin-public-card .divider,
html[data-ui-template="v2"][data-density] .admin-public-card .divider{
  margin:10px 0;
}

html[data-ui-template="v2"] .admin-public-card .form.form-top-spaced,
html[data-ui-template="v2"][data-density] .admin-public-card .form.form-top-spaced,
html[data-ui-template="v2"] .admin-public-card .public-view-modules-form,
html[data-ui-template="v2"][data-density] .admin-public-card .public-view-modules-form{
  gap:10px;
}

html[data-ui-template="v2"] .inventory-run-page,
html[data-ui-template="v2"][data-density] .inventory-run-page,
html[data-ui-template="v2"] .delete-review-page,
html[data-ui-template="v2"][data-density] .delete-review-page{
  display:grid;
  gap:10px;
}

html[data-ui-template="v2"] .inventory-run-card,
html[data-ui-template="v2"][data-density] .inventory-run-card,
html[data-ui-template="v2"] .delete-review-card,
html[data-ui-template="v2"][data-density] .delete-review-card,
html[data-ui-template="v2"] .ui-template-admin-card,
html[data-ui-template="v2"][data-density] .ui-template-admin-card{
  padding:14px 16px;
  border-radius:18px;
}

html[data-ui-template="v2"] .inventory-run-card .table th,
html[data-ui-template="v2"][data-density] .inventory-run-card .table th,
html[data-ui-template="v2"] .inventory-run-card .table td,
html[data-ui-template="v2"][data-density] .inventory-run-card .table td,
html[data-ui-template="v2"] .delete-review-card .table th,
html[data-ui-template="v2"][data-density] .delete-review-card .table th,
html[data-ui-template="v2"] .delete-review-card .table td,
html[data-ui-template="v2"][data-density] .delete-review-card .table td{
  padding-top:10px;
  padding-bottom:10px;
}

html[data-ui-template="v2"] .delete-review-card .editor-section-banner,
html[data-ui-template="v2"][data-density] .delete-review-card .editor-section-banner{
  margin-top:8px;
}

html[data-ui-template="v2"] .delete-review-card .actions-inline,
html[data-ui-template="v2"][data-density] .delete-review-card .actions-inline{
  gap:8px;
}

html[data-ui-template="v2"] .related-editor,
html[data-ui-template="v2"][data-density] .related-editor{
  gap:10px;
  margin:4px 0 2px;
}

html[data-ui-template="v2"] .related-search-root,
html[data-ui-template="v2"][data-density] .related-search-root{
  z-index:26;
}

html[data-ui-template="v2"] .related-search-root .related-typeahead,
html[data-ui-template="v2"][data-density] .related-search-root .related-typeahead{
  padding:8px;
  border-radius:16px;
  border:1px solid color-mix(in srgb, var(--accent) 18%, rgba(255,255,255,0.14));
  background:color-mix(in srgb, #192230 92%, rgba(255,255,255,0.05));
  box-shadow:0 18px 40px rgba(0,0,0,0.34);
  backdrop-filter:blur(12px);
  max-height:280px;
  overflow:auto;
}

html[data-ui-template="v2"] .related-search-root .related-typeahead-item,
html[data-ui-template="v2"][data-density] .related-search-root .related-typeahead-item{
  padding:10px 12px;
  border-radius:14px;
  align-items:start;
}

html[data-ui-template="v2"] .related-search-root .related-typeahead-item:hover,
html[data-ui-template="v2"][data-density] .related-search-root .related-typeahead-item:hover,
html[data-ui-template="v2"] .related-search-root .related-typeahead-item.is-active,
html[data-ui-template="v2"][data-density] .related-search-root .related-typeahead-item.is-active{
  background:rgba(255,255,255,0.07);
}

html[data-ui-template="v2"] .related-search-root .related-typeahead-main,
html[data-ui-template="v2"][data-density] .related-search-root .related-typeahead-main{
  gap:4px;
}

html[data-ui-template="v2"] .related-search-root .related-typeahead-item .typeahead-name,
html[data-ui-template="v2"][data-density] .related-search-root .related-typeahead-item .typeahead-name{
  font-size:.97rem;
  line-height:1.3;
}

html[data-ui-template="v2"] .related-search-root .related-typeahead-item .typeahead-meta,
html[data-ui-template="v2"][data-density] .related-search-root .related-typeahead-item .typeahead-meta{
  font-size:12px;
  line-height:1.35;
  color:rgba(234,240,255,0.72);
}

html[data-ui-template="v2"] .related-selected-list,
html[data-ui-template="v2"][data-density] .related-selected-list{
  gap:8px;
}

html[data-ui-template="v2"] .related-selected-item,
html[data-ui-template="v2"][data-density] .related-selected-item{
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  align-items:center;
}

html[data-ui-template="v2"] .related-selected-main,
html[data-ui-template="v2"][data-density] .related-selected-main{
  gap:3px;
}

html[data-ui-template="v2"] .related-selected-name,
html[data-ui-template="v2"][data-density] .related-selected-name{
  line-height:1.28;
}

html[data-ui-template="v2"] .related-selected-meta,
html[data-ui-template="v2"][data-density] .related-selected-meta{
  line-height:1.35;
}

html[data-ui-template="v2"] .related-selected-item .btn,
html[data-ui-template="v2"][data-density] .related-selected-item .btn{
  flex:0 0 auto;
}

/* Hero dashboardu ma dochodzić do obramowania niezależnie od globalnej gęstości kart. */
html[data-ui-template="v2"] .card.dashboard-welcome-card,
html[data-ui-template="v2"][data-density] .card.dashboard-welcome-card{
  padding:0;
  overflow:hidden;
}
