/*
@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/font/Poppins-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}*/
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: block;
  src: url('/vendor/nunito/nunito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 200 1000;
  font-display: block;
  src: url('/vendor/nunito/nunito-latin-italic.woff2') format('woff2');
}
/*@font-face{
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('/vendor/material-symbols-outlined/material-symbols-outlined.woff2') format('woff2');
}*/
/*.material-symbols-outlined{
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}*/
html {
  font-size: 16px;
  font-family: Nunito, serif;
}
body {
  line-height: 1.5;
  color: #1B2A41;
}
body .bg-gradient-primary {
  background-color: #1B2A41;
  background-image: linear-gradient(180deg, #1B2A41 10%, #1B2A41 100%);
}
body.bg-beige {
  background-color: #ECE8DE;
}
body .br-5 {
  border-radius: 5px;
  overflow: hidden;
}
body .br-10 {
  border-radius: 10px;
  overflow: hidden;
}
body .br-15 {
  border-radius: 15px;
  overflow: hidden;
}
body .badge.badge-primary {
  background-color: #1B2A41;
}
body .badge.badge-secondary {
  background-color: #EA533C;
}
body .badge.badge-light {
  background-color: #c0c0c0;
}
body .btn.btn-xs {
  font-size: 0.7rem;
  line-height: 1.2;
  border-radius: 0.2rem;
}
body .btn.btn-xs .icon {
  padding: 0.375rem 0.5rem;
}
body .btn.btn-disabled {
  pointer-events: none;
  background-color: grey;
  color: white;
}
body .btn.btn-disabled:hover {
  background-color: #000000;
}
body .btn.btn-primary {
  background-color: #1B2A41;
  border-color: #0d1625;
}
body .btn.btn-primary:hover {
  background-color: #0d1625;
}
body .btn.btn-secondary {
  background-color: #EA533C;
  border-color: #EA533C;
}
body .btn.btn-secondary:hover {
  background-color: #d1351e;
}
body .btn.btn-success {
  background-color: #198754;
  border-color: #115e3c;
}
body .btn.btn-success:hover {
  background-color: #115e3c;
}
body .btn.btn-outline-primary {
  color: #1B2A41 !important;
  border-color: #1B2A41 !important;
}
body .btn.btn-outline-primary:hover {
  background-color: #1B2A41 !important;
  color: #fff !important;
}
body .btn.btn-outline-primary.active {
  color: #fff !important;
  background-color: #1B2A41 !important;
  border-color: #1B2A41 !important;
}
body .btn-separator {
  display: inline-block;
  width: 1px;
  height: 32px;
  background-color: #59677d;
  margin: 0 10px;
  vertical-align: middle;
}
body .babylon-viewer {
  width: 100%;
  height: 100%;
}
body .c-shadow {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.09);
}
body .c-white {
  color: #fff !important;
}
body .card.color-lefted {
  border-left-width: 10px;
  border-left-style: solid;
}
body .card.card-inverted {
  background-color: #f4f4f4;
}
body .card.card-inverted:hover {
  background-color: #f0f0f0;
}
body .card .card-header {
  background-color: white;
}
body .card .card-border-primary {
  border: 2px solid white;
}
body .card .card-border-primary:hover {
  border: 2px solid #1B2A41;
  cursor: pointer;
}
body .card .card-border-secondary {
  border: 1px solid #ebebeb;
}
body .bg-stripped {
  background: repeating-linear-gradient(45deg, /* angle des stries */ #ccc, /* couleur 1 */ #ccc 10px, /* largeur 1 */ #eee 10px, /* couleur 2 */ #eee 20px /* largeur 2 */);
}
body #fake-menu ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
body #fake-menu ul .nav-link span {
  color: black;
}
body .fas.green {
  color: #5a9f5a;
}
body .form-control[type=checkbox] {
  width: auto!important;
}
body .fs-z80 {
  font-size: 0.8rem;
}
body .fs-2r {
  font-size: 2rem;
}
body .fs-4r {
  font-size: 4rem;
}
body .h-12rem {
  height: 12rem !important;
}
body .h-8rem {
  height: 8rem !important;
}
body .h-5rem {
  height: 5rem !important;
}
body .h-3rem {
  height: 3rem !important;
}
body .hidden {
  display: none;
}
body img.desat {
  -webkit-filter: grayscale(100%);
}
body .img-in-list {
  background-color: #f4f4f4;
}
body .lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 9999;
}
body .lightbox:target {
  opacity: 1;
  pointer-events: auto;
}
body .lightbox .close {
  position: absolute;
  inset: 0;
}
body .lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}
body .pagination .page-item.active .page-link {
  color: #fff;
  background-color: #1B2A41;
  border-color: #1B2A41;
}
body .pagination .page-item.disabled .page-link {
  color: #858796;
}
body .pagination .page-item .page-link {
  color: #1B2A41;
}
body .project-hold-list {
  background-color: #f6f4f0;
}
body .shadow-top {
  box-shadow: inset 0 4px 6px -4px rgba(0, 0, 0, 0.15);
}
body .table {
  color: #1B2A41;
}
body .table tr:last-child {
  border-bottom: 1px solid #e3e6f0;
}
body .table tr td {
  vertical-align: middle;
}
body .table th a {
  text-decoration: none;
}
body .table th a ::after {
  content: "";
}
body .table th a:not(.asc):not(.desc)::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0dc";
  /* fa-sort */
  margin-left: 6px;
  opacity: 0.5;
}
body .table th a.asc::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0de";
  margin-left: 6px;
}
body .table th a.desc::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0dd";
  margin-left: 6px;
}
body .table.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f8f8f8;
}
body .table.table-hover tbody tr:hover {
  color: #1B2A41;
  background-color: #f0f0f0;
}
body .text-primary {
  color: #1B2A41 !important;
}
body .text-black {
  color: black;
}
body .text-circle-blue {
  color: #1B2A41;
}
body .td-underline {
  text-decoration: underline;
}
body .vr {
  display: inline-block;
  align-self: stretch;
  width: 2px;
  min-height: 1em;
  background-color: grey;
  opacity: 0.25;
  height: 75%;
}
body .w-10 {
  width: 10%;
}
body .w-25 {
  width: 25%;
}
body .o-75 {
  opacity: 0.75;
}
body .o-50 {
  opacity: 0.5;
}
body #wrapper #content-wrapper {
  background-color: #ECE8DE;
}
body #wrapper #content-wrapper .content h3 {
  color: #1B2A41;
  font-weight: 900;
  text-transform: uppercase;
}
/* ---------- Admin pages (adm-*): dashboard, lists, view pages ---------- */
.adm-panel {
  background: #fff;
  border: 1px solid #e3dfd4;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.adm-panel-title {
  font-size: 15px;
  font-weight: 800;
  color: #1B2A41;
  margin: 0 0 12px;
}
.adm-panel-title small {
  font-weight: 600;
  color: #7a7466;
  font-size: 12px;
  margin-left: 6px;
}
.adm-panel-title .fas {
  color: #7a7466;
  margin-right: 4px;
}
.adm-attention {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 8px;
}
.adm-attention-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fdecea;
  color: #1B2A41;
  text-decoration: none;
}
.adm-attention-item > .fas:first-child {
  color: #EA533C;
  width: 16px;
  text-align: center;
}
.adm-attention-item:hover {
  text-decoration: none;
  color: #1B2A41;
  background: #fcdfdc;
}
.adm-attention-item.is-zero {
  background: #f6f4ee;
  color: #7a7466;
}
.adm-attention-item.is-zero > .fas:first-child {
  color: #7a7466;
}
.adm-attention-count {
  font-size: 20px;
  font-weight: 800;
  min-width: 28px;
}
.adm-attention-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}
.adm-attention-go {
  font-size: 11px;
  opacity: 0.5;
}
.adm-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.adm-stat {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 6px;
  background: #f6f4ee;
}
.adm-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #7a7466;
}
.adm-stat-value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #1B2A41;
}
.adm-stat-diff {
  font-size: 12px;
  font-weight: 800;
  color: #7a7466;
}
.adm-stat-diff.is-up {
  color: #198754;
}
.adm-stat-diff.is-down {
  color: #EA533C;
}
.adm-stat-diff .text-muted {
  font-weight: 600;
  margin-left: 4px;
}
.adm-chart {
  position: relative;
  height: 300px;
}
.adm-totals {
  display: flex;
  flex-direction: column;
}
.adm-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #e3dfd4;
  color: #1B2A41;
  text-decoration: none;
}
.adm-total:last-child {
  border-bottom: 0;
}
.adm-total:hover {
  text-decoration: none;
  color: #EA533C;
}
.adm-total-label {
  font-size: 14px;
  font-weight: 700;
}
.adm-total-label small {
  display: block;
  font-weight: 600;
  color: #7a7466;
  font-size: 12px;
}
.adm-total-value {
  font-size: 18px;
  font-weight: 800;
}
.adm-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0 18px;
}
.adm-top {
  margin: 0;
  padding-left: 20px;
}
.adm-top li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  font-size: 14px;
}
.adm-top li a,
.adm-top li > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-top-value {
  flex: none;
  font-weight: 800;
}
.adm-top-value small {
  font-weight: 600;
  color: #7a7466;
}
.adm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.adm-head h3 {
  margin: 0;
}
.adm-count {
  font-size: 15px;
  font-weight: 700;
  color: #7a7466;
  margin-left: 6px;
  text-transform: none;
}
.adm-filters {
  margin-bottom: 12px;
}
.adm-filters-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.adm-filters-row + .adm-filters-row {
  margin-top: 8px;
  gap: 18px;
}
.adm-filters-row .form-group,
.adm-filters-row .input {
  margin: 0;
}
.adm-filters-row select.form-control-sm {
  max-width: 200px;
}
.adm-filter-search {
  width: 220px;
}
.adm-reset {
  font-size: 13px;
  font-weight: 700;
  color: #EA533C;
}
.adm-reset:hover {
  color: #d1351e;
  text-decoration: none;
}
.adm-table-card {
  background: #fff;
  border: 1px solid #e3dfd4;
  border-radius: 8px;
  overflow: hidden;
}
.adm-table {
  font-size: 14px;
}
.adm-table th {
  font-size: 12px;
  font-weight: 800;
  color: #7a7466;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-top: 0;
  white-space: nowrap;
  background: #f6f4ee;
}
.adm-table th a {
  color: #7a7466;
}
.adm-table td {
  vertical-align: middle;
  border-top: 1px solid #e3dfd4;
  padding-top: 8px;
  padding-bottom: 8px;
}
.adm-table tbody tr:hover {
  background: #fbfaf6;
}
.adm-table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid #e3dfd4;
  font-size: 13px;
  color: #7a7466;
}
.adm-col-thumb {
  width: 76px;
}
.adm-thumb {
  display: block;
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 5px;
  background: #f6f4ee;
}
.adm-thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9c3b4;
}
.adm-name {
  font-weight: 800;
  color: #1B2A41;
}
.adm-name:hover {
  color: #EA533C;
  text-decoration: none;
}
.adm-sub {
  display: block;
  font-size: 12px;
  color: #7a7466;
}
.adm-sub-inline {
  font-size: 12px;
  font-weight: 700;
  color: #7a7466;
  margin-left: 6px;
}
.adm-badges {
  white-space: nowrap;
}
.adm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  margin: 2px 2px 0 0;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  background: #f6f4ee;
  color: #7a7466;
}
.adm-badge.is-green {
  background: #e3f2ea;
  color: #198754;
}
.adm-badge.is-orange {
  background: #fdf0dc;
  color: #a86207;
}
.adm-badge.is-red {
  background: #fdecea;
  color: #d1351e;
}
.adm-badge.is-blue {
  background: #e5eaf2;
  color: #1B2A41;
}
.adm-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}
.adm-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid #e3dfd4;
  background: #fff;
  color: #1B2A41;
  font-size: 13px;
}
.adm-icon-btn:hover {
  background: #1B2A41;
  border-color: #1B2A41;
  color: #fff;
  text-decoration: none;
}
.adm-icon-btn.is-danger {
  color: #EA533C;
  margin-left: 6px;
}
.adm-icon-btn.is-danger:hover {
  background: #EA533C;
  border-color: #EA533C;
  color: #fff;
}
.adm-icon-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.adm-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0 18px;
}
.adm-page-title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: #1B2A41;
}
.adm-page-title small {
  font-size: 16px;
  font-weight: 700;
  color: #7a7466;
  margin-left: 8px;
}
.adm-page-kicker {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a7466;
}
.adm-page-badges {
  margin-top: 6px;
}
.adm-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.adm-page-actions .btn {
  font-weight: 700;
}
.adm-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.adm-panel-head .adm-panel-title {
  margin: 0;
}
.adm-dl {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0;
  margin: 0;
  font-size: 14px;
}
.adm-dl dt,
.adm-dl dd {
  padding: 8px 0;
  margin: 0;
  border-top: 1px solid #e3dfd4;
}
.adm-dl dt {
  font-weight: 800;
  color: #1B2A41;
}
.adm-dl > dt:first-of-type,
.adm-dl > dt:first-of-type + dd {
  border-top: 0;
}
.adm-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.adm-shots .thumb img {
  border-radius: 6px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.adm-table tr.is-inactive td {
  color: #7a7466;
}
.adm-table tr.is-inactive td .adm-name {
  color: #7a7466;
}
.adm-row-actions .adm-row-actions {
  display: contents;
}
.adm-page-head-color {
  border-left: 8px solid var(--adm-color);
  padding-left: 14px;
}
a.adm-stat {
  text-decoration: none;
}
a.adm-stat:hover {
  background: #efebe1;
  text-decoration: none;
}
.adm-text {
  font-size: 14px;
  color: #1B2A41;
}
.adm-page-head {
  clear: both;
}
.adm-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.adm-brand-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e3dfd4;
  border-radius: 8px;
}
.adm-brand-card .adm-row-actions {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #e3dfd4;
}
.adm-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  border-radius: 6px;
  background: #f6f4ee;
}
.adm-brand-logo img {
  max-height: 46px;
  max-width: 80%;
  object-fit: contain;
}
.adm-brand-initials {
  font-size: 22px;
  font-weight: 800;
  color: #c9c3b4;
}
.adm-brand-name {
  font-size: 16px;
}
.adm-brand-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  font-size: 13px;
  color: #7a7466;
}
.adm-brand-figures strong {
  color: #1B2A41;
  font-size: 15px;
}
.adm-brand-figures a {
  color: #7a7466;
}
.adm-brand-figures a:hover {
  color: #EA533C;
  text-decoration: none;
}
.adm-brand-figures a:hover strong {
  color: #EA533C;
}
/* ---------- Admin sidebar (element/menu) and phone top bar (layout/admin_layout) ---------- */
.adm-sidebar {
  position: sticky;
  top: 0;
  flex: none;
  width: 216px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #1B2A41;
  color: rgba(236, 232, 222, 0.78);
  font-size: 13.5px;
  z-index: 1040;
}
.adm-sidebar-logo {
  display: block;
  padding: 18px 20px 10px;
}
.adm-sidebar-logo img {
  display: block;
  max-width: 132px;
  height: auto;
}
.adm-sidebar-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 10px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(236, 232, 222, 0.2) transparent;
}
.adm-nav-group {
  margin-top: 14px;
}
.adm-nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.adm-nav-label {
  display: block;
  padding: 0 10px 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 232, 222, 0.45);
}
.adm-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  color: rgba(236, 232, 222, 0.78);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.adm-nav-link i {
  width: 16px;
  text-align: center;
  font-size: 13px;
  flex: none;
  opacity: 0.8;
}
.adm-nav-link:hover,
.adm-nav-link:focus-visible {
  background: rgba(236, 232, 222, 0.08);
  color: #fff;
  text-decoration: none;
}
.adm-nav-link.is-active {
  background: #EA533C;
  color: #fff;
}
.adm-nav-link.is-active i {
  opacity: 1;
}
.adm-nav-link.is-active .adm-nav-count {
  background: #fff;
  color: #EA533C;
}
.adm-nav-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-nav-count {
  flex: none;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 10px;
  background: #EA533C;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.adm-account {
  flex: none;
  border-top: 1px solid rgba(236, 232, 222, 0.12);
  padding: 10px;
}
.adm-account-me {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
}
.adm-account-me:hover,
.adm-account-me.is-active {
  background: rgba(236, 232, 222, 0.08);
  color: #fff;
  text-decoration: none;
}
.adm-avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ECE8DE;
  color: #1B2A41;
  font-size: 12px;
  font-weight: 800;
}
.adm-account-name {
  min-width: 0;
  line-height: 1.25;
}
.adm-account-name strong,
.adm-account-name small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-account-name strong {
  font-size: 13px;
}
.adm-account-name small {
  color: rgba(236, 232, 222, 0.55);
  font-size: 11px;
}
.adm-account-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.adm-account-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 6px;
  border: 1px solid rgba(236, 232, 222, 0.2);
  border-radius: 6px;
  color: rgba(236, 232, 222, 0.78);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.adm-account-btn:hover {
  border-color: rgba(236, 232, 222, 0.45);
  color: #fff;
  text-decoration: none;
}
.adm-footer {
  padding: 18px 24px 22px;
  text-align: center;
  font-size: 12px;
  color: #7a7466;
}
.adm-topbar,
.adm-sidebar-backdrop {
  display: none;
}
@media (max-width: 767.98px) {
  .adm-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid #e3dfd4;
  }
  .adm-topbar img {
    height: 28px;
    width: auto;
    display: block;
  }
  .adm-topbar-btn {
    border: 0;
    background: transparent;
    color: #1B2A41;
    font-size: 18px;
    padding: 4px 6px;
  }
  .adm-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    max-width: 85vw;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }
  .adm-nav-open {
    overflow: hidden;
  }
  .adm-nav-open .adm-sidebar {
    transform: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  }
  .adm-nav-open .adm-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(27, 42, 65, 0.45);
    z-index: 1030;
  }
}
/* ---------- Admin view page head (element/admin/page_head) ---------- */
.adm-page-head {
  margin: 4px 0 18px;
  align-items: flex-end;
}
.adm-page-head-main {
  min-width: 0;
}
.adm-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #7a7466;
  text-decoration: none;
}
.adm-back i {
  font-size: 10px;
}
.adm-back:hover {
  color: #1B2A41;
  text-decoration: none;
}
.adm-page-head-color {
  padding-left: 14px;
}
.adm-page-actions {
  align-items: center;
}
.adm-btn-light {
  background: #fff;
  border: 1px solid #e3dfd4;
  color: #1B2A41;
  font-weight: 700;
}
.adm-btn-light:hover,
.adm-btn-light:focus {
  background: #f6f4ee;
  border-color: #cfc8b5;
  color: #1B2A41;
}
.adm-btn-more {
  padding-left: 10px;
  padding-right: 10px;
}
.adm-menu {
  min-width: 190px;
  padding: 6px;
  border: 1px solid #e3dfd4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(27, 42, 65, 0.12);
  font-size: 13.5px;
}
.adm-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 5px;
  color: #1B2A41;
  font-weight: 600;
}
.adm-menu .dropdown-item i {
  width: 14px;
  text-align: center;
  color: #7a7466;
}
.adm-menu .dropdown-item:hover,
.adm-menu .dropdown-item:focus {
  background: #f6f4ee;
  color: #1B2A41;
}
.adm-menu .dropdown-item.is-danger,
.adm-menu .dropdown-item.is-danger i {
  color: #EA533C;
}
.adm-menu .dropdown-item.is-danger:hover {
  background: rgba(234, 83, 60, 0.08);
}
.adm-menu .dropdown-divider {
  margin: 4px 0;
  border-color: #e3dfd4;
}
@media (min-width: 768px) {
  .adm-page-head {
    flex-wrap: nowrap;
  }
  .adm-page-head-main {
    flex: 1 1 auto;
  }
  .adm-page-actions {
    flex: none;
    flex-wrap: nowrap;
  }
}
/* ---------- Admin filter bar (element/admin/filters) ---------- */
.adm-filters {
  margin-bottom: 14px;
}
.adm-filters .adm-filters-row {
  gap: 8px;
}
.adm-filters .adm-filters-row + .adm-filters-row {
  margin-top: 8px;
  gap: 8px 12px;
}
.adm-filters select.form-control-sm {
  width: auto;
  max-width: 210px;
  height: 32px;
  border-color: #e3dfd4;
  color: #1B2A41;
  font-weight: 600;
}
.adm-filters select.form-control-sm.is-set {
  border-color: #1B2A41;
  box-shadow: inset 0 0 0 1px #1B2A41;
}
.adm-filter-search-wrap {
  position: relative;
}
.adm-filter-search-wrap i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #7a7466;
  pointer-events: none;
}
.adm-filter-search-wrap .adm-filter-search {
  width: 230px;
  height: 32px;
  padding-left: 30px;
  border-color: #e3dfd4;
}
.adm-filters-more {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e3dfd4;
  border-radius: 8px;
}
.adm-filters-more[hidden] {
  display: none;
}
.adm-filter-switch {
  font-size: 13.5px;
  font-weight: 600;
  color: #1B2A41;
  margin-left: 4px;
}
.adm-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e3dfd4;
  border-radius: 0.2rem;
  font-size: 13px;
  font-weight: 700;
  color: #1B2A41;
  cursor: pointer;
}
.adm-more-btn:hover {
  background: #f6f4ee;
}
.adm-more-btn.is-set,
.adm-more-btn[aria-expanded="true"] {
  border-color: #1B2A41;
}
.adm-more-count {
  min-width: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #EA533C;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
@media (max-width: 767.98px) {
  .adm-filter-search-wrap {
    flex: 1 1 100%;
  }
  .adm-filter-search-wrap .adm-filter-search {
    width: 100%;
  }
  .adm-filters select.form-control-sm {
    flex: 1 1 140px;
    max-width: none;
  }
}
/* ---------- Admin lists: small parts ---------- */
.adm-head-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.adm-thumb.is-contain {
  object-fit: contain;
  background: #f6f4ee;
}
.adm-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: -2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.adm-code {
  font-size: 12.5px;
  color: #1B2A41;
  background: #f6f4ee;
  padding: 1px 6px;
  border-radius: 4px;
}
.adm-ellipsis {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-brand-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.adm-brand-mini {
  height: 20px;
  max-width: 48px;
  object-fit: contain;
}
.adm-brand-mini:is(span) {
  height: auto;
  max-width: none;
  font-size: 11px;
  font-weight: 800;
  color: #7a7466;
  display: none;
}
.adm-filter-switch .custom-control-input:checked ~ .custom-control-label::before {
  background: #1B2A41;
  border-color: #1B2A41;
}
@media (max-width: 767.98px) {
  .adm-filters .input.select {
    flex: 1 1 140px;
    min-width: 0;
  }
  .adm-filters .input.select select.form-control-sm {
    width: 100%;
  }
}
/* ---------- Admin tables as cards on a phone (labels set by layout/admin_layout's script) ---------- */
@media (max-width: 767.98px) {
  .adm-table-card {
    background: transparent;
    border: 0;
    overflow: visible;
  }
  .adm-table-card .table-responsive {
    overflow: visible;
  }
  .adm-table {
    display: block;
  }
  .adm-table thead {
    display: none;
  }
  .adm-table tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .adm-table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e3dfd4;
    border-radius: 8px;
  }
  .adm-table tr:last-child {
    border-bottom: 1px solid #e3dfd4;
  }
  .adm-table td {
    display: block;
    padding: 0;
    border: 0 !important;
    text-align: left !important;
    font-size: 13.5px;
    min-width: 0;
  }
  .adm-table td.adm-col-thumb {
    flex: none;
    width: auto;
    order: 0;
  }
  .adm-table td.adm-col-thumb .adm-thumb {
    width: 56px;
    height: 42px;
  }
  .adm-table td.adm-cell-title {
    flex: 1 1 calc(100% - 80px);
    align-self: center;
    order: 0;
  }
  .adm-table td.adm-cell-title .adm-name {
    font-size: 15px;
  }
  .adm-table td[data-label] {
    flex: 1 1 calc(50% - 12px);
    order: 1;
    margin-top: 6px;
  }
  .adm-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 1px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7a7466;
  }
  .adm-table td.adm-ellipsis {
    max-width: none;
    white-space: normal;
  }
  .adm-table td.adm-cell-actions {
    flex: 1 1 100%;
    order: 2;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #e3dfd4 !important;
  }
  .adm-table td.adm-cell-actions .adm-row-actions {
    justify-content: flex-end;
  }
  .adm-table tr.adm-row-full td {
    flex: 1 1 100%;
    text-align: center !important;
  }
  .adm-table td:not([data-label]):not(.adm-cell-title):not(.adm-col-thumb):not(.adm-cell-actions) {
    order: 1;
  }
  .adm-table-foot {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    background: transparent;
    border: 0;
  }
}
@media (max-width: 767.98px) {
  .adm-panel .adm-table tbody {
    gap: 0;
  }
  .adm-panel .adm-table tr {
    padding: 10px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #e3dfd4;
    border-radius: 0;
  }
  .adm-panel .adm-table tr:first-child {
    border-top: 0;
  }
  .adm-panel .adm-table tr:last-child {
    border-bottom: 0;
  }
  .adm-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* ---------- Admin view pages: parts (project, client, user, hold, wall, order) ---------- */
.adm-panel-flush {
  padding: 0;
  overflow: hidden;
}
.adm-viewer {
  height: 480px;
  background: #e9e6de;
}
.adm-viewer canvas {
  display: block;
  outline: none;
}
.adm-empty {
  margin: 0;
  padding: 60px 20px;
  text-align: center;
  color: #7a7466;
  font-weight: 700;
}
.adm-empty i {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
  opacity: 0.6;
}
.adm-dl-narrow {
  grid-template-columns: 110px 1fr;
}
.adm-stat-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.adm-stat-detail {
  font-size: 12px;
  font-weight: 600;
  color: #7a7466;
}
.adm-stat-value-sm {
  font-size: 17px;
  line-height: 1.9;
}
.adm-color-chip {
  display: inline-flex;
  align-items: center;
  margin: 0 10px 4px 0;
  font-size: 13px;
}
.adm-color-chip .adm-swatch {
  margin-right: 5px;
}
.adm-side-picture {
  display: block;
  margin-top: 12px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e3dfd4;
}
.adm-side-picture img {
  display: block;
  width: 100%;
  height: auto;
}
.adm-panel-title + .adm-side-picture {
  margin-top: 0;
}
.adm-chip-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}
.adm-chip-line + .adm-chip-line {
  margin-top: 6px;
}
.adm-chip-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a7466;
  margin-right: 2px;
}
.adm-chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  background: #f6f4ee;
  border: 1px solid #e3dfd4;
  font-size: 12.5px;
  font-weight: 600;
  color: #1B2A41;
}
.adm-chip:hover {
  background: #efebe1;
  color: #1B2A41;
  text-decoration: none;
}
.adm-logo {
  max-height: 56px;
  max-width: 160px;
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: middle;
}
.adm-note {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  background: rgba(232, 163, 61, 0.14);
  color: #7d510f;
}
.adm-note a {
  font-weight: 700;
}
.adm-scroll {
  max-height: 420px;
  overflow-y: auto;
}
.adm-gym-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 14px 4px 0;
}
.adm-break {
  word-break: break-all;
}
.adm-raw summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  color: #1B2A41;
}
.adm-raw pre {
  margin: 12px 0 0;
  padding: 12px;
  background: #f6f4ee;
  border-radius: 6px;
  font-size: 12px;
  color: #1B2A41;
  white-space: pre-wrap;
}
@media (max-width: 767.98px) {
  .adm-viewer {
    height: 300px;
  }
  .adm-dl,
  .adm-dl-narrow {
    grid-template-columns: 1fr;
  }
  .adm-dl dt,
  .adm-dl-narrow dt {
    padding-bottom: 0;
  }
  .adm-dl dd,
  .adm-dl-narrow dd {
    border-top: 0;
    padding-top: 2px;
  }
  .adm-scroll {
    max-height: none;
  }
}
.adm-head-email {
  margin-left: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #7a7466;
}
@media (max-width: 767.98px) {
  .adm-panel .adm-table td.adm-cell-actions {
    flex: none;
    order: 0;
    margin: 0;
    padding: 0;
    border-top: 0 !important;
    align-self: center;
  }
}
/* ---------- Admin forms (add / edit pages): sections, fields, switches, save bar ---------- */
.adm-form {
  max-width: 980px;
}
.adm-form form {
  margin: 0;
}
.adm-form .adm-form-section {
  padding: 6px 18px;
}
.adm-form .adm-form-section-title {
  margin: 12px 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #1B2A41;
}
.adm-form .adm-form-section-title small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: #7a7466;
}
.adm-form .form-group.row {
  margin: 0;
  padding: 12px 0;
  align-items: flex-start;
}
.adm-form .form-group.row + .form-group.row {
  border-top: 1px solid #e3dfd4;
}
.adm-form .form-group.row > [class*="col-"] {
  padding-left: 0;
}
.adm-form .col-form-label {
  padding-top: 7px;
  font-size: 13.5px;
  font-weight: 800;
  color: #1B2A41;
  text-transform: none;
}
.adm-form .form-control:not([type=checkbox]) {
  border-color: #e3dfd4;
  border-radius: 6px;
  color: #1B2A41;
  font-size: 14px;
}
.adm-form .form-control:not([type=checkbox]):focus {
  border-color: #1B2A41;
  box-shadow: 0 0 0 3px rgba(27, 42, 65, 0.12);
}
.adm-form input.form-control:not([type=checkbox]):not([type=file]),
.adm-form select.form-control:not([multiple]) {
  height: 36px;
}
.adm-form textarea.form-control {
  min-height: 90px;
}
.adm-form .form-text,
.adm-form small.text-muted {
  font-size: 12.5px;
  color: #7a7466 !important;
}
.adm-form .error-message {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #EA533C;
}
.adm-form .form-control.is-invalid,
.adm-form .form-error .form-control {
  border-color: #EA533C;
}
.adm-form input[type=checkbox]:not(.custom-control-input) {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 38px !important;
  height: 22px !important;
  min-height: 0;
  margin: 6px 0 0;
  padding: 0;
  border: 0 !important;
  border-radius: 11px;
  background: #d5d0c4;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.15s ease;
  vertical-align: middle;
}
.adm-form input[type=checkbox]:not(.custom-control-input)::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.adm-form input[type=checkbox]:not(.custom-control-input):checked {
  background: #1B2A41;
}
.adm-form input[type=checkbox]:not(.custom-control-input):checked::before {
  transform: translateX(16px);
}
.adm-form input[type=checkbox]:not(.custom-control-input):focus-visible {
  outline: 2px solid rgba(27, 42, 65, 0.4);
  outline-offset: 2px;
}
.adm-form input[type=checkbox]:not(.custom-control-input):disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.adm-form .adm-checklist input[type=checkbox]:not(.custom-control-input) {
  width: 16px !important;
  height: 16px !important;
  border-radius: 4px;
  margin: 0 6px 0 0;
  border: 1px solid #c5bda6 !important;
  background: #fff;
}
.adm-form .adm-checklist input[type=checkbox]:not(.custom-control-input)::before {
  display: none;
}
.adm-form .adm-checklist input[type=checkbox]:not(.custom-control-input):checked {
  background: #1B2A41;
  border-color: #1B2A41 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
}
.adm-form .custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  background: #1B2A41;
  border-color: #1B2A41;
}
.adm-form .custom-control-label {
  padding-top: 2px;
  font-size: 14px;
  color: #1B2A41;
}
.adm-form .select2-container--default .select2-selection--multiple,
.adm-form .select2-container--default .select2-selection--single {
  border-color: #e3dfd4;
  border-radius: 6px;
  min-height: 36px;
}
.adm-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 -2px 18px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e3dfd4;
  border-radius: 8px;
  box-shadow: 0 -6px 18px rgba(27, 42, 65, 0.08);
}
.adm-form-actions .btn {
  min-width: 92px;
  font-weight: 700;
}
.adm-form-actions-note {
  margin-right: auto;
  font-size: 12.5px;
  color: #7a7466;
}
@media (max-width: 767.98px) {
  .adm-form .adm-form-section {
    padding: 4px 14px;
  }
  .adm-form .form-group.row > [class*="col-"] {
    padding-right: 0;
  }
  .adm-form .col-form-label {
    padding-bottom: 4px;
  }
  .adm-form-actions {
    margin: 0 -16px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 10px 16px;
  }
  .adm-form-actions .btn {
    flex: 1 1 0;
  }
  .adm-form-actions-note:empty {
    display: none;
  }
}
.adm-form.adm-form-wide {
  max-width: none;
}
.adm-scroll-tall {
  max-height: 640px;
}
.adm-filter-select {
  width: auto;
  max-width: 220px;
  height: 32px;
  border-color: #e3dfd4;
}
@keyframes adm-blink {
  0%,
  100% {
    background: transparent;
  }
  50% {
    background: rgba(234, 83, 60, 0.12);
  }
}
.line-blink td {
  animation: adm-blink 0.5s ease-in-out 2;
}
.adm-form-actions .btn.adm-btn-light {
  border: 1px solid #e3dfd4;
  background: #fff;
  color: #1B2A41;
}
.adm-form-actions .btn.adm-btn-light:hover {
  background: #f6f4ee;
}
/* ---------- Admin card grids (projects, walls) ---------- */
.adm-card-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.adm-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e3dfd4;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.adm-card:hover {
  border-color: #cfc8b5;
  box-shadow: 0 6px 18px rgba(27, 42, 65, 0.08);
}
.adm-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #e9e6de;
  overflow: hidden;
}
.adm-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.adm-card-media.is-contain img {
  object-fit: contain;
  padding: 8px;
}
.adm-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #7a7466;
}
.adm-card-placeholder i {
  font-size: 26px;
  opacity: 0.45;
}
.adm-card-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
}
.adm-card-tag {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(27, 42, 65, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.adm-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px 10px;
  min-width: 0;
}
.adm-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #1B2A41;
  line-height: 1.3;
}
.adm-card-title:hover {
  color: #EA533C;
  text-decoration: none;
}
.adm-card-sub {
  font-size: 12.5px;
  font-weight: 700;
  color: #7a7466;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-card-text {
  margin: 4px 0 0;
  font-size: 13px;
  color: #1B2A41;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.adm-card-meta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 12px;
  color: #7a7466;
}
.adm-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border-top: 1px solid #e3dfd4;
  background: #f6f4ee;
}
.adm-card-count {
  font-size: 13px;
  color: #1B2A41;
  white-space: nowrap;
}
.adm-card-count strong {
  font-weight: 800;
}
.adm-card-count.is-zero {
  color: #7a7466;
}
a.adm-card-count:hover {
  color: #EA533C;
  text-decoration: none;
}
.adm-empty-line {
  padding: 30px 0;
  text-align: center;
  color: #7a7466;
}
.adm-card-grid + .adm-table-foot {
  margin-top: 14px;
  padding: 10px 0;
  border: 0;
  background: transparent;
}
.adm-card-media.is-empty {
  aspect-ratio: auto;
  height: 64px;
}
.adm-card-media.is-empty .adm-card-placeholder {
  flex-direction: row;
  gap: 8px;
}
.adm-card-media.is-empty .adm-card-placeholder i {
  font-size: 16px;
}
@media (max-width: 767.98px) {
  .adm-card-grid:not(.adm-card-grid-wide) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .adm-card-grid:not(.adm-card-grid-wide) .adm-card .adm-card-body {
    padding: 10px;
  }
  .adm-card-grid:not(.adm-card-grid-wide) .adm-card .adm-card-title {
    font-size: 14px;
  }
  .adm-card-grid:not(.adm-card-grid-wide) .adm-card .adm-card-foot {
    flex-wrap: wrap;
    padding: 8px 10px;
  }
  .adm-card-grid:not(.adm-card-grid-wide) .adm-card .adm-card-foot .adm-row-actions {
    width: 100%;
    justify-content: space-between;
  }
}
/* ---------- Dashboard polish ---------- */
.adm-dashboard .adm-head h3 .adm-count {
  text-transform: none;
  font-size: 13px;
}
.adm-dashboard .adm-panel-title small {
  text-transform: none;
}
.adm-attention-panel.is-clear {
  padding: 12px 18px;
  border-left: 4px solid #198754;
}
.adm-all-clear {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #1B2A41;
}
.adm-all-clear i {
  color: #198754;
  font-size: 16px;
  align-self: center;
}
.adm-all-clear strong {
  font-weight: 800;
}
.adm-all-clear span {
  color: #7a7466;
  font-size: 13px;
}
.adm-attention {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.adm-attention-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-attention-clear {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: #7a7466;
}
.adm-attention-clear i {
  color: #198754;
  margin-right: 4px;
}
.adm-month-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 1399.98px) {
  .adm-month-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.adm-dashboard .adm-stat {
  padding: 10px 12px;
  min-width: 0;
}
.adm-dashboard .adm-stat .adm-stat-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-dashboard .adm-stat .adm-stat-value {
  font-size: 24px;
}
.adm-stat-diff {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-stat-diff i {
  font-size: 10px;
}
.adm-stat-before {
  margin-left: 4px;
  font-weight: 600;
  color: #7a7466;
}
.adm-row-equal > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.adm-row-equal > [class*="col-"] > .adm-panel {
  flex: 1 1 auto;
}
.adm-chart {
  height: 340px;
}
.adm-total {
  padding: 6px 0;
}
.adm-total-value {
  font-size: 16px;
}
.adm-top-grid .adm-panel-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 28px;
}
.adm-activity li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #e3dfd4;
  break-inside: avoid;
  font-size: 13.5px;
  min-width: 0;
}
.adm-activity-icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f6f4ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #7a7466;
}
.adm-activity-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1B2A41;
}
.adm-activity-type {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a7466;
  margin-right: 4px;
}
.adm-activity-what {
  color: #7a7466;
  margin-left: 4px;
}
.adm-activity-when {
  flex: none;
  font-size: 12px;
  color: #7a7466;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .adm-activity {
    columns: 1;
  }
}
@media (max-width: 767.98px) {
  .adm-month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .adm-chart {
    height: 240px;
  }
}
@media (max-width: 767.98px) {
  .adm-dashboard .adm-head h3 .adm-count {
    display: block;
    margin: 4px 0 0;
  }
}
/* ---------- Client people, gym roles, transfer, quota (admin) ---------- */
select.adm-role-select {
  display: inline-block;
  width: auto;
  min-width: 170px;
  height: 32px;
  border-color: #e3dfd4;
  color: #1B2A41;
  font-weight: 600;
}
select.adm-role-select.is-set {
  border-color: #1B2A41;
  box-shadow: inset 0 0 0 1px #1B2A41;
}
.adm-people-search {
  position: relative;
  margin: 6px 0 10px;
}
.adm-people-search .adm-filter-search {
  width: 320px;
}
.adm-suggestions {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0;
  width: 380px;
  max-width: 100%;
  margin-top: 4px;
  padding: 4px;
  background: #fff;
  border: 1px solid #e3dfd4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(27, 42, 65, 0.12);
}
.adm-suggestion {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  text-align: left;
  color: #1B2A41;
  font-size: 13.5px;
}
.adm-suggestion span {
  font-size: 12px;
  color: #7a7466;
}
.adm-suggestion:hover,
.adm-suggestion:focus {
  background: #f6f4ee;
  outline: none;
}
.adm-suggestion.is-none {
  color: #7a7466;
  cursor: default;
}
.adm-suggestion.is-none:hover {
  background: transparent;
}
.adm-table tr.is-new td {
  background: rgba(25, 135, 84, 0.06);
}
.adm-requests {
  border-left: 4px solid #e8a33d;
}
.adm-inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 10px 0 14px;
}
.adm-inline-form select {
  width: auto;
  min-width: 240px;
}
.adm-confirm-code {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #1B2A41;
  color: #fff;
  font: 800 14px monospace;
  letter-spacing: 0.15em;
}
.adm-code-input {
  max-width: 200px;
  font: 700 16px monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.adm-note-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.adm-quota-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.adm-quota-field .form-control {
  max-width: 180px;
}
@media (max-width: 767.98px) {
  .adm-people-search .adm-filter-search {
    width: 100%;
  }
  select.adm-role-select {
    min-width: 0;
  }
  .adm-inline-form select {
    min-width: 0;
    flex: 1 1 auto;
  }
}
.cv-screenshots {
  min-width: 0;
}
.cv-screenshots .cv-screenshots-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 6px 0;
  padding: 8px 14px;
  border: 1.5px solid #d8d2c4;
  border-radius: 6px;
  background: #fff;
  color: #1B2A41;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.cv-screenshots .cv-screenshots-pick:hover {
  border-color: #1B2A41;
}
.cv-screenshots .cv-screenshots-pick:focus-within {
  outline: 2px solid #EA533C;
  outline-offset: 2px;
}
.cv-screenshots .cv-screenshots-pick input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cv-screenshots .cv-screenshots-pick:has(input:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}
.cv-screenshots .cv-screenshots-hint {
  color: #8a8378;
  font-size: 12px;
}
.cv-screenshots .cv-screenshots-message {
  margin: 6px 0 0;
  color: #b3261e;
  font-size: 12px;
  font-weight: 600;
}
.cv-screenshots .cv-screenshots-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.cv-screenshots .cv-screenshots-list:empty {
  display: none;
}
.cv-screenshots .preview-item {
  position: relative;
  width: 120px;
  height: 120px;
  border: 1.5px solid #d8d2c4;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f4ec;
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cv-screenshots .preview-item:first-child {
  border-color: #1B2A41;
  box-shadow: 0 0 0 1px #1B2A41;
}
.cv-screenshots .preview-item.is-new {
  border-style: dashed;
}
.cv-screenshots .preview-item.dragging {
  opacity: 0.6;
  transform: scale(0.96);
  box-shadow: 0 4px 12px rgba(27, 42, 65, 0.15);
}
.cv-screenshots .preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.cv-screenshots .preview-item .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(27, 42, 65, 0.75);
  color: #fff;
  font-size: 15px;
  line-height: 24px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.cv-screenshots .preview-item .remove-btn:hover {
  background: #EA533C;
}
.cv-screenshots .preview-item .remove-btn:focus-visible {
  opacity: 1;
  outline: 2px solid #fff;
}
.cv-screenshots .preview-item:hover .remove-btn {
  opacity: 1;
}
@media (hover: none) {
  .cv-screenshots .preview-item .remove-btn {
    opacity: 1;
  }
}
.cv-screenshots.is-read-only .preview-item {
  cursor: default;
}
.cv-flash-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 380px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}
.cv-flash {
  --flash-color: #2f5f9e;
  --flash-bg: #eaf1fb;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 40px 14px 14px;
  overflow: hidden;
  border: 1px solid #e6e1d6;
  border-left: 4px solid var(--flash-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(27, 42, 65, 0.16), 0 2px 6px rgba(27, 42, 65, 0.08);
  color: #1B2A41;
  font: 600 14px/1.45 Nunito, sans-serif;
  pointer-events: auto;
  animation: cv-flash-in 0.25s ease-out;
}
.cv-flash.is-success {
  --flash-color: #3e8f5c;
  --flash-bg: #e6f3ea;
}
.cv-flash.is-error {
  --flash-color: #c0392b;
  --flash-bg: #fbe9e7;
}
.cv-flash.is-warning {
  --flash-color: #c9502e;
  --flash-bg: #fce9df;
}
.cv-flash.is-info {
  --flash-color: #2f5f9e;
  --flash-bg: #eaf1fb;
}
.cv-flash.is-leaving {
  animation: cv-flash-out 0.25s ease-in forwards;
}
.cv-flash .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cv-flash-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--flash-bg);
  color: var(--flash-color);
  font-size: 12px;
}
.cv-flash-body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
  overflow-wrap: anywhere;
}
.cv-flash-body a {
  color: inherit;
  text-decoration: underline;
}
.cv-flash-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #6b6558;
  font-size: 20px;
  line-height: 26px;
  cursor: pointer;
}
.cv-flash-close:hover {
  background: #f2eee6;
  color: #1B2A41;
}
.cv-flash-close:focus-visible {
  outline: 2px solid #1B2A41;
  outline-offset: 1px;
}
.cv-flash-timer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--flash-color);
  opacity: 0.35;
  transform-origin: left;
  animation: cv-flash-timer 6s linear forwards;
}
.cv-flash.is-paused .cv-flash-timer {
  animation-play-state: paused;
}
@keyframes cv-flash-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cv-flash-out {
  to {
    opacity: 0;
    transform: translateX(16px);
  }
}
@keyframes cv-flash-timer {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
@media (max-width: 575px) {
  .cv-flash-stack {
    top: 12px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cv-flash,
  .cv-flash.is-leaving {
    animation: none;
  }
  .cv-flash-timer {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .cv-flash-stack {
    top: 60px;
  }
}
