/**
 * Стили серверно-управляемых рабочих элементов и общих производственных интерфейсов.
 *
 * Пометки старого оформления основаны на реальном каскаде: комментарий ставится только если более позднее правило того же селектора перекрывает свойства или скрывает элемент.
 */

body.scope-guest,
body.scope-admin,
body.scope-cabinet,
body.scope-manager,
body.scope-staff{
  color:#1f2937;
  background:
    radial-gradient(circle at 10% 12%, rgba(88,101,242,.08), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(59,165,93,.07), transparent 18%),
    linear-gradient(180deg, #f4f6fb 0%, #edf2f8 100%);
}

body.scope-guest .shell.shell-simple,
body.scope-admin .shell.shell-simple,
body.scope-cabinet .shell.shell-simple,
body.scope-manager .shell.shell-simple,
body.scope-staff .shell.shell-simple{
  display:block;
  min-height:100vh;
}

body.scope-guest .content.guest-content,
body.scope-admin .content,
body.scope-cabinet .content,
body.scope-manager .content,
body.scope-staff .content.staff-content{
  width:100%;
  max-width:1440px;
  margin:0 auto;
  padding:24px 24px 36px;
}

body.scope-guest .topbar,
body.scope-admin .topbar,
body.scope-cabinet .topbar,
body.scope-manager .topbar,
body.scope-staff .topbar{
  background:rgba(255,255,255,.86);
  border:1px solid #dbe3ef;
  box-shadow:0 14px 32px rgba(15,23,42,.06);
}

body.scope-guest .meta-pill,
body.scope-admin .meta-pill,
body.scope-cabinet .meta-pill,
body.scope-manager .meta-pill,
body.scope-staff .meta-pill{
  color:#64748b;
}

body.scope-guest .hero-panel,
body.scope-admin .hero-panel,
body.scope-cabinet .hero-panel,
body.scope-manager .hero-panel,
body.scope-staff .hero-panel{
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,254,.94));
  border:1px solid #dbe3ef;
  box-shadow:0 18px 42px rgba(15,23,42,.08);
  color:#0f172a;
}

body.scope-guest .hero-panel::after,
body.scope-admin .hero-panel::after,
body.scope-cabinet .hero-panel::after,
body.scope-manager .hero-panel::after,
body.scope-staff .hero-panel::after{
  background:radial-gradient(circle, rgba(88,101,242,.10), transparent 70%);
}

body.scope-guest .hero-panel h1,
body.scope-admin .hero-panel h1,
body.scope-cabinet .hero-panel h1,
body.scope-manager .hero-panel h1,
body.scope-staff .hero-panel h1,
body.scope-guest .page-title,
body.scope-admin .page-title,
body.scope-cabinet .page-title,
body.scope-manager .page-title,
body.scope-staff .page-title{
  color:#0f172a;
}

body.scope-guest .hero-panel p,
body.scope-admin .hero-panel p,
body.scope-cabinet .hero-panel p,
body.scope-manager .hero-panel p,
body.scope-staff .hero-panel p,
body.scope-guest .page-subtitle,
body.scope-admin .page-subtitle,
body.scope-cabinet .page-subtitle,
body.scope-manager .page-subtitle,
body.scope-staff .page-subtitle{
  color:#607084;
}

body.scope-guest .hero-badge,
body.scope-admin .hero-badge,
body.scope-cabinet .hero-badge,
body.scope-manager .hero-badge,
body.scope-staff .hero-badge{
  background:rgba(88,101,242,.08);
  border:1px solid rgba(88,101,242,.16);
  color:#5865f2;
}

body.scope-guest .card,
body.scope-admin .card,
body.scope-cabinet .card,
body.scope-manager .card,
body.scope-staff .card,
body.scope-guest .soft-panel,
body.scope-admin .soft-panel,
body.scope-cabinet .soft-panel,
body.scope-manager .soft-panel,
body.scope-staff .soft-panel,
body.scope-guest .table-wrap,
body.scope-admin .table-wrap,
body.scope-cabinet .table-wrap,
body.scope-manager .table-wrap,
body.scope-staff .table-wrap{
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,251,255,.98) 100%);
  border-color:#d9e3ef;
  box-shadow:0 18px 38px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.94);
  color:#1f2937;
  overflow:visible;
}

body.scope-guest .card.flat,
body.scope-admin .card.flat,
body.scope-cabinet .card.flat,
body.scope-manager .card.flat,
body.scope-staff .card.flat{
  background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,251,255,.97));
}

body.scope-guest .card::before,
body.scope-admin .card::before,
body.scope-cabinet .card::before,
body.scope-manager .card::before,
body.scope-staff .card::before{
  background:radial-gradient(circle, rgba(88,101,242,.08), transparent 70%);
}

body.scope-guest .card-sub,
body.scope-admin .card-sub,
body.scope-cabinet .card-sub,
body.scope-manager .card-sub,
body.scope-staff .card-sub,
body.scope-guest .muted,
body.scope-admin .muted,
body.scope-cabinet .muted,
body.scope-manager .muted,
body.scope-staff .muted,
body.scope-guest .metric-kicker,
body.scope-admin .metric-kicker,
body.scope-cabinet .metric-kicker,
body.scope-manager .metric-kicker,
body.scope-staff .metric-kicker{
  color:#55657d;
}

