.profile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.profile-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.profile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 460px;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #16161e;
  border-left: 1px solid rgba(79,234,159,.14);
  z-index: 20001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: -10px 0 50px rgba(0,0,0,.65), 0 0 40px rgba(79,234,159,.04) inset;
}
.profile-drawer.is-open { transform: translateX(0); }
body.profile-drawer-active { overflow: hidden; }

@media (max-width: 520px) {
  .profile-drawer { width: 100vw; }
}

.profile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, rgba(79,234,159,.07), transparent);
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}

.profile-drawer-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-drawer-title::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dd98a;
  box-shadow: 0 0 8px rgba(61,217,138,.8);
  display: inline-block;
}

.profile-drawer-close {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #6a6a80;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.profile-drawer-close:hover {
  background: rgba(220,53,69,.18);
  color: #ff8080;
}

.profile-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  scrollbar-width: thin;
  scrollbar-color: rgba(79,234,159,.35) transparent;
}
.profile-drawer-body::-webkit-scrollbar {
  width: 8px;
}
.profile-drawer-body::-webkit-scrollbar-track {
  background: transparent;
}
.profile-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(79,234,159,.28);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.profile-drawer-body::-webkit-scrollbar-thumb:hover {
  background: rgba(79,234,159,.5);
  background-clip: padding-box;
}

.profile-drawer-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  color: inherit;
}

.admin-profile-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(100% 100% at 50% 0, #4fea9f 0, #38644f 100%);
  color: #0b1f16;
  font-size: 20px;
}

.profile-drawer-user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.profile-drawer-login {
  font-size: 15px;
  font-weight: 700;
  color: #eafff3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-drawer-group {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #3dd98a;
}

.admin-profile-section {
  padding: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-profile-section__head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-profile-section__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(61,217,138,.12);
  color: #3dd98a;
  font-size: 15px;
}

.admin-profile-section__title {
  font-size: 13.5px;
  font-weight: 700;
  color: #eafff3;
  line-height: 1.2;
}

.admin-profile-section__hint {
  font-size: 11px;
  font-weight: 500;
  color: #8a8a9c;
  line-height: 1.35;
  margin-top: 2px;
}

/* ---- Тумблер (переиспользован под ARIA / режим ускорения) ---- */
.profile-drawer-perf-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
}
.profile-drawer-perf-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: rgba(61,217,138,.12);
  color: #3dd98a;
}
.profile-drawer-perf-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-drawer-perf-title {
  font-size: 13px;
  font-weight: 700;
  color: #eafff3;
}
.profile-drawer-perf-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: #8a8a9c;
  line-height: 1.3;
}
.profile-drawer-perf-switch {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.profile-drawer-perf-switch input {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.profile-drawer-perf-switch__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  transition: background .2s ease, border-color .2s ease;
}
.profile-drawer-perf-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #8d8da3;
  box-shadow: 0 1px 2px rgba(0,0,0,.35);
  transition: transform .2s cubic-bezier(.4,0,.2,1), background .2s ease;
}
.profile-drawer-perf-switch input:checked ~ .profile-drawer-perf-switch__track {
  background: rgba(40,201,130,.28);
  border-color: rgba(40,201,130,.55);
}
.profile-drawer-perf-switch input:checked ~ .profile-drawer-perf-switch__track .profile-drawer-perf-switch__thumb {
  transform: translateX(17px);
  background: #28c982;
  box-shadow: 0 0 8px rgba(40,201,130,.55);
}
.profile-drawer-perf-switch input:focus-visible ~ .profile-drawer-perf-switch__track {
  box-shadow: 0 0 0 3px rgba(40,201,130,.22);
}

/* ---- Палитра ---- */
.admin-palette-preview {
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .2s ease;
}

.admin-palette-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.admin-palette-swatch {
  position: relative;
  height: 36px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  background-color: transparent;
  background-repeat: no-repeat;
  transition: border-color .15s ease, transform .15s ease;
}
.admin-palette-swatch:hover {
  transform: translateY(-1px);
}
.admin-palette-swatch.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(61,217,138,.5);
}

