.admin-header .header-inner {
  grid-template-columns: auto 1fr auto;
  min-height: 87px;
}
.admin-header-label {
  font-size: 11px;
  color: var(--subtle);
  padding-left: 25px;
  border-left: 1px solid var(--line);
}
.admin-header .button {
  font-size: 10px;
  min-height: 39px;
}
.admin-header .button .icon {
  height: 16px;
  width: 16px;
}
.admin-shell {
  width: 100%;
  max-width: none;
}
.admin-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: calc(100svh - 87px);
}
.admin-sidebar {
  position: sticky;
  top: 87px;
  align-self: start;
  height: calc(100svh - 87px);
  overflow-y: auto;
  padding: 28px 18px 24px var(--gutter);
  border-right: 1px solid var(--line);
  background: #191b1e;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
}
.workspace-caption {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 21px;
}
.workspace-caption img {
  width: 27px;
  height: 31px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
}
.workspace-caption > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.workspace-caption strong {
  font-size: 13px;
  font-weight: 450;
}
.workspace-caption span {
  font-size: 8px;
  color: var(--subtle);
}
.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 11px;
  min-height: 46px;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  font-size: 11px;
  font-weight: 350;
  color: #9fa5b0;
  white-space: nowrap;
}
.dashboard-nav-item:before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  background: currentColor;
  mask: url(/assets/ui/squares-four.svg) center/contain no-repeat;
}
.dashboard-nav-item[data-dashboard-section=users]:before {
  mask-image: url(/assets/ui/users.svg);
}
.dashboard-nav-item[data-dashboard-section=referrals]:before {
  mask-image: url(/assets/ui/currency-circle-dollar.svg);
}
.dashboard-nav-item[data-dashboard-section=referralLinks]:before {
  mask-image: url(/assets/ui/link.svg);
}
.dashboard-nav-item[data-dashboard-section=promotions]:before {
  mask-image: url(/assets/ui/tag.svg);
}
.dashboard-nav-item[data-dashboard-section=news]:before {
  mask-image: url(/assets/ui/newspaper.svg);
}
.dashboard-nav-item[data-dashboard-section=cashflow]:before {
  mask-image: url(/assets/ui/receipt.svg);
}
.dashboard-nav-item[data-dashboard-section=autoPricing]:before {
  mask-image: url(/assets/ui/percent.svg);
}
.dashboard-nav-item[data-dashboard-section=employees]:before {
  mask-image: url(/assets/ui/briefcase.svg);
}
.dashboard-nav-item[data-dashboard-section=reviews]:before {
  mask-image: url(/assets/ui/check-circle.svg);
}
.dashboard-nav-item:hover {
  background: #ffffff05;
  color: var(--text);
}
.dashboard-nav-item.active {
  background: var(--accent-soft);
  color: #ffa08e;
  border-color: #fa604b14;
}
.workspace-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 8px;
  color: #626b79;
  margin-top: auto;
  padding-top: 30px;
  line-height: 1.9;
}
.workspace-footer .icon {
  width: 18px;
  height: 18px;
}
.admin-content {
  padding: 32px clamp(24px, 2.5vw, 58px) 65px;
  min-width: 0;
  width: 100%;
  max-width: none;
}
.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 {
  font-size: clamp(25px, 2.3vw, 40px);
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: -.055em;
}
.page-subtitle {
  font-size: 11px;
  color: var(--subtle);
  line-height: 1.95;
  font-weight: 300;
  max-width: 640px;
  margin-top: 10px;
}
.cash-overview-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-bottom: 22px;
}
.cash-overview-actions .button {
  font-size: 10px;
  min-height: 37px;
  padding: 9px 13px;
  background: transparent;
}
.period-label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  flex-shrink: 0;
}
.period-label > span {
  font-size: 9px;
  color: var(--subtle);
}
.period-switch {
  display: flex;
  gap: 3px;
  background: #25272a;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 9px;
}
.period-switch-thumb {
  display: none;
}
.period-switch > button {
  min-height: 33px;
  padding: 7px 11px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.period-switch > button[aria-checked=true] {
  background: #e9e6df;
  color: #232323;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}
.metric-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 23px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #202225;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 168px;
}
.metric-label {
  display: block;
  font-size: 11px;
  color: #a0a6b0;
}
.metric-card > strong {
  display: block;
  font-weight: 450;
  letter-spacing: -1.1px;
  font-size: clamp(25px, 2.2vw, 38px);
  line-height: 1.45;
  margin-top: 17px;
  white-space: nowrap;
}
.metric-card > small {
  display: block;
  font-size: 8px;
  font-weight: 300;
  color: #747e8c;
  line-height: 1.9;
  margin-top: 11px;
}
.metric-primary {
  background: #f4644f;
  color: #202020;
  border-color: #f4644f;
}
.metric-primary:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(/assets/collection-coral.webp) 70% center/cover;
  opacity: .32;
}
.metric-primary .metric-label {
  color: #583b36;
}
.metric-primary > small {
  color: #69433c;
}
.panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #1c1e21;
  min-width: 0;
  margin-bottom: 22px;
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 23px;
}
.panel-heading h2 {
  font-size: 21px;
  font-weight: 450;
  line-height: 1.6;
}
.panel-count {
  font-size: 9px;
  color: var(--subtle);
  padding: 4px 8px;
  background: #282a2e;
  border-radius: 6px;
  white-space: nowrap;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.detail-grid > .panel {
  margin: 0;
}
.rank-list {
  min-width: 0;
}
.rank-list > .empty-state {
  min-height: 160px;
  border: 0;
  background: none;
  padding: 35px 20px;
  font-size: 11px;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.rank-row:last-child {
  border: 0;
}
.rank-index {
  color: #586373;
  font-size: 10px;
  width: 24px;
  flex-shrink: 0;
}
.rank-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}
.rank-copy strong {
  font-size: 11px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.rank-copy small {
  font-size: 8px;
  color: var(--subtle);
}
.rank-value {
  font-size: 14px;
  white-space: nowrap;
  font-weight: 400;
  text-align: right;
}
.rank-value small {
  display: block;
  font-size: 8px;
  color: var(--subtle);
  margin-top: 3px;
}
.dashboard-message {
  font-size: 10px;
  line-height: 1.9;
  color: var(--subtle);
  margin-top: 22px;
}
.dashboard-message:empty {
  display: none;
}
.dashboard-message.error {
  color: #ed9f8e;
}
.users-section {
  min-width: 0;
}
.user-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1c1e21;
  margin-bottom: 24px;
}
.user-search > label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  font-size: 12px;
  color: #c0c3c9;
}
.user-search > input {
  flex: 1;
}
.user-search > .button {
  font-size: 12px;
  min-height: 49px;
  min-width: 112px;
}
.user-table-wrap {
  overflow: auto;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1d1f22;
  scrollbar-width: thin;
  margin-top: 18px;
}
.user-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
.user-table th {
  color: #7e8998;
  font-weight: 350;
  font-size: 9px;
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #202225;
  white-space: nowrap;
}
.user-table td {
  padding: 17px 16px;
  border-bottom: 1px solid #ffffff08;
  line-height: 1.9;
  vertical-align: top;
  color: #bbc1c9;
  font-size: 11px;
}
.user-table tr:last-child td {
  border-bottom: 0;
}
.user-table td[colspan] {
  text-align: center;
  padding: 36px;
  color: #778292;
  font-size: 11px;
}
.user-table td strong {
  font-size: 11px;
  font-weight: 400;
  color: var(--text);
}
.user-table td small {
  display: block;
  font-size: 9px;
  color: #748090;
}
.user-table td .button {
  min-height: 33px;
  padding: 7px 10px;
  font-size: 9px;
  border-radius: 7px;
  background: #292c31;
}
.user-table td .button:hover {
  border-color: #ffffff35;
}
.user-table td input {
  max-width: 105px;
  min-height: 35px !important;
  padding: 7px 9px !important;
  font-size: 11px !important;
}
.user-table td:nth-child(2) > small {
  display: block;
}
.user-primary {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.user-status {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 5px;
  background: #a0c9ad08;
  border: 1px solid #a0c9ad20;
  color: #a0bca9;
  font-size: 8px;
  white-space: nowrap;
}
.user-status.banned {
  background: #fa604b08;
  border-color: #fa604b25;
  color: #bd8e85;
}
.balance-adjustment {
  padding: 24px;
  border: 1px solid #fa604b35;
  border-radius: 12px;
  background: #fa604b06;
  margin-block: 22px;
}
.balance-adjustment h2,
.balance-adjustment h3 {
  font-size: 20px;
}
.balance-adjustment-form,
.promotion-form,
.promo-form,
.campaign-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.balance-adjustment-form label,
.promotion-form label,
.promo-form label,
.campaign-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
}
.promotion-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  grid-column: 1/-1;
}
.promotions-grid,
.promotion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.promotion-panel,
.referral-panel,
.news-create-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #1c1e21;
  margin-top: 22px;
  min-width: 0;
}
.promotion-panel h2,
.referral-panel h2,
.news-create-panel h2 {
  font-size: 22px;
  margin-bottom: 15px;
}
.promotion-panel p,
.referral-panel p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.promotion-create,
.promo-create,
.campaign-create {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.promotion-create > h3,
.promo-create > h3,
.campaign-create > h3 {
  grid-column: 1/-1;
  font-size: 17px;
}
.promotion-create label,
.promo-create label,
.campaign-create label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
}
.promotion-create > .button,
.promo-create > .button,
.campaign-create > .button {
  grid-column: 1/-1;
}
.promotion-action {
  display: flex !important;
  margin-top: 7px;
}
.promotion-note,
.referral-note,
.muted {
  font-size: 10px;
  color: #7d8795;
  line-height: 1.9;
}
.referral-link-value {
  font: 9px/1.8 Unbounded, sans-serif;
  word-break: break-all;
  color: #a9aeb8;
}
.news-form,
.news-create-form {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr);
  gap: 34px;
  align-items: start;
}
.news-form label,
.news-create-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-form .wide,
.news-create-form .wide {
  grid-column: 1/-1;
}
.news-photo-input {
  font-size: 10px;
}
.news-photo-preview {
  max-height: 240px;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-top: 14px;
}
.news-form button,
.news-create-form button {
  font-size: 11px;
}
.auto-price-number {
  max-width: 90px;
}
.admin-page #dashboardEmployees h2 {
  font-size: 21px;
  margin-top: 30px;
}
.admin-page #dashboardPromotions form {
  padding: 22px;
  background: #222427;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-top: 19px;
}
.admin-page #dashboardPromotions form > h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
.admin-page #dashboardPromotions form > label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.admin-page #dashboardPromotions form > .button {
  margin-top: 19px;
}
.admin-page #dashboardNews form {
  padding: 24px;
  background: #1e2023;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.admin-page #dashboardNews form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
}
.admin-page #dashboardNews form > .button {
  margin-top: 0;
}
.admin-page #dashboardNews label.check-label {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.admin-page #dashboardReferralLinks .panel {
  margin-top: 23px;
}
.admin-page .button-quiet {
  background: transparent;
}
.admin-page .button-quiet:hover {
  background: #ffffff06;
}
.login-panel {
  width: min(520px, calc(100% - 40px));
  margin: 65px auto;
  padding: 37px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #1c1e21;
}
.login-mark {
  display: grid;
  place-items: center;
  height: 55px;
  width: 55px;
  margin-bottom: 25px;
  background: #292c31;
  color: #fa917d;
  border: 1px solid var(--line-bright);
  border-radius: 15px;
}
.login-mark > .icon {
  height: 30px;
  width: 30px;
}
.login-panel h1 {
  font-size: 29px;
  font-weight: 450;
  line-height: 1.55;
  margin-bottom: 15px;
  letter-spacing: -.9px;
}
.login-copy {
  font-size: 11px;
  color: var(--muted);
  line-height: 2;
  font-weight: 300;
  margin-bottom: 27px;
}
.login-panel form > label {
  display: block;
  font-size: 10px;
  margin: 18px 0 8px;
}
.login-panel form > .button {
  width: 100%;
  margin-top: 23px;
  font-size: 11px;
}
.login-panel .form-message {
  margin-top: 15px;
}
.login-panel > .preview-login {
  width: 100%;
  margin-top: 16px;
}
.workspace-toggle {
  display: none;
}
.workspace-scrim {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: #0009;
  border: 0;
}
.review-admin-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}
.review-admin-tabs button {
  min-height: 38px;
  padding: 8px 13px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 10px;
}
.review-admin-tabs button[aria-pressed=true] {
  background: #e9e6df;
  color: #252525;
}
.review-admin-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #1e2023;
  margin-bottom: 15px;
}
@media (min-width: 1800px) {
  .admin-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .metric-card {
    padding: 28px;
  }
  .metric-card > strong {
    font-size: 40px;
  }
  .metric-label {
    font-size: 12px;
  }
  .metric-card > small {
    font-size: 9px;
  }
  .dashboard-nav-item {
    font-size: 12px;
  }
  .admin-content {
    padding-top: 38px;
  }
}
@media (max-width: 1250px) {
  .admin-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .admin-sidebar {
    padding-left: 20px;
    padding-right: 16px;
  }
  .admin-content {
    padding-inline: 25px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric-card {
    min-height: 153px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .period-label {
    align-items: flex-start;
  }
  .detail-grid {
    gap: 14px;
  }
  .panel {
    padding: 21px;
  }
  .panel-heading h2 {
    font-size: 18px;
  }
  .user-table td {
    font-size: 10px;
  }
}
@media (max-width: 900px) {
  .admin-layout {
    display: block;
  }
  .admin-sidebar {
    position: fixed;
    z-index: 47;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100svh;
    width: 260px;
    max-width: 85vw;
    transform: translateX(-100%);
    transition: transform .22s;
    background: #1b1d20;
    padding: 28px 20px;
  }
  .workspace-nav-open .admin-sidebar {
    transform: translateX(0);
  }
  .workspace-toggle {
    display: grid;
  }
  .admin-content {
    padding: 25px 22px 50px;
  }
  .admin-header .header-inner {
    grid-template-columns: auto 1fr;
    gap: 17px;
    padding-block: 14px;
    min-height: 75px;
  }
  .admin-header-label {
    display: none;
  }
  .admin-header .header-actions {
    justify-content: flex-end;
  }
  .admin-header .header-actions > .button {
    font-size: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    gap: 0;
  }
  .admin-header .header-actions > .button > .icon {
    height: 19px;
    width: 19px;
  }
  .admin-header .header-actions > .button > span {
    display: none;
  }
  .admin-header .header-actions {
    gap: 8px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .metric-card > strong {
    font-size: 30px;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-content .page-heading .button {
    font-size: 10px;
  }
}
@media (max-width: 600px) {
  .admin-header .brand {
    font-size: 21px;
    gap: 7px;
  }
  .admin-header .brand img {
    width: 29px;
    height: 34px;
  }
  .admin-header .language-switch {
    height: 35px;
    padding: 3px;
    gap: 2px;
  }
  .admin-header .language-switch button {
    font-size: 8px;
    min-width: 27px;
    height: 27px;
    padding-inline: 5px;
  }
  .admin-header .header-inner {
    padding-inline: 16px;
  }
  .admin-header .header-actions {
    gap: 4px;
  }
  .admin-header .icon-button {
    height: 33px;
    width: 33px;
    min-height: 33px;
  }
  .admin-header .header-actions > .button {
    display: none;
  }
  .admin-content {
    padding: 22px 16px 50px;
  }
  .cash-overview-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }
  .cash-overview-actions .button {
    font-size: 9px;
    min-height: 34px;
    padding: 8px 10px;
  }
  .page-heading {
    padding-bottom: 22px;
    margin-bottom: 20px;
    gap: 18px;
  }
  .page-heading h1 {
    font-size: 25px;
    line-height: 1.6;
  }
  .page-subtitle {
    font-size: 10px;
  }
  .period-switch > button {
    font-size: 8px;
    padding-inline: 10px;
  }
  .metric-grid {
    gap: 10px;
    margin-bottom: 17px;
  }
  .metric-card {
    padding: 17px 14px;
    min-height: 146px;
    border-radius: 11px;
  }
  .metric-label {
    font-size: 9px;
  }
  .metric-card > strong {
    font-size: 26px;
    letter-spacing: -.8px;
    margin-top: 16px;
  }
  .metric-card > small {
    font-size: 7px;
    line-height: 1.9;
  }
  .panel {
    padding: 19px 17px;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .panel-heading {
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 16px;
  }
  .panel-heading h2 {
    font-size: 18px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rank-list > .empty-state {
    min-height: 125px;
    padding-block: 25px;
  }
  .dashboard-message {
    font-size: 8px;
    margin-top: 17px;
  }
  .user-search {
    padding: 17px;
    gap: 11px;
  }
  .user-search > label {
    flex-basis: 100%;
    font-size: 9px;
    min-width: 0;
  }
  .user-search > .button {
    width: 100%;
    font-size: 10px;
    min-height: 41px;
  }
  .user-table th {
    font-size: 8px;
    padding: 13px;
  }
  .user-table td {
    font-size: 10px;
    padding: 14px 13px;
  }
  .admin-page #dashboardPromotions form {
    padding: 18px;
  }
  .promotion-create,
  .promo-create,
  .campaign-create,
  .promotion-form,
  .promo-form,
  .campaign-form,
  .balance-adjustment-form,
  .news-form,
  .news-create-form {
    grid-template-columns: 1fr;
  }
  .promotions-grid,
  .promotion-grid {
    grid-template-columns: 1fr;
  }
  .login-panel {
    padding: 29px 23px;
    margin: 35px auto;
    width: calc(100% - 32px);
  }
  .login-panel h1 {
    font-size: 25px;
  }
  .login-copy {
    font-size: 10px;
  }
  .login-panel form > label {
    font-size: 10px;
  }
  .login-panel .button {
    font-size: 10px;
  }
}


/* Search, records and editorial workspaces share a deliberate spacing scale. */
.section-toolbar {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}
.section-toolbar h2 {font-size:25px;font-weight:450;line-height:1.55;letter-spacing:-.045em}
.section-toolbar .button {min-height:41px;font-size:11px;flex-shrink:0}
.workspace-section {padding:29px;border:1px solid var(--line);border-radius:15px;background:#1b1d20;margin-top:30px;min-width:0}
.workspace-section > .user-search {margin:0 0 25px;padding:0;background:none;border:0;border-radius:0}
.workspace-section > .user-table-wrap {margin-top:23px}
.balance-log {margin-top:40px}
.balance-panel {padding:28px;margin:30px 0;border:1px solid #fa604b40;border-radius:14px;background:#fa604b06}
.balance-panel h2 {font-size:24px;line-height:1.6}
.balance-warning {margin:18px 0 26px;padding:15px 18px;border:1px solid #fa604b22;border-radius:9px;font-size:11px;line-height:1.9;color:#dca596}
.balance-adjustment-form {gap:22px}
.balance-adjustment-form label {font-size:11px;gap:11px}
.balance-confirm {grid-column:1/-1;flex-direction:row!important;align-items:flex-start;line-height:1.9}
.balance-confirm input {width:18px;height:18px;min-height:18px;flex-shrink:0;margin:2px 0 0}
.balance-actions {grid-column:1/-1;display:flex;align-items:center;gap:12px;margin-top:6px}
.balance-adjustment-form > .dashboard-message {grid-column:1/-1;margin:0}
.admin-content .dashboard-message:not(:empty) {margin:19px 0;font-size:11px;line-height:1.9}
.user-search input {min-height:49px;font-size:13px;line-height:1.6}
.user-table th {font-size:10px;padding:18px}
.user-table td {padding:20px 18px;font-size:12px;vertical-align:middle}
.user-table td .button {font-size:10px;min-height:36px;padding:8px 12px;white-space:nowrap}
.user-table td small {font-size:10px;line-height:1.9}
#employeeAssignForm {grid-template-columns:repeat(3,minmax(120px,1fr)) auto}
#dashboardEmployees > h2 {margin-top:35px;font-size:25px}
.table-number-field {display:inline-flex;align-items:center;gap:9px;width:125px;white-space:nowrap}
.table-number-field input {width:89px;max-width:89px;font-variant-numeric:tabular-nums;text-align:center}
.table-number-field > span {color:#a5aab4;font-size:12px}
#dashboardAutoPricing .user-table {min-width:930px}
#dashboardAutoPricing .user-table td:first-child {min-width:210px;max-width:370px}
#dashboardAutoPricing .auto-price-name {display:flex;flex-direction:column;gap:5px}
#dashboardAutoPricing .auto-price-name > small {font-size:9px;color:var(--subtle)}
.auto-price-state {display:inline-flex;align-items:center;gap:7px;color:#969da9;font-size:10px;white-space:nowrap}
.auto-price-state:before {content:'';width:6px;height:6px;border-radius:2px;background:#68707d}
.auto-price-state.enabled {color:#b2cbb9}
.auto-price-state.enabled:before {background:#a0c9ad}
.news-editor-main {display:flex;flex-direction:column;gap:24px;min-width:0}
.news-editor-main > label,.news-form-row > label {font-size:12px;line-height:1.7;color:#bcc1c9;gap:11px!important}
.news-editor-main textarea {min-height:180px;resize:vertical;font-size:13px;line-height:1.9}
.news-editor-settings {display:flex;flex-direction:column;gap:24px;min-width:0;padding-left:29px;border-left:1px solid var(--line)}
.news-editor-settings h2 {font-size:19px;font-weight:450;line-height:1.7;margin:0}
.news-form-row {display:flex;flex-direction:column;gap:22px}
.news-upload {padding:22px;border:1px dashed #ffffff23;border-radius:11px;background:#ffffff02;min-width:0}
.news-upload label {font-size:12px;color:#bcc1c9}
.news-upload input[type=file] {margin-top:5px;padding:8px;font-size:10px;min-height:48px}
.news-upload input::file-selector-button {border:0;border-radius:6px;background:var(--cream);color:#25262a;font:inherit;font-size:10px;padding:9px 12px;margin-right:10px;cursor:pointer}
.news-upload > small {display:block;font-size:9px;line-height:1.9;color:var(--subtle);margin-top:11px}
.news-upload .news-photo-preview {width:100%;height:auto;max-height:240px;object-fit:contain;margin-top:19px}
.news-upload .button {font-size:10px;min-height:36px;margin-top:12px}
.news-publish-actions {display:flex;flex-direction:column;gap:25px;padding-top:22px;border-top:1px solid var(--line)}
.admin-page #dashboardNews .news-publish-check {display:flex;flex-direction:row;align-items:center;gap:11px;font-size:11px;color:var(--muted)}
.news-publish-check input {width:19px;height:19px;min-height:19px;margin:0;flex-shrink:0}
.news-publish-actions > .button {width:100%;font-size:12px;min-height:47px}
.news-list-heading {margin-top:38px;margin-bottom:20px}
#dashboardReviews .page-heading {align-items:center}
#dashboardReviews .page-heading h1 {font-size:clamp(25px,2.3vw,40px)}
.admin-reviews-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.admin-reviews-list > .admin-review-card {margin:0;display:flex;flex-direction:column;align-items:flex-start;padding:27px}
.admin-review-card > time {font-size:10px;color:var(--subtle)}
.admin-review-card .review-publication {margin-top:auto;padding:11px 0;font-size:10px;color:#a6afa4}
.admin-review-card .review-body {color:#c6c9ce;white-space:pre-wrap;overflow-wrap:anywhere}
.admin-review-card .review-reply {width:100%;margin:15px 0;padding:20px;border-left:2px solid var(--accent);background:#fa604b05;border-radius:0 8px 8px 0}
.admin-review-card .review-reply h4 {font-size:13px}
.admin-review-card .review-reply p {font-size:11px;margin-bottom:0}
.review-empty-state {grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;padding:55px 25px;min-height:270px;text-align:center;border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.review-empty-state > .icon {width:38px;height:38px;color:#727986}
.review-empty-state h3 {font-size:22px;font-weight:450}
.review-empty-state p {font-size:11px;color:var(--subtle);max-width:430px;line-height:2}
@media(max-width:1250px) {.news-form,.news-create-form {grid-template-columns:1fr;gap:30px}.news-editor-settings {padding-left:0;padding-top:27px;border-left:0;border-top:1px solid var(--line)}.news-form-row {display:grid;grid-template-columns:1fr 1fr;gap:21px}.news-form-row > label:last-child {grid-column:1/-1}.news-publish-actions {flex-direction:row;align-items:center;justify-content:space-between}.news-publish-actions>.button {width:auto;min-width:190px}.admin-reviews-list {grid-template-columns:1fr}}
@media(max-width:700px) {.workspace-section,.balance-panel {padding:22px 19px;margin-top:26px}.section-toolbar {gap:16px;margin-bottom:22px}.section-toolbar h2 {font-size:21px}.section-toolbar .button {font-size:9px;min-height:37px;padding:8px 11px}.user-search,#employeeAssignForm {grid-template-columns:1fr;padding:21px 18px;gap:17px}.user-search > label {font-size:11px}.user-search > .button {font-size:11px;min-height:44px}.user-search input {font-size:16px}.workspace-section>.user-search {padding:0}.admin-content .dashboard-message:not(:empty) {font-size:10px}.news-form-row {grid-template-columns:1fr}.news-form-row > label:last-child {grid-column:auto}.news-editor-settings {gap:21px}.news-editor-main {gap:21px}.news-editor-main > label,.news-form-row > label {font-size:11px}.news-editor-main textarea {min-height:155px;font-size:16px}.news-editor-settings h2 {font-size:18px}.news-upload {padding:18px}.news-upload label {font-size:11px}.news-publish-actions {align-items:stretch;flex-direction:column;gap:21px}.news-publish-actions>.button {width:100%;min-width:0;font-size:11px}.news-list-heading {margin-top:29px}.balance-log {margin-top:30px}.balance-log>.section-toolbar {align-items:flex-start;flex-wrap:wrap}.balance-actions {flex-wrap:wrap}.balance-panel h2 {font-size:21px}.balance-warning {font-size:10px}.review-empty-state {padding:37px 21px;min-height:250px}.review-empty-state h3 {font-size:20px}.review-empty-state p {font-size:10px}.admin-reviews-list>.admin-review-card {padding:22px}.user-table td {font-size:11px;padding:17px 15px}.user-table th {font-size:9px}}