body.scope-guest .btn,
body.scope-admin .btn,
body.scope-cabinet .btn,
body.scope-manager .btn,
body.scope-staff .btn{
  background:#ffffff;
  color:#0f172a;
  border:1px solid #d7dfea;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}

body.scope-guest .btn:hover,
body.scope-admin .btn:hover,
body.scope-cabinet .btn:hover,
body.scope-manager .btn:hover,
body.scope-staff .btn:hover{
  background:#f8fafc;
  border-color:#cfd9e8;
}

body.scope-guest .btn.primary,
body.scope-admin .btn.primary,
body.scope-cabinet .btn.primary,
body.scope-manager .btn.primary,
body.scope-staff .btn.primary{
  background:linear-gradient(180deg, #5865f2, #4f5bd8);
  color:#ffffff;
  border-color:#5865f2;
  box-shadow:0 16px 30px rgba(88,101,242,.20);
}

body.scope-guest .btn.primary:hover,
body.scope-admin .btn.primary:hover,
body.scope-cabinet .btn.primary:hover,
body.scope-manager .btn.primary:hover,
body.scope-staff .btn.primary:hover{
  background:linear-gradient(180deg, #6270ff, #5662e5);
}

body.scope-guest .btn.bad,
body.scope-admin .btn.bad,
body.scope-cabinet .btn.bad,
body.scope-manager .btn.bad,
body.scope-staff .btn.bad{
  background:#fff1f2;
  border-color:#fecdd3;
  color:#b42318;
}

body.scope-guest .btn.good,
body.scope-admin .btn.good,
body.scope-cabinet .btn.good,
body.scope-manager .btn.good,
body.scope-staff .btn.good{
  background:#ebfbef;
  border-color:#ccefd5;
  color:#237443;
}

body.scope-guest .btn.ghost,
body.scope-admin .btn.ghost,
body.scope-cabinet .btn.ghost,
body.scope-manager .btn.ghost,
body.scope-staff .btn.ghost{
  background:#f8fafc;
  color:#475569;
  border-color:#dbe3ef;
}

body.scope-guest input[type=text],
body.scope-guest input[type=password],
body.scope-guest input[type=number],
body.scope-guest input[type=url],
body.scope-guest input[type=search],
body.scope-guest input[type=date],
body.scope-guest input[type=month],
body.scope-guest input[type=datetime-local],
body.scope-guest select,
body.scope-guest textarea,
body.scope-admin input[type=text],
body.scope-admin input[type=password],
body.scope-admin input[type=number],
body.scope-admin input[type=url],
body.scope-admin input[type=search],
body.scope-admin input[type=date],
body.scope-admin input[type=month],
body.scope-admin input[type=datetime-local],
body.scope-admin select,
body.scope-admin textarea,
body.scope-cabinet input[type=text],
body.scope-cabinet input[type=password],
body.scope-cabinet input[type=number],
body.scope-cabinet input[type=url],
body.scope-cabinet input[type=search],
body.scope-cabinet input[type=date],
body.scope-cabinet input[type=month],
body.scope-cabinet input[type=datetime-local],
body.scope-cabinet select,
body.scope-cabinet textarea,
body.scope-manager input[type=text],
body.scope-manager input[type=password],
body.scope-manager input[type=number],
body.scope-manager input[type=url],
body.scope-manager input[type=search],
body.scope-manager input[type=date],
body.scope-manager input[type=month],
body.scope-manager input[type=datetime-local],
body.scope-manager select,
body.scope-manager textarea,
body.scope-staff input[type=text],
body.scope-staff input[type=password],
body.scope-staff input[type=number],
body.scope-staff input[type=url],
body.scope-staff input[type=search],
body.scope-staff input[type=date],
body.scope-staff input[type=month],
body.scope-staff input[type=datetime-local],
body.scope-staff select,
body.scope-staff textarea{
  background:#f8fafc;
  color:#0f172a;
  border:1px solid #d8e0eb;
}

body.scope-guest input:focus,
body.scope-guest select:focus,
body.scope-guest textarea:focus,
body.scope-admin input:focus,
body.scope-admin select:focus,
body.scope-admin textarea:focus,
body.scope-cabinet input:focus,
body.scope-cabinet select:focus,
body.scope-cabinet textarea:focus,
body.scope-manager input:focus,
body.scope-manager select:focus,
body.scope-manager textarea:focus,
body.scope-staff input:focus,
body.scope-staff select:focus,
body.scope-staff textarea:focus{
  border-color:#94a3ff;
  box-shadow:0 0 0 4px rgba(88,101,242,.10);
  background:#ffffff;
}

body.scope-guest select option,
body.scope-guest select optgroup,
body.scope-admin select option,
body.scope-admin select optgroup,
body.scope-cabinet select option,
body.scope-cabinet select optgroup,
body.scope-manager select option,
body.scope-manager select optgroup,
body.scope-staff select option,
body.scope-staff select optgroup{
  background:#ffffff;
  color:#0f172a;
}

body.scope-guest input[type=date]::-webkit-calendar-picker-indicator,
body.scope-guest input[type=month]::-webkit-calendar-picker-indicator,
body.scope-guest input[type=datetime-local]::-webkit-calendar-picker-indicator,
body.scope-admin input[type=date]::-webkit-calendar-picker-indicator,
body.scope-admin input[type=month]::-webkit-calendar-picker-indicator,
body.scope-admin input[type=datetime-local]::-webkit-calendar-picker-indicator,
body.scope-cabinet input[type=date]::-webkit-calendar-picker-indicator,
body.scope-cabinet input[type=month]::-webkit-calendar-picker-indicator,
body.scope-cabinet input[type=datetime-local]::-webkit-calendar-picker-indicator,
body.scope-manager input[type=date]::-webkit-calendar-picker-indicator,
body.scope-manager input[type=month]::-webkit-calendar-picker-indicator,
body.scope-manager input[type=datetime-local]::-webkit-calendar-picker-indicator,
body.scope-staff input[type=date]::-webkit-calendar-picker-indicator,
body.scope-staff input[type=month]::-webkit-calendar-picker-indicator,
body.scope-staff input[type=datetime-local]::-webkit-calendar-picker-indicator{
  filter:brightness(0) saturate(0) invert(.24);
  opacity:.82;
  cursor:pointer;
}

body.scope-guest .form-row select,
body.scope-admin .form-row select,
body.scope-cabinet .form-row select,
body.scope-manager .form-row select,
body.scope-staff .form-row select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}

.core-select{
  position:relative;
  min-width:0;
}

.core-control{
  position:relative;
  z-index:8;
  isolation:isolate;
  overflow:visible;
}

.core-control.open{
  z-index:320;
}

body.scope-guest .page-top,
body.scope-admin .page-top,
body.scope-cabinet .page-top,
body.scope-manager .page-top,
body.scope-staff .page-top,
body.scope-guest .top-actions,
body.scope-admin .top-actions,
body.scope-cabinet .top-actions,
body.scope-manager .top-actions,
body.scope-staff .top-actions,
body.scope-guest .filters,
body.scope-admin .filters,
body.scope-cabinet .filters,
body.scope-manager .filters,
body.scope-staff .filters,
body.scope-guest .form-row,
body.scope-admin .form-row,
body.scope-cabinet .form-row,
body.scope-manager .form-row,
body.scope-staff .form-row{
  overflow:visible;
}

.core-select,
.core-select *,
.core-month,
.core-month *{
  box-sizing:border-box;
}

.core-native-select{
  position:absolute !important;
  inset:0 !important;
  opacity:0 !important;
  pointer-events:none !important;
  display:none !important;
}

.core-select-trigger{
  position:relative;
  width:100%;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:15px 18px;
  border-radius:20px;
  border:1px solid #d7e0eb;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color:#0f172a;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  cursor:pointer;
  transition:.18s ease;
}

.core-select-trigger:hover{
  border-color:#c9d6ea;
  background:linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  transform:translateY(-1px);
}

.core-select.open .core-select-trigger,
.core-select-trigger:focus-visible{
  outline:none;
  border-color:#8da0ff;
  box-shadow:0 0 0 4px rgba(88,101,242,.10), 0 16px 28px rgba(15,23,42,.08);
}

.core-select-value{
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:left;
}

.core-select-caret{
  width:12px;
  height:12px;
  border-right:2px solid #64748b;
  border-bottom:2px solid #64748b;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .18s ease, border-color .18s ease;
  flex:none;
}

.core-select.open .core-select-caret{
  transform:rotate(225deg) translateY(-1px);
  border-color:#4956df;
}

.core-select-menu{
  position:fixed;
  top:0;
  left:0;
  z-index:4100;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:280px;
  width:min(440px, calc(100vw - 24px));
  max-width:min(440px, calc(100vw - 24px));
  max-height:360px;
  overflow-y:auto;
  overflow-x:hidden;
  padding:8px;
  border-radius:22px;
  border:1px solid #d8e1ee;
  background:rgba(255,255,255,.98);
  box-shadow:0 24px 48px rgba(15,23,42,.16);
  backdrop-filter:blur(14px);
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#c8d2ff transparent;
  pointer-events:auto;
}

.core-ui-portal-root{
  position:fixed;
  inset:0;
  z-index:4000;
  pointer-events:none;
}

.core-ui-portal-root > .core-select-menu{
  pointer-events:auto;
}

.has-open-control{
  position:relative;
  z-index:860;
  overflow:visible !important;
  isolation:isolate;
}

.core-native-select,
.core-native-month{
  display:none !important;
}

.core-select-menu[hidden]{
  display:none;
}

.core-select-group{
  padding:8px 10px 4px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#7b8797;
}

.core-select-option{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:12px 14px;
  border:none;
  border-radius:16px;
  background:transparent;
  color:#0f172a;
  text-align:left;
  white-space:normal;
  word-break:break-word;
  line-height:1.35;
  cursor:pointer;
  transition:.16s ease;
}

.core-select-menu::-webkit-scrollbar{
  width:10px;
  height:10px;
}

.core-select-menu::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, #c8d2ff, #aebeff);
  border-radius:999px;
  border:2px solid transparent;
  background-clip:padding-box;
}

.core-select-menu::-webkit-scrollbar-track{
  background:transparent;
}

.core-select-option:hover{
  background:#eef2ff;
  color:#4956df;
}

.core-select-option.is-selected{
  background:linear-gradient(180deg, #5865f2 0%, #4f5bd8 100%);
  color:#ffffff;
  box-shadow:0 12px 24px rgba(88,101,242,.18);
}

.core-select-option.is-disabled{
  color:#94a3b8;
  cursor:default;
}

.core-month-menu{
  padding:14px;
  min-width:min(360px, calc(100vw - 32px));
  width:min(360px, calc(100vw - 32px));
  overflow-y:auto;
  overflow-x:hidden;
}

.core-month-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

.core-month-year{
  font-size:18px;
  font-weight:900;
  letter-spacing:-.03em;
  color:#0f172a;
}

.core-month-nav,
.core-month-action{
  min-height:38px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid #d7deea;
  background:#ffffff;
  color:#334155;
  font-weight:800;
  cursor:pointer;
  transition:.16s ease;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
.core-month-nav{
  min-width:42px;
  padding:0;
  font-size:18px;
}

.core-month-nav:hover,
.core-month-action:hover{
  border-color:#cfd8ff;
  background:#eef2ff;
  color:#4956df;
}

/* Не используется в текущем интерфейсе: ниже этот же селектор отключается через `display: none`. Перед удалением проверить редкое состояние, в котором JavaScript может вернуть элемент. */
.core-month-meta{
  margin-bottom:12px;
  font-size:12px;
  color:#64748b;
  letter-spacing:.04em;
}

.core-month-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
}

/* Частично старое оформление: ниже переопределяются `background`, `border`, `border-radius`, `color`. Остальные свойства этого правила остаются рабочими. */
.core-month-cell{
  min-height:44px;
  border-radius:14px;
  border:1px solid #dbe4ef;
  background:#f8fafc;
  color:#334155;
  font-weight:800;
  text-transform:capitalize;
  cursor:pointer;
  transition:.16s ease;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
.core-month-cell:hover{
  border-color:#cfd8ff;
  background:#eef2ff;
  color:#4956df;
}

.core-month-cell.is-current{
  border-color:#bfd3ff;
  background:#f5f8ff;
}

/* Частично старое оформление: ниже переопределяются `background`, `box-shadow`, `color`. Остальные свойства этого правила остаются рабочими. */
.core-month-cell.is-selected{
  border-color:#5865f2;
  background:linear-gradient(180deg, #5865f2 0%, #4f5bd8 100%);
  color:#ffffff;
  box-shadow:0 14px 24px rgba(88,101,242,.20);
}

/* Частично старое оформление: ниже переопределяются `background`, `color`, `opacity`. Остальные свойства этого правила остаются рабочими. */
.core-month-cell.is-disabled{
  opacity:.42;
  cursor:default;
  background:#f8fafc;
  color:#94a3b8;
}

.core-month-actions{
  display:flex;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
.core-month-action.ghost{
  background:#f8fafc;
}

@media (max-width: 640px){
  .core-month-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .core-month-actions{
    flex-direction:column;
  }

  .core-month-action{
    width:100%;
  }
}

body.scope-guest .tabs,
body.scope-admin .tabs,
body.scope-cabinet .tabs,
body.scope-manager .tabs,
body.scope-staff .tabs{
  gap:10px;
}

body.scope-guest .card,
body.scope-admin .card,
body.scope-cabinet .card,
body.scope-manager .card,
body.scope-staff .card,
body.scope-guest .filters,
body.scope-admin .filters,
body.scope-cabinet .filters,
body.scope-manager .filters,
body.scope-staff .filters,
body.scope-guest .filters-card,
body.scope-admin .filters-card,
body.scope-cabinet .filters-card,
body.scope-manager .filters-card,
body.scope-staff .filters-card,
body.scope-guest .form-row,
body.scope-admin .form-row,
body.scope-cabinet .form-row,
body.scope-manager .form-row,
body.scope-staff .form-row{
  overflow:visible;
}

body.scope-guest .has-open-control,
body.scope-admin .has-open-control,
body.scope-cabinet .has-open-control,
body.scope-manager .has-open-control,
body.scope-staff .has-open-control{
  z-index:980;
}

body.scope-guest .tab-link,
body.scope-admin .tab-link,
body.scope-cabinet .tab-link,
body.scope-manager .tab-link,
body.scope-staff .tab-link{
  background:#ffffff;
  color:#334155;
  border:1px solid #dbe3ef;
}

body.scope-guest .tab-link.active,
body.scope-admin .tab-link.active,
body.scope-cabinet .tab-link.active,
body.scope-manager .tab-link.active,
body.scope-staff .tab-link.active{
  background:#eef2ff;
  color:#4956df;
  border-color:#cfd8ff;
}

body.scope-guest .top-nav-tabs .tab-link.active,
body.scope-admin .top-nav-tabs .tab-link.active,
body.scope-cabinet .top-nav-tabs .tab-link.active,
body.scope-manager .top-nav-tabs .tab-link.active{
  background:#5865f2;
  color:#ffffff;
  border-color:#5865f2;
}

body.scope-guest .badge,
body.scope-guest .mini-chip,
body.scope-guest .meta-pill,
body.scope-guest .status-chip,
body.scope-admin .badge,
body.scope-admin .mini-chip,
body.scope-admin .meta-pill,
body.scope-admin .status-chip,
body.scope-cabinet .badge,
body.scope-cabinet .mini-chip,
body.scope-cabinet .meta-pill,
body.scope-cabinet .status-chip,
body.scope-manager .badge,
body.scope-manager .mini-chip,
body.scope-manager .meta-pill,
body.scope-manager .status-chip,
body.scope-staff .badge,
body.scope-staff .mini-chip,
body.scope-staff .meta-pill,
body.scope-staff .status-chip{
  background:#f8fafc;
  border:1px solid #e1e8f0;
  color:#334155;
}

body.scope-guest .status-chip.active,
body.scope-guest .badge.active,
body.scope-admin .status-chip.active,
body.scope-admin .badge.active,
body.scope-cabinet .status-chip.active,
body.scope-cabinet .badge.active,
body.scope-manager .status-chip.active,
body.scope-manager .badge.active,
body.scope-staff .status-chip.active,
body.scope-staff .badge.active{
  background:#e9f8ee;
  border-color:#c9edd6;
  color:#237443;
}

body.scope-guest .status-chip[data-mode="ok"],
body.scope-admin .status-chip[data-mode="ok"],
body.scope-cabinet .status-chip[data-mode="ok"],
body.scope-manager .status-chip[data-mode="ok"],
body.scope-staff .status-chip[data-mode="ok"]{
  background:linear-gradient(180deg, #f0fbf4 0%, #e4f8eb 100%);
  border-color:#bfe6ca;
  color:#18794e;
}

body.scope-guest .status-chip[data-mode="warn"],
body.scope-admin .status-chip[data-mode="warn"],
body.scope-cabinet .status-chip[data-mode="warn"],
body.scope-manager .status-chip[data-mode="warn"],
body.scope-staff .status-chip[data-mode="warn"]{
  background:linear-gradient(180deg, #fff8e7 0%, #fff0c7 100%);
  border-color:#efd7a0;
  color:#9a6700;
}

body.scope-guest .status-chip[data-mode="bad"],
body.scope-admin .status-chip[data-mode="bad"],
body.scope-cabinet .status-chip[data-mode="bad"],
body.scope-manager .status-chip[data-mode="bad"],
body.scope-staff .status-chip[data-mode="bad"]{
  background:linear-gradient(180deg, #fff3f3 0%, #ffe4e5 100%);
  border-color:#f3c0c4;
  color:#b42318;
}

body.scope-manager .content,
body.scope-manager .card,
body.scope-manager .card.flat,
body.scope-manager .two-col,
body.scope-manager .stack-gap{
  min-width:0;
}

body.scope-manager .content{
  overflow-x:clip;
}

body.scope-manager .schedule-edit-table{
  max-width:100%;
  overflow:auto;
  border:1px solid #e7edf5;
  border-radius:24px;
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  scrollbar-width:thin;
  scrollbar-color:#c8d2ff transparent;
}

body.scope-manager .schedule-edit-table .table{
  min-width:max-content;
  width:max-content;
  border-collapse:separate;
  border-spacing:0;
  background:#ffffff !important;
}

/* Частично старое оформление: ниже переопределяются `background`, `color`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .schedule-edit-table thead th{
  position:sticky;
  top:0;
  z-index:1;
  background:#f8fbff !important;
  color:#55657d;
  border-bottom:1px solid #e7edf5;
}

body.scope-manager .schedule-edit-table td{
  background:#ffffff !important;
  border-bottom:1px solid #eef2f7;
}

body.scope-manager .schedule-edit-table th.schedule-name-col,
body.scope-manager .schedule-edit-table td.schedule-name-col{
  position:sticky;
  left:0;
  z-index:2;
  background:#fbfcff !important;
  border-right:1px solid #e7edf5;
}

body.scope-manager .schedule-edit-table .table-wrap,
body.scope-manager .schedule-edit-table tbody tr,
body.scope-manager .schedule-edit-table tbody th,
body.scope-manager .schedule-edit-table tbody td{
  background:#ffffff !important;
}

body.scope-manager .schedule-row-name strong{
  color:#0f172a;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .schedule-row-name span{
  color:#64748b;
}

/* Частично старое оформление: ниже переопределяются `background`, `box-shadow`, `color`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .schedule-input{
  min-width:112px;
  width:112px;
  padding:10px 8px;
  text-align:center;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  color:#334155;
  background:#f8fafc;
  border:1px solid #d9e2ee;
  border-radius:999px;
  box-shadow:none;
}

body.scope-manager .schedule-edit-table,
body.scope-manager .schedule-edit-table .table,
body.scope-manager .schedule-edit-table td,
body.scope-manager .schedule-edit-table th,
body.scope-manager .schedule-edit-table th.schedule-name-col,
body.scope-manager .schedule-edit-table td.schedule-name-col{
  color:#334155 !important;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .schedule-input.future{
  background:#eef2f7;
  border-color:#d8dfe8;
  color:#55657d;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .schedule-input.done{
  background:#e9f8ee;
  border-color:#bfe6ca;
  color:#166534;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .schedule-input.off{
  background:#fff1f2;
  border-color:#f3c0c4;
  color:#b42318;
}

body.scope-manager .schedule-legend-item{
  background:#ffffff;
  border-color:#e1e8f0;
  color:#334155;
}

body.scope-manager .schedule-legend-swatch.future{background:#94a3b8;}
body.scope-manager .schedule-legend-swatch.done{background:#22c55e;}
body.scope-manager .schedule-legend-swatch.off{background:#ef4444;}

@media (max-width: 980px){
  body.scope-guest .stock-grid-breakdown,
  body.scope-admin .stock-grid-breakdown,
  body.scope-cabinet .stock-grid-breakdown,
  body.scope-manager .stock-grid-breakdown,
  body.scope-staff .stock-grid-breakdown{
    grid-template-columns:1fr;
  }
}

body.scope-staff .employee-schedule-card,
body.scope-staff .personal-schedule-card{
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border:1px solid #dce5f0;
  box-shadow:0 18px 34px rgba(15,23,42,.06);
}

body.scope-staff .day-card,
body.scope-staff .edit-day-card,
body.scope-staff .day-chip{
  background:#ffffff;
  border:1px solid #dbe4ef;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}

body.scope-staff .day-card.work,
body.scope-staff .edit-day-card.work,
body.scope-staff .day-chip.work{
  background:#fff8ea;
  border-color:#efd7aa;
}

body.scope-staff .day-card.off,
body.scope-staff .edit-day-card.off,
body.scope-staff .day-chip.off{
  background:#fff2f4;
  border-color:#f5c5cc;
}

body.scope-staff .day-card.fact,
body.scope-staff .edit-day-card.fact,
body.scope-staff .day-chip.fact{
  background:#edf9f1;
  border-color:#bfe6ca;
}

body.scope-staff .day-label,
body.scope-staff .mini-fact,
body.scope-staff .day-fact-line{
  color:#5d6c83;
}

body.scope-staff .day-main-value,
body.scope-staff .day-chip strong,
body.scope-staff .employee-card-head strong{
  color:#0f172a;
}

body.scope-staff .day-fact-line.strong,
body.scope-staff .fact-hours{
  color:#166534;
}

body.scope-staff .state-mark.work{
  background:#ffe8b7;
  color:#8a4c00;
}

body.scope-staff .state-mark.off{
  background:#ffd9dd;
  color:#b42318;
}

body.scope-staff .state-mark.fact{
  background:#d6f5e0;
  color:#166534;
}

body.scope-staff .state-mark.empty{
  background:#eef2f8;
  color:#64748b;
}

body.scope-guest :not(pre) > code,
body.scope-cabinet :not(pre) > code,
body.scope-manager :not(pre) > code,
body.scope-admin :not(pre) > code,
body.scope-staff :not(pre) > code,
body.scope-guest .inline-code,
body.scope-cabinet .inline-code,
body.scope-manager .inline-code,
body.scope-admin .inline-code,
body.scope-staff .inline-code{
  display:inline-flex;
  align-items:center;
  padding:2px 8px;
  border-radius:10px;
  border:1px solid #d9dfff;
  background:#eef2ff;
  color:#4956df;
  font-family:Consolas,"SFMono-Regular",Menlo,monospace;
  font-size:.92em;
  line-height:1.45;
  vertical-align:baseline;
  box-decoration-break:clone;
}

body.scope-guest .code-block,
body.scope-admin .code-block,
body.scope-cabinet .code-block,
body.scope-manager .code-block,
body.scope-staff .code-block{
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color:#1f2937;
  border:1px solid #dbe3ef;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92);
}

body.scope-guest .archive-card,
body.scope-admin .archive-card,
body.scope-cabinet .archive-card,
body.scope-manager .archive-card,
body.scope-staff .archive-card,
body.scope-guest .archive-card-compact,
body.scope-admin .archive-card-compact,
body.scope-cabinet .archive-card-compact,
body.scope-manager .archive-card-compact,
body.scope-staff .archive-card-compact,
body.scope-guest .stock-chip,
body.scope-admin .stock-chip,
body.scope-cabinet .stock-chip,
body.scope-manager .stock-chip,
body.scope-staff .stock-chip{
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border:1px solid #d4deeb;
  box-shadow:0 14px 28px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.95);
}

body.scope-guest .archive-card,
body.scope-admin .archive-card,
body.scope-cabinet .archive-card,
body.scope-manager .archive-card,
body.scope-staff .archive-card{
  padding:18px 20px;
  border-radius:22px;
}

body.scope-guest .stock-chip span,
body.scope-admin .stock-chip span,
body.scope-cabinet .stock-chip span,
body.scope-manager .stock-chip span,
body.scope-staff .stock-chip span{
  color:#7b8797;
}

body.scope-guest .archive-list,
body.scope-admin .archive-list,
body.scope-cabinet .archive-list,
body.scope-manager .archive-list,
body.scope-staff .archive-list{
  display:grid;
  gap:16px;
}

body.scope-guest .two-col > .card,
body.scope-admin .two-col > .card,
body.scope-cabinet .two-col > .card,
body.scope-manager .two-col > .card,
body.scope-staff .two-col > .card{
  min-height:100%;
}

body.scope-guest .compact-summary,
body.scope-admin .compact-summary,
body.scope-cabinet .compact-summary,
body.scope-manager .compact-summary,
body.scope-staff .compact-summary{
  display:grid;
  gap:8px;
}

body.scope-guest .stock-grid.small,
body.scope-admin .stock-grid.small,
body.scope-cabinet .stock-grid.small,
body.scope-manager .stock-grid.small,
body.scope-staff .stock-grid.small{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:12px;
}

body.scope-guest .stock-grid-breakdown,
body.scope-admin .stock-grid-breakdown,
body.scope-cabinet .stock-grid-breakdown,
body.scope-manager .stock-grid-breakdown,
body.scope-staff .stock-grid-breakdown{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

body.scope-manager .manager-stock-breakdown{
  align-items:stretch;
}

body.scope-manager .manager-stock-breakdown > .card{
  min-height:100%;
}

body.scope-guest .stock-chip,
body.scope-admin .stock-chip,
body.scope-cabinet .stock-chip,
body.scope-manager .stock-chip,
body.scope-staff .stock-chip{
  min-height:84px;
  align-items:flex-start;
  justify-content:space-between;
}

body.scope-guest .stock-chip strong,
body.scope-admin .stock-chip strong,
body.scope-cabinet .stock-chip strong,
body.scope-manager .stock-chip strong,
body.scope-staff .stock-chip strong{
  font-size:28px;
  line-height:1;
  letter-spacing:-.04em;
  color:#111827;
}

body.scope-manager .manager-overview-grid,
body.scope-manager .manager-overview-brief{
  align-items:stretch;
}

body.scope-manager .manager-overview-grid > .card,
body.scope-manager .manager-overview-brief > .card{
  min-height:100%;
}

body.scope-manager .manager-overview-grid .stock-grid-breakdown{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

body.scope-manager .manager-overview-grid.manager-stock-breakdown{
  grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr);
}

body.scope-manager .manager-overview-grid.manager-stock-breakdown .stock-grid-breakdown{
  grid-template-columns:repeat(auto-fit, minmax(132px, 1fr));
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-overview-grid.manager-stock-breakdown .stock-chip{
  min-height:112px;
  padding:16px 18px;
  gap:14px;
  justify-content:flex-start;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-overview-grid.manager-stock-breakdown .stock-chip span{
  font-size:15px;
  line-height:1.35;
}

/* Частично старое оформление: ниже переопределяются `background`, `border`, `border-radius`, `box-shadow`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .archive-brief-card{
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid #dce5f0;
  border-radius:20px;
  padding:16px 18px;
  box-shadow:0 12px 24px rgba(15,23,42,.05);
}

body.scope-guest .token-modal-backdrop,
body.scope-admin .token-modal-backdrop,
body.scope-cabinet .token-modal-backdrop,
body.scope-manager .token-modal-backdrop{
  background:rgba(219, 228, 239, .62);
  backdrop-filter:blur(12px);
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-guest .token-modal,
body.scope-admin .token-modal,
body.scope-cabinet .token-modal,
body.scope-manager .token-modal{
  border-radius:28px;
  padding:24px;
  border:1px solid #dbe3ef;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:0 28px 60px rgba(15,23,42,.16);
}

body.scope-admin .archive-list .archive-card,
body.scope-cabinet .archive-list .archive-card,
body.scope-manager .archive-list .archive-card{
  padding:18px 20px;
}

body.scope-admin .archive-card .event-summary,
body.scope-cabinet .archive-card .event-summary,
body.scope-manager .archive-card .event-summary{
  margin-top:10px;
}

body.scope-admin .archive-card .event-item,
body.scope-cabinet .archive-card .event-item,
body.scope-manager .archive-card .event-item{
  background:#f8fbff;
  border:1px solid #dde6f1;
}

body.scope-guest .token-modal .inline-code,
body.scope-admin .token-modal .inline-code,
body.scope-cabinet .token-modal .inline-code,
body.scope-manager .token-modal .inline-code{
  background:#eef2ff;
  border:1px solid #d9defe;
  color:#4250d0;
}

body.scope-guest .token-modal-head h3,
body.scope-admin .token-modal-head h3,
body.scope-cabinet .token-modal-head h3,
body.scope-manager .token-modal-head h3{
  color:#111827;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-guest .token-modal-close,
body.scope-admin .token-modal-close,
body.scope-cabinet .token-modal-close,
body.scope-manager .token-modal-close{
  border:1px solid #dbe3ef;
  background:#ffffff;
  color:#475569;
}

body.scope-guest .status-chip.new,
body.scope-guest .badge.new,
body.scope-admin .status-chip.new,
body.scope-admin .badge.new,
body.scope-cabinet .status-chip.new,
body.scope-cabinet .badge.new,
body.scope-manager .status-chip.new,
body.scope-manager .badge.new,
body.scope-staff .status-chip.new,
body.scope-staff .badge.new{
  background:#eef2ff;
  border-color:#d6dcff;
  color:#4956df;
}

body.scope-guest .status-chip.blocked,
body.scope-guest .badge.blocked,
body.scope-admin .status-chip.blocked,
body.scope-admin .badge.blocked,
body.scope-cabinet .status-chip.blocked,
body.scope-cabinet .badge.blocked,
body.scope-manager .status-chip.blocked,
body.scope-manager .badge.blocked,
body.scope-staff .status-chip.blocked,
body.scope-staff .badge.blocked{
  background:#fff1f2;
  border-color:#fecdd3;
  color:#b42318;
}

body.scope-guest .status-chip.in_progress,
body.scope-admin .status-chip.in_progress,
body.scope-cabinet .status-chip.in_progress,
body.scope-manager .status-chip.in_progress,
body.scope-staff .status-chip.in_progress{
  background:#fff4d6;
  border-color:#f0dfab;
  color:#9a6700;
}

body.scope-guest .table th,
body.scope-admin .table th,
body.scope-cabinet .table th,
body.scope-manager .table th,
body.scope-staff .table th{
  background:#f8fafc;
  color:#55657d;
  border-bottom:1px solid #e5ebf3;
}

body.scope-guest .table td,
body.scope-admin .table td,
body.scope-cabinet .table td,
body.scope-manager .table td,
body.scope-staff .table td{
  border-bottom:1px solid #ecf1f6;
}

body.scope-guest .table tbody tr:hover,
body.scope-admin .table tbody tr:hover,
body.scope-cabinet .table tbody tr:hover,
body.scope-manager .table tbody tr:hover,
body.scope-staff .table tbody tr:hover{
  background:#f8fafc;
}

body.scope-guest .soft-panel,
body.scope-admin .soft-panel,
body.scope-cabinet .soft-panel,
body.scope-manager .soft-panel,
body.scope-staff .soft-panel,
body.scope-guest .list-clean li,
body.scope-admin .list-clean li,
body.scope-cabinet .list-clean li,
body.scope-manager .list-clean li,
body.scope-staff .list-clean li,
body.scope-guest .kv-list > div,
body.scope-admin .kv-list > div,
body.scope-cabinet .kv-list > div,
body.scope-manager .kv-list > div,
body.scope-staff .kv-list > div,
body.scope-guest .portal-note,
body.scope-admin .portal-note,
body.scope-cabinet .portal-note,
body.scope-manager .portal-note,
body.scope-staff .portal-note,
body.scope-guest .auth-side,
body.scope-admin .auth-side,
body.scope-cabinet .auth-side,
body.scope-manager .auth-side,
body.scope-staff .auth-side{
  background:linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border:1px solid #dbe4f1;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

body.scope-manager input[type=date],
body.scope-manager input[type=month],
body.scope-manager select,
body.scope-manager .core-select-trigger{
  background:#f8fafc !important;
  color:#0f172a !important;
  border-color:#d8e0eb !important;
}

body.scope-manager .schedule-edit-table,
body.scope-manager .schedule-edit-table .table-wrap,
body.scope-manager .schedule-edit-table .table,
body.scope-manager .schedule-edit-table td,
body.scope-manager .schedule-edit-table th{
  background:transparent !important;
  color:#334155 !important;
}

body.scope-manager .schedule-edit-table th.schedule-name-col,
body.scope-manager .schedule-edit-table td.schedule-name-col{
  background:#f7fbff !important;
  color:#0f172a !important;
  box-shadow:inset -1px 0 0 #dbe4f1;
}

body.scope-manager .schedule-edit-table thead th{
  background:#f8fbff !important;
  color:#4b5c74 !important;
}

body.scope-manager .schedule-edit-table tbody tr:nth-child(even){
  background:rgba(248, 251, 255, .72) !important;
}

body.scope-manager .schedule-row-name{
  color:#0f172a !important;
}

body.scope-manager .schedule-row-name span{
  color:#64748b !important;
}

body.scope-manager .schedule-input{
  background:#f8fafc !important;
  border-color:#d9e2ee !important;
  color:#334155 !important;
  font-weight:800 !important;
  box-shadow:none !important;
}

body.scope-manager .schedule-input.future{
  background:#eef2f8 !important;
  border-color:#d8e0ea !important;
  color:#516278 !important;
}

body.scope-manager .schedule-input.done{
  background:#e9f8ee !important;
  border-color:#bfe6ca !important;
  color:#18794e !important;
}

body.scope-manager .schedule-input.off{
  background:#fff1f2 !important;
  border-color:#f3c0c4 !important;
  color:#b42318 !important;
}

body.scope-guest .list-clean li,
body.scope-admin .list-clean li,
body.scope-cabinet .list-clean li,
body.scope-manager .list-clean li,
body.scope-staff .list-clean li{
  padding:16px 18px;
}

body.scope-guest .portal-note,
body.scope-admin .portal-note,
body.scope-cabinet .portal-note,
body.scope-manager .portal-note,
body.scope-staff .portal-note{
  color:#475569;
}

body.scope-guest .inline-code,
body.scope-guest code,
body.scope-admin .inline-code,
body.scope-admin code,
body.scope-cabinet .inline-code,
body.scope-cabinet code,
body.scope-manager .inline-code,
body.scope-manager code,
body.scope-staff .inline-code,
body.scope-staff code{
  color:#4956df;
  background:#eef2ff;
  border-radius:10px;
  padding:2px 6px;
}

body.scope-guest .inline-mail-link,
body.scope-admin .inline-mail-link,
body.scope-cabinet .inline-mail-link,
body.scope-manager .inline-mail-link,
body.scope-staff .inline-mail-link{
  color:#4956df;
  font-weight:700;
  text-decoration:none;
}

body.scope-guest .inline-mail-link:hover,
body.scope-admin .inline-mail-link:hover,
body.scope-cabinet .inline-mail-link:hover,
body.scope-manager .inline-mail-link:hover,
body.scope-staff .inline-mail-link:hover{
  text-decoration:underline;
}

@media (max-width: 1180px){
  body.scope-manager .manager-overview-grid.manager-stock-breakdown{
    grid-template-columns:1fr;
  }
}

body.scope-guest .support-strip,
body.scope-admin .support-strip,
body.scope-cabinet .support-strip,
body.scope-manager .support-strip,
body.scope-staff .support-strip{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-top:22px;
  padding:18px 20px;
  border-radius:20px;
  background:rgba(255,255,255,.88);
  border:1px solid #dbe3ef;
  box-shadow:0 14px 30px rgba(15,23,42,.05);
}

.system-banner{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin:0 0 18px;
  padding:16px 18px;
  border-radius:20px;
  border:1px solid #dde4ef;
  background:#ffffff;
  box-shadow:0 14px 30px rgba(15,23,42,.05);
}

.system-banner-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}

.system-banner-copy{
  display:grid;
  gap:6px;
  color:#334155;
}

.system-banner-copy strong{
  font-size:16px;
  color:#0f172a;
}

.system-banner-info{border-color:#dbe3ef;background:#f8fbff}
.system-banner-info .system-banner-mark{background:#eef2ff;color:#4956df;border:1px solid #d6dcff}
.system-banner-ok{border-color:#c9edd6;background:#f4fcf6}
.system-banner-ok .system-banner-mark{background:#e9f8ee;color:#237443;border:1px solid #c9edd6}
.system-banner-warn{border-color:#f0dfab;background:#fffaf0}
.system-banner-warn .system-banner-mark{background:#fff4d6;color:#9a6700;border:1px solid #f0dfab}
.system-banner-bad{border-color:#f8d0cd;background:#fff5f4}
.system-banner-bad .system-banner-mark{background:#feeceb;color:#b42318;border:1px solid #f8d0cd}

body.scope-guest .site-footer,
body.scope-admin .site-footer,
body.scope-cabinet .site-footer,
body.scope-manager .site-footer,
body.scope-staff .site-footer{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #dde4ef;
  color:#64748b;
}

body.scope-guest .footer-link,
body.scope-admin .footer-link,
body.scope-cabinet .footer-link,
body.scope-manager .footer-link,
body.scope-staff .footer-link{
  background:#ffffff;
  color:#334155;
  border:1px solid #dbe3ef;
}

body.scope-guest .footer-link:hover,
body.scope-admin .footer-link:hover,
body.scope-cabinet .footer-link:hover,
body.scope-manager .footer-link:hover,
body.scope-staff .footer-link:hover{
  background:#eef2ff;
  border-color:#cfd8ff;
  color:#4956df;
}

body.scope-guest .footer-icon-link,
body.scope-admin .footer-icon-link,
body.scope-cabinet .footer-icon-link,
body.scope-manager .footer-icon-link,
body.scope-staff .footer-icon-link{
  color:#64748b;
  background:transparent;
  border:0;
}

body.scope-guest .footer-icon-link:hover,
body.scope-guest .footer-icon-link:focus-visible,
body.scope-admin .footer-icon-link:hover,
body.scope-admin .footer-icon-link:focus-visible,
body.scope-cabinet .footer-icon-link:hover,
body.scope-cabinet .footer-icon-link:focus-visible,
body.scope-manager .footer-icon-link:hover,
body.scope-manager .footer-icon-link:focus-visible,
body.scope-staff .footer-icon-link:hover,
body.scope-staff .footer-icon-link:focus-visible{
  color:#4956df;
  background:transparent;
}

body.scope-guest .footer-news-badge,
body.scope-admin .footer-news-badge,
body.scope-cabinet .footer-news-badge,
body.scope-manager .footer-news-badge,
body.scope-staff .footer-news-badge{
  background:#ef4444;
  color:#fff;
  border-color:#fff;
}

body.scope-guest .site-footer-sub,
body.scope-admin .site-footer-sub,
body.scope-cabinet .site-footer-sub,
body.scope-manager .site-footer-sub,
body.scope-staff .site-footer-sub{
  color:#7b8797;
}

body.scope-guest .site-footer-policy-link,
body.scope-admin .site-footer-policy-link,
body.scope-cabinet .site-footer-policy-link,
body.scope-manager .site-footer-policy-link,
body.scope-staff .site-footer-policy-link,
body.scope-guest .cookie-consent-link,
body.scope-admin .cookie-consent-link,
body.scope-cabinet .cookie-consent-link,
body.scope-manager .cookie-consent-link,
body.scope-staff .cookie-consent-link{
  color:#4956df;
  border-bottom-color:rgba(73,86,223,.28);
}

body.scope-guest .site-footer-policy-link:hover,
body.scope-admin .site-footer-policy-link:hover,
body.scope-cabinet .site-footer-policy-link:hover,
body.scope-manager .site-footer-policy-link:hover,
body.scope-staff .site-footer-policy-link:hover,
body.scope-guest .cookie-consent-link:hover,
body.scope-admin .cookie-consent-link:hover,
body.scope-cabinet .cookie-consent-link:hover,
body.scope-manager .cookie-consent-link:hover,
body.scope-staff .cookie-consent-link:hover{
  border-bottom-color:rgba(73,86,223,.62);
}

.site-footer .site-footer-copy {
  line-height: 1.45 !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

.site-footer .site-footer-copy a.site-footer-brand-live,
.site-footer .site-footer-copy a.site-footer-brand-live:link,
.site-footer .site-footer-copy a.site-footer-brand-live:visited,
.site-footer .site-footer-copy a.site-footer-brand-live:hover,
.site-footer .site-footer-copy a.site-footer-brand-live:active {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #111827 !important;
  font: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  word-spacing: normal !important;
  text-decoration: none !important;
  vertical-align: baseline !important;

  cursor: pointer !important;
}

/* Частично старое оформление: ниже переопределяются `margin`, `padding`. Остальные свойства этого правила остаются рабочими. */
.site-footer .site-footer-copy a.site-footer-brand-live span {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;

  color: #111827;
  font: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  vertical-align: baseline !important;

  animation-name: footerBrandLetterBlink;
  animation-duration: 2.2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes footerBrandLetterBlink {
  0%,
  28%,
  100% {
    color: #111827;
    text-shadow: none;
  }

  40% {
    color: #ffffff;
    text-shadow:
      0 0 4px rgba(255, 255, 255, .9),
      0 0 10px rgba(255, 255, 255, .55);
  }

  52% {
    color: #111827;
    text-shadow: none;
  }
}
.site-footer .site-footer-copy a.site-footer-brand-live {
  gap: 0 !important;
  white-space: nowrap !important;
}

.site-footer .site-footer-copy a.site-footer-brand-live span {
  margin: 0 !important;
  padding: 0 !important;
}

body.scope-guest .cookie-consent,
body.scope-admin .cookie-consent,
body.scope-cabinet .cookie-consent,
body.scope-manager .cookie-consent,
body.scope-staff .cookie-consent{
  background:rgba(255,255,255,.94);
  color:#1e293b;
  border:1px solid #dbe7f3;
  box-shadow:0 22px 60px rgba(15,23,42,.18);
}

body.scope-guest .cookie-consent strong,
body.scope-admin .cookie-consent strong,
body.scope-cabinet .cookie-consent strong,
body.scope-manager .cookie-consent strong,
body.scope-staff .cookie-consent strong{
  color:#0f172a;
}

body.scope-guest .cookie-consent p,
body.scope-admin .cookie-consent p,
body.scope-cabinet .cookie-consent p,
body.scope-manager .cookie-consent p,
body.scope-staff .cookie-consent p{
  color:#64748b;
}

body.scope-guest .cookie-consent .cookie-deny,
body.scope-admin .cookie-consent .cookie-deny,
body.scope-cabinet .cookie-consent .cookie-deny,
body.scope-manager .cookie-consent .cookie-deny,
body.scope-staff .cookie-consent .cookie-deny{
  background:#ffffff;
  color:#475569;
  border:1px solid #d7dfea;
}

body.scope-guest .cookie-consent .cookie-deny:hover,
body.scope-admin .cookie-consent .cookie-deny:hover,
body.scope-cabinet .cookie-consent .cookie-deny:hover,
body.scope-manager .cookie-consent .cookie-deny:hover,
body.scope-staff .cookie-consent .cookie-deny:hover{
  background:#f8fafc;
  color:#0f172a;
}

@media (max-width: 760px){
  body.scope-guest .content.guest-content,
  body.scope-admin .content,
  body.scope-cabinet .content,
  body.scope-manager .content,
  body.scope-staff .content.staff-content{
    padding:16px 14px 24px;
  }

  body.scope-guest .support-strip,
  body.scope-admin .support-strip,
  body.scope-cabinet .support-strip,
  body.scope-manager .support-strip,
  body.scope-staff .support-strip{
    flex-direction:column;
    align-items:flex-start;
  }
}


body.scope-manager .compact-summary{
  position:relative;
  z-index:24;
  gap:12px;
}
body.scope-manager .compact-summary .filters{
  align-items:end;
  gap:16px;
}
body.scope-manager .compact-summary .staff-toolbar-actions{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  min-width:160px;
}
body.scope-manager .compact-summary .form-row{
  min-width:220px;
}
body.scope-manager .compact-summary .form-row label{
  margin-bottom:2px;
}
body.scope-manager .compact-summary .core-select-trigger,
body.scope-manager .compact-summary input[type=month],
body.scope-manager .compact-summary select{
  min-height:60px;
  border-radius:22px;
}
body.scope-manager .core-ui-portal-root{
  z-index:9000;
}
body.scope-manager .core-select-menu{
  z-index:9100;
}

body.scope-manager .manager-overview-grid.manager-stock-breakdown{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:stretch;
}
body.scope-manager .manager-overview-grid.manager-stock-breakdown > .card{
  display:flex;
  flex-direction:column;
}
body.scope-manager .manager-overview-grid.manager-stock-breakdown .stock-grid-breakdown{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:16px;
  align-content:start;
}
body.scope-manager .manager-overview-grid.manager-stock-breakdown .stock-chip{
  min-height:120px;
  padding:18px 18px;
  gap:16px;
  border-radius:20px;
  justify-content:space-between;
}
body.scope-manager .manager-overview-grid.manager-stock-breakdown .stock-chip strong{
  font-size:34px;
}
body.scope-manager .manager-overview-grid.manager-stock-breakdown .stock-chip span{
  font-size:15px;
  line-height:1.38;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .archive-brief-list{
  display:grid;
  gap:14px;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .archive-brief-card{
  border:1px solid #d6e2f0;
  box-shadow:0 16px 30px rgba(15,23,42,.07);
}
body.scope-manager .archive-brief-top{
  margin-bottom:8px;
}
body.scope-manager .archive-brief-title{
  font-weight:800;
}
body.scope-manager .archive-brief-text{
  color:#425166;
}

/* Частично старое оформление: ниже переопределяются `background`, `border`, `border-radius`, `box-shadow`, `padding`. Остальные свойства этого правила остаются рабочими. */
body.scope-guest .token-modal,
body.scope-admin .token-modal,
body.scope-cabinet .token-modal,
body.scope-manager .token-modal{
  width:min(760px, calc(100vw - 32px));
  border-radius:30px;
  padding:26px;
  border:1px solid #d9e4f1;
  background:
    radial-gradient(circle at top right, rgba(88,101,242,.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow:0 30px 70px rgba(15,23,42,.18);
}
body.scope-guest .token-modal-head,
body.scope-admin .token-modal-head,
body.scope-cabinet .token-modal-head,
body.scope-manager .token-modal-head{
  margin-bottom:16px;
}
body.scope-guest .token-modal-head h3,
body.scope-admin .token-modal-head h3,
body.scope-cabinet .token-modal-head h3,
body.scope-manager .token-modal-head h3{
  font-size:34px;
  letter-spacing:-.04em;
}
body.scope-guest .token-modal-close,
body.scope-admin .token-modal-close,
body.scope-cabinet .token-modal-close,
body.scope-manager .token-modal-close{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid #d7e0eb;
  background:#ffffff;
  color:#334155;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
body.scope-guest .token-modal-close:hover,
body.scope-admin .token-modal-close:hover,
body.scope-cabinet .token-modal-close:hover,
body.scope-manager .token-modal-close:hover{
  background:#eef2ff;
  border-color:#cfd8ff;
  color:#4956df;
}
/* Частично старое оформление: ниже переопределяются `border-radius`, `padding`. Остальные свойства этого правила остаются рабочими. */
body.scope-guest .token-modal .code-block,
body.scope-admin .token-modal .code-block,
body.scope-cabinet .token-modal .code-block,
body.scope-manager .token-modal .code-block{
  border-radius:22px;
  padding:18px 20px;
  font-size:14px;
  line-height:1.55;
}

@media (max-width: 1180px){
  body.scope-manager .manager-overview-grid.manager-stock-breakdown{
    grid-template-columns:1fr;
  }
}


body.scope-manager .compact-summary,
body.scope-manager .compact-summary .filters,
body.scope-manager .compact-summary .form-row{
  overflow:visible !important;
}

body.scope-manager .compact-summary input[type=month]{
  min-height:62px;
  border-radius:24px;
  padding:0 18px;
  font-size:15px;
  font-weight:700;
  box-shadow:0 14px 28px rgba(15,23,42,.05);
}

body.scope-manager .manager-period-pills{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  min-height:62px;
}

/* Частично старое оформление: ниже переопределяются `background`, `border`, `border-radius`, `box-shadow`, `color`, `display`, `padding`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .manager-period-pill{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:62px;
  padding:0 16px;
  border-radius:24px;
  border:1px solid #d7e0eb;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color:#334155;
  font-weight:800;
  letter-spacing:-.02em;
  cursor:pointer;
  user-select:none;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  transition:.18s ease;
}

/* Не используется в текущем интерфейсе: ниже этот же селектор отключается через `display: none`. Перед удалением проверить редкое состояние, в котором JavaScript может вернуть элемент. */
body.scope-manager .manager-period-pill input{
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
}

body.scope-manager .manager-period-pill:hover{
  transform:translateY(-1px);
  border-color:#c9d6ea;
  background:linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

body.scope-manager .manager-period-pill.active,
body.scope-manager .manager-period-pill:has(input:checked){
  background:linear-gradient(180deg, #5865f2 0%, #4f5bd8 100%);
  border-color:#5865f2;
  color:#ffffff;
  box-shadow:0 18px 34px rgba(88,101,242,.18);
}

body.scope-manager .archive-list,
body.scope-cabinet .archive-list,
body.scope-admin .archive-list{
  display:grid;
  gap:14px;
}

body.scope-manager .archive-card,
body.scope-cabinet .archive-card,
body.scope-admin .archive-card{
  background:linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border:1px solid #dbe4f1;
  border-radius:22px;
  box-shadow:0 14px 28px rgba(15,23,42,.06);
}

body.scope-manager .archive-card .archive-head,
body.scope-cabinet .archive-card .archive-head,
body.scope-admin .archive-card .archive-head{
  padding-bottom:12px;
  margin-bottom:12px;
  border-bottom:1px solid #ebf1f7;
}

body.scope-manager .archive-card .event-summary,
body.scope-cabinet .archive-card .event-summary,
body.scope-admin .archive-card .event-summary{
  display:grid;
  gap:10px;
}

body.scope-manager .archive-card .event-item,
body.scope-cabinet .archive-card .event-item,
body.scope-admin .archive-card .event-item{
  padding:10px 12px;
  border-radius:14px;
  background:#f8fbff;
  border:1px solid #e8eef6;
}

body.scope-guest .token-modal,
body.scope-admin .token-modal,
body.scope-cabinet .token-modal,
body.scope-manager .token-modal{
  border-radius:34px;
  padding:28px;
}

body.scope-guest .token-modal-actions,
body.scope-admin .token-modal-actions,
body.scope-cabinet .token-modal-actions,
body.scope-manager .token-modal-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:18px;
}

@media (max-width: 980px){
  body.scope-manager .manager-period-pills{
    grid-template-columns:1fr;
  }
}


body.scope-manager .compact-summary,
body.scope-manager .manager-overview-grid > .card,
body.scope-manager .manager-overview-brief > .card,
body.scope-staff .two-col > .card,
body.scope-staff .archive-list .archive-card,
body.scope-staff .archive-card,
body.scope-manager .archive-card.archive-card-compact,
body.scope-manager .overview-archive-list .archive-card,
body.scope-manager .defect-detail-card,
body.scope-manager .chart-card{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%) !important;
  border:1px solid #dbe4ef !important;
  box-shadow:0 18px 34px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.72) !important;
}

body.scope-manager .manager-stock-breakdown > .card,
body.scope-manager .manager-overview-grid > .card{
  min-height:100%;
}

/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-period-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-period-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid #d9e2ee;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  color:#334155;
  font-weight:800;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}
body.scope-manager .manager-period-pill input{display:none;}
/* Частично старое оформление: ниже переопределяются `background`, `color`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .manager-period-pill.active{
  background:linear-gradient(180deg,#5865f2 0%,#4f5bd8 100%);
  border-color:#5865f2;
  color:#ffffff;
  box-shadow:0 16px 30px rgba(88,101,242,.24);
}

body.scope-manager .defect-kv-grid,
body.scope-manager .kv-list.defect-kv-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
}
body.scope-manager .defect-kv-grid > div,
body.scope-manager .kv-list.defect-kv-grid > div{
  background:#f8fbff;
  border:1px solid #dbe4ef;
  border-radius:18px;
  padding:14px 16px;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .defect-photo-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;
}
body.scope-manager .defect-photo-tile{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:10px;
  border-radius:18px;
  border:1px solid #dbe4ef;
  background:#ffffff;
  text-decoration:none;
  color:#0f172a;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
body.scope-manager .defect-photo-tile img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:14px;
  background:#eef2f7;
}
body.scope-manager .defect-photo-tile span{
  font-size:13px;
  font-weight:700;
  color:#334155;
}

body.scope-manager .overview-archive-list,
body.scope-manager .archive-brief-list,
body.scope-staff .archive-list{
  display:grid;
  gap:12px;
}

body.scope-manager .archive-card.archive-card-compact,
body.scope-manager .archive-brief-card,
body.scope-staff .archive-list .archive-card{
  border-radius:20px;
}

body.scope-manager .archive-card.archive-card-compact .compact-event,
body.scope-manager .archive-brief-card,
body.scope-staff .archive-list .archive-card .compact-summary{
  background:transparent;
}

body.scope-manager .archive-brief-card,
body.scope-manager .archive-card.archive-card-compact,
body.scope-staff .archive-list .archive-card{
  border:1px solid #dbe4ef;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 12px 24px rgba(15,23,42,.05);
}

body.scope-staff .archive-list .archive-card .compact-summary,
body.scope-staff .archive-list .archive-card .compact-event-meta,
body.scope-manager .archive-card.archive-card-compact .compact-event-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  color:#64748b;
}

body.scope-staff .archive-list .archive-card .compact-summary > div,
body.scope-manager .archive-card.archive-card-compact .compact-event-meta > span{
  background:#f8fbff;
  border:1px solid #dbe4ef;
  border-radius:999px;
  padding:6px 10px;
}

body.scope-manager .soft-panel,
body.scope-staff .soft-panel{
  border-radius:18px;
  border:1px solid #dbe4ef;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}

body.scope-manager .table-wrap,
body.scope-staff .table-wrap{
  border-radius:22px;
  border:1px solid #dbe4ef;
  background:#ffffff;
  box-shadow:0 12px 26px rgba(15,23,42,.04);
}

body.scope-manager .table,
body.scope-staff .table{
  background:#ffffff;
}

@media (max-width: 980px){
  body.scope-manager .defect-photo-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 680px){
  body.scope-manager .defect-photo-grid,
  body.scope-manager .defect-kv-grid,
  body.scope-staff .archive-list,
  body.scope-manager .overview-archive-list,
  body.scope-manager .archive-brief-list{
    grid-template-columns:1fr;
  }
}


body.scope-manager .api-token-builder > .card,
body.scope-cabinet .api-token-builder > .card,
body.scope-admin .api-token-builder > .card,
body.scope-staff .recent-issue-list .archive-card,
body.scope-manager .overview-archive-list .archive-card,
body.scope-cabinet .overview-archive-list .archive-card,
body.scope-admin .overview-archive-list .archive-card{
  background:linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border:1px solid #d9e5f2;
  box-shadow:0 18px 34px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.96);
}

body.scope-staff .recent-issue-list,
body.scope-manager .overview-archive-list,
body.scope-cabinet .overview-archive-list,
body.scope-admin .overview-archive-list{
  display:grid;
  gap:14px;
}

body.scope-staff .recent-issue-list .archive-card,
body.scope-manager .overview-archive-list .archive-card,
body.scope-cabinet .overview-archive-list .archive-card,
body.scope-admin .overview-archive-list .archive-card{
  padding:18px 20px;
  border-radius:22px;
}

body.scope-staff .recent-issue-list .archive-head,
body.scope-manager .overview-archive-list .archive-head,
body.scope-cabinet .overview-archive-list .archive-head,
body.scope-admin .overview-archive-list .archive-head{
  padding-bottom:12px;
  margin-bottom:12px;
  border-bottom:1px solid #ebf1f7;
}

body.scope-staff .compact-summary,
body.scope-manager .compact-summary,
body.scope-cabinet .compact-summary,
body.scope-admin .compact-summary{
  display:grid;
  gap:10px;
}

body.scope-manager .compact-event,
body.scope-cabinet .compact-event,
body.scope-admin .compact-event,
body.scope-staff .compact-event{
  background:linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  border:1px solid #e1eaf5;
  border-radius:18px;
  padding:14px 15px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92);
}

body.scope-manager .compact-event-top,
body.scope-cabinet .compact-event-top,
body.scope-admin .compact-event-top,
body.scope-staff .compact-event-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}

body.scope-manager .compact-event-title,
body.scope-cabinet .compact-event-title,
body.scope-admin .compact-event-title,
body.scope-staff .compact-event-title{
  font-size:16px;
  font-weight:700;
  color:#0f172a;
}

body.scope-manager .compact-event-sub,
body.scope-cabinet .compact-event-sub,
body.scope-admin .compact-event-sub,
body.scope-staff .compact-event-sub{
  color:#607084;
  line-height:1.45;
}

body.scope-manager .table-defects td,
body.scope-manager .table-defects th,
body.scope-cabinet .table-defects td,
body.scope-cabinet .table-defects th,
body.scope-admin .table-defects td,
body.scope-admin .table-defects th{
  vertical-align:top;
}

body.scope-manager .table-defects tbody tr,
body.scope-cabinet .table-defects tbody tr,
body.scope-admin .table-defects tbody tr{
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,251,255,.98));
}

body.scope-manager .api-token-intro,
body.scope-cabinet .api-token-intro,
body.scope-admin .api-token-intro{
  display:grid;
  gap:12px;
}

body.scope-manager .api-token-hints,
body.scope-cabinet .api-token-hints,
body.scope-admin .api-token-hints{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
}

body.scope-guest .token-modal,
body.scope-admin .token-modal,
body.scope-cabinet .token-modal,
body.scope-manager .token-modal{
  background:
    radial-gradient(circle at 100% 0%, rgba(88,101,242,.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid #dbe4f1;
  box-shadow:0 34px 70px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.96);
}

body.scope-guest .token-modal-meta,
body.scope-admin .token-modal-meta,
body.scope-cabinet .token-modal-meta,
body.scope-manager .token-modal-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

body.scope-guest .token-modal .mini-chip,
body.scope-admin .token-modal .mini-chip,
body.scope-cabinet .token-modal .mini-chip,
body.scope-manager .token-modal .mini-chip{
  background:#eef4ff;
  border:1px solid #d8e4ff;
  color:#344054;
}

body.scope-guest .token-modal .code-block,
body.scope-admin .token-modal .code-block,
body.scope-cabinet .token-modal .code-block,
body.scope-manager .token-modal .code-block{
  border-radius:20px;
  padding:18px 20px;
  background:linear-gradient(180deg, #f6f8ff 0%, #eef4ff 100%);
  border:1px solid #d8e2ff;
  color:#243b7b;
}

body.scope-staff .card-head,
body.scope-manager .card-head,
body.scope-cabinet .card-head,
body.scope-admin .card-head{
  gap:12px;
}

body.scope-staff .card-head h3,
body.scope-manager .card-head h3,
body.scope-cabinet .card-head h3,
body.scope-admin .card-head h3{
  line-height:1.25;
}


.manager-period-pills, .toolbar-segment-switch, .segment-switch {
  gap: 10px !important;
  flex-wrap: wrap;
}
.manager-period-pill, .segment-pill {
  border-radius: 999px !important;
  padding: 10px 14px !important;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}
.archive-card, .archive-card-compact, .archive-brief-card, .compact-archive-card, .defect-detail-card, .card, .soft-panel, .table-card {
  border-radius: 22px !important;
  border: 1px solid rgba(148,163,184,.18) !important;
  box-shadow: 0 18px 44px rgba(15,23,42,.06);
}
.archive-head, .card-head, .compact-event-top, .archive-brief-top {
  gap: 10px;
}
.compact-event, .archive-brief-card, .recent-issue-list .card, .defect-detail-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98)) !important;
}
.defect-photo-grid {
  gap: 14px !important;
}
.defect-photo-tile {
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.2) !important;
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(15,23,42,.06);
}
.token-modal, .token-modal-backdrop .token-modal {
  border-radius: 28px !important;
  box-shadow: 0 28px 80px rgba(15,23,42,.20) !important;
  border: 1px solid rgba(148,163,184,.20) !important;
}
.token-modal-head {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148,163,184,.16);
  margin-bottom: 14px;
}
.code-block, pre.inline-code, .inline-code, .api-token-builder code {
  border-radius: 18px !important;
  border: 1px solid rgba(148,163,184,.18) !important;
  background: linear-gradient(180deg, #ffffff, #f8fafc) !important;
}
.staff-toolbar, .compact-toolbar, .filters-card, .manager-hero-clean, .manager-overview-brief, .compact-summary {
  border-radius: 24px !important;
  border: 1px solid rgba(148,163,184,.16) !important;
  box-shadow: 0 18px 44px rgba(15,23,42,.05);
}
.status-chip, .mini-chip, .day-chip, .badge {
  border-radius: 999px !important;
  min-height: 30px;
  padding-inline: 10px !important;
}
.table-wrap, .table-defects {
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.18) !important;
}
@media (max-width: 900px) {
  .manager-period-pill, .segment-pill, .status-chip, .badge {
    width: 100%;
    justify-content: center;
  }
}


:root {
  --card-soft-shadow: 0 18px 44px rgba(15,23,42,.06);
}
.manager-topbar,
.staff-toolbar,
.compact-toolbar,
.filters-card {
  position: sticky;
  top: 12px;
  z-index: 9;
  backdrop-filter: blur(16px);
}
.archive-card,
.issue-card,
.compact-event,
.compact-summary,
.soft-panel,
.manager-overview-brief,
.manager-hero-clean {
  box-shadow: var(--card-soft-shadow);
}
.archive-card,
.issue-card {
  position: relative;
  overflow: hidden;
}
.archive-card::before,
.issue-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(99,102,241,.85), rgba(59,130,246,.65));
  border-radius: 999px;
}
.archive-card > *,
.issue-card > * {
  position: relative;
  z-index: 1;
}
.archive-head,
.card-head,
.defect-head,
.bug-head {
  gap: 12px;
  align-items: flex-start;
}
.archive-card .compact-summary,
.issue-card .compact-summary,
.defect-details,
.bug-description,
.photo-grid,
.photo-tile,
.defect-photos {
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.98));
  border: 1px solid rgba(148,163,184,.18) !important;
}
.token-modal-backdrop {
  backdrop-filter: blur(10px);
}
.token-modal-actions {
  position: sticky;
  bottom: 0;
  padding-top: 12px;
  margin-top: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.96) 22%);
}
.token-modal .mini-chip,
.token-modal .badge,
.token-modal .status-chip {
  box-shadow: inset 0 0 0 1px rgba(148,163,184,.12);
}
.table-wrap table thead th,
.table-defects thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(248,250,252,.98) !important;
  backdrop-filter: blur(10px);
}
.recent-issue-list,
.archive-list {
  gap: 14px;
}
@media (max-width: 900px) {
  .manager-topbar,
  .staff-toolbar,
  .compact-toolbar,
  .filters-card {
    position: static;
  }
  .token-modal-actions {
    position: static;
    background: transparent;
  }
}


body.scope-manager .content,
body.scope-staff .content.staff-content,
body.scope-cabinet .content{
  position:relative;
}
.core-section-rail{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
  padding:12px 14px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(246,249,255,.95));
  border:1px solid #d9e4f2;
  box-shadow:0 16px 34px rgba(15,23,42,.08);
  position:sticky;
  top:16px;
  z-index:14;
  backdrop-filter:blur(12px);
}
.core-section-rail .rail-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dbe4f1;
  color:#334155;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  transition:.18s ease;
}
.core-section-rail .rail-chip:hover{
  transform:translateY(-1px);
  border-color:#b9c9ee;
  box-shadow:0 10px 18px rgba(88,101,242,.10);
}
.core-section-rail .rail-chip .rail-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  flex:0 0 auto;
  background:#5865f2;
  box-shadow:0 0 0 5px rgba(88,101,242,.12);
}
.card[data-tone],
.archive-card[data-tone],
.soft-panel[data-tone],
.compact-summary[data-tone],
.compact-event[data-tone],
.table-wrap[data-tone],
.token-modal[data-tone]{
  position:relative;
  overflow:hidden;
}
.card[data-tone]::before,
.archive-card[data-tone]::before,
.soft-panel[data-tone]::before,
.compact-summary[data-tone]::before,
.compact-event[data-tone]::before,
.table-wrap[data-tone]::before,
.token-modal[data-tone]::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  border-radius:4px;
  background:var(--tone-color, #5865f2);
  opacity:.94;
}
.card[data-tone="danger"],
.archive-card[data-tone="danger"],
.soft-panel[data-tone="danger"],
.compact-summary[data-tone="danger"],
.compact-event[data-tone="danger"],
.table-wrap[data-tone="danger"],
.token-modal[data-tone="danger"]{ --tone-color:#ef6b78; }
.card[data-tone="info"],
.archive-card[data-tone="info"],
.soft-panel[data-tone="info"],
.compact-summary[data-tone="info"],
.compact-event[data-tone="info"],
.table-wrap[data-tone="info"],
.token-modal[data-tone="info"]{ --tone-color:#6ea8ff; }
.card[data-tone="success"],
.archive-card[data-tone="success"],
.soft-panel[data-tone="success"],
.compact-summary[data-tone="success"],
.compact-event[data-tone="success"],
.table-wrap[data-tone="success"],
.token-modal[data-tone="success"]{ --tone-color:#46b98b; }
.card[data-tone="warning"],
.archive-card[data-tone="warning"],
.soft-panel[data-tone="warning"],
.compact-summary[data-tone="warning"],
.compact-event[data-tone="warning"],
.table-wrap[data-tone="warning"],
.token-modal[data-tone="warning"]{ --tone-color:#ebb86a; }
.card[data-tone="violet"],
.archive-card[data-tone="violet"],
.soft-panel[data-tone="violet"],
.compact-summary[data-tone="violet"],
.compact-event[data-tone="violet"],
.table-wrap[data-tone="violet"],
.token-modal[data-tone="violet"]{ --tone-color:#9d8cff; }
.card[data-tone] .card-head,
.archive-card[data-tone] .card-head,
.table-wrap[data-tone] .card-head{
  position:relative;
  z-index:1;
}
.card[data-tone] .card-head h3,
.archive-card[data-tone] .card-head h3,
.table-wrap[data-tone] .card-head h3{
  letter-spacing:.01em;
}
.card[data-enhanced="true"],
.archive-card[data-enhanced="true"],
.compact-summary[data-enhanced="true"],
.compact-event[data-enhanced="true"]{
  box-shadow:0 22px 42px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.94);
}
.card-head .tone-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-left:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(88,101,242,.08);
  border:1px solid rgba(88,101,242,.16);
  color:#5865f2;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.card-head .tone-chip.danger{
  background:rgba(239,107,120,.10);
  border-color:rgba(239,107,120,.24);
  color:#d94c5b;
}
.card-head .tone-chip.success{
  background:rgba(70,185,139,.10);
  border-color:rgba(70,185,139,.24);
  color:#258963;
}
.card-head .tone-chip.warning{
  background:rgba(235,184,106,.12);
  border-color:rgba(235,184,106,.24);
  color:#9a6d18;
}
.card-head .tone-chip.violet{
  background:rgba(157,140,255,.11);
  border-color:rgba(157,140,255,.28);
  color:#6855df;
}
.core-card-summary{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.core-card-summary .summary-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dce4ef;
  color:#475569;
  font-size:12px;
  font-weight:600;
}
.filters-card,
.toolbar,
.page-top{
  position:sticky;
  top:72px;
  z-index:13;
  backdrop-filter:blur(10px);
}
.token-modal{
  border-radius:28px!important;
}
.token-modal .token-actions,
.token-modal .modal-actions,
.token-modal .sticky-actions{
  position:sticky;
  bottom:0;
  background:linear-gradient(180deg, rgba(248,250,255,.82), rgba(255,255,255,.98));
  padding-top:12px;
  margin-top:14px;
  border-top:1px solid #e2e8f3;
}
.compact-summary,
.compact-event,
.archive-card,
.defect-card,
.bug-card{
  border-radius:20px;
}
.archive-card .meta-row,
.compact-summary .meta-row,
.compact-event .meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.archive-card .meta-row > span,
.compact-summary .meta-row > span,
.compact-event .meta-row > span{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e2e8f3;
  font-size:12px;
  color:#475569;
}
.media-grid, .photo-grid{
  gap:12px;
}
.media-grid img, .photo-grid img{
  border-radius:18px;
  box-shadow:0 14px 28px rgba(15,23,42,.14);
}
@media (max-width: 980px){
  .core-section-rail{
    top:10px;
    padding:10px 12px;
  }
  .filters-card,
  .toolbar,
  .page-top{
    position:relative;
    top:auto;
  }
}


/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
.core-section-rail{display:none !important;}
body.scope-manager .manager-month-selects{
  display:grid;
  grid-template-columns:minmax(110px,140px) minmax(180px,1fr);
  gap:10px;
}
body.scope-manager .manager-month-selects select{
  width:100%;
}
body.scope-manager .defect-photo-grid,
body.scope-staff .defect-photo-grid,
body.scope-cabinet .defect-photo-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,320px));
  gap:14px;
  justify-content:flex-start;
  align-items:start;
}
body.scope-manager .defect-photo-tile,
body.scope-staff .defect-photo-tile,
body.scope-cabinet .defect-photo-tile{
  width:100%;
  max-width:320px;
  padding:10px;
}
body.scope-manager .defect-photo-tile img,
body.scope-staff .defect-photo-tile img,
body.scope-cabinet .defect-photo-tile img{
  width:100%;
  aspect-ratio:4 / 3;
  max-height:240px;
  object-fit:cover;
}
body.scope-staff .recent-issue-list .archive-card,
body.scope-manager .recent-issue-list .archive-card{
  padding:16px 18px;
}
body.scope-staff .recent-issue-list .meta-row,
body.scope-manager .recent-issue-list .meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
body.scope-staff .recent-issue-list .meta-row > span,
body.scope-manager .recent-issue-list .meta-row > span{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #dbe4ef;
  color:#5b6b83;
  font-weight:600;
}
body.scope-staff .recent-issue-list .archive-head,
body.scope-manager .recent-issue-list .archive-head{
  margin-bottom:10px;
  padding-bottom:10px;
}
@media (max-width: 720px){
  body.scope-manager .manager-month-selects{
    grid-template-columns:1fr;
  }
}


/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
.core-section-rail,
.tone-chip,
.core-card-summary{display:none !important;}

.card[data-tone],
.archive-card[data-tone],
.soft-panel[data-tone],
.compact-summary[data-tone],
.compact-event[data-tone],
.table-wrap[data-tone],
.token-modal[data-tone]{
  box-shadow:0 18px 38px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.94) !important;
}

.card[data-tone]::before,
.archive-card[data-tone]::before,
.soft-panel[data-tone]::before,
.compact-summary[data-tone]::before,
.compact-event[data-tone]::before,
.table-wrap[data-tone]::before,
.token-modal[data-tone]::before,
.archive-card::before{
  display:none !important;
  background:none !important;
}

.manager-filters-stable{
  display:grid;
  grid-template-columns:minmax(220px, 280px) minmax(260px, 1fr) minmax(200px, 240px) auto;
  gap:18px;
  align-items:end;
}
.manager-filters-stable .form-row{min-width:0;}
.manager-month-native{
  display:grid;
  grid-template-columns:120px 140px;
  gap:14px;
}
.manager-month-native > div{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.manager-month-native label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  color:#7b8797;
}
.manager-month-native input[type=number]{
  min-height:54px;
  border-radius:20px;
  padding:14px 18px;
}
.manager-period-pills{flex-wrap:wrap;}
.manager-period-pill{min-width:0;}
body.scope-manager select,
body.scope-manager input[type=date],
body.scope-manager input[type=number]{
  min-height:54px;
  border-radius:20px;
  padding:14px 18px;
  box-shadow:none;
}
.manager-stock-breakdown{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.stock-grid-breakdown{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  align-items:start;
}
.stock-grid-breakdown .stock-chip{
  min-height:104px;
  padding:18px 18px 14px;
  align-items:flex-start;
}
.stock-grid-breakdown .stock-chip strong{
  margin-top:10px;
  font-size:22px;
}
.defect-photo-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(180px, 220px));
  gap:14px;
  align-items:start;
}
.defect-photo-tile{width:100%;max-width:220px;}
.defect-photo-tile img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;}
.event-summary{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
.event-summary .event-item{min-width:0;}
.event-summary .event-item span{max-width:none;}
@media (max-width:1100px){
  .manager-filters-stable{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
  .manager-filters-stable,
  .manager-month-native,
  .manager-stock-breakdown,
  .stock-grid-breakdown{grid-template-columns:1fr;}
}


.core-section-rail,
.tone-chip,
.core-card-summary{display:none !important;}
.card[data-tone]::before,
.archive-card[data-tone]::before,
.soft-panel[data-tone]::before,
.compact-summary[data-tone]::before,
.compact-event[data-tone]::before,
.table-wrap[data-tone]::before,
.token-modal[data-tone]::before,
.archive-card::before,
.issue-card::before,
.event-item::before,
.soft-panel::before{
  display:none !important;
  content:none !important;
}
.archive-card,
.issue-card,
.soft-panel,
.compact-summary,
.compact-event,
.event-item{
  border-left:none !important;
  background-image:none !important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-filters-stable{
  display:grid;
  grid-template-columns:minmax(260px,320px) minmax(260px,1fr) minmax(160px,200px) auto;
  gap:18px;
  align-items:end;
}
body.scope-manager .manager-filters-stable.is-schedule{
  grid-template-columns:minmax(260px,320px) auto;
}
body.scope-manager .manager-filters-stable.has-day{
  grid-template-columns:minmax(240px,300px) minmax(260px,1fr) minmax(120px,150px) minmax(200px,260px) auto;
}
body.scope-manager .manager-month-native{
  display:grid;
  grid-template-columns:140px 140px;
  gap:14px;
}
body.scope-manager .manager-month-native > div{
  display:flex;
  flex-direction:column;
  gap:8px;
}
body.scope-manager .manager-month-native label,
body.scope-manager .manager-day-row label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  color:#7b8797;
}
body.scope-manager .manager-month-native input[type=number],
body.scope-manager .manager-day-row input[type=number],
body.scope-manager .compact-summary select,
body.scope-manager .compact-summary .core-select-trigger{
  min-height:54px;
  border-radius:20px;
  padding:14px 18px;
}
body.scope-manager .compact-summary .core-select-trigger{
  width:100%;
}
body.scope-manager .manager-day-row input[type=number]{
  width:100%;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-period-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
body.scope-manager .manager-stock-breakdown{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:start;
}
body.scope-manager .manager-overview-grid.manager-stock-breakdown .stock-grid-breakdown,
body.scope-manager .stock-grid-breakdown,
body.scope-manager .stock-grid.small{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:14px;
  align-items:start;
}
body.scope-manager .stock-grid-breakdown .stock-chip,
body.scope-manager .stock-grid.small .stock-chip{
  min-height:92px;
  padding:16px 16px 12px;
  align-items:flex-start;
}
body.scope-manager .stock-grid-breakdown .stock-chip strong,
body.scope-manager .stock-grid.small .stock-chip strong{
  margin-top:8px;
  font-size:20px;
}
body.scope-manager .defect-photo-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(180px, 220px));
  gap:14px;
  align-items:start;
  justify-content:flex-start;
}
body.scope-manager .defect-photo-tile,
body.scope-staff .defect-photo-tile,
body.scope-cabinet .defect-photo-tile{
  width:100%;
  max-width:220px;
}
body.scope-manager .defect-photo-tile img,
body.scope-staff .defect-photo-tile img,
body.scope-cabinet .defect-photo-tile img{
  width:100%;
  aspect-ratio:4 / 3;
  height:auto;
  max-height:220px;
  object-fit:cover;
}
body.scope-manager .event-summary{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:12px;
}
body.scope-manager .event-summary .event-item span{
  max-width:none;
}
@media (max-width: 1180px){
  body.scope-manager .manager-filters-stable.has-day,
  body.scope-manager .manager-filters-stable{
    grid-template-columns:1fr 1fr;
  }
  body.scope-manager .manager-filters-stable.is-schedule{
    grid-template-columns:1fr auto;
  }
}
@media (max-width: 760px){
  body.scope-manager .manager-filters-stable,
  body.scope-manager .manager-filters-stable.has-day,
  body.scope-manager .manager-filters-stable.is-schedule,
  body.scope-manager .manager-month-native,
  body.scope-manager .manager-stock-breakdown,
  body.scope-manager .stock-grid-breakdown,
  body.scope-manager .stock-grid.small{
    grid-template-columns:1fr;
  }
}


body.scope-manager .manager-filters-stable{
  display:grid;
  grid-template-columns:minmax(260px,320px) minmax(260px,1fr) auto;
  gap:18px;
  align-items:end;
}
body.scope-manager .manager-filters-stable.is-schedule,
body.scope-manager .manager-filters-stable.has-day{
  grid-template-columns:minmax(260px,320px) minmax(220px,1fr) minmax(180px,220px) auto;
}
body.scope-manager .manager-month-row,
body.scope-manager .manager-day-row{
  min-width:0;
}
body.scope-manager .manager-month-row .core-month,
body.scope-manager .manager-day-row .core-select,
body.scope-manager .compact-summary .core-select,
body.scope-manager .compact-summary .core-month{
  width:100%;
}
body.scope-manager .manager-month-row .core-select-trigger,
body.scope-manager .manager-month-row .core-month-trigger,
body.scope-manager .manager-day-row .core-select-trigger,
body.scope-manager .compact-summary .core-select-trigger,
body.scope-manager .compact-summary .core-month-trigger{
  min-height:54px;
  border-radius:20px;
}
body.scope-manager .manager-month-row .core-month-menu{
  min-width:min(340px, calc(100vw - 24px));
  width:min(340px, calc(100vw - 24px));
}
body.scope-manager .manager-day-row .core-select-menu,
body.scope-manager .compact-summary .core-select-menu{
  min-width:min(280px, calc(100vw - 24px));
}
body.scope-manager .manager-materials-stock-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
body.scope-manager .manager-materials-stock-grid .stock-grid.small,
body.scope-manager .manager-materials-stock-grid .stock-grid-breakdown{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(160px, 180px));
  justify-content:start;
  gap:12px;
}
body.scope-manager .manager-materials-stock-grid .stock-chip{
  min-height:92px;
  padding:16px 16px 14px;
}
body.scope-manager .manager-materials-stock-grid .stock-chip strong{
  font-size:20px;
  margin-top:8px;
}
body.scope-manager .manager-materials-table-grid{
  grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr);
}
body.scope-manager .manager-materials-table-grid > .card,
body.scope-manager .manager-materials-table-grid .table-wrap,
body.scope-manager .manager-materials-table-grid table{
  min-width:0;
}
body.scope-manager .manager-materials-table-grid .table-wrap{
  overflow:auto;
}
@media (max-width:1180px){
  body.scope-manager .manager-filters-stable,
  body.scope-manager .manager-filters-stable.is-schedule,
  body.scope-manager .manager-filters-stable.has-day{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:760px){
  body.scope-manager .manager-filters-stable,
  body.scope-manager .manager-filters-stable.is-schedule,
  body.scope-manager .manager-filters-stable.has-day,
  body.scope-manager .manager-materials-stock-grid,
  body.scope-manager .manager-materials-table-grid{
    grid-template-columns:1fr;
  }
  body.scope-manager .manager-materials-stock-grid .stock-grid.small,
  body.scope-manager .manager-materials-stock-grid .stock-grid-breakdown{
    grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
  }
}


body.scope-manager .manager-topbar,
body.scope-manager .staff-toolbar,
body.scope-manager .compact-toolbar,
body.scope-manager .filters-card,
body.scope-manager .toolbar,
body.scope-manager .page-top,
body.scope-staff .manager-topbar,
body.scope-staff .staff-toolbar,
body.scope-staff .compact-toolbar,
body.scope-staff .filters-card,
body.scope-staff .toolbar,
body.scope-staff .page-top,
body.scope-cabinet .manager-topbar,
body.scope-cabinet .staff-toolbar,
body.scope-cabinet .compact-toolbar,
body.scope-cabinet .filters-card,
body.scope-cabinet .toolbar,
body.scope-cabinet .page-top{
  position:static !important;
  top:auto !important;
  z-index:auto !important;
  backdrop-filter:none !important;
}
body.scope-manager .compact-summary,
body.scope-staff .compact-summary,
body.scope-cabinet .compact-summary{
  position:relative !important;
  top:auto !important;
  z-index:1 !important;
}
body.scope-manager .manager-filters-stable,
body.scope-manager .manager-filters-stable.is-schedule,
body.scope-manager .manager-filters-stable.has-day{
  align-items:end;
  overflow:visible;
}
body.scope-manager .manager-month-row,
body.scope-manager .manager-day-row,
body.scope-manager .manager-filters-stable .form-row{
  min-width:0;
}
body.scope-manager .manager-month-row{
  max-width:320px;
}
body.scope-manager .manager-month-row .core-month,
body.scope-manager .manager-month-row .core-month-trigger,
body.scope-manager .manager-month-row .core-select-trigger{
  width:100%;
}
/* Частично старое оформление: ниже переопределяются `border-radius`, `padding`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .manager-month-row .core-month-trigger{
  min-height:56px;
  border-radius:24px;
  padding:0 18px;
  font-weight:700;
}
body.scope-manager .manager-month-row .core-month-menu{
  min-width:320px;
  width:320px;
  max-width:calc(100vw - 24px);
}
body.scope-manager .manager-day-row .core-select-menu,
body.scope-manager .compact-summary .core-select-menu{
  min-width:260px;
  max-width:calc(100vw - 24px);
}
body.scope-manager .manager-filter-hint{
  padding-right:8px;
}
body.scope-manager .manager-period-pills{
  align-self:center;
}
body.scope-manager .manager-materials-stock-grid,
body.scope-manager .manager-materials-table-grid{
  align-items:start;
}
body.scope-manager .manager-materials-table-grid > .card,
body.scope-manager .manager-materials-table-grid > .table-wrap{
  min-width:0;
}
body.scope-manager .manager-materials-table-grid .table-wrap{
  overflow:auto;
}
@media (max-width: 1180px){
  body.scope-manager .manager-filters-stable,
  body.scope-manager .manager-filters-stable.is-schedule,
  body.scope-manager .manager-filters-stable.has-day{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 760px){
  body.scope-manager .manager-filters-stable,
  body.scope-manager .manager-filters-stable.is-schedule,
  body.scope-manager .manager-filters-stable.has-day{
    grid-template-columns:1fr;
  }
  body.scope-manager .manager-month-row{
    max-width:none;
  }
}


body.scope-manager .manager-materials-stock-grid,
body.scope-manager .manager-materials-table-grid{
  align-items:start;
}
body.scope-manager .manager-materials-stock-grid > .card{
  height:auto;
}
body.scope-manager .manager-materials-stock-grid .stock-grid.small,
body.scope-manager .manager-materials-stock-grid .stock-grid-breakdown{
  grid-template-columns:repeat(auto-fit, minmax(132px, 152px)) !important;
  justify-content:start;
  gap:14px;
}
body.scope-manager .manager-materials-stock-grid .stock-chip{
  max-width:152px;
  min-height:110px;
}
body.scope-manager .manager-materials-table-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
body.scope-manager .manager-materials-table-grid .table-wrap{
  overflow:auto;
}
body.scope-staff .page-top.compact-page-top,
body.scope-staff .page-top.compact-page-top .hero-badge,
body.scope-staff .page-top.compact-page-top .page-title,
body.scope-staff .page-top.compact-page-top .page-subtitle{
  margin-right:0;
}
body.scope-staff .compact-toolbar-staff{
  grid-template-columns:minmax(0, 280px) auto min-content;
  align-items:end;
}
body.scope-staff .compact-toolbar-staff.archive-toolbar{
  grid-template-columns:minmax(0, 240px) min-content;
}
body.scope-staff .staff-month-input{
  width:100%;
}
body.scope-staff .staff-month-input,
body.scope-manager .manager-month-input{
  min-height:56px;
  border-radius:24px;
  font-weight:700;
}
body.scope-manager input[type=text].core-date-text,
body.scope-manager .form input[name="effective_from"],
body.scope-manager .form input[name="effect_date"]{
  min-height:54px;
}
@media (max-width:900px){
  body.scope-staff .compact-toolbar-staff,
  body.scope-staff .compact-toolbar-staff.archive-toolbar{
    grid-template-columns:1fr;
  }
}


body.scope-cabinet .auto-submit-row,
body.scope-staff .auto-submit-row{
  align-items:end;
}
body.scope-cabinet .ui-date-input,
body.scope-staff .ui-date-input{
  min-width:180px;
}
body.scope-cabinet .compact-event,
body.scope-staff .compact-event{
  min-width:0;
}
body.scope-cabinet .table td .compact-event,
body.scope-cabinet .table td .compact-summary,
body.scope-staff .table td .compact-event,
body.scope-staff .table td .compact-summary{
  max-width:100%;
}
body.scope-cabinet .two-col > .card,
body.scope-staff .two-col > .card{
  min-width:0;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:end;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff .segment-switch{
  margin-left:0;
}


body.scope-cabinet .two-col,
body.scope-manager .two-col,
body.scope-staff .two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
body.scope-cabinet .two-col > .card,
body.scope-manager .two-col > .card,
body.scope-staff .two-col > .card{min-width:0;min-height:0}
body.scope-cabinet .table-wrap,
body.scope-manager .table-wrap,
body.scope-staff .table-wrap{overflow:auto}
body.scope-cabinet .table,
body.scope-manager .table,
body.scope-staff .table{width:100%;table-layout:fixed}
body.scope-cabinet .table th,
body.scope-cabinet .table td,
body.scope-manager .table th,
body.scope-manager .table td,
body.scope-staff .table th,
body.scope-staff .table td{overflow-wrap:anywhere;word-break:break-word}
body.scope-cabinet .cabinet-archive-list,
body.scope-manager .cabinet-archive-list,
body.scope-staff .cabinet-archive-list{display:grid;gap:12px}
body.scope-cabinet .archive-card.archive-card-compact,
body.scope-manager .archive-card.archive-card-compact,
body.scope-staff .archive-card.archive-card-compact{padding:14px 16px;border-radius:20px}
body.scope-cabinet .archive-card.archive-card-compact .compact-event,
body.scope-manager .archive-card.archive-card-compact .compact-event,
body.scope-staff .archive-card.archive-card-compact .compact-event{padding:0;margin-top:8px}
body.scope-cabinet .stock-grid.small,
body.scope-manager .stock-grid.small{grid-template-columns:repeat(auto-fit,minmax(150px,180px));justify-content:flex-start}
/* Частично старое оформление: ниже переопределяются `border-radius`, `padding`. Остальные свойства этого правила остаются рабочими. */
body.scope-cabinet .stock-chip,
body.scope-manager .stock-chip{min-height:86px;padding:18px 20px;border-radius:26px;align-content:space-between}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-cabinet .stock-chip strong,
body.scope-manager .stock-chip strong{font-size:24px}
body.scope-manager .manager-overview-grid.manager-stock-breakdown > .card,
body.scope-cabinet .manager-overview-grid.manager-stock-breakdown > .card{min-height:0}
body.scope-cabinet .compact-toolbar,
body.scope-staff .compact-toolbar{align-items:end}
body.scope-cabinet .ui-date-input,
body.scope-staff .ui-date-input,
body.scope-manager .ui-date-input{display:none}
.core-date-menu{padding:16px;min-width:320px}
.core-date-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:4px 0 10px}
.core-date-weekdays span{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7f8da9;text-align:center}
.core-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.core-date-pad{display:block;height:40px}
.core-date-cell{height:40px;border-radius:14px;border:1px solid rgba(199,208,231,.9);background:#f7f9fc;color:#2d3950;font-weight:700;cursor:pointer;transition:.18s ease}
.core-date-cell:hover{border-color:#7b87ff;box-shadow:0 10px 24px rgba(71,88,190,.12)}
.core-date-cell.is-selected{background:linear-gradient(135deg,#6672ff,#5062eb);color:#fff;border-color:transparent;box-shadow:0 16px 32px rgba(72,91,214,.24)}
.core-date-cell.is-current:not(.is-selected){border-color:#96a4ff;color:#4f63ea}
.core-date-cell.is-disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
body.scope-cabinet .page-tabs .tab-link,body.scope-staff .page-tabs .tab-link{white-space:nowrap}


body.scope-manager .filters[data-auto-submit="1"] .manager-month-input,
body.scope-staff .staff-toolbar[data-auto-submit="1"] .manager-month-input{
  min-width: 220px;
}

body.scope-manager .stock-grid.small,
body.scope-cabinet .stock-grid.small{
  grid-template-columns: repeat(auto-fit, minmax(120px, 150px)) !important;
  gap: 12px !important;
  justify-content: flex-start !important;
}
body.scope-manager .stock-chip,
body.scope-cabinet .stock-chip{
  min-height: 72px !important;
  padding: 14px 16px !important;
  border-radius: 20px !important;
}
body.scope-manager .stock-chip strong,
body.scope-cabinet .stock-chip strong{
  font-size: 20px !important;
}
body.scope-cabinet .three-col{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.scope-cabinet .analytics-archive-list,
body.scope-cabinet .cabinet-archive-list{
  display: grid;
  gap: 12px;
}
body.scope-cabinet .archive-card.analytics-card,
body.scope-cabinet .archive-card.archive-card-compact{
  padding: 14px 16px !important;
  border-radius: 18px !important;
  min-height: 0 !important;
}
body.scope-cabinet .archive-card .archive-head{
  margin-bottom: 4px;
}
body.scope-cabinet .archive-card .compact-event,
body.scope-staff .archive-card .compact-event,
body.scope-manager .archive-card .compact-event{
  padding: 0 !important;
  gap: 8px !important;
}
body.scope-cabinet .archive-card .compact-event-title,
body.scope-staff .archive-card .compact-event-title,
body.scope-manager .archive-card .compact-event-title{
  font-size: 16px !important;
  line-height: 1.3 !important;
}
body.scope-cabinet .archive-card .compact-event-meta,
body.scope-staff .archive-card .compact-event-meta,
body.scope-manager .archive-card .compact-event-meta{
  font-size: 13px !important;
}
body.scope-cabinet .archive-card .mini-chip,
body.scope-staff .archive-card .mini-chip,
body.scope-manager .archive-card .mini-chip{
  padding: 6px 10px !important;
  border-radius: 999px !important;
}

body.scope-cabinet .card .form-row input[type="text"],
body.scope-cabinet .card .form-row input[type="number"],
body.scope-cabinet .card .form-row input[type="url"],
body.scope-cabinet .card .form-row input[type="search"],
body.scope-cabinet .card .form-row input[type="password"],
body.scope-cabinet .card .form-row textarea,
body.scope-cabinet .card .form-row select{
  min-height: 56px;
}
body.scope-cabinet .table-wrap table td,
body.scope-cabinet .table-wrap table th{
  vertical-align: top;
}

body.scope-staff .employee-mobile-grid{
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
  gap: 16px !important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-staff .employee-schedule-card{
  padding: 16px !important;
  border-radius: 22px !important;
}
body.scope-staff .team-grid-mobile{
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-staff .day-chip{
  min-height: 116px !important;
  border-radius: 22px !important;
  padding: 12px 10px !important;
  align-content: start !important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-staff .day-chip strong{
  font-size: 16px !important;
  line-height: 1.25 !important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-staff .day-chip .mini-fact{
  font-size: 12px !important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-staff .employee-card-head .btn.small{
  min-height: 40px;
  padding: 0 14px;
}

@media (max-width: 1100px){
  body.scope-cabinet .three-col{ grid-template-columns: 1fr; }
  body.scope-staff .employee-mobile-grid{ grid-template-columns: 1fr !important; }
}


body.scope-cabinet .cabinet-overview-grid{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);align-items:start;gap:18px}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-cabinet .compact-stack{display:grid;gap:18px;align-content:start}
body.scope-cabinet .cabinet-overview-grid .card{height:auto;min-height:0}
body.scope-cabinet .cabinet-devices-card .table-wrap,
body.scope-cabinet .cabinet-db-card .upload-box{height:auto}
body.scope-cabinet .devices-table{table-layout:auto !important}
body.scope-cabinet .devices-table th,
body.scope-cabinet .devices-table td{white-space:nowrap;overflow:visible;word-break:normal}
body.scope-cabinet .kv-list > div{padding:14px 16px;gap:12px}
body.scope-cabinet .compact-event-top,
body.scope-manager .compact-event-top,
body.scope-staff .compact-event-top{justify-content:flex-start !important;flex-wrap:wrap;align-items:center}
body.scope-cabinet .compact-event{padding:12px 14px !important;border-radius:16px !important}
body.scope-cabinet .compact-event-title{font-size:15px !important;line-height:1.35 !important;margin-top:2px}
body.scope-cabinet .compact-event-meta{display:flex;flex-wrap:wrap;gap:8px;color:#7a869f;font-size:13px;margin-top:6px}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-cabinet .archive-card.archive-card-compact{padding:14px 16px !important}
body.scope-cabinet .archive-card.archive-card-compact .archive-head{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #edf1f6}
body.scope-cabinet .archive-list.cabinet-archive-list{gap:10px}
body.scope-cabinet .stock-grid.small,
body.scope-manager .stock-grid.small{grid-template-columns:repeat(auto-fit,minmax(118px,152px)) !important;gap:10px !important}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-cabinet .stock-chip,
body.scope-manager .stock-chip{min-height:72px !important;padding:14px 14px !important;border-radius:18px !important}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-cabinet .stock-chip strong,
body.scope-manager .stock-chip strong{font-size:18px !important}
body.scope-manager .manager-rates-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);align-items:start}
body.scope-manager .manager-rates-table-card .table-wrap{overflow:auto}
body.scope-manager .manager-rates-table-card .table{table-layout:auto !important}
body.scope-manager .manager-rates-table-card .table th,
body.scope-manager .manager-rates-table-card .table td{white-space:nowrap;overflow:visible;word-break:normal}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-staff .day-chip{min-height:86px !important;border-radius:18px !important;padding:10px 10px !important}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-staff .day-chip strong{font-size:14px !important;line-height:1.2 !important}
body.scope-staff .mini-fact{font-size:11px !important}
body.scope-staff .team-grid-mobile{gap:8px !important}
@media (max-width: 1100px){
  body.scope-cabinet .cabinet-overview-grid,
  body.scope-manager .manager-rates-grid{grid-template-columns:1fr}
  body.scope-cabinet .devices-table th,
  body.scope-cabinet .devices-table td,
  body.scope-manager .manager-rates-table-card .table th,
  body.scope-manager .manager-rates-table-card .table td{white-space:normal}
}


body.scope-cabinet .cabinet-overview-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  align-items:start !important;
  gap:18px !important;
}
body.scope-cabinet .compact-stack{display:grid;gap:18px;align-content:start;min-width:0}
body.scope-cabinet .cabinet-overview-grid > .stack-gap,
body.scope-cabinet .cabinet-overview-grid > .compact-stack,
body.scope-cabinet .cabinet-overview-grid > .card{min-width:0}
body.scope-cabinet .cabinet-overview-grid .card{height:auto !important;min-height:0 !important}
body.scope-cabinet .cabinet-devices-card .table-wrap{overflow:auto !important;max-width:100% !important}
body.scope-cabinet .cabinet-devices-card .table-wrap .table{width:100%;table-layout:fixed !important;min-width:640px}
body.scope-cabinet .devices-table th,
body.scope-cabinet .devices-table td{white-space:normal !important;word-break:break-word !important;vertical-align:middle}
body.scope-cabinet .devices-table th:nth-child(1),
body.scope-cabinet .devices-table td:nth-child(1){width:34%}
body.scope-cabinet .devices-table th:nth-child(2),
body.scope-cabinet .devices-table td:nth-child(2){width:26%}
body.scope-cabinet .devices-table th:nth-child(3),
body.scope-cabinet .devices-table td:nth-child(3){width:16%}
body.scope-cabinet .devices-table th:nth-child(4),
body.scope-cabinet .devices-table td:nth-child(4){width:24%}
body.scope-cabinet .cabinet-db-card .upload-box{
  display:grid !important;
  gap:14px !important;
  align-content:start !important;
  min-height:0 !important;
}
body.scope-cabinet .cabinet-db-card .upload-box .form,
body.scope-cabinet .cabinet-db-card .upload-box .form-row,
body.scope-cabinet .cabinet-db-card .upload-box .sticky-actions{min-width:0}
body.scope-cabinet .cabinet-db-card input[type="file"]{max-width:100%}
body.scope-cabinet .cabinet-db-card .sticky-actions{justify-content:flex-start !important}
body.scope-cabinet .cabinet-db-card .btn.primary{min-width:0 !important}
body.scope-cabinet .kv-list > div{grid-template-columns:140px minmax(0,1fr) !important;align-items:center}
body.scope-cabinet .kv-list code{display:block;max-width:100%;overflow:auto;white-space:nowrap}
body.scope-cabinet .archive-list.cabinet-archive-list{display:grid;grid-template-columns:1fr;gap:12px}
body.scope-cabinet .archive-card.archive-card-compact{padding:12px 14px !important;border-radius:18px !important}
body.scope-cabinet .archive-card.archive-card-compact .archive-head{padding-bottom:8px !important;margin-bottom:8px !important}
body.scope-cabinet .archive-card.archive-card-compact .compact-event{padding:0 !important;margin-top:4px !important}
body.scope-cabinet .archive-card.archive-card-compact .compact-event-title{font-size:16px !important;line-height:1.3 !important}
body.scope-cabinet .archive-card.archive-card-compact .compact-event-meta{font-size:12px !important;gap:6px !important}
body.scope-cabinet .stock-grid.small,
body.scope-manager .stock-grid.small{grid-template-columns:repeat(auto-fit,minmax(112px,132px)) !important;justify-content:flex-start !important;gap:10px !important}
body.scope-cabinet .stock-chip,
body.scope-manager .stock-chip{min-height:64px !important;padding:12px 12px !important;border-radius:16px !important}
body.scope-cabinet .stock-chip strong,
body.scope-manager .stock-chip strong{font-size:18px !important}
body.scope-staff .employee-mobile-grid{
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr)) !important;
  gap:14px !important;
}
body.scope-staff .employee-schedule-card{
  padding:14px !important;
  border-radius:20px !important;
}
body.scope-staff .employee-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
body.scope-staff .employee-card-head .btn.small{min-height:36px !important;padding:0 12px !important}
body.scope-staff .team-grid-mobile{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:8px !important;
}
body.scope-staff .day-chip{
  min-height:88px !important;
  border-radius:16px !important;
  padding:10px 8px !important;
  align-content:start !important;
  box-shadow:none !important;
}
body.scope-staff .day-chip > span{font-size:12px !important;font-weight:700;color:#94a3b8}
body.scope-staff .day-chip strong{font-size:13px !important;line-height:1.25 !important}
body.scope-staff .day-chip .mini-fact{font-size:11px !important;line-height:1.3 !important}
body.scope-staff .employee-stats-row{margin-top:10px !important;gap:8px !important}
body.scope-staff .mini-stat{padding:8px 10px !important;border-radius:14px !important}
@media (max-width: 1200px){
  body.scope-cabinet .cabinet-overview-grid{grid-template-columns:1fr !important}
}


body.scope-staff .page-tabs .tab-link[href*="/brak"],
body.scope-staff .page-tabs .tab-link[href*="/bugs"]{
  display:inline-flex !important;
}


body.scope-cabinet .sticky-actions,
body.scope-staff .sticky-actions,
body.scope-manager .sticky-actions{
  position:static !important;
  bottom:auto !important;
  left:auto !important;
  right:auto !important;
  padding-top:12px !important;
  margin-top:12px !important;
  background:none !important;
  box-shadow:none !important;
}


body.scope-cabinet .two-col{
  align-items:start !important;
}
body.scope-cabinet .two-col > .stack-gap,
body.scope-cabinet .two-col > .card{
  align-self:start !important;
  min-width:0 !important;
}
body.scope-cabinet .stack-gap{
  align-content:start !important;
}
body.scope-cabinet .stack-gap > .card,
body.scope-cabinet .two-col > .card{
  height:auto !important;
  min-height:0 !important;
}


body.scope-cabinet .table-wrap{
  overflow:auto !important;
  max-width:100% !important;
}
body.scope-cabinet .table{
  width:max-content;
  min-width:100%;
  table-layout:auto !important;
}
body.scope-cabinet .table th,
body.scope-cabinet .table td{
  white-space:nowrap;
  word-break:normal !important;
  overflow-wrap:normal !important;
  vertical-align:middle;
}
body.scope-cabinet .table td:first-child,
body.scope-cabinet .table th:first-child{
  max-width:260px;
  white-space:normal;
  word-break:break-word !important;
}
body.scope-cabinet .table td:last-child,
body.scope-cabinet .table th:last-child{
  width:1%;
  white-space:nowrap;
}


body.scope-cabinet .stock-grid.small{
  grid-template-columns:repeat(auto-fit,minmax(118px,148px)) !important;
  justify-content:start !important;
  gap:10px !important;
}
body.scope-cabinet .stock-chip{
  min-height:72px !important;
  padding:12px 14px !important;
  border-radius:18px !important;
}
body.scope-cabinet .stock-chip strong{
  font-size:18px !important;
  margin-top:6px !important;
}


@media (max-width: 760px){
  body.scope-staff .tabs.mobile-tabs{
    display:flex !important;
    overflow:auto !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    padding-bottom:6px !important;
  }
  body.scope-staff .tabs.mobile-tabs .tab-link{
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }
  body.scope-staff .segment-switch,
  body.scope-staff .toolbar-segment-switch{
    position:static !important;
    top:auto !important;
    z-index:auto !important;
    padding:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
}


@media (max-width: 900px){
  body.scope-staff .two-col,
  body.scope-staff .two-col-grid,
  body.scope-staff .three-col-grid{
    grid-template-columns:1fr !important;
  }
  body.scope-staff .two-col > .card,
  body.scope-staff .two-col > .stack-gap{
    min-width:0 !important;
  }
  body.scope-staff .recent-issue-list .archive-card,
  body.scope-staff .archive-card.issue-card,
  body.scope-staff .archive-card.defect-card-compact{
    padding:14px !important;
  }
  body.scope-staff .archive-head,
  body.scope-staff .meta-row,
  body.scope-staff .compact-event-top{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:flex-start;
  }
  body.scope-staff .meta-row > span,
  body.scope-staff .mini-chip,
  body.scope-staff .status-chip{
    max-width:100%;
    white-space:normal !important;
    word-break:break-word !important;
  }
  body.scope-staff .soft-panel,
  body.scope-staff .muted,
  body.scope-staff textarea,
  body.scope-staff input,
  body.scope-staff select{
    min-width:0;
  }
  body.scope-staff .chips-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
}


body.scope-cabinet .two-col,
body.scope-staff .two-col{
  align-items:start !important;
}

body.scope-cabinet .two-col > .card,
body.scope-cabinet .two-col > .stack-gap,
body.scope-staff .two-col > .card,
body.scope-staff .two-col > .stack-gap{
  min-height:0 !important;
  min-width:0 !important;
}

body.scope-cabinet .archive-kv-grid,
body.scope-staff .archive-kv-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:12px;
  margin-top:12px;
}

body.scope-cabinet .archive-kv-grid > div,
body.scope-staff .archive-kv-grid > div{
  background:#f8fbff;
  border:1px solid #dbe4ef;
  border-radius:16px;
  padding:14px 16px;
  min-width:0;
}

body.scope-cabinet .archive-kv-grid > div > span,
body.scope-staff .archive-kv-grid > div > span{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#7b8797;
}

body.scope-cabinet .archive-kv-grid > div > strong,
body.scope-staff .archive-kv-grid > div > strong{
  display:block;
  margin-top:8px;
  font-size:15px;
  line-height:1.35;
  color:#0f172a;
  word-break:break-word;
}

body.scope-cabinet .archive-list .archive-card,
body.scope-staff .archive-list .archive-card{
  padding:18px 20px !important;
  border-radius:20px !important;
}

body.scope-cabinet .archive-list .archive-head,
body.scope-staff .archive-list .archive-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-bottom:10px;
  margin-bottom:10px;
  border-bottom:1px solid #ebf1f7;
}

body.scope-cabinet .archive-list .compact-event,
body.scope-staff .archive-list .compact-event{
  padding:0 !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}

body.scope-cabinet .archive-list .compact-event-top,
body.scope-staff .archive-list .compact-event-top{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:10px;
}

body.scope-cabinet .archive-list .compact-event-title,
body.scope-staff .archive-list .compact-event-title{
  font-size:16px;
  line-height:1.3;
  font-weight:800;
  color:#0f172a;
}

body.scope-cabinet .archive-list .compact-event-meta,
body.scope-staff .archive-list .compact-event-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
  color:#64748b;
  font-size:13px;
}


body.scope-cabinet .scripts-cards-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
}

body.scope-cabinet .scripts-card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

body.scope-cabinet .scripts-card-grid > div{
  background:#f8fbff;
  border:1px solid #dbe4ef;
  border-radius:16px;
  padding:14px 16px;
  min-width:0;
}

body.scope-cabinet .scripts-card-grid > div > span{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#7b8797;
}

body.scope-cabinet .scripts-card-grid > div > strong{
  display:block;
  margin-top:8px;
  font-size:15px;
  line-height:1.35;
  color:#0f172a;
  word-break:break-word;
}

@media (max-width: 900px){
  body.scope-cabinet .scripts-card-grid,
  body.scope-cabinet .archive-kv-grid,
  body.scope-staff .archive-kv-grid{
    grid-template-columns:1fr;
  }
}


.system-banner{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:flex-start;
  gap:14px;
}
.system-banner-mark{display:none !important;}
.system-banner-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 48px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.announce-icon-svg{
  width:24px;
  height:24px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
}
.system-banner-tone-amber{border-color:#f0dfab;background:#fffaf0;color:#9a6700;}
.system-banner-tone-amber .system-banner-icon{background:#fff4d6;color:#9a6700;border-color:#f0dfab;}
.system-banner-tone-blue{border-color:#d6dcff;background:#f6f8ff;color:#4250d0;}
.system-banner-tone-blue .system-banner-icon{background:#eef2ff;color:#4956df;border-color:#d6dcff;}
.system-banner-tone-green{border-color:#c9edd6;background:#f4fcf6;color:#237443;}
.system-banner-tone-green .system-banner-icon{background:#e9f8ee;color:#237443;border-color:#c9edd6;}
.system-banner-tone-red{border-color:#f8d0cd;background:#fff5f4;color:#b42318;}
.system-banner-tone-red .system-banner-icon{background:#feeceb;color:#b42318;border-color:#f8d0cd;}
.system-banner-tone-violet{border-color:#ddd6fe;background:#f7f5ff;color:#6d28d9;}
.system-banner-tone-violet .system-banner-icon{background:#ede9fe;color:#6d28d9;border-color:#ddd6fe;}
.system-banner-tone-slate{border-color:#dbe3ef;background:#f8fbff;color:#475569;}
.system-banner-tone-slate .system-banner-icon{background:#eef2f7;color:#475569;border-color:#dbe3ef;}
.system-banner-tone-cyan{border-color:#bfe8f3;background:#f0fbff;color:#0e7490;}
.system-banner-tone-cyan .system-banner-icon{background:#e0f7ff;color:#0e7490;border-color:#bfe8f3;}
.system-banner-tone-pink{border-color:#f7cfe1;background:#fff4f8;color:#be185d;}
.system-banner-tone-pink .system-banner-icon{background:#ffe6f0;color:#be185d;border-color:#f7cfe1;}

.announce-picker-grid{display:grid;gap:16px;}
.announce-picker-group{display:grid;gap:10px;}
.announce-picker-title{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#7b8797;}
.announce-icon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;}
.announce-icon-tile,
.announce-tone-tile{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:56px;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid #dbe4ef;
  background:linear-gradient(180deg,#fff,#f8fbff);
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
  transition:.16s ease;
}
.announce-icon-tile:hover,
.announce-tone-tile:hover{transform:translateY(-1px);border-color:#c8d5ea;}
.announce-icon-tile input,
.announce-tone-tile input{position:absolute;opacity:0;pointer-events:none;}
.announce-icon-tile.active,
.announce-icon-tile:has(input:checked),
.announce-tone-tile.active,
.announce-tone-tile:has(input:checked){border-color:#8da0ff;box-shadow:0 0 0 4px rgba(88,101,242,.10), 0 12px 24px rgba(15,23,42,.08);}
.announce-icon-tile-ico,
.announce-mini-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:#eef2ff;color:#4956df;flex:0 0 34px;}
.announce-icon-tile-label{font-weight:700;color:#0f172a;line-height:1.25;}
.announce-tone-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;}
.announce-tone-swatch{width:18px;height:18px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55), 0 0 0 1px rgba(15,23,42,.08);}
.announce-tone-tile.tone-amber .announce-tone-swatch{background:#eab308;}
.announce-tone-tile.tone-blue .announce-tone-swatch{background:#5865f2;}
.announce-tone-tile.tone-green .announce-tone-swatch{background:#22c55e;}
.announce-tone-tile.tone-red .announce-tone-swatch{background:#ef4444;}
.announce-tone-tile.tone-violet .announce-tone-swatch{background:#8b5cf6;}
.announce-tone-tile.tone-slate .announce-tone-swatch{background:#64748b;}
.announce-tone-tile.tone-cyan .announce-tone-swatch{background:#06b6d4;}
.announce-tone-tile.tone-pink .announce-tone-swatch{background:#ec4899;}
.announce-preview{margin-top:16px;}
@media (max-width:760px){
  .announce-icon-grid,.announce-tone-grid{grid-template-columns:1fr 1fr;}
  .system-banner{grid-template-columns:1fr;}
}


body.scope-guest .privacy-section p,
body.scope-admin .privacy-section p,
body.scope-cabinet .privacy-section p,
body.scope-manager .privacy-section p,
body.scope-staff .privacy-section p{color:#55657d}
body.scope-guest .privacy-contact-box span,
body.scope-admin .privacy-contact-box span,
body.scope-cabinet .privacy-contact-box span,
body.scope-manager .privacy-contact-box span,
body.scope-staff .privacy-contact-box span{color:#64748b}
body.scope-guest .privacy-contact-box strong,
body.scope-admin .privacy-contact-box strong,
body.scope-cabinet .privacy-contact-box strong,
body.scope-manager .privacy-contact-box strong,
body.scope-staff .privacy-contact-box strong{color:#0f172a}


body.scope-guest .privacy-info-table>div,
body.scope-admin .privacy-info-table>div,
body.scope-cabinet .privacy-info-table>div,
body.scope-manager .privacy-info-table>div,
body.scope-staff .privacy-info-table>div{background:#f8fafc;border-color:#e1e8f0}
body.scope-guest .privacy-info-table span,
body.scope-admin .privacy-info-table span,
body.scope-cabinet .privacy-info-table span,
body.scope-manager .privacy-info-table span,
body.scope-staff .privacy-info-table span{color:#64748b}
body.scope-guest .privacy-info-table strong,
body.scope-admin .privacy-info-table strong,
body.scope-cabinet .privacy-info-table strong,
body.scope-manager .privacy-info-table strong,
body.scope-staff .privacy-info-table strong{color:#0f172a}
body.scope-guest .privacy-tag-list span,
body.scope-admin .privacy-tag-list span,
body.scope-cabinet .privacy-tag-list span,
body.scope-manager .privacy-tag-list span,
body.scope-staff .privacy-tag-list span{background:#f8fafc;border-color:#e1e8f0;color:#334155}


body.scope-guest .privacy-contact-box > div,
body.scope-admin .privacy-contact-box > div,
body.scope-cabinet .privacy-contact-box > div,
body.scope-manager .privacy-contact-box > div,
body.scope-staff .privacy-contact-box > div{
  background:#f8fafc;
  border:1px solid #e1e8f0;
}


body.scope-guest .privacy-info-label,
body.scope-admin .privacy-info-label,
body.scope-cabinet .privacy-info-label,
body.scope-manager .privacy-info-label,
body.scope-staff .privacy-info-label,
body.scope-guest .privacy-contact-label,
body.scope-admin .privacy-contact-label,
body.scope-cabinet .privacy-contact-label,
body.scope-manager .privacy-contact-label,
body.scope-staff .privacy-contact-label{
  color:#64748b;
}
body.scope-guest .privacy-info-value,
body.scope-admin .privacy-info-value,
body.scope-cabinet .privacy-info-value,
body.scope-manager .privacy-info-value,
body.scope-staff .privacy-info-value,
body.scope-guest .privacy-contact-value,
body.scope-admin .privacy-contact-value,
body.scope-cabinet .privacy-contact-value,
body.scope-manager .privacy-contact-value,
body.scope-staff .privacy-contact-value{
  color:#0f172a;
}
body.scope-guest .privacy-info-table > .privacy-info-row,
body.scope-admin .privacy-info-table > .privacy-info-row,
body.scope-cabinet .privacy-info-table > .privacy-info-row,
body.scope-manager .privacy-info-table > .privacy-info-row,
body.scope-staff .privacy-info-table > .privacy-info-row{
  background:#f8fafc;
  border-color:#e1e8f0;
}


.privacy-info-table{display:grid!important;gap:12px!important;margin-top:14px!important}
.privacy-info-row{display:grid!important;grid-template-columns:minmax(170px,240px) minmax(0,1fr)!important;gap:12px!important;align-items:start!important;padding:14px 16px!important;border-radius:18px!important;background:rgba(255,255,255,.03)!important;border:1px solid rgba(255,255,255,.06)!important}
.privacy-info-label{display:block!important;font-size:11px!important;line-height:1.35!important;text-transform:uppercase!important;letter-spacing:.1em!important;color:var(--muted-2)!important;font-weight:900!important;white-space:normal!important}
.privacy-info-value{display:block!important;font-size:14px!important;line-height:1.55!important;color:var(--text)!important;word-break:normal!important;overflow-wrap:anywhere!important;font-weight:700!important}
.privacy-contact-box{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:12px!important;margin-top:14px!important}
.privacy-contact-item{display:grid!important;gap:6px!important;padding:14px 16px!important;border-radius:18px!important;background:rgba(255,255,255,.03)!important;border:1px solid rgba(255,255,255,.06)!important;min-width:0!important}
.privacy-contact-label{display:block!important;font-size:11px!important;line-height:1.35!important;text-transform:uppercase!important;letter-spacing:.1em!important;color:var(--muted-2)!important;font-weight:900!important}
.privacy-contact-value{display:block!important;font-size:14px!important;line-height:1.55!important;color:var(--text)!important;overflow-wrap:anywhere!important}
body.scope-guest .privacy-info-row,body.scope-admin .privacy-info-row,body.scope-cabinet .privacy-info-row,body.scope-manager .privacy-info-row,body.scope-staff .privacy-info-row,
body.scope-guest .privacy-contact-item,body.scope-admin .privacy-contact-item,body.scope-cabinet .privacy-contact-item,body.scope-manager .privacy-contact-item,body.scope-staff .privacy-contact-item{background:#f8fafc!important;border-color:#e1e8f0!important;color:#0f172a!important}
body.scope-guest .privacy-info-label,body.scope-admin .privacy-info-label,body.scope-cabinet .privacy-info-label,body.scope-manager .privacy-info-label,body.scope-staff .privacy-info-label,
body.scope-guest .privacy-contact-label,body.scope-admin .privacy-contact-label,body.scope-cabinet .privacy-contact-label,body.scope-manager .privacy-contact-label,body.scope-staff .privacy-contact-label{color:#64748b!important}
body.scope-guest .privacy-info-value,body.scope-admin .privacy-info-value,body.scope-cabinet .privacy-info-value,body.scope-manager .privacy-info-value,body.scope-staff .privacy-info-value,
body.scope-guest .privacy-contact-value,body.scope-admin .privacy-contact-value,body.scope-cabinet .privacy-contact-value,body.scope-manager .privacy-contact-value,body.scope-staff .privacy-contact-value{color:#0f172a!important}
@media(max-width:760px){.privacy-info-row{grid-template-columns:1fr!important}.privacy-contact-box{grid-template-columns:1fr!important}}

.core-role-badge{
  --role-a:#5865f2;
  --role-b:#22c55e;
  --role-c:#38bdf8;
  display:inline-block;
  position:relative;
  isolation:auto;
  min-height:0!important;
  padding:0!important;
  border-radius:0!important;
  overflow:visible;
  background:linear-gradient(115deg,var(--role-a),var(--role-b),var(--role-c),var(--role-a));
  background-size:280% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent!important;
  -webkit-text-fill-color:transparent;
  font-size:12px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:.01em;
  text-shadow:none;
  border:0!important;
  box-shadow:none!important;
  filter:none;
  vertical-align:middle;
  white-space:nowrap;
}
.core-role-badge[style*="--role-glow-enabled:1"]{
  box-shadow:none!important;
  filter:drop-shadow(0 0 4px var(--role-b)) drop-shadow(0 0 12px var(--role-a));
}
.core-role-badge::after{
  display:none!important;
}
.core-role-effect-shine{animation:coreRoleGradient 3.6s linear infinite}
.core-role-effect-neon{animation:coreRoleGradient 3.2s linear infinite,coreRoleNeon 2.4s ease-in-out infinite}
.core-role-effect-pulse{animation:coreRoleGradient 4.2s linear infinite,coreRolePulse 2.2s ease-in-out infinite}
.core-role-effect-fire{animation:coreRoleGradient 2.4s linear infinite,coreRoleFire 1.8s ease-in-out infinite}
.core-role-effect-none{background-size:100% 100%}
.core-role-effect-none::after{display:none}
.profile-role-list{display:inline-flex;align-items:baseline;gap:5px;flex-wrap:wrap}
.profile-role-list .core-role-badge{font-size:12px}
.profile-role-separator{color:#64748b;font-weight:900;margin-right:5px}
.inline-form{display:inline-flex;margin:0}
.btn.disabled,.btn:disabled{opacity:.62;cursor:not-allowed;pointer-events:none}
.profile-frozen-banner{
  margin-top:16px;
  border:1px solid #fecaca;
  background:linear-gradient(135deg,#fff1f2,#fff7ed);
  color:#7f1d1d;
  border-radius:26px;
  padding:18px 20px;
  box-shadow:0 18px 38px rgba(239,68,68,.10);
  display:grid;
  gap:6px;
}
.profile-frozen-banner strong{font-size:20px;line-height:1.2;color:#991b1b}
.profile-frozen-banner span{color:#9f1239;font-weight:750;line-height:1.45}
.profile-friends-widget{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #e2e8f0;
  display:grid;
  gap:12px;
}
.profile-friends-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.profile-friends-head strong{font-size:18px;color:#1e293b}
.profile-friends-head span{font-weight:950;color:#64748b}
.profile-friends-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px 10px;
}
.profile-friend-thumb{
  min-width:0;
  display:grid;
  justify-items:center;
  gap:7px;
  color:#1e293b;
  text-decoration:none;
}
.profile-friend-thumb span{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#eef2ff,#e0f2fe);
  color:#4f46e5;
  font-weight:950;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
}
.profile-friend-thumb img{width:100%;height:100%;object-fit:cover}
.profile-friend-thumb strong{
  max-width:72px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  line-height:1.1;
}
@media(max-width:900px){
  .profile-friends-grid{grid-template-columns:repeat(4,minmax(58px,1fr));justify-content:start}
}
@media(max-width:560px){
  .profile-friends-grid{grid-template-columns:repeat(3,minmax(58px,1fr))}
}
@keyframes coreRoleGradient{0%{background-position:0% 50%}100%{background-position:280% 50%}}
@keyframes coreRoleNeon{0%,100%{filter:drop-shadow(0 0 4px var(--role-b)) saturate(1.05) brightness(1)}50%{filter:drop-shadow(0 0 8px var(--role-b)) drop-shadow(0 0 14px var(--role-a)) saturate(1.35) brightness(1.15)}}
@keyframes coreRolePulse{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-1px) scale(1.035)}}
@keyframes coreRoleFire{0%,100%{filter:drop-shadow(0 0 4px var(--role-b)) saturate(1.2) hue-rotate(0deg)}50%{filter:drop-shadow(0 0 8px var(--role-b)) drop-shadow(0 0 14px var(--role-a)) saturate(1.55) hue-rotate(-10deg)}}
@media(prefers-reduced-motion:reduce){
  .core-role-badge,.core-role-badge::after{animation:none!important}
}

.core-account-menu{position:relative;z-index:40000}
.core-account-menu[open]{z-index:50000}
.core-account-menu summary{list-style:none}
.core-account-menu summary::-webkit-details-marker{display:none}
.core-account-summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:0;border:0;border-radius:0;background:transparent;color:#172033;cursor:pointer;box-shadow:none}
.core-account-summary:hover{background:transparent;color:#4338ca}
.core-account-summary>svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;color:currentColor}
.core-account-avatar{width:36px;height:36px;border-radius:13px;background:#eef2ff;display:grid;place-items:center;overflow:hidden;flex:none}
.core-account-avatar.small{width:30px;height:30px;border-radius:10px}
.core-account-avatar.large{width:58px;height:58px;border-radius:20px}
.core-account-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.core-account-id{display:grid;min-width:0}
.core-account-id strong,.core-account-head strong,.core-account-switch strong{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.1}
.core-account-id small,.core-account-head small,.core-account-switch small{margin-top:2px;color:#64748b;font-size:11px;line-height:1}
.core-account-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(340px,calc(100vw - 28px));border:1px solid #dbe7f3;border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 24px 80px rgba(15,23,42,.18);overflow:visible;z-index:50001}
.core-account-head{display:grid;place-items:center;gap:6px;padding:12px 16px;border-bottom:1px solid #edf2f7;text-align:center}
.core-account-section{display:grid;gap:6px;padding:9px 12px;border-bottom:1px solid #edf2f7}
.core-account-section-title{font-size:11px;font-weight:950;letter-spacing:.05em;text-transform:uppercase;color:#64748b}
.core-account-links{display:grid;padding:6px 0}
.core-account-link{display:flex;align-items:center;gap:11px;padding:10px 16px;color:#1f2937;text-decoration:none;font-size:14px;font-weight:850}
.core-account-link:hover{background:#f1f5ff}
.core-account-link svg{width:20px;height:20px;color:#3182ce;stroke:currentColor;fill:none;stroke-width:2;flex:none}
.core-account-link.logout svg{color:#ef4444}
.core-account-link.add-account{border-radius:14px;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0}
.core-account-switch-form{margin:0}
.core-account-switch{width:100%;border:0;border-radius:13px;background:transparent;padding:9px 10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;color:#172033;cursor:pointer;font:inherit}
.core-account-switch:hover{background:#eef5ff}
.core-account-switch.active{background:#f8fafc;cursor:default}
.core-account-switch i{font-style:normal;color:#22c55e;font-size:11px;font-weight:900}
.core-tenant-switch{position:relative}
.core-tenant-switch summary{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #dbe7f3;border-radius:14px;background:#f8fafc;padding:10px 12px;color:#1e293b;font-weight:850;cursor:pointer}
.core-tenant-switch summary svg{width:18px;height:18px;color:#5865f2;stroke:currentColor;fill:none;stroke-width:2}
.core-tenant-options{display:grid;gap:4px;margin-top:7px;max-height:190px;overflow:auto;border:1px solid #dbe7f3;border-radius:14px;background:#fff;padding:6px;box-shadow:0 14px 34px rgba(15,23,42,.1)}
.core-tenant-options form{margin:0}
.core-tenant-option{width:100%;border:0;border-radius:10px;background:transparent;color:#1e293b;text-align:left;padding:9px 10px;font:inherit;font-size:13px;font-weight:850;cursor:pointer}
.core-tenant-option:hover,.core-tenant-option.active{background:#eef5ff;color:#111827}
.core-notif-menu{position:relative;z-index:40000}
.core-notif-menu.open{z-index:50000}
.core-notif-button{width:48px;height:48px;border-radius:0;border:0;background:transparent;color:#5865f2;display:grid;place-items:center;cursor:pointer;box-shadow:none;position:relative}
.core-notif-button:hover{background:transparent;border-color:transparent;color:#4338ca}
.core-notif-menu.has-unread .core-notif-button{border-color:transparent;background:transparent;box-shadow:none;color:#4338ca}
.core-notif-button svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:2}
.core-notif-count{position:absolute;right:-7px;top:-7px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:12px;font-weight:950;display:grid;place-items:center}
.core-notif-count[hidden]{display:none!important}
.core-notif-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(420px,calc(100vw - 28px));max-height:min(620px,calc(100vh - 108px));border:1px solid #dbe7f3;border-radius:24px;background:rgba(255,255,255,.98);box-shadow:0 24px 80px rgba(15,23,42,.18);overflow:hidden;z-index:50001;backdrop-filter:blur(18px)}
.core-notif-panel[hidden]{display:none!important}
.core-notif-head,.core-notif-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #edf2f7}
.core-notif-foot{border-top:1px solid #edf2f7;border-bottom:0}
.core-notif-list{display:grid;gap:8px;max-height:430px;overflow:auto;padding:12px}
.core-notif-item{display:block;border:1px solid #e2e8f0;border-radius:18px;background:#fff;color:#0f172a;padding:12px 13px;text-decoration:none}
.core-notif-item.unread{border-color:#818cf8;background:#eef2ff}
.core-notif-main{display:block;color:inherit;text-decoration:none}
.core-notif-item-title{font-weight:950}
.core-notif-item-body{margin-top:4px;color:#64748b;font-size:13px;line-height:1.35}
.core-notif-item-time{margin-top:6px;color:#94a3b8;font-size:12px}
.core-notif-actions{display:flex;gap:8px;margin-top:10px}
.core-notif-action{width:34px;height:34px;border-radius:12px;border:1px solid #dbe7f3;background:#fff;color:#1e293b;font-size:18px;font-weight:950;line-height:1;display:grid;place-items:center;cursor:pointer}
.core-notif-action.accept{background:#ecfdf5;border-color:#bbf7d0;color:#047857}
.core-notif-action.reject{background:#fff1f2;border-color:#fecdd3;color:#be123c}
.core-notif-live-toast{position:fixed;right:22px;top:96px;z-index:90000;width:min(360px,calc(100vw - 28px));border:1px solid #dbe7f3;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 22px 70px rgba(15,23,42,.18);padding:14px 16px;color:#0f172a;opacity:0;transform:translateY(-10px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.core-notif-live-toast.show{opacity:1;transform:translateY(0)}
.core-notif-live-toast strong{display:block;font-weight:950}
.core-notif-live-toast div{margin-top:5px;color:#64748b;font-size:13px;line-height:1.35}
body.has-core-topbar .topbar-app{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;position:relative;z-index:40000;overflow:visible!important;margin-bottom:14px}
.topbar-app .topbar-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;position:relative;z-index:40010}
.topbar-section-nav{display:flex;align-items:center;gap:6px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:2px;flex-wrap:nowrap;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-inline:contain}
.topbar-section-nav::-webkit-scrollbar{display:none}
.topbar-nav-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;border-radius:13px;color:#334155;text-decoration:none;font-size:13px;font-weight:900;white-space:nowrap;border:1px solid transparent}
.topbar-nav-link svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;flex:none}
.topbar-nav-link:hover{background:#eef5ff;color:#111827;border-color:#dbe7f3}
.topbar-nav-link.active{background:#5865f2;color:#fff;border-color:#5865f2;box-shadow:0 10px 22px rgba(88,101,242,.20)}
.topbar-section-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}
.topbar-section-actions::-webkit-scrollbar{display:none}
.topbar-action-form{margin:0;display:inline-flex}
.topbar-section-actions .btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.topbar-app,.hub-topbar,.hero-panel,.page-top,.top-actions{overflow:visible!important}
.topbar-app:has(.core-account-menu[open]),.topbar-app:has(.core-notif-menu.open),.hub-topbar:has(.core-account-menu[open]),.hero-panel:has(.core-account-menu[open]),.page-top:has(.core-account-menu[open]),.top-actions:has(.core-account-menu[open]){position:relative;z-index:45000!important}
.profile-account-menu .core-account-panel,.page-account-menu .core-account-panel{right:0}
@media(max-width:640px){
  body.has-core-topbar .topbar-app{display:grid!important;grid-template-columns:1fr;align-items:flex-start}
  body.has-core-topbar .topbar-app .topbar-right{width:100%;justify-content:space-between}
  .topbar-section-nav{width:100%;order:2}
  body.has-core-topbar .topbar-app .topbar-right{order:3}
  .topbar-section-actions{width:100%;justify-content:flex-start}
  .topbar-section-actions .btn{flex:1 1 150px}
  .core-notif-panel{left:auto;right:0;width:min(320px,calc(100vw - 24px))}
  .core-account-panel{left:auto;right:0;width:min(320px,calc(100vw - 24px))}
  .core-account-id strong{max-width:112px}
}

body.scope-manager .schedule-edit-table,
body.scope-staff .staff-linear-scroll{
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
  scrollbar-color:transparent transparent !important;
}

body.scope-manager .schedule-edit-table::-webkit-scrollbar,
body.scope-staff .staff-linear-scroll::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none !important;
}

body.scope-manager .schedule-edit-table th.schedule-today,
body.scope-staff .staff-linear-table th.staff-today{
  position:sticky;
  top:0;
  background:#fbfcff !important;
  color:#3343d6 !important;
  box-shadow:inset 0 -3px 0 rgba(88,101,242,.34) !important;
}

body.scope-manager .schedule-edit-table th.schedule-today::after,
body.scope-staff .staff-linear-table th.staff-today::after{
  content:"";
  position:absolute;
  top:10px;
  right:10px;
  width:7px;
  height:7px;
  border-radius:999px;
  background:#5865f2;
  box-shadow:0 0 0 4px rgba(88,101,242,.10);
}

body.scope-staff .day-card.staff-today{
  background:#fbfcff !important;
  box-shadow:inset 0 -3px 0 rgba(88,101,242,.28) !important;
}

body.scope-manager .manager-issue-section.is-detail > .stat-stack,
body.scope-manager .manager-issue-section.is-detail > .table-wrap{
  display:none !important;
}

body.scope-manager .table-defects tbody tr,
body.scope-manager .manager-bugs-table tbody tr{
  cursor:pointer;
}

body.scope-manager .table-defects tbody tr:hover,
body.scope-manager .manager-bugs-table tbody tr:hover{
  background:#f6f8ff;
}

body.scope-manager .table-defects th:last-child,
body.scope-manager .table-defects td:last-child,
body.scope-manager .manager-bugs-table th:last-child,
body.scope-manager .manager-bugs-table td:last-child{
  display:none;
}

body.scope-manager .manager-issue-section .status-chip.tight{
  display:inline !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  font-size:13px !important;
}

body.scope-manager .manager-issue-section .status-chip.tight.new{color:#4956df !important}
body.scope-manager .manager-issue-section .status-chip.tight.blocked{color:#b42318 !important}
body.scope-manager .manager-issue-section .status-chip.tight.in_progress{color:#9a6700 !important}
body.scope-manager .manager-issue-section .status-chip.tight.active{color:#047857 !important}

body.scope-staff .staff-linear-chip.planned{
  background:#eef2f7 !important;
  color:#475569 !important;
  border-color:#dbe7f3 !important;
}
body.scope-admin .content,
body.scope-guest .content.guest-content{
  overflow:visible;
}
body.scope-admin .hero-panel.hero-core-compact,
body.scope-guest .sec-user-wrap .sec-hero{
  overflow:hidden;
}
body.scope-admin .filters,
body.scope-admin .form,
body.scope-admin .sec-form-inline{
  align-items:end;
}
body.scope-admin input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),
body.scope-admin select,
body.scope-admin textarea,
body.scope-guest .sec-user-wrap input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),
body.scope-guest .sec-user-wrap select,
body.scope-guest .sec-user-wrap textarea{
  width:100%;
  min-height:52px;
  padding:14px 16px;
  border-radius:18px !important;
  border:1px solid #d7e1ee !important;
  background:linear-gradient(180deg,#ffffff,#f8fbff) !important;
  color:#0f172a !important;
  font:inherit;
  font-weight:750;
  outline:none;
  box-shadow:0 10px 22px rgba(15,23,42,.045) !important;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}
body.scope-admin textarea,
body.scope-guest .sec-user-wrap textarea{
  min-height:120px;
}
body.scope-admin select,
body.scope-guest .sec-user-wrap select{
  padding-right:46px;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%),
    linear-gradient(180deg,#ffffff,#f8fbff) !important;
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 17px) 50%,
    0 0 !important;
  background-size:7px 7px,7px 7px,100% 100% !important;
  background-repeat:no-repeat !important;
}
body.scope-admin input:focus,
body.scope-admin select:focus,
body.scope-admin textarea:focus,
body.scope-guest .sec-user-wrap input:focus,
body.scope-guest .sec-user-wrap select:focus,
body.scope-guest .sec-user-wrap textarea:focus{
  border-color:#8da0ff !important;
  box-shadow:0 0 0 4px rgba(88,101,242,.10),0 14px 28px rgba(15,23,42,.065) !important;
  background:#ffffff !important;
}
body.scope-admin .sec-form-inline input[name=reason]{
  width:min(260px,100%) !important;
  min-height:42px;
  padding:10px 13px;
  border-radius:14px !important;
}
body.scope-admin .mini-chip input[type=checkbox]{
  appearance:none;
  -webkit-appearance:none;
  width:18px;
  height:18px;
  border-radius:7px;
  border:1px solid #c7d2fe;
  background:#ffffff;
  display:inline-grid;
  place-items:center;
  margin:0;
  box-shadow:inset 0 0 0 2px #ffffff;
}
body.scope-admin .mini-chip input[type=checkbox]:checked{
  background:#5865f2;
  border-color:#5865f2;
}
body.scope-admin .mini-chip input[type=checkbox]:checked::after{
  content:"";
  width:8px;
  height:5px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(-45deg) translateY(-1px);
}
body.scope-admin .topbar-app{
  min-height:64px;
}
body.scope-admin .topbar-section-nav,
body.scope-admin .topbar-section-actions{
  padding-bottom:4px;
}
body.scope-admin .card .table-wrap,
body.scope-admin .table-wrap{
  background:rgba(255,255,255,.72);
}
body.scope-admin .card .table,
body.scope-admin .table{
  min-width:860px;
}
body.scope-admin .card details > summary.btn,
body.scope-admin .table details > summary.btn{
  list-style:none;
}
body.scope-admin .card details > summary.btn::-webkit-details-marker,
body.scope-admin .table details > summary.btn::-webkit-details-marker{
  display:none;
}
body.scope-admin .admin-security-page,
body.scope-admin .admin-security-page *{
  box-sizing:border-box;
}
body.scope-admin .admin-security-page .sec-layout{
  align-items:start;
}
body.scope-admin .admin-security-page .card{
  min-width:0;
  overflow:hidden;
}
body.scope-admin .admin-security-page .table-wrap{
  width:100%;
  max-width:100%;
  overflow:hidden !important;
  border-radius:22px !important;
}
body.scope-admin .admin-security-page .security-table{
  width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
  border-collapse:separate;
  border-spacing:0;
}
body.scope-admin .admin-security-page .security-table thead,
body.scope-admin .admin-security-page .security-table tbody,
body.scope-admin .admin-security-page .security-table tr{
  width:100%;
}
body.scope-admin .admin-security-page .security-table th,
body.scope-admin .admin-security-page .security-table td{
  white-space:normal !important;
  word-break:break-word !important;
  overflow-wrap:anywhere !important;
  vertical-align:top;
}
body.scope-admin .admin-security-page .sec-layout .security-table th,
body.scope-admin .admin-security-page .sec-layout .security-table td{
  padding-left:14px;
  padding-right:14px;
}
body.scope-admin .admin-security-page .sec-layout .security-table th:nth-child(1),
body.scope-admin .admin-security-page .sec-layout .security-table td:nth-child(1){width:22%;}
body.scope-admin .admin-security-page .sec-layout .security-table th:nth-child(2),
body.scope-admin .admin-security-page .sec-layout .security-table td:nth-child(2){width:34%;}
body.scope-admin .admin-security-page .sec-layout .security-table th:nth-child(3),
body.scope-admin .admin-security-page .sec-layout .security-table td:nth-child(3){width:22%;}
body.scope-admin .admin-security-page .sec-layout .security-table th:nth-child(4),
body.scope-admin .admin-security-page .sec-layout .security-table td:nth-child(4){width:22%;}
body.scope-admin .admin-security-page .sec-layout section:nth-child(2) .security-table th:nth-child(1),
body.scope-admin .admin-security-page .sec-layout section:nth-child(2) .security-table td:nth-child(1){width:30%;}
body.scope-admin .admin-security-page .sec-layout section:nth-child(2) .security-table th:nth-child(2),
body.scope-admin .admin-security-page .sec-layout section:nth-child(2) .security-table td:nth-child(2){width:50%;}
body.scope-admin .admin-security-page .sec-layout section:nth-child(2) .security-table th:nth-child(3),
body.scope-admin .admin-security-page .sec-layout section:nth-child(2) .security-table td:nth-child(3){width:20%;}
body.scope-admin .admin-security-page .sec-form-inline input[name="reason"]{
  width:170px;
  min-height:44px;
}
@media (max-width:1000px){
  body.scope-admin .admin-security-page .security-table{min-width:680px !important; table-layout:auto !important;}
  body.scope-admin .admin-security-page .table-wrap{overflow:auto !important;}
}

.core-global-tooltip{
  position:fixed;
  left:-9999px;
  top:-9999px;
  z-index:2147483647 !important;
  max-width:280px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(15,23,42,.96);
  color:#fff;
  box-shadow:0 20px 55px rgba(15,23,42,.28);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  text-align:left;
  font:800 12px/1.35 var(--font, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}
.core-global-tooltip.is-visible{
  opacity:1;
  visibility:visible;
}
.core-global-tooltip strong{
  display:block;
  font-size:13px;
  line-height:1.2;
  color:#fff;
}
.core-global-tooltip em{
  display:block;
  margin-top:5px;
  font-style:normal;
  font-weight:750;
  color:#cbd5e1;
}
.core-global-tooltip::after{
  content:"";
  position:absolute;
  left:50%;
  top:100%;
  transform:translateX(-50%);
  border:7px solid transparent;
  border-top-color:rgba(15,23,42,.96);
}
@media (min-width:1181px){
  .core-global-tooltip{
    max-width:224px;
    padding:8px 10px;
    border-radius:11px;
    font-size:9.6px;
  }
  .core-global-tooltip strong{font-size:10.4px}
  .core-global-tooltip em{margin-top:4px}
  .core-global-tooltip::after{border-width:5.6px}
  .core-global-tooltip-link{margin-top:5.6px}
}
@media (max-width: 720px){
  .core-notif-menu{
    position:static!important;
  }
  .core-notif-menu.open{
    z-index:2147482000!important;
  }
  .core-notif-panel{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    top:64px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100dvh - 78px)!important;
    border-radius:22px!important;
    overflow:hidden!important;
    z-index:2147482001!important;
    transform:none!important;
  }
  .core-notif-head,
  .core-notif-foot{
    padding:13px 14px!important;
  }
  .core-notif-list{
    max-height:calc(100dvh - 196px)!important;
    overflow:auto!important;
    overscroll-behavior:contain!important;
    padding:10px!important;
  }
  .core-notif-item{
    border-radius:16px!important;
    padding:11px 12px!important;
  }
}
@media (max-width: 420px){
  .core-notif-panel{
    left:8px!important;
    right:8px!important;
    top:60px!important;
    max-height:calc(100dvh - 70px)!important;
  }
  .core-notif-list{
    max-height:calc(100dvh - 188px)!important;
  }
}
.core-game-launcher{
  width:48px;
  height:48px;
  border-radius:17px;
  border:1px solid #dbe7f3;
  background:#fff;
  color:#5865f2;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  position:relative;
  flex:none;
}
.core-game-launcher:hover,
.core-game-launcher.active{
  background:#eef2ff;
  border-color:#c7d2fe;
  box-shadow:0 14px 30px rgba(79,70,229,.14);
}
.core-game-launcher svg{
  width:22px;
  height:22px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
}
.core-wait-game-overlay{
  position:fixed;
  inset:0;
  z-index:2147482600;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(15,23,42,.34);
  backdrop-filter:blur(10px);
}
.core-wait-game-overlay[hidden]{display:none!important;}
.core-wait-game-modal{
  width:min(760px,calc(100vw - 28px));
  border:1px solid rgba(219,231,243,.95);
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.99));
  box-shadow:0 34px 110px rgba(15,23,42,.28);
  overflow:hidden;
  color:#0f172a;
}
.core-wait-game-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:18px 20px 14px;
  border-bottom:1px solid #edf2f7;
}
.core-wait-game-title strong{
  display:block;
  font-size:20px;
  line-height:1.1;
  letter-spacing:-.03em;
  font-weight:950;
}
.core-wait-game-title small{
  display:block;
  margin-top:5px;
  color:#64748b;
  font-size:12px;
  line-height:1.35;
  font-weight:800;
}
.core-wait-game-close{
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid #dbe7f3;
  background:#fff;
  color:#334155;
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size:22px;
  line-height:1;
  font-weight:900;
  flex:none;
}
.core-wait-game-close:hover{background:#f8fafc;border-color:#cbd5e1;}
.core-wait-game-board{
  position:relative;
  padding:16px 18px 18px;
}
.core-wait-game-canvas-wrap{
  position:relative;
  border:1px solid #dbe7f3;
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(180deg,#f8fbff,#eef5ff);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 18px 42px rgba(15,23,42,.08);
}
.core-wait-game-canvas{
  display:block;
  width:100%;
  height:270px;
  touch-action:manipulation;
}
.core-wait-game-hud{
  position:absolute;
  left:14px;
  right:14px;
  top:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  pointer-events:none;
  z-index:2;
}
.core-wait-game-pill{
  border:1px solid rgba(199,210,254,.8);
  background:rgba(255,255,255,.86);
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:950;
  color:#334155;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
}
.core-wait-game-center{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  z-index:3;
  pointer-events:none;
}
.core-wait-game-message{
  width:min(360px,calc(100% - 28px));
  border:1px solid rgba(199,210,254,.9);
  border-radius:22px;
  background:rgba(255,255,255,.93);
  box-shadow:0 22px 70px rgba(15,23,42,.16);
  padding:17px 18px;
  text-align:center;
}
.core-wait-game-message[hidden]{display:none!important;}
.core-wait-game-message strong{
  display:block;
  font-size:18px;
  font-weight:950;
  letter-spacing:-.025em;
}
.core-wait-game-message span{
  display:block;
  margin-top:7px;
  color:#64748b;
  font-size:13px;
  line-height:1.38;
  font-weight:800;
}
.core-wait-game-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin-top:13px;
}
.core-wait-game-btn{
  appearance:none;
  -webkit-appearance:none;
  min-height:44px;
  min-width:118px;
  border:1px solid #dbe7f3;
  border-radius:15px;
  background:#fff;
  color:#0f172a;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 18px;
  font:900 13px/1.1 inherit;
  letter-spacing:-.01em;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  user-select:none;
}
.core-wait-game-btn:hover{
  background:#f8fafc;
  border-color:#cbd5e1;
  transform:translateY(-1px);
}
.core-wait-game-btn:active{
  transform:translateY(0);
}
.core-wait-game-btn-primary{
  border-color:#4f46e5;
  background:#4f46e5;
  color:#fff;
  box-shadow:0 16px 30px rgba(79,70,229,.22);
}
.core-wait-game-btn-primary:hover{
  background:#4338ca;
  border-color:#4338ca;
}
.core-wait-game-help{
  color:#64748b;
  font-size:12px;
  line-height:1.35;
  font-weight:800;
}
@media (max-width:640px){
  .core-wait-game-overlay{padding:10px;align-items:end;}
  .core-wait-game-modal{width:100%;border-radius:24px;}
  .core-wait-game-head{padding:15px 16px 12px;}
  .core-wait-game-board{padding:12px;}
  .core-wait-game-canvas{height:235px;}
  .core-wait-game-actions{justify-content:stretch;}
  .core-wait-game-btn{flex:1 1 145px;}
  .core-wait-game-help{width:100%;text-align:center;}
}
body.scope-staff .issues-live-content{
  margin-top:18px;
}
body.scope-staff .issues-live-content .issue-meta-list{
  display:grid;
  gap:7px;
  margin-top:10px;
  color:#5b6b83;
  font-weight:650;
  line-height:1.45;
}
body.scope-staff .issues-live-content .issue-meta-list span,
body.scope-staff .issues-live-content .issue-meta-list .issue-description-text{
  display:block;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#5b6b83;
  white-space:normal!important;
  word-break:break-word!important;
}
body.scope-staff .issues-live-content .issue-meta-list strong{
  color:#344154;
  font-weight:900;
}
body.scope-staff .issues-live-content .issue-description-text{
  margin-top:8px!important;
  padding-top:10px!important;
  border-top:1px solid #e5edf6!important;
  color:#64748b!important;
  font-weight:650!important;
}
body.scope-staff .issues-live-content .issue-status-text{
  display:inline!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-weight:950!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  color:#5865f2;
}
body.scope-staff .issues-live-content .issue-status-text.active{color:#15803d!important;}
body.scope-staff .issues-live-content .issue-status-text.in_progress{color:#b45309!important;}
body.scope-staff .issues-live-content .issue-status-text.blocked{color:#dc2626!important;}
body.scope-staff .issues-live-content .issue-status-text.new{color:#5865f2!important;}

body.scope-cabinet .cabinet-file-picker{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px 10px 14px;
  border:1px dashed #c9d6ec;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  cursor:pointer;
  transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.scope-cabinet .cabinet-file-picker:hover{
  border-color:#5865f2;
  box-shadow:0 14px 26px rgba(88,101,242,.10);
  transform:translateY(-1px);
}
body.scope-cabinet .cabinet-file-picker input[type="file"]{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
body.scope-cabinet .cabinet-file-picker-main{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  border-radius:14px;
  background:#5865f2;
  color:#ffffff;
  font-weight:950;
  white-space:nowrap;
}
body.scope-cabinet .cabinet-file-picker-hint{
  color:#64748b;
  font-size:13px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media (max-width:720px){
  body.scope-cabinet .cabinet-file-picker{
    align-items:stretch;
    flex-direction:column;
  }
  body.scope-cabinet .cabinet-file-picker-main{width:100%;}
  body.scope-cabinet .cabinet-file-picker-hint{text-align:center;}
}

body.scope-staff .issues-live-content .issue-file-picker{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px 10px 14px;
  border:1px dashed #c9d6ec;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  cursor:pointer;
  transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.scope-staff .issues-live-content .issue-file-picker:hover{
  border-color:#5865f2;
  box-shadow:0 14px 26px rgba(88,101,242,.10);
  transform:translateY(-1px);
}
body.scope-staff .issues-live-content .issue-file-picker input[type="file"]{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
body.scope-staff .issues-live-content .issue-file-picker-main{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  border-radius:14px;
  background:#5865f2;
  color:#ffffff;
  font-weight:950;
  white-space:nowrap;
}
body.scope-staff .issues-live-content .issue-file-picker-hint{
  color:#64748b;
  font-size:13px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media (max-width: 720px){
  
body.scope-cabinet .cabinet-file-picker{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px 10px 14px;
  border:1px dashed #c9d6ec;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  cursor:pointer;
  transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.scope-cabinet .cabinet-file-picker:hover{
  border-color:#5865f2;
  box-shadow:0 14px 26px rgba(88,101,242,.10);
  transform:translateY(-1px);
}
body.scope-cabinet .cabinet-file-picker input[type="file"]{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
body.scope-cabinet .cabinet-file-picker-main{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  border-radius:14px;
  background:#5865f2;
  color:#ffffff;
  font-weight:950;
  white-space:nowrap;
}
body.scope-cabinet .cabinet-file-picker-hint{
  color:#64748b;
  font-size:13px;
  font-weight:800;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media (max-width:720px){
  body.scope-cabinet .cabinet-file-picker{
    align-items:stretch;
    flex-direction:column;
  }
  body.scope-cabinet .cabinet-file-picker-main{width:100%;}
  body.scope-cabinet .cabinet-file-picker-hint{text-align:center;}
}

body.scope-staff .issues-live-content .issue-file-picker{
    align-items:stretch;
    flex-direction:column;
  }
  body.scope-staff .issues-live-content .issue-file-picker-main{
    width:100%;
  }
  body.scope-staff .issues-live-content .issue-file-picker-hint{
    text-align:center;
  }
}

.cabinet-status-text{font-weight:800;color:#475569;white-space:nowrap}
.cabinet-status-active{color:#15803d}
.cabinet-status-blocked,.cabinet-status-disabled{color:#dc2626}
.cabinet-status-inactive,.cabinet-status-offline{color:#64748b}


.core-global-tooltip.has-link{
  pointer-events:auto;
}
.core-global-tooltip-link{
  display:block;
  margin-top:7px;
  color:#93c5fd;
  text-decoration:none;
  font-weight:900;
  line-height:1.25;
}
.core-global-tooltip-link:hover,
.core-global-tooltip-link:focus-visible{
  color:#bfdbfe;
  text-decoration:underline;
  outline:none;
}

.core-toast-stack{position:fixed;right:22px;top:96px;z-index:95000;display:grid;gap:10px;width:min(380px,calc(100vw - 28px));pointer-events:none}
.core-toast{border:1px solid #dbe7f3;border-left:4px solid #5865f2;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 24px 80px rgba(15,23,42,.18);padding:14px 16px;color:#0f172a;opacity:0;transform:translateY(-10px);transition:opacity .18s ease,transform .18s ease;pointer-events:auto;backdrop-filter:blur(16px)}
.core-toast.show{opacity:1;transform:translateY(0)}
.core-toast strong{display:block;font-weight:950;font-size:14px}
.core-toast div{margin-top:5px;color:#64748b;font-size:13px;font-weight:750;line-height:1.35}
.core-toast.ok{border-left-color:#22c55e}.core-toast.bad,.core-toast.error{border-left-color:#ef4444}.core-toast.warn,.core-toast.warning{border-left-color:#f59e0b}.core-toast.info{border-left-color:#5865f2}
.core-flash-payload{display:none!important}
@media(max-width:640px){.core-toast-stack{left:14px;right:14px;top:78px;width:auto}.core-toast{border-radius:16px}.core-notif-live-toast{left:14px;right:14px;top:78px;width:auto}}

.system-banner[data-core-announcement]{
  position:relative;
  grid-template-columns:auto 1fr auto;
  padding-right:16px;
}
.system-banner-close{
  width:34px;
  height:34px;
  border:0;
  border-radius:0;
  background:transparent;
  color:currentColor;
  display:inline-grid;
  place-items:center;
  align-self:start;
  padding:0;
  cursor:pointer;
  opacity:.58;
  transition:opacity .14s ease, transform .14s ease;
}
.system-banner-close:hover{opacity:1;transform:translateY(-1px)}
.system-banner-close svg{width:20px;height:20px;display:block;stroke-width:2.2}
.system-banner.is-announcement-hidden{display:none!important}
@media(max-width:640px){
  .system-banner[data-core-announcement]{grid-template-columns:auto 1fr auto;padding-right:12px}
  .system-banner-close{width:30px;height:30px}
}



.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
body.scope-cabinet,
body.scope-manager,
body.scope-staff{
  color:#1f2937!important;
  background:
    radial-gradient(circle at 10% 12%, rgba(88,101,242,.08), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(59,165,93,.07), transparent 18%),
    linear-gradient(180deg, #f4f6fb 0%, #edf2f8 100%)!important;
}
body.scope-cabinet .hero-badge:empty{
  display:none!important;
}
body.scope-cabinet .btn,
body.scope-manager .btn,
body.scope-staff .btn{
  border-radius:10px!important;
  box-shadow:none!important;
}
body.scope-cabinet .btn.primary,
body.scope-manager .btn.primary,
body.scope-staff .btn.primary{
  box-shadow:0 8px 18px rgba(88,101,242,.14)!important;
}
body.scope-cabinet .btn svg,
body.scope-manager .btn svg,
body.scope-staff .btn svg,
body.scope-cabinet .ui-icon-btn svg,
body.scope-manager .ui-icon-btn svg,
body.scope-staff .ui-icon-btn svg{
  width:18px!important;
  height:18px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:2.25!important;
  flex:none!important;
}
body.scope-cabinet .btn-with-icon,
body.scope-manager .btn-with-icon,
body.scope-staff .btn-with-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
}
body.scope-cabinet .ui-icon-btn,
body.scope-manager .ui-icon-btn,
body.scope-staff .ui-icon-btn,
body.scope-cabinet .cabinet-trash-btn,
body.scope-manager .payroll-icon-btn{
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  border-radius:10px!important;
  display:inline-grid!important;
  place-items:center!important;
}
body.scope-cabinet .cabinet-trash-btn,
body.scope-manager .ui-icon-btn.danger,
body.scope-cabinet .ui-icon-btn.danger{
  color:#dc2626!important;
}

body.scope-manager .manager-app-stats{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  margin-top:18px!important;
}
body.scope-manager .manager-app-card{
  --card-accent:#5865f2;
  position:relative!important;
  min-height:150px!important;
  overflow:hidden!important;
  border-radius:24px!important;
  border:1px solid #d9e3ef!important;
  background:
    radial-gradient(circle at 100% 0%, rgba(88,101,242,.055), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.98))!important;
  padding:20px 22px!important;
  box-shadow:0 18px 38px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.94)!important;
}
body.scope-manager .manager-app-card.queue{--card-accent:#0891b2;}
body.scope-manager .manager-app-card.danger{--card-accent:#dc2626;}
body.scope-manager .manager-app-card:before{
  content:""!important;
  position:absolute!important;
  left:14px!important;
  right:14px!important;
  top:0!important;
  height:3px!important;
  border-radius:0 0 999px 999px!important;
  background:linear-gradient(90deg,var(--card-accent), rgba(88,101,242,.65))!important;
  opacity:.9!important;
}
body.scope-manager .manager-app-card:after{
  display:none!important;
  content:none!important;
}
body.scope-manager .manager-app-card .metric-kicker{
  position:relative!important;
  z-index:1!important;
  padding:0!important;
  font-size:12px!important;
  line-height:1.25!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
  color:#64748b!important;
  font-weight:950!important;
}
body.scope-manager .manager-app-card .kpi{
  position:relative!important;
  z-index:1!important;
  margin-top:13px!important;
  padding-right:0!important;
  font-size:36px!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  color:#0f172a!important;
  font-weight:950!important;
}
body.scope-manager .manager-app-card .kpi-sub{
  position:relative!important;
  z-index:1!important;
  margin-top:11px!important;
  color:#64748b!important;
  line-height:1.35!important;
}
body.scope-manager .delta-chip{
  border-radius:10px!important;
  margin-top:8px!important;
}
body.scope-manager .manager-stock-hub,
body.scope-cabinet .card,
body.scope-manager .card,
body.scope-staff .card,
body.scope-cabinet .soft-panel,
body.scope-manager .soft-panel,
body.scope-staff .soft-panel,
body.scope-cabinet .table-wrap,
body.scope-manager .table-wrap,
body.scope-staff .table-wrap{
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,251,255,.98) 100%)!important;
  border-color:#d9e3ef!important;
  box-shadow:0 18px 38px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.94)!important;
}
body.scope-manager .compact-summary,
body.scope-staff .filters-card{
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,251,255,.98) 100%)!important;
  border-color:#d9e3ef!important;
  box-shadow:0 16px 34px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.94)!important;
}
body.scope-manager .manager-period-pills,
body.scope-staff .manager-period-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
body.scope-manager .manager-period-pill,
body.scope-staff .manager-period-pill{
  min-height:54px!important;
  padding:0 16px!important;
  border-radius:12px!important;
  background:#ffffff!important;
  border:1px solid #dbe7f3!important;
  color:#203047!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-weight:900!important;
  cursor:pointer!important;
}
body.scope-manager .manager-period-pill input,
body.scope-staff .manager-period-pill input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
body.scope-manager .manager-period-pill.active,
body.scope-staff .manager-period-pill.active{
  background:#eef2ff!important;
  border-color:#cfd8ff!important;
  color:#4f46e5!important;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff{
  display:grid!important;
  grid-template-columns:minmax(260px,320px) minmax(260px,1fr)!important;
  gap:18px!important;
  align-items:end!important;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff.archive-toolbar{
  grid-template-columns:minmax(0,260px)!important;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff .form-row,
body.scope-staff .staff-period-row{
  min-width:0!important;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff .core-month,
body.scope-staff .staff-toolbar.compact-toolbar-staff .core-month-trigger{
  width:100%!important;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff .core-month-trigger{
  min-height:54px!important;
  border-radius:14px!important;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff label,
body.scope-manager .manager-filters-stable label{
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  color:#7b8797!important;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff .manager-period-pill,
body.scope-manager .manager-filters-stable .manager-period-pill{
  text-transform:none!important;
  letter-spacing:0!important;
}
@media(max-width:1280px){
  body.scope-manager .manager-app-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  body.scope-manager .manager-app-stats,
  body.scope-staff .staff-toolbar.compact-toolbar-staff,
  body.scope-staff .staff-toolbar.compact-toolbar-staff.archive-toolbar{grid-template-columns:1fr!important;}
  body.scope-manager .manager-app-card .kpi{font-size:34px!important;}
}




body.scope-staff .filters-card{
  padding:16px 18px !important;
}
body.scope-staff .staff-toolbar.toolbar-plain{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
}
body.scope-staff .staff-toolbar.toolbar-plain .form-row,
body.scope-staff .staff-toolbar.toolbar-plain .staff-period-row,
body.scope-staff .staff-toolbar.toolbar-plain .staff-period-month{
  min-width:0 !important;
}
body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pills{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
}
body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pill{
  min-height:54px !important;
  padding:0 18px !important;
  border-radius:16px !important;
  box-shadow:none !important;
}
body.scope-staff .staff-toolbar.toolbar-plain .manager-month-input{
  min-height:54px !important;
  border-radius:16px !important;
  box-shadow:none !important;
}
body.scope-staff .staff-toolbar.toolbar-plain label{
  margin-bottom:8px;
}
@media (max-width: 760px){
  body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pill{
    width:auto !important;
    flex:1 1 140px;
  }
}



/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-staff .page-top.compact-page-top .hero-badge{display:none!important;}
body.scope-staff .staff-penalty-badge{display:none!important;}
body.scope-staff .staff-penalty-text{color:#b91c1c;font-weight:950;font-size:12px;background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-staff .state-mark{display:none!important;}
body.scope-staff .day-card-top,
body.scope-staff .edit-day-head{align-items:center;justify-content:space-between;}



body.scope-staff .staff-plain-meta{
  display:inline;
  color:#64748b;
  font-size:13px;
  font-weight:800;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
}
body.scope-staff .compact-event-meta .staff-plain-meta + .staff-plain-meta::before,
body.scope-staff .archive-head .staff-plain-meta::before{
  content:' · ';
  color:#aeb9c9;
}
body.scope-staff .page-top.compact-page-top .hero-badge,
body.scope-staff .state-mark,
body.scope-staff .mini-chip,
body.scope-staff .badge{
  display:none!important;
}
body.scope-manager .manager-app-card .delta-chip.up{color:#15803d!important;}
body.scope-manager .manager-app-card .delta-chip.down{color:#b91c1c!important;}



body.scope-manager .manager-period-pills.segment-slider,
body.scope-staff .manager-period-pills.segment-slider{
  --seg-count:2;
  --seg-index:0;
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(var(--seg-count), minmax(0, 1fr))!important;
  gap:0!important;
  flex-wrap:nowrap!important;
  min-height:54px!important;
  padding:4px!important;
  border-radius:18px!important;
  border:1px solid #d8e3f1!important;
  background:#edf3fb!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84)!important;
  overflow:hidden;
}
/* Частично старое оформление: ниже переопределяются `background`, `border`, `border-radius`, `box-shadow`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .manager-period-pills.segment-slider::before,
body.scope-staff .manager-period-pills.segment-slider::before{
  content:"";
  position:absolute;
  z-index:0;
  top:4px;
  bottom:4px;
  left:4px;
  width:calc((100% - 8px) / var(--seg-count));
  border-radius:14px;
  background:#ffffff;
  border:1px solid rgba(88,101,242,.18);
  box-shadow:0 10px 24px rgba(15,23,42,.08);
  transform:translateX(calc(var(--seg-index) * 100%));
  transition:transform .18s ease;
}
/* Частично старое оформление: ниже переопределяются `background`, `border`, `border-radius`, `box-shadow`, `color`, `display`, `padding`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill,
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill,
body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pills.segment-slider .manager-period-pill,
body.scope-manager .manager-filters-stable .manager-period-pills.segment-slider .manager-period-pill{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:46px!important;
  height:46px!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:14px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#66758c!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}
/* Частично старое оформление: ниже переопределяются `background`, `color`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill:hover,
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill:hover{
  transform:none!important;
  background:transparent!important;
  color:#334155!important;
}
/* Частично старое оформление: ниже переопределяются `background`, `box-shadow`, `color`. Остальные свойства этого правила остаются рабочими. */
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill.active,
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill.active,
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill:has(input:checked),
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill:has(input:checked){
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  color:#4f46e5!important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill input,
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill input{
  position:absolute!important;
  inset:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
@media(max-width:760px){
  body.scope-manager .manager-period-pills.segment-slider,
  body.scope-staff .manager-period-pills.segment-slider{
    width:100%;
  }
  body.scope-manager .manager-period-pills.segment-slider .manager-period-pill,
  body.scope-staff .manager-period-pills.segment-slider .manager-period-pill{
    width:auto!important;
    font-size:12px!important;
    padding:0 10px!important;
  }
}



body.scope-manager .manager-filters-stable{
  grid-template-columns:minmax(260px,320px) max-content auto!important;
}
body.scope-manager .manager-filters-stable.has-day{
  grid-template-columns:minmax(260px,320px) max-content minmax(180px,220px) auto!important;
}
body.scope-manager .manager-filters-stable.is-schedule{
  grid-template-columns:minmax(260px,320px) auto!important;
}
body.scope-manager .manager-period-row,
body.scope-staff .staff-period-row{
  width:max-content!important;
  min-width:0!important;
  justify-self:start!important;
}
body.scope-staff .staff-toolbar.compact-toolbar-staff.toolbar-plain{
  grid-template-columns:minmax(260px,320px) max-content!important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-period-pills.segment-slider,
body.scope-staff .manager-period-pills.segment-slider,
body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pills.segment-slider{
  width:calc(var(--seg-count) * 76px + 6px)!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:40px!important;
  height:40px!important;
  padding:3px!important;
  border-radius:999px!important;
  background:#edf3fb!important;
  border:1px solid #d8e3f1!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86)!important;
}
body.scope-manager .manager-period-pills.segment-slider::before,
body.scope-staff .manager-period-pills.segment-slider::before{
  top:3px!important;
  bottom:3px!important;
  left:3px!important;
  width:calc((100% - 6px) / var(--seg-count))!important;
  border-radius:999px!important;
  border:0!important;
  background:#ffffff!important;
  box-shadow:0 5px 14px rgba(15,23,42,.10)!important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill,
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill,
body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pills.segment-slider .manager-period-pill,
body.scope-manager .manager-filters-stable .manager-period-pills.segment-slider .manager-period-pill{
  min-height:32px!important;
  height:32px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1!important;
}
@media(max-width:760px){
  body.scope-manager .manager-filters-stable,
  body.scope-manager .manager-filters-stable.has-day,
  body.scope-manager .manager-filters-stable.is-schedule,
  body.scope-staff .staff-toolbar.compact-toolbar-staff.toolbar-plain,
  body.scope-staff .staff-toolbar.compact-toolbar-staff.toolbar-plain.archive-toolbar{
    grid-template-columns:1fr!important;
  }
  body.scope-manager .manager-period-row,
  body.scope-staff .staff-period-row{
    width:auto!important;
  }
  body.scope-manager .manager-period-pills.segment-slider,
  body.scope-staff .manager-period-pills.segment-slider,
  body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pills.segment-slider{
    width:calc(var(--seg-count) * 76px + 6px)!important;
    max-width:100%!important;
  }
}


body.scope-manager .manager-period-pills.segment-slider,
body.scope-staff .manager-period-pills.segment-slider,
body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pills.segment-slider{
  display:inline-flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  gap:3px!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:38px!important;
  padding:3px!important;
  border-radius:999px!important;
  background:#edf3fb!important;
  border:1px solid #d8e3f1!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86)!important;
  overflow:visible!important;
}
body.scope-manager .manager-period-pills.segment-slider::before,
body.scope-staff .manager-period-pills.segment-slider::before{
  display:none!important;
  content:none!important;
}
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill,
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill,
body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pills.segment-slider .manager-period-pill,
body.scope-manager .manager-filters-stable .manager-period-pills.segment-slider .manager-period-pill{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:62px!important;
  width:auto!important;
  min-height:32px!important;
  height:32px!important;
  padding:0 13px!important;
  border-radius:999px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#66758c!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
  transform:none!important;
}
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill:hover,
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill:hover{
  color:#334155!important;
  background:rgba(255,255,255,.52)!important;
}
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill.active,
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill.active,
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill:has(input:checked),
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill:has(input:checked){
  color:#ffffff!important;
  background:#5865f2!important;
  box-shadow:0 6px 14px rgba(88,101,242,.24)!important;
}
body.scope-manager .manager-period-pills.segment-slider .manager-period-pill input,
body.scope-staff .manager-period-pills.segment-slider .manager-period-pill input{
  position:absolute!important;
  inset:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
@media(max-width:760px){
  body.scope-manager .manager-period-pills.segment-slider,
  body.scope-staff .manager-period-pills.segment-slider,
  body.scope-staff .staff-toolbar.toolbar-plain .manager-period-pills.segment-slider{
    width:max-content!important;
  }
  body.scope-manager .manager-period-pills.segment-slider .manager-period-pill,
  body.scope-staff .manager-period-pills.segment-slider .manager-period-pill{
    flex:0 0 auto!important;
    width:auto!important;
  }
}



body.scope-staff .period-switch-row{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:54px!important;
  width:max-content!important;
  max-width:100%!important;
}
body.scope-staff .period-switch-caption{
  display:inline-flex!important;
  align-items:center!important;
  min-width:42px!important;
  color:#718096!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
  letter-spacing:0!important;
}
body.scope-staff .period-switch-caption.active{
  color:#5865f2!important;
}
body.scope-staff .period-toggle{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:54px!important;
  height:32px!important;
  flex:0 0 54px!important;
  cursor:pointer!important;
  user-select:none!important;
}
body.scope-staff .period-toggle input{
  position:absolute!important;
  inset:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
body.scope-staff .period-toggle-track{
  position:relative!important;
  display:block!important;
  width:50px!important;
  height:30px!important;
  border-radius:999px!important;
  background:#dbe4ef!important;
  border:1px solid #cbd8e8!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.08)!important;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
body.scope-staff .period-toggle-thumb{
  position:absolute!important;
  left:3px!important;
  top:3px!important;
  width:24px!important;
  height:24px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 4px 10px rgba(15,23,42,.20)!important;
  transform:translateX(0)!important;
  transition:transform .16s ease!important;
}
body.scope-staff .period-toggle input:checked + .period-toggle-track{
  background:#5865f2!important;
  border-color:#5865f2!important;
  box-shadow:0 8px 18px rgba(88,101,242,.22)!important;
}
body.scope-staff .period-toggle input:checked + .period-toggle-track .period-toggle-thumb{
  transform:translateX(20px)!important;
}
body.scope-staff .staff-toolbar.toolbar-plain .period-switch-row{
  margin-top:0!important;
}
@media(max-width:760px){
  body.scope-staff .period-switch-row{
    width:max-content!important;
  }
}


body .hero-badge,
body .desk-badge{display:none!important;}



body.has-core-anniversary-garland .topbar-app{
  margin-bottom:124px;
}
body.has-core-anniversary-garland .topbar-app > .topbar-section-nav,
body.has-core-anniversary-garland .topbar-app > .topbar-right{
  position:relative;
  z-index:8;
}
.core-anniversary-garland{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:1;
  height:0;
  margin:0;
  overflow:visible;
  isolation:isolate;
  user-select:none;
  pointer-events:none;
}
.core-anniversary-glow{
  position:absolute;
  left:12%;
  right:12%;
  top:24px;
  height:76px;
  z-index:-1;
  background:
    radial-gradient(circle at 22% 44%,rgba(83,200,255,.12),transparent 25%),
    radial-gradient(circle at 50% 44%,rgba(255,184,77,.11),transparent 29%),
    radial-gradient(circle at 78% 44%,rgba(255,114,182,.11),transparent 25%);
  filter:blur(12px);
  opacity:.82;
}
.core-anniversary-wire{
  position:absolute;
  z-index:1;
  left:0;
  top:-30px;
  width:100%;
  height:58px;
  overflow:visible;
  animation:coreAnniversaryWireFloat 7s ease-in-out infinite;
}
.core-anniversary-wire path{fill:none;vector-effect:non-scaling-stroke}
.core-anniversary-wire-shadow{stroke:rgba(15,23,42,.17);stroke-width:5;filter:blur(2px)}
.core-anniversary-wire-main{stroke:#263449;stroke-width:2.2;stroke-linecap:round}
.core-anniversary-bulbs{position:absolute;inset:0;z-index:3}
.core-anniversary-bulb{
  position:absolute;
  left:var(--core-bulb-x);
  top:calc(var(--core-bulb-y) - 30px);
  width:2px;
  height:calc(var(--core-bulb-drop) + 13px);
  background:#2c3b51;
  transform:translateX(-50%);
  transform-origin:top center;
  animation:coreAnniversaryBulbSwing 4.8s ease-in-out infinite;
  animation-delay:var(--core-bulb-delay);
}
.core-anniversary-bulb:before{
  content:"";
  position:absolute;
  left:50%;
  bottom:8px;
  width:8px;
  height:5px;
  border-radius:3px 3px 1px 1px;
  background:#334155;
  transform:translateX(-50%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
}
.core-anniversary-bulb i{
  position:absolute;
  left:50%;
  bottom:-1px;
  width:10px;
  height:13px;
  border-radius:56% 56% 48% 48%;
  transform:translateX(-50%);
  background:color-mix(in srgb,var(--core-bulb-color) 72%,#fff 28%);
  border:1px solid color-mix(in srgb,var(--core-bulb-color) 76%,#fff 24%);
  box-shadow:
    0 0 4px #fff,
    0 0 10px var(--core-bulb-color),
    0 0 24px color-mix(in srgb,var(--core-bulb-color) 72%,transparent 28%);
  animation:coreAnniversaryBulbGlow 2.15s ease-in-out infinite;
  animation-delay:var(--core-bulb-delay);
}
.core-anniversary-copy{
  position:absolute;
  z-index:5;
  left:50%;
  top:21px;
  width:min(920px,76%);
  transform:translateX(-50%);
  text-align:center;
}
.core-anniversary-title{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  min-height:54px;
  white-space:nowrap;
  font-size:clamp(25px,3.15vw,43px);
  line-height:1;
  font-weight:950;
  letter-spacing:.01em;
}
.core-anniversary-letter{
  position:relative;
  display:inline-block;
  color:#fff;
  -webkit-text-stroke:1.25px var(--core-letter-color);
  text-shadow:
    0 0 2px #fff,
    0 0 7px var(--core-letter-color),
    0 0 17px color-mix(in srgb,var(--core-letter-color) 80%,transparent 20%),
    0 4px 15px rgba(15,23,42,.12);
  transform-origin:50% calc(-1 * var(--core-letter-hang));
  animation:coreAnniversaryLetterGlow 3.35s ease-in-out infinite,coreAnniversaryLetterSway 6.5s ease-in-out infinite;
  animation-delay:var(--core-letter-delay),var(--core-letter-delay);
}
.core-anniversary-letter:before{
  content:"";
  position:absolute;
  left:50%;
  bottom:calc(100% + 2px);
  width:1px;
  height:var(--core-letter-hang);
  background:linear-gradient(180deg,#29384f,#40516a 68%,rgba(64,81,106,.2));
  box-shadow:0 0 1px rgba(15,23,42,.5);
}
.core-anniversary-letter:after{
  content:"";
  position:absolute;
  left:50%;
  top:-5px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#334155;
  transform:translateX(-50%);
  box-shadow:0 1px 2px rgba(15,23,42,.24);
}
.core-anniversary-letter-gap{display:inline-block;width:.38em}
.core-anniversary-subtitle{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  margin-top:10px;
  color:#5c6680;
  font-size:clamp(12px,1.25vw,16px);
  font-weight:850;
  letter-spacing:.025em;
  text-shadow:0 1px 0 rgba(255,255,255,.9);
}
.core-anniversary-subtitle span{
  display:block;
  width:clamp(22px,4vw,58px);
  height:1px;
  background:linear-gradient(90deg,transparent,#a6b0c4);
}
.core-anniversary-subtitle span:last-child{transform:scaleX(-1)}
.core-anniversary-cake{
  position:absolute;
  z-index:6;
  right:2.6%;
  top:25px;
  width:90px;
  height:92px;
  filter:drop-shadow(0 12px 13px rgba(15,23,42,.18));
  transform-origin:50% 100%;
  animation:coreAnniversaryCakeFloat 5.4s ease-in-out infinite;
}
.core-anniversary-cake-plate{
  position:absolute;
  left:5px;
  bottom:3px;
  width:80px;
  height:12px;
  border-radius:50%;
  background:linear-gradient(180deg,#f8fbff,#cbd6e5);
  border:1px solid #bfcbdc;
  box-shadow:inset 0 2px 2px rgba(255,255,255,.8);
}
.core-anniversary-cake-body{
  position:absolute;
  left:13px;
  bottom:10px;
  width:64px;
  height:43px;
  border-radius:9px 9px 15px 15px;
  background:linear-gradient(90deg,#f2b86e,#ffd9a8 52%,#e8a65d);
  border:1px solid rgba(173,103,41,.25);
  overflow:hidden;
}
.core-anniversary-cake-body:before,.core-anniversary-cake-body:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:4px;
  background:rgba(157,86,37,.14);
}
.core-anniversary-cake-body:before{top:12px}.core-anniversary-cake-body:after{top:28px}
.core-anniversary-cake-body i{
  position:absolute;
  top:18px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#ff6e93;
  box-shadow:0 0 0 1px rgba(255,255,255,.45);
}
.core-anniversary-cake-body i:nth-child(1){left:8px;background:#53c8ff}.core-anniversary-cake-body i:nth-child(2){left:20px;top:31px;background:#8b7cff}.core-anniversary-cake-body i:nth-child(3){left:32px;background:#55d69e}.core-anniversary-cake-body i:nth-child(4){left:44px;top:31px;background:#ffb84d}.core-anniversary-cake-body i:nth-child(5){left:54px;background:#ff72b6}
.core-anniversary-cake-icing{
  position:absolute;
  left:10px;
  bottom:48px;
  width:70px;
  height:23px;
  border-radius:50% 50% 34% 34%;
  background:linear-gradient(180deg,#fff,#fff5ea);
  border:1px solid rgba(203,176,149,.35);
  box-shadow:0 4px 4px rgba(139,88,45,.10);
}
.core-anniversary-cake-icing:after{
  content:"";
  position:absolute;
  left:9px;
  bottom:-7px;
  width:10px;
  height:15px;
  border-radius:0 0 9px 9px;
  background:#fff7ee;
  box-shadow:17px 4px 0 -1px #fff7ee,37px 1px 0 -2px #fff7ee;
}
.core-anniversary-cake-candle{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:65px;
  transform:translateX(-50%);
  color:#fff;
  font-size:28px;
  line-height:1;
  font-weight:1000;
  -webkit-text-stroke:1.4px #ff9f1a;
  text-shadow:0 0 5px #fff,0 0 12px #ffb01f;
}
.core-anniversary-cake-flame{
  position:absolute;
  z-index:4;
  left:50%;
  bottom:89px;
  width:8px;
  height:13px;
  transform:translateX(-50%) rotate(5deg);
  transform-origin:50% 100%;
  border-radius:70% 35% 65% 35%;
  background:radial-gradient(circle at 52% 70%,#fff 0 18%,#ffe36d 19% 48%,#ff8a00 49% 100%);
  box-shadow:0 0 8px #ffd84a,0 0 18px rgba(255,143,0,.7);
  animation:coreAnniversaryFlame .82s ease-in-out infinite alternate;
}
.core-anniversary-spark{
  position:absolute;
  z-index:4;
  width:7px;
  height:7px;
  transform:rotate(45deg);
  background:#fff;
  box-shadow:0 0 8px #fff,0 0 18px #8b7cff;
  animation:coreAnniversarySpark 3.2s ease-in-out infinite;
}
.core-anniversary-spark:before,.core-anniversary-spark:after{content:"";position:absolute;inset:2px -5px;background:inherit;border-radius:999px}.core-anniversary-spark:after{transform:rotate(90deg)}
.core-anniversary-spark-a{left:15%;top:52px;animation-delay:-.4s}.core-anniversary-spark-b{right:16%;top:34px;animation-delay:-1.8s}.core-anniversary-spark-c{right:27%;top:90px;animation-delay:-2.6s}
.core-admin-celebration-control{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:15px 17px}
.core-admin-celebration-copy{display:flex;align-items:flex-start;gap:12px;min-width:0}.core-admin-celebration-copy svg{width:24px;height:24px;stroke:#f59e0b;flex:none}.core-admin-celebration-copy strong{display:block}.core-admin-celebration-copy .muted{margin-top:4px}
.core-global-switch{position:relative;display:inline-flex;width:54px;height:31px;flex:0 0 54px;cursor:pointer}.core-global-switch input{position:absolute;opacity:0;pointer-events:none}.core-global-switch span{position:absolute;inset:0;border-radius:999px;background:#cbd5e1;border:1px solid #b9c6d7;box-shadow:inset 0 1px 2px rgba(15,23,42,.09);transition:.18s}.core-global-switch span:before{content:"";position:absolute;left:3px;top:3px;width:23px;height:23px;border-radius:50%;background:#fff;box-shadow:0 4px 10px rgba(15,23,42,.22);transition:.18s}.core-global-switch input:checked+span{background:linear-gradient(135deg,#8b7cff,#5865f2);border-color:#5865f2;box-shadow:0 7px 18px rgba(88,101,242,.24)}.core-global-switch input:checked+span:before{transform:translateX(23px)}
@keyframes coreAnniversaryWireFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(1.5px)}}
@keyframes coreAnniversaryBulbSwing{0%,100%{transform:translateX(-50%) rotate(-1.8deg)}50%{transform:translateX(-50%) rotate(1.8deg)}}
@keyframes coreAnniversaryBulbGlow{0%,100%{opacity:.72;filter:saturate(.9) brightness(.95);transform:translateX(-50%) scale(.94)}48%{opacity:1;filter:saturate(1.18) brightness(1.18);transform:translateX(-50%) scale(1.06)}65%{opacity:.86;transform:translateX(-50%) scale(1)}}
@keyframes coreAnniversaryLetterGlow{0%,100%{filter:brightness(.94);opacity:.94}50%{filter:brightness(1.18);opacity:1}}
@keyframes coreAnniversaryLetterSway{0%,100%{transform:rotate(calc(var(--core-letter-tilt) - .45deg)) translateY(0)}50%{transform:rotate(calc(var(--core-letter-tilt) + .45deg)) translateY(1px)}}
@keyframes coreAnniversaryCakeFloat{0%,100%{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-3px) rotate(.5deg)}}
@keyframes coreAnniversaryFlame{0%{transform:translateX(-50%) rotate(-6deg) scale(.92,1.04)}100%{transform:translateX(-50%) rotate(8deg) scale(1.08,.94)}}
@keyframes coreAnniversarySpark{0%,100%{opacity:0;transform:rotate(45deg) scale(.25)}45%{opacity:1;transform:rotate(45deg) scale(1)}65%{opacity:.35;transform:rotate(45deg) scale(.65)}}
@media(max-width:980px){
  body.has-core-anniversary-garland .topbar-app{margin-bottom:116px}
  .core-anniversary-copy{width:88%;top:21px}
  .core-anniversary-cake{right:0;top:25px;transform:scale(.78);transform-origin:100% 0}
  .core-anniversary-title{font-size:clamp(22px,4.2vw,34px)}
}
@media(max-width:720px){
  body.has-core-anniversary-garland .topbar-app{margin-bottom:101px}
  .core-anniversary-copy{width:96%;top:19px}
  .core-anniversary-title{font-size:clamp(17px,5vw,27px)}
  .core-anniversary-letter-gap{width:.26em}
  .core-anniversary-subtitle{font-size:11px;margin-top:8px;gap:8px}
  .core-anniversary-cake{display:none}
  .core-anniversary-bulb:nth-child(even){display:none}
  .core-anniversary-spark-c{display:none}
  .core-admin-celebration-control{align-items:flex-start}
}
@media(max-width:470px){
  body.has-core-anniversary-garland .topbar-app{margin-bottom:91px}
  .core-anniversary-copy{top:18px}
  .core-anniversary-title{font-size:16px}
  .core-anniversary-subtitle{font-size:10px;letter-spacing:0}
  .core-anniversary-subtitle span{display:none}
}
@media(prefers-reduced-motion:reduce){
  .core-anniversary-wire,.core-anniversary-bulb,.core-anniversary-bulb i,.core-anniversary-letter,.core-anniversary-cake,.core-anniversary-cake-flame,.core-anniversary-spark{animation:none!important}
}


body.has-core-anniversary-garland .topbar-app{
  margin-bottom:14px!important;
}
body.has-core-anniversary-garland .topbar-app.core-anniversary-host{
  position:relative!important;
  overflow:visible!important;
}
body.has-core-anniversary-garland .topbar-app > .topbar-section-nav,
body.has-core-anniversary-garland .topbar-app > .topbar-right{
  position:relative;
  z-index:8;
}
.core-anniversary-garland{
  position:absolute!important;
  top:0!important;
  right:10px!important;
  bottom:0!important;
  left:10px!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  overflow:visible!important;
  z-index:6!important;
  pointer-events:none!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}
.core-anniversary-glow{
  display:none!important;
}
.core-anniversary-wire{
  top:auto!important;
  bottom:-2px!important;
  width:100%!important;
  height:34px!important;
  z-index:1!important;
}
.core-anniversary-bulbs{
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
}
.core-anniversary-bulb{
  top:calc(100% - 31px + var(--core-bulb-y))!important;
}
.core-anniversary-copy{
  left:50%!important;
  top:calc(100% + 10px)!important;
  width:min(760px,72%)!important;
  z-index:5!important;
}
.core-anniversary-title{
  min-height:38px!important;
  font-size:clamp(21px,2.25vw,31px)!important;
  line-height:1!important;
}
.core-anniversary-subtitle{
  display:none!important;
}
.core-anniversary-cake{
  right:2.1%!important;
  top:calc(100% + 2px)!important;
  transform:scale(.68)!important;
  transform-origin:100% 0!important;
  z-index:6!important;
}
.core-anniversary-spark-a{left:17%!important;top:calc(100% + 28px)!important}
.core-anniversary-spark-b{right:17%!important;top:calc(100% + 16px)!important}
.core-anniversary-spark-c{right:28%!important;top:calc(100% + 52px)!important}
@media(max-width:980px){
  body.has-core-anniversary-garland .topbar-app{margin-bottom:14px!important}
  .core-anniversary-copy{top:calc(100% + 8px)!important;width:82%!important}
  .core-anniversary-title{font-size:clamp(19px,3vw,27px)!important}
  .core-anniversary-cake{right:-2px!important;top:calc(100% + 1px)!important;transform:scale(.58)!important}
}
@media(max-width:720px){
  body.has-core-anniversary-garland .topbar-app{margin-bottom:14px!important}
  .core-anniversary-copy{top:calc(100% + 7px)!important;width:96%!important}
  .core-anniversary-title{font-size:clamp(15px,4.5vw,22px)!important;min-height:30px!important}
  .core-anniversary-cake{display:none!important}
}
@media(max-width:470px){
  body.has-core-anniversary-garland .topbar-app{margin-bottom:14px!important}
  .core-anniversary-copy{top:calc(100% + 6px)!important}
  .core-anniversary-title{font-size:15px!important}
}


.core-anniversary-garland{
  left:26px!important;
  right:26px!important;
}
.core-anniversary-wire{
  bottom:-1px!important;
}
.core-anniversary-copy{
  top:calc(100% + 12px)!important;
  width:min(720px,68%)!important;
}
.core-anniversary-cake{
  top:8px!important;
  right:-54px!important;
  transform:rotate(10deg) scale(.60)!important;
  transform-origin:100% 0!important;
  filter:drop-shadow(0 10px 16px rgba(30,41,59,.16))!important;
}
@media(max-width:980px){
  .core-anniversary-garland{
    left:20px!important;
    right:20px!important;
  }
  .core-anniversary-copy{
    width:70%!important;
  }
  .core-anniversary-cake{
    top:9px!important;
    right:-34px!important;
    transform:rotate(10deg) scale(.54)!important;
  }
}
@media(max-width:720px){
  .core-anniversary-garland{
    left:14px!important;
    right:14px!important;
  }
}


.core-anniversary-garland{
  top:14px!important;
  bottom:-14px!important;
}
.core-anniversary-wire{
  bottom:-3px!important;
}
.core-anniversary-copy{
  top:calc(100% + 14px)!important;
}
.core-anniversary-cake{
  top:20px!important;
}
@media(max-width:980px){
  .core-anniversary-garland{
    top:12px!important;
    bottom:-12px!important;
  }
  .core-anniversary-copy{
    top:calc(100% + 13px)!important;
  }
  .core-anniversary-cake{
    top:18px!important;
  }
}
@media(max-width:720px){
  .core-anniversary-garland{
    top:10px!important;
    bottom:-10px!important;
  }
  .core-anniversary-copy{
    top:calc(100% + 11px)!important;
  }
}


.core-native-picker{display:none!important}
.core-picker-control,.core-datetime-control{width:100%;min-width:0}
.core-picker-control{position:relative}
.core-datetime-control{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:8px;align-items:center}
.core-picker-trigger{
  width:100%;min-width:0;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:0 11px;border:1px solid #cfd8e5;border-radius:12px;background:#fff;color:#172033;
  font:800 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;text-align:left;
  box-shadow:none;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease;
}
.core-picker-trigger:hover{border-color:#9aa8bd;background:#fff}
.core-picker-trigger:focus-visible{outline:0;border-color:#5865f2;box-shadow:0 0 0 3px rgba(88,101,242,.12)}
.core-picker-trigger:disabled{opacity:.6;cursor:not-allowed;background:#f8fafc}
.core-picker-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.core-picker-control.is-empty .core-picker-value,.core-datetime-control.is-empty .core-picker-value{color:#7b8798;font-weight:700}
.core-picker-trigger-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;color:#6b7890;flex:0 0 auto}
.core-picker-trigger-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.core-date-text-control-input{width:100%;min-width:0;min-height:42px;padding-right:38px!important;font-variant-numeric:tabular-nums}
.core-date-text-icon{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:5px;background:transparent;color:#6b7890;cursor:pointer}
.core-date-text-icon:hover{background:#f1f5f9;color:#3444c5}
.core-date-text-icon:disabled{opacity:.45;cursor:not-allowed;background:transparent}
.core-date-text-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.core-date-text-control-input:focus{position:relative;z-index:1}

.core-picker-popover{
  position:fixed;z-index:15050;display:none;background:#fff;border:1px solid #d7dfeb;border-radius:18px;
  box-shadow:0 22px 64px rgba(15,23,42,.20);overflow:hidden;pointer-events:auto;color:#172033;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
}
.core-picker-popover.open{display:block}
.core-picker-head{height:46px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;border-bottom:1px solid #e6ebf2;background:#fbfcff}
.core-picker-head strong{font-size:13px;font-weight:900}
.core-picker-icon-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;color:#536176;font:800 19px/1 system-ui;cursor:pointer}
.core-picker-icon-btn:hover{background:#f1f5f9;color:#263246}
.core-picker-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;border-top:1px solid #e6ebf2;background:#fbfcfe}
.core-picker-foot-left{display:flex;gap:6px;min-width:0}
.core-picker-foot button{min-height:32px;padding:0 10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font:800 12px/1 system-ui;cursor:pointer}
.core-picker-foot button:hover{background:#f1f5f9;border-color:#aeb9c8}
.core-picker-foot button.primary{background:#5865f2;border-color:#5865f2;color:#fff}
.core-picker-foot button.primary:hover{background:#4f5be0;border-color:#4f5be0}
.core-picker-foot button[hidden]{display:none!important}

.core-calendar-popover{width:292px}
.core-calendar-nav{display:flex;align-items:center;gap:4px}
.core-calendar-title{font-size:13px;font-weight:900;text-transform:capitalize}
.core-calendar-week{display:grid;grid-template-columns:repeat(7,1fr);padding:8px 10px 2px;color:#8a96a8;font-size:10px;font-weight:900;text-align:center}
.core-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:5px 10px 10px}
.core-calendar-day{height:34px;border:0;border-radius:10px;background:transparent;color:#263246;font:800 12px/1 system-ui;cursor:pointer}
.core-calendar-day:hover{background:#eef2ff;color:#3444c5}
.core-calendar-day.muted{color:#b2bcc9}
.core-calendar-day.today{box-shadow:inset 0 0 0 1px #a5b4fc}
.core-calendar-day.selected{background:#5865f2;color:#fff;box-shadow:none}
.core-calendar-day.disabled{opacity:.35;cursor:not-allowed;background:transparent;color:#aab4c2;box-shadow:none}

.core-time-popover{width:248px}
.core-time-wheels{position:relative;display:grid;grid-template-columns:1fr 28px 1fr;height:210px;padding:0 12px;background:#fff;overflow:hidden}
.core-time-wheel{position:relative;z-index:1;height:210px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;padding:84px 0}
.core-time-wheel::-webkit-scrollbar{display:none}
.core-time-wheel-item{height:42px;width:100%;display:flex;align-items:center;justify-content:center;scroll-snap-align:center;border:0;background:transparent;color:#7a8799;font:800 18px/1 ui-monospace,SFMono-Regular,Consolas,monospace;cursor:pointer}
.core-time-wheel-item:hover{color:#334155}
.core-time-wheel-item.selected{color:#111827;font-size:21px}
.core-time-colon{display:flex;align-items:center;justify-content:center;font:900 22px/1 system-ui;color:#475569;pointer-events:none}
.core-time-focus{position:absolute;z-index:0;left:12px;right:12px;top:84px;height:42px;border-top:1px solid #dbe3ee;border-bottom:1px solid #dbe3ee;background:rgba(88,101,242,.045);pointer-events:none}
.core-time-wheels:before,.core-time-wheels:after{content:"";position:absolute;left:0;right:0;height:64px;z-index:2;pointer-events:none}
.core-time-wheels:before{top:0;background:linear-gradient(#fff,rgba(255,255,255,0))}
.core-time-wheels:after{bottom:0;background:linear-gradient(rgba(255,255,255,0),#fff)}


.core-month .core-month-trigger{min-height:42px;border-radius:12px;padding:0 11px;background:#fff;border-color:#cfd8e5;box-shadow:none;font:800 13px/1 system-ui}
.core-month .core-month-trigger:hover{border-color:#9aa8bd;background:#fff}
.core-month .core-month-trigger:focus-visible{outline:0;border-color:#5865f2;box-shadow:0 0 0 3px rgba(88,101,242,.12)}
.core-month-menu{min-width:292px!important;width:292px!important;max-width:calc(100vw - 20px)!important;padding:0!important;gap:0!important;border-radius:18px!important;border-color:#d7dfeb!important;box-shadow:0 22px 64px rgba(15,23,42,.20)!important;overflow:hidden!important}
.core-month-head{height:46px;margin:0;padding:0 10px;border-bottom:1px solid #e6ebf2;gap:6px}
.core-month-year{font-size:13px;font-weight:900;letter-spacing:0;text-align:center}
.core-month-nav{width:32px;min-width:32px;min-height:32px;height:32px;padding:0;border:0;border-radius:10px;background:transparent;color:#536176;font-size:19px;box-shadow:none}
.core-month-nav:hover{background:#f1f5f9;border-color:transparent;color:#263246}
.core-month-meta{display:none}
.core-month-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:10px}
.core-month-cell{min-height:38px;border:0;border-radius:10px;background:transparent;color:#263246;font:800 12px/1 system-ui;text-transform:capitalize;box-shadow:none}
.core-month-cell:hover{border-color:transparent;background:#eef2ff;color:#3444c5}
.core-month-cell.is-current:not(.is-selected){border:0;box-shadow:inset 0 0 0 1px #a5b4fc;background:transparent;color:#3444c5}
.core-month-cell.is-selected{border:0;background:#5865f2;color:#fff;box-shadow:none}
.core-month-cell.is-disabled{opacity:.35;background:transparent;color:#aab4c2}
.core-month-actions{margin:0;padding:9px 10px;border-top:1px solid #e6ebf2;background:#fbfcfe;display:flex;justify-content:space-between;gap:6px;flex-direction:row}
.core-month-action{width:auto!important;min-height:32px;padding:0 10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font:800 12px/1 system-ui;box-shadow:none}
.core-month-action:hover{background:#f1f5f9;border-color:#aeb9c8;color:#334155}
.core-month-action:first-child{background:#5865f2;border-color:#5865f2;color:#fff}
.core-month-action:first-child:hover{background:#4f5be0;border-color:#4f5be0;color:#fff}
.core-month-action.ghost{background:#fff}
body.scope-manager .manager-month-row .core-month-menu{min-width:292px!important;width:292px!important}


@media (min-width:1201px){
  body.scope-manager .content{
    max-width:1440px;
    padding-left:20px;
    padding-right:20px;
  }
  body.scope-cabinet .content{
    max-width:1440px;
    padding-left:20px;
    padding-right:20px;
  }
}
@media (max-width:620px){
  .core-datetime-control{grid-template-columns:1fr}
  .core-picker-foot{align-items:stretch}
  .core-picker-foot-left{flex-wrap:wrap}
}


@media (max-width:390px){
  body.scope-guest .content.guest-content,
  body.scope-admin .content,
  body.scope-cabinet .content,
  body.scope-manager .content,
  body.scope-staff .content.staff-content{
    width:100%;
    max-width:390px;
    padding-left:12px;
    padding-right:12px;
  }
}



@media (min-width:1181px){
  .core-ui-portal-root > .core-select-menu,
  .core-ui-portal-root > .core-picker-popover{
    transform:scale(.8);
    transform-origin:top left;
  }
}






body.scope-admin:has(.adm-v5){background:#f3f5f7!important}
body.scope-admin:has(.adm-v5) .content{max-width:1580px!important;padding-top:14px!important}
.adm-v5{
  --a-bg:#f3f5f7;--a-surface:#fff;--a-soft:#f7f8fa;--a-line:#dde2e8;--a-line2:#e9edf1;
  --a-text:#1f2937;--a-muted:#667085;--a-subtle:#98a2b3;--a-accent:#5865f2;--a-accent-soft:#eef0ff;
  color:var(--a-text);min-width:0;padding-bottom:28px
}
.adm-v5 *{box-sizing:border-box}
.adm-v5 a{color:inherit}
.adm-v5 .muted,.adm-v5 small{color:var(--a-muted)}
.adm-v5 code{font-family:Consolas,"SFMono-Regular",monospace;font-size:12px}
.adm-v5 .card,.adm-v5 .soft-panel{box-shadow:none!important}
.adm-v5 .btn{min-height:38px;border-radius:8px!important;padding:0 13px!important;font-weight:800!important;box-shadow:none!important}
.adm-v5 .btn.small,.adm-v5 .btn.tiny{min-height:32px;padding:0 10px!important}
.adm-v5 input:not([type=checkbox]):not([type=radio]):not([type=color]),
.adm-v5 select,.adm-v5 textarea{border:1px solid #d5dbe3!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;color:var(--a-text)!important}
.adm-v5 input:not([type=checkbox]):not([type=radio]):not([type=color]),.adm-v5 select{min-height:40px!important;padding:8px 11px!important}
.adm-v5 textarea{padding:10px 11px!important;line-height:1.45}
.adm-v5 input:focus,.adm-v5 select:focus,.adm-v5 textarea:focus{border-color:#8b94f7!important;box-shadow:0 0 0 3px rgba(88,101,242,.10)!important;outline:0!important}
.adm-v5 .form-row label,.adm-v5 label>span:first-child{font-size:11px!important;font-weight:850!important;color:#667085!important;letter-spacing:.02em}


.adm-pagebar{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 2px 14px;margin:0 0 12px;border-bottom:1px solid var(--a-line)}
.adm-page-title{min-width:0}.adm-page-title>span,.adm-eyebrow{display:block;margin-bottom:5px;color:#8a94a3;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}
.adm-page-title h1{margin:0;font-size:27px;line-height:1.08;letter-spacing:-.035em;color:var(--a-text);font-weight:900}
.adm-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.adm-page-fact{display:inline-flex;align-items:baseline;gap:5px;padding:6px 9px;border-left:1px solid var(--a-line);color:var(--a-muted);font-size:12px;white-space:nowrap}
.adm-page-fact b{color:var(--a-text);font-size:13px}.adm-page-actions>a:not(.btn){font-size:12px;font-weight:800;color:#4c56c9;text-decoration:none;padding:6px 8px}


.adm-workpanel,.adm-settings-sheet,.adm-history-sheet,.adm-ops-panel,.adm-editor-pane,.adm-list-pane,.adm-composer-pane,.adm-notification-feed,.adm-registry-panel,.adm-key-console,.adm-command-panel,.adm-log-panel,.adm-api-manual{
  background:var(--a-surface);border:1px solid var(--a-line);border-radius:10px;box-shadow:none
}
.adm-commandbar{display:flex;align-items:center;gap:8px;padding:10px;border-bottom:1px solid var(--a-line2);background:#fbfcfd}
.adm-commandbar>select{width:auto;min-width:150px}.adm-commandbar-compact{border:0;padding:0 0 12px;background:transparent}
.adm-searchbox{display:flex;align-items:center;gap:8px;min-width:0;flex:1;border:1px solid #d5dbe3;border-radius:8px;background:#fff;padding:0 10px;color:#98a2b3}
.adm-searchbox svg{width:17px;height:17px;flex:0 0 17px}.adm-searchbox input{border:0!important;box-shadow:none!important;padding-left:0!important;min-width:0;width:100%;background:transparent!important}
.adm-sectionline{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-bottom:1px solid var(--a-line2);font-size:12px;color:var(--a-muted)}
.adm-sectionline>div{display:flex;align-items:baseline;gap:8px}.adm-sectionline strong{color:var(--a-text);font-size:13px}.adm-sectionline span{color:var(--a-muted)}
.adm-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 12px}
.adm-section-heading>div>span{display:block;color:#98a2b3;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.adm-section-heading h2,.adm-section-heading h3{margin:0;color:var(--a-text);font-size:18px;line-height:1.15;letter-spacing:-.02em}.adm-section-heading>a{font-size:12px;font-weight:850;color:#4f58ce;text-decoration:none}
.adm-section-heading>small{font-size:11px}.adm-section-footer{display:flex;justify-content:flex-end;padding-top:12px;margin-top:12px;border-top:1px solid var(--a-line2)}
.adm-empty{padding:18px;color:#8a94a3;font-size:13px;text-align:center}.adm-mono-muted{font-family:Consolas,monospace;font-size:11px;color:#667085}
.adm-table-shell{overflow:auto;min-width:0}.adm-table{margin:0!important;border-collapse:collapse!important;width:100%}
.adm-table th{height:36px;padding:7px 11px!important;background:#f7f8fa!important;border-bottom:1px solid var(--a-line)!important;color:#667085!important;font-size:10px!important;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap}
.adm-table td{padding:10px 11px!important;border-bottom:1px solid var(--a-line2)!important;vertical-align:middle!important;font-size:12px!important;background:#fff!important}.adm-table tr:last-child td{border-bottom:0!important}.adm-table tbody tr:hover td{background:#fafbff!important}
.adm-table td strong{display:block;color:var(--a-text);font-size:13px}.adm-table td small{display:block;margin-top:3px;font-size:11px;max-width:360px;overflow:hidden;text-overflow:ellipsis}
.adm-row-open{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;text-decoration:none;color:#667085}.adm-row-open:hover{background:var(--a-accent-soft);color:var(--a-accent)}.adm-row-open svg{width:18px;height:18px}
.adm-row-actions,.adm-inline-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.adm-row-actions form,.adm-inline-actions form{margin:0}
.adm-sticky-save{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:16px -18px -18px;padding:11px 18px;border-top:1px solid var(--a-line);background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
.adm-checkline{display:flex!important;align-items:center!important;gap:8px!important;font-size:12px!important;color:var(--a-text)!important}


.adm-metric-ribbon{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;margin:0 0 12px!important;background:#fff!important;border:1px solid var(--a-line)!important;border-radius:10px!important;overflow:hidden!important;box-shadow:none!important}
.adm-metric-ribbon>div,.adm-metric-ribbon>.ai-stat,.adm-metric-ribbon>.sec-card,.adm-metric-ribbon>.api-card{min-width:0;padding:12px 14px!important;border:0!important;border-right:1px solid var(--a-line2)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.adm-metric-ribbon>div:last-child,.adm-metric-ribbon>.ai-stat:last-child,.adm-metric-ribbon>.sec-card:last-child,.adm-metric-ribbon>.api-card:last-child{border-right:0!important}
.adm-metric-ribbon span,.adm-metric-ribbon .muted{display:block!important;color:#7b8492!important;font-size:10px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.adm-metric-ribbon strong{display:block!important;margin-top:5px!important;color:var(--a-text)!important;font-size:22px!important;line-height:1!important}.adm-metric-ribbon small{display:block;margin-top:5px;font-size:10px}


.adm-statusrail{display:flex;align-items:stretch;gap:0;margin-bottom:12px;border:1px solid var(--a-line);border-radius:10px;background:#fff;overflow:hidden}
.adm-statusrail-item{display:flex;align-items:center;gap:10px;padding:10px 14px;border-right:1px solid var(--a-line2);text-decoration:none;font-size:12px;color:#667085;min-width:0}
.adm-statusrail-item b{color:#344054;font-size:14px}.adm-statusrail-item.active{background:#f0f2ff;color:#4650c6}.adm-statusrail-item.active b{color:#4650c6}.adm-statusrail-switch{margin-left:auto;display:flex;align-items:center;gap:10px;padding:7px 12px;font-size:11px;font-weight:800;color:#667085}
.adm-clients-workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;align-items:start}.adm-clients-main{min-width:0;overflow:hidden}
.adm-clients-side{position:sticky;top:16px;border:1px solid var(--a-line);border-radius:10px;background:#fff;overflow:hidden}.adm-inspector-block{padding:14px;border-bottom:1px solid var(--a-line2)}.adm-inspector-block:last-child{border-bottom:0}.adm-inspector-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#667085;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.adm-inspector-title a{color:#4f58ce;text-decoration:none;text-transform:none;letter-spacing:0}.adm-release-version{display:block;font-size:25px;letter-spacing:-.03em}.adm-inspector-note{margin-top:5px;color:#7b8492;font-size:11px}
.adm-bug-row{display:grid;grid-template-columns:8px minmax(0,1fr);gap:9px;padding:9px 0;border-top:1px solid var(--a-line2);text-decoration:none}.adm-bug-row:first-of-type{border-top:0}.adm-bug-row strong{display:block;font-size:12px;line-height:1.3}.adm-bug-row small{display:block;margin-top:3px;font-size:10px}.adm-bug-dot{width:7px;height:7px;border-radius:50%;margin-top:4px;background:#98a2b3}.adm-bug-dot.new,.adm-bug-dot.open{background:#f59e0b}.adm-bug-dot.closed,.adm-bug-dot.done{background:#22c55e}


.adm-create-drawer{margin-bottom:12px;border:1px solid var(--a-line);border-radius:9px;background:#fff}.adm-create-drawer>summary{display:inline-flex!important;border:0!important;background:transparent!important;border-radius:0!important;padding:10px 12px!important;min-height:0!important;color:#344054!important}.adm-create-drawer[open]>summary{border-bottom:1px solid var(--a-line2)!important}.adm-create-drawer .managed-account-create-form{padding:0 12px 12px;margin-top:10px!important}
.adm-users-shell{display:grid;grid-template-columns:285px minmax(0,1fr) 305px;min-height:680px;border:1px solid var(--a-line);border-radius:10px;background:#fff;overflow:hidden}.adm-directory{min-width:0;background:#fbfcfd;border-right:1px solid var(--a-line);padding:10px;display:flex;flex-direction:column}.adm-directory-search{flex:0 0 auto}.adm-directory-count,.adm-directory-heading{padding:9px 4px 8px;color:#8a94a3;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.adm-directory-list{overflow:auto;min-height:0;flex:1;padding-right:2px}
.adm-users .core-users-list{position:static!important;height:auto!important;max-height:none!important;border:0!important;border-radius:0!important;padding:10px!important;overflow:hidden!important;background:#fbfcfd!important}.adm-users .core-user-link{margin:0 0 3px!important;padding:8px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;gap:9px!important}.adm-users .core-user-link:hover{background:#f3f5f8!important}.adm-users .core-user-link.active{background:var(--a-accent-soft)!important;border-color:#d9ddff!important}.adm-users .core-user-miniavatar{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:8px!important}.adm-users .core-user-link strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.adm-users .core-user-link small{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adm-user-center{min-width:0;padding:0 18px 20px;border-right:1px solid var(--a-line)}.adm-user-identity{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--a-line2)}.adm-user-identity h2{margin:0;font-size:22px;letter-spacing:-.03em}.adm-user-identity p{margin:4px 0 0;color:#667085;font-size:11px}.adm-settings-section{padding:16px 0;border-bottom:1px solid var(--a-line2)}.adm-settings-section:last-child{border-bottom:0}.adm-inline-form{display:grid;grid-template-columns:1.2fr .8fr 1fr auto;gap:8px;align-items:end}.adm-inline-form label,.adm-form-grid label,.adm-release-form>label,.adm-color-grid label,.adm-upload-row>label{display:grid;gap:5px}.adm-role-assignments{display:grid;gap:6px}.adm-role-assignment{border:1px solid var(--a-line2);border-radius:8px;background:#fff}.adm-role-assignment summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;cursor:pointer;list-style:none}.adm-role-assignment summary::-webkit-details-marker{display:none}.adm-role-assignment summary strong{display:block;font-size:12px}.adm-role-assignment summary small{display:block;margin-top:3px;font-size:10px}.adm-role-permissions{padding:11px;border-top:1px solid var(--a-line2);background:#fafbfc}.adm-users .perm-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.adm-users .perm-grid label,.adm-users .notify-access-grid label{border:1px solid var(--a-line2)!important;border-radius:7px!important;background:#fff!important;padding:8px!important;font-size:11px!important}.adm-users .perm-grid label span small,.adm-users .notify-access-grid small{display:block;margin-top:2px;font-size:9px;color:#98a2b3}.adm-users .notify-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
.adm-user-side{background:#fbfcfd;padding:0 14px 14px;min-width:0}.adm-side-setting{padding:14px 0;border-bottom:1px solid var(--a-line2)}.adm-side-setting:last-child{border-bottom:0}.adm-side-setting-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;font-weight:850;font-size:12px}.adm-side-setting-title small{font-size:10px}.adm-side-setting-title a{font-size:10px;color:#4f58ce;text-decoration:none}.adm-side-setting .form{gap:7px!important}.adm-side-setting .btn{width:100%;justify-content:center}.adm-user-badges .badge-picker-row{gap:5px!important;margin:8px 0}.adm-user-badges .badge-picker{padding:5px!important;border-radius:7px!important}.adm-danger-zone p{font-size:11px;line-height:1.45;color:#7b8492}


.adm-role-shell{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:720px;border:1px solid var(--a-line);border-radius:10px;background:#fff;overflow:hidden}.adm-role-directory{padding:10px}.adm-role-directory .adm-role-list{overflow:auto;max-height:760px}.adm-roles .core-role-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0 0 3px!important;padding:9px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;text-decoration:none}.adm-roles .core-role-row.active{background:var(--a-accent-soft)!important;border-color:#d9ddff!important}.adm-roles .core-role-row span>small{display:block;margin-top:4px;font-size:9px}.adm-roles .core-role-row em{font-style:normal;font-size:10px;color:#98a2b3}.adm-settings-sheet{border:0;border-radius:0;padding:0 18px 18px;min-width:0}.adm-role-editor-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid var(--a-line2)}.adm-role-editor-head h2{margin:0;font-size:22px}.adm-role-editor-head p{margin:3px 0 0;color:#98a2b3;font-size:11px}.adm-role-preview{display:flex;align-items:center;gap:10px;padding:7px 9px;border:1px solid var(--a-line2);border-radius:8px}.adm-role-preview>span{font-size:10px;color:#98a2b3}.adm-role-form .adm-settings-section{padding:16px 0}.adm-form-grid{display:grid;gap:8px}.adm-form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.adm-toggle-field{display:flex!important;align-items:center!important;justify-content:space-between!important;border:1px solid var(--a-line2);border-radius:8px;padding:0 11px!important;min-height:40px}.adm-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.adm-color-grid input[type=color]{width:100%;height:42px;border:1px solid var(--a-line);padding:3px;border-radius:8px;background:#fff}.adm-roles .role-perm-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin-top:0!important}.adm-roles .role-perm-grid label{border:1px solid var(--a-line2)!important;border-radius:7px!important;padding:8px!important;background:#fff!important;font-size:11px!important;font-weight:750!important}


.adm-release-shell{display:grid;grid-template-columns:minmax(0,1.25fr) 390px;gap:12px;align-items:start}.adm-release-editor{padding:18px;border:1px solid var(--a-line);border-radius:10px}.adm-release-form{display:grid;gap:10px}.adm-release-form textarea[name=notes]{min-height:140px}.adm-upload-row{display:grid;grid-template-columns:1.4fr .6fr;gap:8px}.adm-file-drop{position:relative;display:grid!important;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:11px;border:1px dashed #c8d0da;border-radius:8px;background:#fafbfc}.adm-file-drop>span{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#eef0ff;color:#5865f2}.adm-file-drop>span svg{width:19px;height:19px}.adm-file-drop strong{font-size:12px}.adm-file-drop small{font-size:10px}.adm-file-drop input[type=file]{grid-column:1/-1;margin-top:6px;border:0!important;padding:0!important;min-height:26px!important;background:transparent!important}.adm-advanced{border-top:1px solid var(--a-line2);padding-top:9px}.adm-advanced summary{cursor:pointer;font-size:11px;font-weight:850;color:#667085;margin-bottom:10px}.adm-advanced>div{margin-bottom:8px}.adm-release-inspector{position:sticky;top:16px;border:1px solid var(--a-line);border-radius:10px;background:#fff;overflow:hidden}.adm-release-kv{margin-top:12px}.adm-release-kv>div{padding:8px 0;border-top:1px solid var(--a-line2)}.adm-release-kv span{display:block;color:#98a2b3;font-size:9px;text-transform:uppercase;font-weight:900}.adm-release-kv code{display:block;margin-top:3px;word-break:break-all;font-size:10px}.adm-endpoint-list{display:grid;gap:6px}.adm-endpoint-list code{display:block;padding:7px 8px;border:1px solid var(--a-line2);border-radius:6px;background:#f7f8fa;color:#4650c6;overflow:hidden;text-overflow:ellipsis}.adm-history-sheet{margin-top:12px;padding:14px;border:1px solid var(--a-line);border-radius:10px;background:#fff}.adm-endpoint-links{gap:2px}.adm-endpoint-links a{font-family:Consolas,monospace;font-size:11px!important;color:#4c56c9!important}.adm-state-on{color:#15803d;font-weight:900}.adm-state-off{color:#98a2b3;font-weight:800}


.adm-ai-rolls .ai-page-head{display:none}.adm-ai-ribbon.ai-stat-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.adm-ai-rolls .ai-stat strong{font-size:22px!important}.adm-ai-control{display:grid!important;grid-template-columns:minmax(0,1.35fr) 340px!important;gap:12px!important;margin-top:0!important}.adm-ai-rolls .ai-card{border:1px solid var(--a-line)!important;border-radius:10px!important;background:#fff!important;padding:15px!important;box-shadow:none!important}.adm-ai-rolls .ai-layout .ai-card:first-child{min-height:220px}.adm-ai-rolls .ai-section-head{margin-bottom:10px}.adm-ai-rolls .ai-section-head h2{font-size:18px}.adm-ai-rolls .ai-status-line{margin:0}.adm-ai-rolls .ai-progress{height:5px;border-radius:0}.adm-ai-rolls .ai-metrics{gap:0;border-top:1px solid var(--a-line2);border-bottom:1px solid var(--a-line2);margin-top:14px}.adm-ai-rolls .ai-metric{padding:10px!important;border-left:0!important;border-right:1px solid var(--a-line2)}.adm-ai-rolls .ai-metric:last-child{border-right:0}.adm-ai-rolls .ai-data-grid{gap:12px}.adm-ai-rolls .ai-detail-grid{gap:0;border:1px solid var(--a-line2);border-radius:8px;overflow:hidden}.adm-ai-rolls .ai-detail-cell{border:0!important;border-right:1px solid var(--a-line2)!important;border-bottom:1px solid var(--a-line2)!important;background:#fff!important}.adm-ai-rolls section.card{border:1px solid var(--a-line)!important;border-radius:10px!important;box-shadow:none!important}.adm-ai-rolls .ai-weight{padding:8px 0}.adm-ai-rolls .ai-model-note{background:#fafbff;border-left:2px solid #5865f2}


.adm-badge-shell{display:grid;grid-template-columns:360px minmax(0,1fr);gap:12px;align-items:start}.adm-badge-create,.adm-badge-catalog{background:#fff;border:1px solid var(--a-line);border-radius:10px;padding:15px}.adm-badge-create{position:sticky;top:16px}.adm-badges .card-head{margin-bottom:12px!important}.adm-badge-create .filters{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.adm-badge-create .filters>.form-row:nth-last-child(3),.adm-badge-create .filters>.form-row:nth-last-child(2){grid-column:1/-1}.adm-badge-catalog .badge-picker-row{padding:8px 0 12px;border-bottom:1px solid var(--a-line2);margin-bottom:8px}.adm-badges .table th:nth-child(3),.adm-badges .table td:nth-child(3){width:230px}.adm-badges .table td{vertical-align:top!important}.adm-badges .badge-edit-form{gap:6px!important}.adm-badges .badge-icon-preview{border-radius:8px!important;width:42px!important;height:42px!important}.adm-badges .badge-color-row input[type=color]{height:40px!important;border-radius:7px!important}


.adm-editor-workspace{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)!important;gap:12px!important;align-items:start!important;margin-top:0!important}.adm-editor-pane,.adm-list-pane{padding:15px;min-width:0}.adm-list-pane{position:sticky;top:16px;max-height:calc(100vh - 130px);overflow:auto}.adm-editor-pane .card-head,.adm-list-pane .card-head{margin-bottom:12px!important}.adm-announcements .announce-picker-grid,.adm-client-notices .announce-picker-grid{grid-template-columns:1fr!important}.adm-announcements .announce-icon-grid,.adm-client-notices .announce-icon-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}.adm-announcements .announce-icon-tile,.adm-client-notices .announce-icon-tile{border-radius:7px!important;padding:7px!important}.adm-announcements .announce-tone-grid,.adm-client-notices .announce-tone-grid{gap:5px!important}.adm-announcements .announce-tone-tile,.adm-client-notices .announce-tone-tile{border-radius:7px!important}.adm-list-pane .admin-feed-item,.adm-list-pane .admin-news-item{padding:11px 0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--a-line2)!important;border-radius:0!important;background:transparent!important}.adm-list-pane .admin-feed-item:last-child,.adm-list-pane .admin-news-item:last-child{border-bottom:0!important}.adm-news .news-cover-picker{border-radius:8px!important;min-height:120px!important}.adm-news .admin-news-preview{border-radius:7px!important;background:#f7f8fa!important;border:0!important}.adm-news .admin-news-actions{gap:5px!important}


.adm-notification-shell{display:grid!important;grid-template-columns:390px minmax(0,1fr)!important;gap:12px!important;margin-top:0!important}.adm-composer-pane,.adm-notification-feed{padding:15px}.adm-composer-pane{position:sticky;top:16px}.adm-notifications .notif-card{margin:0!important;padding:12px 0!important;border:0!important;border-bottom:1px solid var(--a-line2)!important;border-radius:0!important;background:transparent!important}.adm-notifications .notif-card:last-child{border-bottom:0!important}.adm-notifications .notif-card-title{font-size:13px}.adm-notifications .notif-card-body{font-size:12px;line-height:1.45}.adm-notifications .notif-card-meta{font-size:10px}


.adm-registry-panel{padding:15px}.adm-push .push-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.adm-push .push-user{border:1px solid var(--a-line)!important;border-radius:8px!important;padding:12px!important;background:#fff!important}.adm-push .push-device{border-radius:6px!important;padding:8px!important;background:#f7f8fa!important}.adm-key-console{max-width:980px;padding:16px}.adm-vapid .adm-key-console textarea{font-family:Consolas,monospace;font-size:12px;min-height:92px!important}.adm-vapid .adm-key-console .notice{border-radius:8px!important}


.adm-command-panel{padding:12px;margin-bottom:10px}.adm-command-panel .card-head{display:none!important}.adm-command-panel .filters,.adm-command-panel .action-log-filter{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) auto!important;gap:7px!important;align-items:end!important}.adm-log-panel{padding:0;overflow:hidden}.adm-log-panel .card-head{padding:12px 13px;margin:0!important;border-bottom:1px solid var(--a-line2)}.adm-activity .adm-log-panel .table-wrap{max-height:720px;overflow:auto}.adm-action-log .action-log-list{gap:0!important}.adm-action-log .action-log-row{grid-template-columns:minmax(0,1fr) 220px!important;margin:0!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid var(--a-line2)!important;border-radius:0!important;background:#fff!important}.adm-action-log .action-log-row:hover{background:#fafbff!important}.adm-action-log .action-log-title{font-size:12px}.adm-action-log .action-log-meta{font-size:10px!important;margin-top:3px!important}.adm-action-log .action-log-json{border-radius:6px!important;font-size:10px!important}.adm-action-log .action-log-pager{padding:10px 12px;margin:0!important;border-top:1px solid var(--a-line2)}


.adm-local-nav{display:flex;align-items:center;gap:4px;margin:-2px 0 10px;padding:0 2px}.adm-local-nav a{padding:6px 9px;border-radius:7px;color:#667085;text-decoration:none;font-size:11px;font-weight:850}.adm-local-nav a:hover,.adm-local-nav a.active{background:#e9ecf4;color:#344054}.adm-metrics-filter{display:grid;grid-template-columns:100px minmax(280px,440px) auto;gap:7px;align-items:center}.adm-metrics-filter .adm-searchbox{height:40px}.adm-metric-ribbon-secondary{margin-top:-5px!important}.adm-metric-ribbon-secondary strong{font-size:17px!important}.adm-search-results{margin-bottom:12px;padding:14px;border:1px solid var(--a-line);border-radius:10px;background:#fff}.adm-result-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--a-line2);text-decoration:none}.adm-result-row strong{font-size:12px}.adm-result-row small{display:block;margin-top:3px;font-size:10px}.adm-result-row time{font-size:10px;color:#98a2b3;white-space:nowrap}.adm-ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.adm-ops-grid-wide{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)}.adm-ops-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.adm-ops-panel{padding:14px;min-width:0}.adm-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--a-line2);border-radius:8px;overflow:hidden}.adm-health-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:start;gap:8px;padding:9px;border-bottom:1px solid var(--a-line2);border-right:1px solid var(--a-line2)}.adm-health-row:nth-child(even){border-right:0}.adm-health-row strong{display:block;font-size:11px}.adm-health-row small{display:block;margin-top:2px;font-size:9px}.adm-health-row>b{font-size:9px;text-transform:uppercase}.adm-release-impact-head{display:flex;align-items:baseline;gap:8px;padding:8px 0}.adm-release-impact-head strong{font-size:20px}.adm-release-impact-head span{font-size:10px;color:#98a2b3}.adm-impact-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--a-line2);border-radius:8px;overflow:hidden}.adm-impact-stats>*{padding:10px;border-right:1px solid var(--a-line2);text-decoration:none}.adm-impact-stats>*:last-child{border-right:0}.adm-impact-stats b{display:block;font-size:19px}.adm-impact-stats span{font-size:9px;color:#98a2b3}.adm-impact-modules{margin-top:8px}.adm-impact-modules a,.adm-backup-row,.adm-compact-row,.adm-flag-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--a-line2);text-decoration:none}.adm-impact-modules a:first-child,.adm-backup-row:first-child,.adm-compact-row:first-child,.adm-flag-row:first-child{border-top:0}.adm-impact-modules span,.adm-compact-row strong,.adm-flag-row strong{font-size:11px}.adm-impact-modules b,.adm-compact-row b{font-size:11px}.adm-backup-row strong{display:block;font-size:11px}.adm-backup-row small{display:block;margin-top:2px;font-size:9px}.adm-backup-row details{position:relative}.adm-backup-row details>summary{cursor:pointer;font-size:10px;font-weight:800}.adm-backup-row details[open]{padding:8px;border:1px solid var(--a-line);border-radius:7px;background:#fff}.adm-check-runs details{border-top:1px solid var(--a-line2)}.adm-check-runs details:first-child{border-top:0}.adm-check-runs summary{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:8px 0;cursor:pointer;font-size:10px}.adm-check-runs details>div p{display:grid;grid-template-columns:180px 1fr;gap:8px;margin:0;padding:7px 0;border-top:1px solid var(--a-line2);font-size:10px}.adm-alert-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px 0;border-top:1px solid var(--a-line2)}.adm-alert-row:first-child{border-top:0}.adm-alert-row strong{display:block;font-size:11px}.adm-alert-row small{display:block;font-size:9px}.adm-alert-row p{margin:5px 0 0;font-size:11px}.adm-alert-row form{display:flex;gap:5px}.adm-flag-row small,.adm-compact-row small{display:block;margin-top:2px;font-size:9px}


.adm-security .sec-grid{margin:0 0 12px!important}.adm-security .sec-card{padding:12px 14px!important}.adm-security-maintenance{padding:14px!important;margin-bottom:12px!important;border-radius:10px!important;box-shadow:none!important}.adm-security-maintenance .card-head{margin-bottom:10px!important}.adm-security .switch-row{border-radius:8px!important;padding:9px 10px!important}.adm-security .maintenance-control-grid{grid-template-columns:180px minmax(240px,1fr) 190px!important;gap:8px!important}.adm-security .maintenance-form{gap:8px!important}.adm-security-live{display:grid!important;grid-template-columns:1.15fr .85fr!important;gap:12px!important}.adm-security-live>.card,.adm-security-users,.adm-security-devices{border:1px solid var(--a-line)!important;border-radius:10px!important;box-shadow:none!important;padding:13px!important}.adm-security-users,.adm-security-devices{margin-top:12px!important}.adm-security .sec-pill{border-radius:6px!important;padding:4px 7px!important;font-size:10px!important}


.adm-modules.module-control-page{gap:12px!important}.adm-module-ribbon{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:0!important}.adm-modules .module-control-summary>div{padding:12px 14px!important;border:0!important;border-right:1px solid var(--a-line2)!important;border-radius:0!important}.adm-modules .module-control-list{gap:0!important;border:1px solid var(--a-line)!important;border-radius:10px!important;overflow:hidden;background:#fff}.adm-modules .module-control-card{border:0!important;border-bottom:1px solid var(--a-line)!important;border-radius:0!important;box-shadow:none!important}.adm-modules .module-control-card:last-child{border-bottom:0!important}.adm-modules .module-control-head{padding:11px 13px!important}.adm-modules .module-control-icon{width:34px!important;height:34px!important;border-radius:7px!important}.adm-modules .module-control-title strong{font-size:13px!important}.adm-modules .module-control-title code{font-size:10px!important}.adm-modules .module-control-badge{border-radius:5px!important;font-size:9px!important}.adm-modules .module-control-tabs{background:#fafbfc!important}.adm-modules .module-control-tabs-title{padding:8px 13px!important}.adm-modules .module-control-tab{padding:8px 13px!important;background:#fafbfc!important}.adm-modules .module-control-details summary{padding:9px 13px!important}.adm-modules .module-control-form{padding:0 13px 13px!important}


.adm-scheduler-shell{display:grid;gap:12px}.adm-jobs #cron-live-root,.adm-jobs .card{border:1px solid var(--a-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}.adm-jobs #cron-live-root{padding:13px}.adm-jobs .cron-head{margin:0 0 10px!important}.adm-jobs .cron-head h2{font-size:17px;margin:0}.adm-jobs .cron-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.adm-jobs .cron-card{border:1px solid var(--a-line2)!important;border-radius:7px!important;padding:10px!important;box-shadow:none!important}.adm-jobs>.adm-scheduler-shell>.card,.adm-jobs .adm-scheduler-shell>.card{padding:13px!important}.adm-jobs .table td{font-size:11px!important}


.adm-api-ribbon{grid-template-columns:repeat(4,minmax(0,1fr))!important}.adm-api-debug .adm-command-panel,.adm-api-debug .adm-log-panel,.adm-api-debug .adm-api-manual{margin-top:10px!important}.adm-api-debug .adm-command-panel{padding:12px!important}.adm-api-debug .adm-log-panel{padding:13px!important}.adm-api-debug .api-pre{border-radius:6px!important;font-size:10px!important;max-width:640px}.adm-api-debug .api-badge{border-radius:5px!important}.adm-api-manual{padding:13px}


.adm-db .db-maint-grid{display:grid!important;grid-template-columns:1fr!important;margin-top:10px!important}.adm-db .db-maint-grid>.card{border:1px solid var(--a-line)!important;border-radius:10px!important;padding:13px!important;box-shadow:none!important}.adm-db .db-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--a-line2);border-radius:8px;overflow:hidden}.adm-db .db-stat{border:0!important;border-right:1px solid var(--a-line2)!important;border-radius:0!important;background:#fff!important;padding:10px!important}.adm-db .db-stat:last-child{border-right:0!important}.adm-db .db-stat strong{font-size:17px!important}.adm-db .db-layout{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:10px!important;margin-top:12px!important}.adm-db .db-side{position:sticky;top:16px;border:1px solid var(--a-line)!important;border-radius:10px!important;padding:10px!important;box-shadow:none!important;max-height:calc(100vh - 120px);overflow:auto}.adm-db .db-main>.card{border:1px solid var(--a-line)!important;border-radius:10px!important;padding:13px!important;box-shadow:none!important}.adm-db .db-table-link{border-radius:6px!important;padding:7px 8px!important;border-color:transparent!important}.adm-db .db-table-link.active{background:var(--a-accent-soft)!important;border-color:#d9ddff!important;box-shadow:none!important}


.adm-bugs .adm-command-panel{padding:12px!important}.adm-bugs .adm-command-panel .filters{grid-template-columns:180px 240px auto!important}.adm-issue-list{gap:0!important;border:1px solid var(--a-line);border-radius:10px;overflow:hidden;background:#fff}.adm-bugs .bug-card{margin:0!important;padding:14px!important;border:0!important;border-bottom:1px solid var(--a-line)!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}.adm-bugs .bug-card:last-child{border-bottom:0!important}.adm-bugs .bug-card:hover{background:#fcfcfd!important}.adm-bugs .bug-card-head h3{font-size:16px!important}.adm-bugs .bug-metrics-row{display:flex!important;gap:14px!important;padding:8px 0;border-top:1px solid var(--a-line2);border-bottom:1px solid var(--a-line2)}.adm-bugs .bug-metric-mini{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}.adm-bugs .bug-metric-mini span{font-size:9px!important}.adm-bugs .bug-metric-mini strong{font-size:12px!important}.adm-bugs .bug-body-grid{grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr)!important;gap:8px!important}.adm-bugs .soft-panel{border:1px solid var(--a-line2)!important;border-radius:7px!important;background:#fafbfc!important;padding:10px!important}.adm-bugs .bug-history-item{border-radius:0!important;border-bottom:1px solid var(--a-line2)!important;background:transparent!important}

@media(max-width:1280px){
  .adm-users-shell{grid-template-columns:260px minmax(0,1fr)}.adm-user-side{grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;border-top:1px solid var(--a-line)}.adm-user-center{border-right:0}
  .adm-roles .role-perm-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.adm-metric-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))!important}.adm-metric-ribbon>div:nth-child(3n){border-right:0!important}
  .adm-metric-ribbon>div:nth-child(-n+3){border-bottom:1px solid var(--a-line2)!important}
}
@media(max-width:1050px){
  .adm-clients-workspace,.adm-release-shell,.adm-badge-shell,.adm-editor-workspace,.adm-notification-shell,.adm-security-live,.adm-ops-grid,.adm-ops-grid-wide,.adm-ops-grid-3{grid-template-columns:1fr!important}
  .adm-clients-side,.adm-release-inspector,.adm-badge-create,.adm-list-pane,.adm-composer-pane{position:static!important;max-height:none!important}
  .adm-users-shell{grid-template-columns:240px minmax(0,1fr)}.adm-user-side{grid-column:1/-1}.adm-role-shell{grid-template-columns:240px minmax(0,1fr)}
  .adm-inline-form{grid-template-columns:1fr 1fr}.adm-inline-form .btn{align-self:end}.adm-db .db-layout{grid-template-columns:220px minmax(0,1fr)!important}
}
@media(max-width:760px){
  body.scope-admin:has(.adm-v5) .content{padding-left:10px!important;padding-right:10px!important}.adm-pagebar{align-items:flex-start;flex-direction:column;gap:8px}.adm-page-actions{justify-content:flex-start}.adm-page-title h1{font-size:23px}.adm-statusrail{overflow:auto}.adm-statusrail-switch{display:none}.adm-users-shell,.adm-role-shell,.adm-db .db-layout{grid-template-columns:1fr!important}.adm-directory,.adm-role-directory{border-right:0;border-bottom:1px solid var(--a-line);max-height:360px}.adm-user-center{padding:0 12px 14px}.adm-user-side{grid-column:1;grid-template-columns:1fr}.adm-inline-form,.adm-form-grid-2,.adm-form-grid-3,.adm-color-grid,.adm-upload-row,.adm-command-panel .filters,.adm-command-panel .action-log-filter,.adm-metrics-filter{grid-template-columns:1fr!important}.adm-users .perm-grid,.adm-users .notify-access-grid,.adm-roles .role-perm-grid{grid-template-columns:1fr 1fr!important}.adm-ai-control{grid-template-columns:1fr!important}.adm-ai-ribbon.ai-stat-grid,.adm-metric-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))!important}.adm-metric-ribbon>div{border-bottom:1px solid var(--a-line2)!important}.adm-metric-ribbon>div:nth-child(even){border-right:0!important}.adm-health-grid{grid-template-columns:1fr}.adm-health-row{border-right:0}.adm-db .db-side{position:static;max-height:380px}.adm-push .push-grid,.adm-jobs .cron-grid{grid-template-columns:1fr!important}
}



.adm-releases .adm-file-drop{grid-template-columns:42px minmax(0,1fr) auto!important;grid-template-rows:auto!important;column-gap:11px!important;row-gap:0!important;min-height:76px;padding:10px 11px!important;border-style:solid!important;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.adm-releases .adm-file-drop:hover,.adm-releases .adm-file-drop.is-dragover{border-color:#8d96ff!important;background:#f6f7ff!important;box-shadow:0 0 0 3px rgba(88,101,242,.08)}
.adm-releases .adm-file-drop.has-file{border-color:#aeb6ff!important;background:#fafaff!important}
.adm-releases .adm-file-drop-icon{grid-row:auto!important;display:grid!important;place-items:center;width:42px!important;height:42px!important;border-radius:9px!important;background:#eef0ff!important;color:#5865f2!important}
.adm-releases .adm-file-drop-copy{display:block;min-width:0}
.adm-releases .adm-file-drop-copy strong{display:block;font-size:12px!important;color:#202939}
.adm-releases .adm-file-drop-copy small{display:block;margin-top:3px;font-size:10px!important;font-weight:800;color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.adm-releases .adm-file-drop-copy em{display:block;margin-top:4px;font-size:9px;font-style:normal;color:#98a2b3}
.adm-releases .adm-file-drop-action{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid #d8dcff;border-radius:7px;background:#fff;color:#4650c6;font-size:10px;font-weight:900;white-space:nowrap}
.adm-releases .adm-file-drop:hover .adm-file-drop-action{border-color:#b9c0ff;background:#eef0ff}
.adm-releases .adm-file-drop input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important;overflow:hidden!important;margin:0!important;padding:0!important}

.adm-metrics .adm-ops-grid-health{grid-template-columns:minmax(0,2.05fr) minmax(280px,.95fr)!important}
.adm-metrics .adm-health-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;border:0!important;border-radius:0!important;overflow:visible!important}
.adm-metrics .adm-health-row{grid-template-columns:8px minmax(0,1fr) auto!important;min-height:62px;padding:9px 10px!important;border:1px solid var(--a-line2)!important;border-radius:7px;background:#fafbfc}
.adm-metrics .adm-health-row:nth-child(even){border-right:1px solid var(--a-line2)!important}
@media(max-width:1280px){.adm-metrics .adm-ops-grid-health{grid-template-columns:minmax(0,1.75fr) minmax(270px,.75fr)!important}.adm-metrics .adm-health-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1050px){.adm-metrics .adm-ops-grid-health{grid-template-columns:1fr!important}.adm-metrics .adm-health-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:760px){.adm-releases .adm-file-drop{grid-template-columns:38px minmax(0,1fr)!important}.adm-releases .adm-file-drop-action{grid-column:1/-1;width:100%;margin-top:8px}.adm-metrics .adm-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.adm-metrics .adm-health-row{border-right:1px solid var(--a-line2)!important}}
@media(max-width:480px){.adm-metrics .adm-health-grid{grid-template-columns:1fr!important}}


.adm-metrics .adm-pagebar{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) minmax(0,620px)!important;
  align-items:end!important;
  gap:18px!important;
}
.adm-metrics .adm-metrics-filter{
  width:100%!important;
  max-width:620px!important;
  min-width:0!important;
  justify-self:end;
  grid-template-columns:112px minmax(0,1fr) 110px!important;
  gap:8px!important;
}
.adm-metrics .adm-metrics-filter>*{min-width:0!important}
.adm-metrics .adm-metrics-filter>select{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.adm-metrics .adm-metrics-filter .adm-searchbox{
  width:100%!important;
  min-width:0!important;
}
.adm-metrics .adm-metrics-filter .adm-searchbox input{
  width:100%!important;
  min-width:0!important;
}
.adm-metrics .adm-metrics-filter>.btn{
  width:100%!important;
  min-height:40px!important;
  height:40px!important;
  padding-inline:12px!important;
}
@media(max-width:1180px){
  .adm-metrics .adm-pagebar{grid-template-columns:1fr!important;align-items:start!important;gap:10px!important}
  .adm-metrics .adm-metrics-filter{justify-self:stretch;max-width:none!important;grid-template-columns:112px minmax(0,1fr) 110px!important}
}
@media(max-width:760px){
  .adm-metrics .adm-metrics-filter{grid-template-columns:1fr!important}
  .adm-metrics .adm-metrics-filter>.btn{width:100%!important}
}


/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
.adm-v5 .adm-searchbox{
  min-height:40px!important;
  height:40px!important;
  padding:0 10px!important;
  overflow:hidden!important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
.adm-v5 .adm-searchbox input:not([type=checkbox]):not([type=radio]):not([type=color]),
.adm-v5 .adm-searchbox input[type="text"],
.adm-v5 .adm-searchbox input[type="search"]{
  min-height:38px!important;
  height:38px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
}
.adm-v5 .adm-searchbox:focus-within{
  border-color:#8b94f7!important;
  box-shadow:0 0 0 3px rgba(88,101,242,.10)!important;
}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
.adm-v5 .adm-searchbox:focus-within input{
  box-shadow:none!important;
}



.adm-v5 .adm-searchbox{
  position:relative!important;
  display:block!important;
  min-height:40px!important;
  height:40px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  color:#98a2b3!important;
}
.adm-v5 .adm-searchbox>svg{
  position:absolute!important;
  left:11px!important;
  top:50%!important;
  z-index:2!important;
  width:16px!important;
  height:16px!important;
  transform:translateY(-50%)!important;
  pointer-events:none!important;
}
.adm-v5 .adm-searchbox input:not([type=checkbox]):not([type=radio]):not([type=color]),
.adm-v5 .adm-searchbox input[type="text"],
.adm-v5 .adm-searchbox input[type="search"]{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:40px!important;
  height:40px!important;
  margin:0!important;
  padding:0 11px 0 34px!important;
  border:1px solid #d5dbe3!important;
  border-radius:6px!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
  outline:0!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.adm-v5 .adm-searchbox:focus-within{border:0!important;box-shadow:none!important}
.adm-v5 .adm-searchbox:focus-within input{
  border-color:#8b94f7!important;
  box-shadow:0 0 0 3px rgba(88,101,242,.10)!important;
}


.adm-v5 input:not([type=checkbox]):not([type=radio]):not([type=color]),
.adm-v5 select,
.adm-v5 textarea{border-radius:6px!important}


body.scope-admin .core-select-trigger{
  min-height:40px!important;
  padding:8px 11px!important;
  border-radius:6px!important;
  border-color:#d5dbe3!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}
body.scope-admin .core-select-trigger:hover{
  border-color:#c4ccd7!important;
  background:#fff!important;
  transform:none!important;
}
body.scope-admin .core-select.open .core-select-trigger,
body.scope-admin .core-select-trigger:focus-visible{
  border-color:#8b94f7!important;
  box-shadow:0 0 0 3px rgba(88,101,242,.10)!important;
}
body.scope-admin .core-select-menu{
  gap:3px!important;
  padding:6px!important;
  border-radius:9px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.14)!important;
}
body.scope-admin .core-select-option{
  padding:9px 10px!important;
  border-radius:5px!important;
}


.adm-users .adm-role-assignments-compact{border:1px solid var(--a-line2);border-radius:8px;overflow:hidden;background:#fff}
.adm-users .adm-role-assignment-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-bottom:1px solid var(--a-line2)}
.adm-users .adm-role-assignment-row:last-child{border-bottom:0}
.adm-users .adm-role-assignment-row>span>strong{display:block;font-size:12px;color:var(--a-text)}
.adm-users .adm-role-assignment-row>span>small{display:block;margin-top:2px;font-size:10px}
.adm-users .adm-section-note{margin:-2px 0 11px;color:var(--a-muted);font-size:11px;line-height:1.45}
.adm-users .adm-module-access-list{display:grid;gap:10px}
.adm-users .adm-module-access-card{padding:11px;border:1px solid var(--a-line2);border-radius:8px;background:#fafbfc}
.adm-users .adm-module-access-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;padding-bottom:9px;border-bottom:1px solid var(--a-line2)}
.adm-users .adm-module-access-head>span>strong{display:block;font-size:12px;color:var(--a-text)}
.adm-users .adm-module-access-head>span>small{display:block;margin-top:2px;font-size:10px}
.adm-users .adm-module-access-card .perm-grid{margin-top:0}
.adm-users .adm-module-access-card .perm-grid label{border-radius:6px!important;background:#fff!important;padding:8px 9px!important}
.adm-users .adm-module-access-card .perm-grid label>span{display:block;min-width:0;font-size:11px;font-weight:800;color:var(--a-text)}
.adm-users .adm-module-access-card .perm-grid label>span>small{display:block;margin-top:2px;font-size:9px;font-weight:700;color:var(--a-muted)}
.adm-users .adm-module-access-card .adm-section-footer{margin-top:9px;padding-top:9px}


body.scope-admin .adm-v5 input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]),
body.scope-admin .adm-v5 textarea,
body.scope-admin .adm-v5 .adm-searchbox input:not([type=checkbox]):not([type=radio]):not([type=color]){
  border-radius:4px!important;
}
body.scope-admin .core-select-trigger{
  border-radius:4px!important;
}
body.scope-admin .core-select-menu{
  border-radius:6px!important;
}
body.scope-admin .core-select-option{
  border-radius:3px!important;
}


body.scope-admin .adm-v5 .btn{
  border-radius:5px!important;
}
body.scope-admin .adm-v5 .btn.small,
body.scope-admin .adm-v5 .btn.tiny{
  border-radius:4px!important;
}
body.scope-admin .adm-v5 .mini-chip,
body.scope-admin .adm-v5 .meta-pill,
body.scope-admin .adm-v5 .status-chip,
body.scope-admin .adm-v5 .badge,
body.scope-admin .adm-v5 .metrics-pill,
body.scope-admin .adm-v5 .db-pill,
body.scope-admin .adm-v5 .sec-pill,
body.scope-admin .adm-v5 .api-badge,
body.scope-admin .adm-v5 .module-control-badge,
body.scope-admin .adm-v5 .bug-module-chip,
body.scope-admin .adm-v5 .thumb-note-badge{
  border-radius:4px!important;
}
body.scope-admin .adm-v5 details>summary.mini-chip{
  border-radius:4px!important;
}


body.scope-admin .core-picker-popover{
  border-radius:8px!important;
}
body.scope-admin .core-picker-icon-btn,
body.scope-admin .core-picker-foot button{
  border-radius:4px!important;
}
body.scope-admin .core-calendar-day{
  border-radius:4px!important;
}



body.scope-admin .adm-action-log .action-log-filter input,
body.scope-admin .adm-action-log .action-log-filter select,
body.scope-admin .adm-action-log .action-log-filter .core-select-trigger,
body.scope-admin .adm-action-log .action-log-filter .core-date-text-control-input{
  border-radius:4px!important;
}
body.scope-admin .adm-action-log .btn,
body.scope-admin .adm-action-log .btn.small,
body.scope-admin .adm-action-log .btn.soft{
  border-radius:4px!important;
}
body.scope-admin .adm-action-log .action-log-row{
  border-radius:6px!important;
}
body.scope-admin .adm-action-log .action-log-details>summary{
  border-radius:4px!important;
}



body.scope-manager .core-select-trigger,
body.scope-manager .core-month-trigger{
  min-height:40px!important;
  padding:8px 11px!important;
  border-radius:6px!important;
  border-color:#d5dce6!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}
body.scope-manager .core-select-trigger:hover,
body.scope-manager .core-month-trigger:hover{border-color:#c4ccd8!important;background:#fff!important;transform:none!important}
body.scope-manager .core-select.open .core-select-trigger,
body.scope-manager .core-month.open .core-month-trigger,
body.scope-manager .core-select-trigger:focus-visible,
body.scope-manager .core-month-trigger:focus-visible{border-color:#8b94f7!important;box-shadow:0 0 0 3px rgba(88,101,242,.10)!important}
body.scope-manager .core-select-menu,
body.scope-manager .core-month-menu{border-radius:8px!important;padding:6px!important;box-shadow:0 14px 34px rgba(15,23,42,.14)!important}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .core-select-option{border-radius:4px!important}
body.scope-manager .core-month-grid button,
body.scope-manager .core-month-nav button{border-radius:4px!important}
body.scope-manager input[type="text"]:not(.schedule-input),
body.scope-manager input[type="search"],
body.scope-manager input[type="date"],
body.scope-manager input[type="month"],
body.scope-manager input[type="number"],
body.scope-manager textarea,
body.scope-manager select{border-radius:6px!important}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-period-pills,
body.scope-manager .segment-slider{border-radius:7px!important}
/* Старое оформление: все свойства этого правила ниже задаются заново для того же селектора, поэтому этот блок не определяет итоговый вид. */
body.scope-manager .manager-period-pill,
body.scope-manager .segment-slider label{border-radius:5px!important}

body.scope-manager .manager-month-row .core-month-trigger,
body.scope-manager .manager-month-row .core-select-trigger,
body.scope-manager .manager-day-row .core-select-trigger,
body.scope-manager .compact-summary .core-select-trigger,
body.scope-manager .compact-summary .core-month-trigger{min-height:40px!important;border-radius:6px!important;padding:8px 11px!important}



body.scope-manager .core-select,
body.scope-manager .core-month{border-radius:4px!important;}
body.scope-manager .core-select-trigger,
body.scope-manager .core-month-trigger,
body.scope-manager .manager-filterbar .core-select-trigger,
body.scope-manager .manager-filterbar .core-month-trigger,
body.scope-manager .manager-month-row .core-month-trigger,
body.scope-manager .manager-month-row .core-select-trigger,
body.scope-manager .manager-day-row .core-select-trigger,
body.scope-manager .compact-summary .core-select-trigger,
body.scope-manager .compact-summary .core-month-trigger,
body.scope-manager .manager-filterbar input[type="month"],
body.scope-manager .manager-filterbar input[type="date"],
body.scope-manager .manager-filterbar input[type="search"],
body.scope-manager .manager-filterbar input[type="text"],
body.scope-manager .manager-filterbar select,
body.scope-manager .manager-month-input{
  min-height:40px!important;
  padding:8px 11px!important;
  border-radius:4px!important;
  box-shadow:none!important;
}
body.scope-manager .core-select-menu,
body.scope-manager .core-month-menu,
body.scope-manager .manager-filterbar .core-select-menu,
body.scope-manager .manager-filterbar .core-month-menu{
  border-radius:6px!important;
  padding:6px!important;
}
body.scope-manager .core-select-option,
body.scope-manager .core-month-grid button,
body.scope-manager .core-month-nav button,
body.scope-manager .core-month-grid .core-month-cell,
body.scope-manager .core-month-grid .core-date-cell{
  border-radius:4px!important;
}
body.scope-manager .manager-period-pills,
body.scope-manager .segment-slider{border-radius:6px!important;}
body.scope-manager .manager-period-pill,
body.scope-manager .segment-slider label{border-radius:4px!important;}
body.scope-manager .manager-overview-stat .delta-chip,
body.scope-manager .manager-overview-control .delta-chip,
body.scope-manager .manager-print-metric .delta-chip{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.scope-manager .manager-overview-stat .delta-chip.up,
body.scope-manager .manager-overview-control .delta-chip.up,
body.scope-manager .manager-print-metric .delta-chip.up{color:#147245!important;}
body.scope-manager .manager-overview-stat .delta-chip.down,
body.scope-manager .manager-overview-control .delta-chip.down,
body.scope-manager .manager-print-metric .delta-chip.down{color:#b42334!important;}





html body{
  --core-control-height:42px;
}
html body.scope-admin{
  --core-control-height:40px;
}
html body.scope-manager,
html body.scope-staff{
  --core-control-height:36px;
}
html body.scope-guest .payroll-toolbar{
  --core-control-height:36px;
}
html body .core-select > .core-select-trigger,
html body .core-month > .core-month-trigger{
  height:var(--core-control-height,42px)!important;
  min-height:var(--core-control-height,42px)!important;
  padding:0 10px!important;
  gap:8px!important;
  border-radius:5px!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  font-size:12px!important;
  line-height:1.2!important;
}
html body .core-select > .core-select-trigger:hover,
html body .core-month > .core-month-trigger:hover{
  background:#fff!important;
  transform:none!important;
  box-shadow:none!important;
}
html body .core-select.open > .core-select-trigger,
html body .core-month.open > .core-month-trigger,
html body .core-select > .core-select-trigger:focus-visible,
html body .core-month > .core-month-trigger:focus-visible{
  box-shadow:0 0 0 2px rgba(88,101,242,.09)!important;
}
html body .core-select-caret{
  width:9px!important;
  height:9px!important;
  border-width:1.5px!important;
}
/* Частично старое оформление: ниже переопределяются `border-radius`, `box-shadow`. Остальные свойства этого правила остаются рабочими. */
html body .core-select-menu{
  padding:5px!important;
  border-radius:6px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.12)!important;
}
html body .core-select-option{
  padding:7px 9px!important;
  border-radius:4px!important;
  font-size:12px!important;
}


html body.scope-manager .manager-month-row .core-month > .core-month-trigger,
html body.scope-manager .manager-month-row .core-select > .core-select-trigger,
html body.scope-manager .manager-day-row .core-select > .core-select-trigger,
html body.scope-manager .compact-summary .core-select > .core-select-trigger,
html body.scope-manager .compact-summary .core-month > .core-month-trigger,
html body.scope-manager .manager-filterbar .core-select > .core-select-trigger,
html body.scope-manager .manager-filterbar .core-month > .core-month-trigger,
html body.scope-staff .staff-toolbar.compact-toolbar-staff .core-month > .core-month-trigger{
  height:var(--core-control-height,36px)!important;
  min-height:var(--core-control-height,36px)!important;
  padding:0 10px!important;
  border-radius:5px!important;
  box-shadow:none!important;
}




html body .core-select > .core-select-trigger,
html body .core-month > .core-month-trigger,
html body .core-picker-trigger,
html body .core-date-text-control-input{
  border-radius:5px!important;
  box-shadow:none!important;
}
html body .core-select-menu,
html body .core-month-menu,
html body .core-picker-popover{
  border-radius:6px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.12)!important;
}
html body .core-select-option,
html body .core-month-cell,
html body .core-month-nav,
html body .core-month-action,
html body .core-picker-icon-btn,
html body .core-picker-foot button,
html body .core-calendar-day,
html body .core-date-cell,
html body .core-date-text-icon{
  border-radius:4px!important;
}
html body .core-select-option.is-selected,
html body .core-month-cell.is-selected,
html body .core-calendar-day.selected,
html body .core-date-cell.is-selected{
  box-shadow:none!important;
}



.hub-sidebar,
.hub-topbar,
.hub-workspace,
.hub-panel{border-radius:6px!important;box-shadow:none!important}
.hub-nav-item{border-radius:5px!important}
.hub-brand img,
.hub-profile-avatar,
.hub-profile-menu-head .hub-profile-avatar{border-radius:6px!important}
.hub-link-row{border-radius:5px!important;box-shadow:none!important;transform:none!important}
.hub-link-row:hover{transform:none!important}
.hub-link-row .hub-card-icon{border-radius:5px!important}
.tenant-switch-card{border-radius:6px!important;box-shadow:none!important}
.tenant-switch-form select{border-radius:5px!important;box-shadow:none!important}
.hub-icon-btn,.hub-bell-btn{border-radius:5px!important}
.hub-profile-btn{border-radius:5px!important;box-shadow:none!important}
.hub-profile-menu,
.hub-bell-panel{border-radius:8px!important;box-shadow:0 14px 38px rgba(15,23,42,.12)!important}
.hub-tenant-details summary,
.hub-tenant-options{border-radius:6px!important;box-shadow:none!important}
.hub-tenant-option{border-radius:4px!important}
.hub-nav-badge,
.hub-notif-count{border-radius:5px!important}
.hub-note{border-radius:5px!important;box-shadow:none!important}
.hub-note-action{border-radius:5px!important;box-shadow:none!important;transform:none!important}
.hub-note-action:hover{transform:none!important}
.hub-notif-toggle{border-radius:5px!important;box-shadow:none!important}
.hub-toast{border-radius:6px!important}




html body.has-core-topbar .topbar.topbar-app{
  min-height:58px!important;
  padding:8px 10px!important;
  border:1px solid #dbe7f3!important;
  border-radius:6px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html body.has-core-topbar .topbar-section-nav{gap:4px!important;padding:0!important}
html body.has-core-topbar .topbar-nav-link{
  min-height:36px!important;
  padding:7px 10px!important;
  border-radius:5px!important;
  box-shadow:none!important;
  transform:none!important;
}
html body.has-core-topbar .topbar-nav-link:hover,
html body.has-core-topbar .topbar-nav-link.active{box-shadow:none!important;transform:none!important}
html body.has-core-topbar .topbar-section-actions{gap:6px!important}
html body.has-core-topbar .topbar-section-actions .btn,
html body.has-core-topbar .topbar-action-form .btn{border-radius:5px!important;box-shadow:none!important;transform:none!important}
html body.has-core-topbar .core-game-launcher{
  width:42px!important;height:42px!important;border-radius:5px!important;box-shadow:none!important;
}
html body.has-core-topbar .core-game-launcher:hover,
html body.has-core-topbar .core-game-launcher.active{box-shadow:none!important}
html body.has-core-topbar .core-account-panel,
html body.has-core-topbar .core-notif-panel{border-radius:8px!important;box-shadow:0 14px 38px rgba(15,23,42,.12)!important}
html body.has-core-topbar .core-account-link.add-account,
html body.has-core-topbar .core-account-switch,
html body.has-core-topbar .core-tenant-switch summary,
html body.has-core-topbar .core-tenant-options,
html body.has-core-topbar .core-tenant-option,
html body.has-core-topbar .core-notif-item,
html body.has-core-topbar .core-notif-action{border-radius:5px!important}
html body.has-core-topbar .core-notif-count{border-radius:5px!important}

html body.has-core-topbar .core-account-avatar{border-radius:12px!important}
html body.has-core-topbar .core-account-avatar.small{border-radius:10px!important}
html body.has-core-topbar .core-account-avatar.large{border-radius:18px!important}


.hub-profile-avatar{border-radius:12px!important}
.hub-profile-menu-head .hub-profile-avatar{border-radius:18px!important}




body.scope-guest .auth-screen .auth-card{
  border-radius:6px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.scope-guest .auth-screen .auth-side,
body.scope-guest .auth-screen .soft-panel{
  border-radius:6px!important;
  background:#f8fafc!important;
  box-shadow:none!important;
}
body.scope-guest .auth-screen .btn{
  border-radius:5px!important;
  box-shadow:none!important;
  transform:none!important;
}
body.scope-guest .auth-screen .mini-chip,
body.scope-guest .auth-screen .badge{
  border-radius:4px!important;
  box-shadow:none!important;
}
body.scope-guest .auth-screen .form-row input,
body.scope-guest .auth-screen .form-row textarea,
body.scope-guest .auth-screen .form-row select{
  border-radius:5px!important;
  box-shadow:none!important;
}
body.scope-guest .privacy-hero,
body.scope-guest .privacy-aside,
body.scope-guest .privacy-section{
  border-radius:6px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.scope-guest .privacy-hero::after{display:none!important}
body.scope-guest .privacy-meta-row .meta-pill{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.scope-guest .privacy-meta-row .meta-pill + .meta-pill::before{
  content:"·";
  margin-right:10px;
  color:#94a3b8;
}
body.scope-guest .privacy-aside .list-clean li,
body.scope-guest .privacy-section .list-clean li,
body.scope-guest .privacy-info-row,
body.scope-guest .privacy-contact-item{
  border-radius:6px!important;
  box-shadow:none!important;
}