.admin-palette-custom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.admin-palette-custom label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #8a8a9c;
}
.admin-palette-custom input[type="color"] {
  width: 100%;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

/* ---- Тосты: звук/позиция (перенесено из solution2 pbg_style_2.css) ---- */
.toast-sound-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-sound-row {
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.toast-sound-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #dcdce3;
}

.toast-sound-row-label i {
  font-size: 14px;
  line-height: 0;
}

body.has-dc-sidebar select.toast-sound-select,
.toast-sound-select {
  min-height: 0 !important;
  background: #26262f !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 9px !important;
  color: #dcdce3 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 7px 26px 7px 10px !important;
  outline: none;
  cursor: pointer;
  box-shadow: none !important;
  transition: border-color .15s ease;
}
body.has-dc-sidebar select.toast-sound-select:hover,
body.has-dc-sidebar select.toast-sound-select:focus,
.toast-sound-select:hover,
.toast-sound-select:focus {
  border-color: rgba(79, 234, 159, .45) !important;
  background: #2b2b36 !important;
}

#admin_toast_sound_pick_wrap {
  transition: opacity .18s ease;
  margin-top: 10px;
}

.toast-pos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.toast-pos-card {
  padding: 10px;
  background: rgba(255,255,255,.04);
  border-radius: 13px;
  border: 1.5px solid transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color .15s ease, background .15s ease;
}
.toast-pos-card:hover {
  background: rgba(255,255,255,.07);
}
.toast-pos-card--active {
  border-color: rgba(79, 234, 159, .55);
}

.toast-pos-preview {
  position: relative;
  width: 100%;
  height: 54px;
  border-radius: 9px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .06);
  overflow: hidden;
}

.toast-pos-dot {
  position: absolute;
  width: 20px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, #4fea9f, #2fae78);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.toast-pos-dot--top-left      { top: 6px;    left: 6px; }
.toast-pos-dot--top-center    { top: 6px;    left: 50%; transform: translateX(-50%); }
.toast-pos-dot--top-right     { top: 6px;    right: 6px; }
.toast-pos-dot--bottom-left   { bottom: 6px; left: 6px; }
.toast-pos-dot--bottom-center { bottom: 6px; left: 50%; transform: translateX(-50%); }
.toast-pos-dot--bottom-right  { bottom: 6px; right: 6px; }

.toast-pos-card-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #dcdce3;
  text-align: center;
}

.toast-pos-test-btn {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 12.5px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: opacity .2s ease;
}
.toast-pos-test-btn:hover {
  opacity: .8;
}

/* ---- Позиционирование контейнера тостов Toasty (переопределяет
   жёсткий top:18px;left:50% из toasts-custom.css) ---- */
.toast-container.pb-toast-pos--top-left {
  top: 18px !important;
  left: 18px !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  align-items: flex-start;
}
.toast-container.pb-toast-pos--top-center {
  top: 18px !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
  align-items: center;
}
.toast-container.pb-toast-pos--top-right {
  top: 18px !important;
  right: 18px !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  align-items: flex-end;
}
.toast-container.pb-toast-pos--bottom-left {
  bottom: 18px !important;
  left: 18px !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  align-items: flex-start;
}
.toast-container.pb-toast-pos--bottom-center {
  bottom: 18px !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  align-items: center;
}
.toast-container.pb-toast-pos--bottom-right {
  bottom: 18px !important;
  right: 18px !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  align-items: flex-end;
}

@media (max-width: 380px) {
  .admin-palette-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-palette-custom { grid-template-columns: 1fr; }
}
/* Премиальный тумблер темы: широкая дорожка-небо (облака днём, звёзды ночью) + объёмный бегунок. */
.admin-theme-toggle{position:relative;flex:0 0 auto;width:68px;height:34px;padding:3px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:linear-gradient(160deg,#1a2440 0%,#131a30 45%,#0d1220 100%);cursor:pointer;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.35),inset 0 -1px 0 rgba(255,255,255,.04);transition:background .5s ease,border-color .2s ease}
.admin-theme-toggle[data-value="light"]{background:linear-gradient(160deg,#5eb3f0 0%,#3d97e6 55%,#2678cc 100%);border-color:rgba(13,66,110,.18);box-shadow:inset 0 1px 3px rgba(13,66,110,.35),inset 0 -1px 0 rgba(255,255,255,.25)}
.admin-theme-toggle:hover{border-color:rgba(242,181,76,.5)}
.admin-theme-toggle:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(242,181,76,.3)}

.admin-theme-toggle__sky{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:inherit}

.admin-theme-toggle__glow{position:absolute;inset:-10% -10% -10% 40%;background:radial-gradient(ellipse at 70% 50%,rgba(120,150,255,.28) 0%,rgba(120,150,255,0) 70%);opacity:0;transition:opacity .5s ease}
.admin-theme-toggle[data-value="dark"] .admin-theme-toggle__glow{opacity:1}

.admin-theme-toggle__star{position:absolute;border-radius:50%;background:#fff;opacity:0;transform:scale(.3);transition:opacity .4s ease .08s,transform .4s cubic-bezier(.34,1.56,.64,1) .08s}
.admin-theme-toggle__star--1{top:7px;left:12px;width:2.5px;height:2.5px}
.admin-theme-toggle__star--2{top:17px;left:19px;width:2px;height:2px}
.admin-theme-toggle__star--3{top:10px;left:26px;width:1.6px;height:1.6px}
.admin-theme-toggle__star--4{top:22px;left:30px;width:1.4px;height:1.4px}
.admin-theme-toggle__star--5{top:6px;left:34px;width:1.8px;height:1.8px}
.admin-theme-toggle[data-value="dark"] .admin-theme-toggle__star{opacity:.9;transform:scale(1)}

.admin-theme-toggle__cloud{position:absolute;border-radius:999px;background:#fff;opacity:1;box-shadow:0 1px 3px rgba(13,66,110,.35),inset 0 -1px 1px rgba(13,66,110,.12);transition:opacity .35s ease,transform .5s ease}
.admin-theme-toggle__cloud--1{top:8px;left:8px;width:16px;height:6px}
.admin-theme-toggle__cloud--1::before,
.admin-theme-toggle__cloud--1::after{content:"";position:absolute;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(13,66,110,.3)}
.admin-theme-toggle__cloud--1::before{top:-3px;left:2px;width:8px;height:8px}
.admin-theme-toggle__cloud--1::after{top:-2px;right:1px;width:6px;height:6px}
.admin-theme-toggle__cloud--2{top:20px;left:15px;width:12px;height:5px}
.admin-theme-toggle__cloud--2::before{content:"";position:absolute;top:-2px;left:1px;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(13,66,110,.3)}
.admin-theme-toggle[data-value="dark"] .admin-theme-toggle__cloud{opacity:0;transform:translateX(-6px)}

.admin-theme-toggle__thumb{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#ffe9c2,#f2b54c 70%,#e69a2e);box-shadow:0 2px 5px rgba(20,40,70,.28),inset 0 0 0 1px rgba(255,255,255,.4),inset 0 -2px 4px rgba(180,110,10,.25);transform:translateX(0) rotate(0deg);transition:transform .5s cubic-bezier(.34,1.56,.64,1),background .5s ease}
.admin-theme-toggle[data-value="dark"] .admin-theme-toggle__thumb{transform:translateX(34px) rotate(150deg);background:linear-gradient(135deg,#eef2ff,#c3cdf0 65%,#a2adde);box-shadow:0 2px 6px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,255,255,.4),inset 0 -2px 4px rgba(110,120,180,.3)}

.admin-theme-toggle__icon{position:relative;z-index:1;display:block;color:#5c3a05;opacity:1;transform:scale(1) rotate(0deg);transition:opacity .3s ease,transform .5s cubic-bezier(.34,1.56,.64,1)}
.admin-theme-toggle__icon--moon{position:absolute;color:#333f6b;opacity:0;transform:scale(.4) rotate(-90deg)}
.admin-theme-toggle[data-value="dark"] .admin-theme-toggle__icon--sun{opacity:0;transform:scale(.4) rotate(90deg)}
.admin-theme-toggle[data-value="dark"] .admin-theme-toggle__icon--moon{opacity:1;transform:scale(1) rotate(0deg)}

/* Эффект переключения: кольцо-вспышка от бегунка + лёгкая встряска дорожки. */
.admin-theme-toggle__burst{position:absolute;top:50%;left:3px;z-index:2;width:28px;height:28px;margin-top:-14px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.9) 0%,rgba(255,255,255,0) 70%);opacity:0;pointer-events:none;transform:scale(.6);transition:none}
.admin-theme-toggle[data-value="dark"] .admin-theme-toggle__burst{left:auto;right:3px}
.admin-theme-toggle.is-toggling .admin-theme-toggle__burst{animation:pbThemeBurst .6s cubic-bezier(.2,.7,.3,1)}
.admin-theme-toggle.is-toggling{animation:pbThemeShake .5s ease}
.admin-theme-toggle.is-toggling .admin-theme-toggle__thumb{box-shadow:0 2px 5px rgba(20,40,70,.28),inset 0 0 0 1px rgba(255,255,255,.4),0 0 16px 3px rgba(242,181,76,.65)}
.admin-theme-toggle[data-value="dark"].is-toggling .admin-theme-toggle__thumb{box-shadow:0 2px 6px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,255,255,.4),0 0 16px 3px rgba(160,180,255,.65)}

@keyframes pbThemeBurst{
	0%{opacity:.9;transform:scale(.5)}
	60%{opacity:.5;transform:scale(2.6)}
	100%{opacity:0;transform:scale(3.2)}
}

@keyframes pbThemeShake{
	0%,100%{transform:scale(1)}
	30%{transform:scale(.93)}
	55%{transform:scale(1.06)}
	80%{transform:scale(.99)}
}

/* Искры: частицы, разлетающиеся от бегунка в момент переключения (позиционируются относительно самого бегунка, чтобы следовать за ним). */
.admin-theme-toggle__spark{position:absolute;top:50%;left:50%;z-index:2;width:3px;height:3px;margin:-1.5px 0 0 -1.5px;border-radius:50%;background:#ffd88a;opacity:0;pointer-events:none;transform:translate(0,0) scale(1);--sx:0px;--sy:0px}
.admin-theme-toggle[data-value="dark"] .admin-theme-toggle__spark{background:#cddcff}
.admin-theme-toggle.is-toggling .admin-theme-toggle__spark{animation:pbThemeSpark .65s cubic-bezier(.2,.7,.3,1)}
.admin-theme-toggle__spark--1{--sx:10px;--sy:-7px}
.admin-theme-toggle__spark--2{--sx:12px;--sy:1px}
.admin-theme-toggle__spark--3{--sx:9px;--sy:8px}
.admin-theme-toggle__spark--4{--sx:-3px;--sy:-9px}
.admin-theme-toggle__spark--5{--sx:-4px;--sy:9px}
.admin-theme-toggle__spark--6{--sx:4px;--sy:-10px}

@keyframes pbThemeSpark{
	0%{opacity:0;transform:translate(0,0) scale(.4)}
	18%{opacity:1;transform:translate(calc(var(--sx) * .35),calc(var(--sy) * .35)) scale(1)}
	100%{opacity:0;transform:translate(var(--sx),var(--sy)) scale(.3)}
}

@media (prefers-reduced-motion: reduce){
	.admin-theme-toggle.is-toggling .admin-theme-toggle__spark{animation:none}
}

@media (prefers-reduced-motion: reduce){
	.admin-theme-toggle.is-toggling{animation:none}
	.admin-theme-toggle.is-toggling .admin-theme-toggle__burst{animation:none}
}

.profile-drawer-user{display:flex;align-items:center;gap:12px}
.admin-profile-avatar--editable{position:relative;flex:0 0 auto;width:54px;height:54px;padding:0;border:2px solid rgba(79,234,159,.35);border-radius:50%;background:transparent;cursor:pointer;overflow:hidden;transition:border-color .2s ease}
.admin-profile-avatar--editable img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.admin-profile-avatar__overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(6,20,13,.66);color:#eafff3;font-size:16px;opacity:0;transition:opacity .2s ease}
.admin-profile-avatar--editable:hover{border-color:#f2b54c}
.admin-profile-avatar--editable:hover .admin-profile-avatar__overlay{opacity:1}
.admin-profile-avatar-file{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;border:0 !important;overflow:hidden !important;clip:rect(0 0 0 0) !important;white-space:nowrap !important;opacity:0 !important;pointer-events:none !important}

.profile-drawer-user-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.profile-drawer-login{display:block;font-size:14px;font-weight:800;color:#e7f3ec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none}
.profile-drawer-group{display:block;font-size:11.5px;font-weight:600;color:#93ab9f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none;letter-spacing:0}

.admin-palette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.admin-palette-swatch{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:6px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.04);cursor:pointer;transition:border-color .18s ease,background .18s ease;height:auto;overflow:hidden}
.admin-palette-swatch:hover{border-color:rgba(242,181,76,.45);background:rgba(255,255,255,.07)}
.admin-palette-swatch.is-active{border-color:#f2b54c;background:rgba(242,181,76,.14);box-shadow:0 0 0 2px rgba(242,181,76,.16)}
.admin-palette-swatch__chip{display:block;width:100%;height:24px;border-radius:7px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.3)}
.admin-palette-swatch__name{display:block;font-size:10px;font-weight:700;color:#b9cdc2;letter-spacing:.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.admin-palette-swatch.is-active .admin-palette-swatch__name{color:#ffd98a}

.admin-quick-settings--avatar{padding:0;overflow:hidden;border-radius:50%}
.admin-quick-avatar-img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}

body.theme-css:not([data-admin-theme="dark"]) .profile-drawer{
    background:#ffffff;
    border-left:1px solid #d8e5de;
    box-shadow:-10px 0 40px rgba(15,40,28,.16);
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-header{
    background:linear-gradient(180deg,rgba(47,158,107,.10),transparent);
    border-bottom:1px solid #e2ece7;
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-title{
    color:#13261d;
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-close{
    background:#f2f7f4;
    border:1px solid #d8e5de;
    color:#3f5a4d;
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-close:hover{
    background:#e7f1ec;
    color:#1f8455;
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-body{
    scrollbar-color:rgba(47,158,107,.4) transparent;
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-body::-webkit-scrollbar-thumb{
    background:rgba(47,158,107,.35);
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-user,
body.theme-css:not([data-admin-theme="dark"]) .admin-profile-section{
    background:#f7faf8;
    border:1px solid #e2ece7;
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-login,
body.theme-css:not([data-admin-theme="dark"]) .admin-profile-section__title,
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-perf-title{
    color:#13261d;
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-group,
body.theme-css:not([data-admin-theme="dark"]) .admin-profile-section__hint,
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-perf-sub{
    color:#5f7a6c;
}
body.theme-css:not([data-admin-theme="dark"]) .admin-profile-section__icon,
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-perf-icon{
    background:rgba(47,158,107,.12);
    color:#1f8455;
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-perf-row{
    background:#ffffff;
    border:1px solid #e2ece7;
}
body.theme-css:not([data-admin-theme="dark"]) .profile-drawer-perf-switch__track{
    background:#d5e2db;
}
body.theme-css:not([data-admin-theme="dark"]) .admin-palette-swatch{
    background:#ffffff;
    border:1px solid #e2ece7;
}
body.theme-css:not([data-admin-theme="dark"]) .admin-palette-swatch:hover{
    border-color:rgba(47,158,107,.5);
    background:#f4faf7;
}
body.theme-css:not([data-admin-theme="dark"]) .admin-palette-swatch.is-active{
    border-color:#2f9e6b;
    background:rgba(47,158,107,.1);
    box-shadow:0 0 0 2px rgba(47,158,107,.16);
}
body.theme-css:not([data-admin-theme="dark"]) .admin-palette-swatch__name{
    color:#5f7a6c;
}
body.theme-css:not([data-admin-theme="dark"]) .admin-palette-swatch.is-active .admin-palette-swatch__name{
    color:#1f8455;
}
body.theme-css:not([data-admin-theme="dark"]) .admin-profile-avatar--editable{
    border-color:rgba(47,158,107,.4);
}
body.theme-css:not([data-admin-theme="dark"]) .admin-profile-avatar--editable:hover{
    border-color:#2f9e6b;
}
body.theme-css:not([data-admin-theme="dark"]) .admin-palette-custom label span,
body.theme-css:not([data-admin-theme="dark"]) .toast-sound-row-label,
body.theme-css:not([data-admin-theme="dark"]) .toast-pos-card-label{
    color:#3f5a4d;
}
body.theme-css:not([data-admin-theme="dark"]) .toast-pos-card,
body.theme-css:not([data-admin-theme="dark"]) .toast-sound-row{
    background:#ffffff;
    border:1px solid #e2ece7;
}
body.theme-css:not([data-admin-theme="dark"]) .toast-pos-card--active{
    border-color:#2f9e6b;
    background:rgba(47,158,107,.1);
}
body.theme-css:not([data-admin-theme="dark"]) .toast-pos-preview{
    background:#eef4f1;
}
body.theme-css:not([data-admin-theme="dark"]) .dc-result{
    color:#3f5a4d;
}
