
/* Workspace chrome v2: unified light navigation and contextual header. */
:root {
  --soy-header-height: 70px;
  --soy-sider-width: 232px;
  --chrome-v2-accent: #5961d2;
  --chrome-v2-accent-soft: #eef0ff;
  --chrome-v2-border: #e5e8ee;
}
.sidebar {
  padding: 0 12px 14px;
  border-right: 1px solid var(--chrome-v2-border);
  background:
    radial-gradient(circle at 18% 0%, rgb(103 111 224 / 7%), transparent 230px),
    linear-gradient(180deg, #fafbfe 0%, #f7f9fc 48%, #f5f7fa 100%);
  box-shadow: 5px 0 22px rgb(30 39 61 / 3.5%);
}
.sidebar-brand {
  height: 104px;
  gap: 5px;
  margin: 0 4px 10px;
  border-bottom: 1px solid #e7eaf0;
  padding: 13px 8px 14px;
  background: transparent;
  box-shadow: none;
}
.brand-mark,
.brand-mark img { width: 62px; height: 31px; }
.brand-mark img { filter: drop-shadow(0 4px 7px rgb(62 69 148 / 14%)); }
.brand-copy strong {
  color: #293141;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 16px;
  font-weight: 620;
  letter-spacing: .12em;
  text-shadow: none;
}
.nav { gap: 2px; padding: 0 1px; }
.nav-group-title {
  margin: 14px 12px 4px;
  color: #a1a9b6;
  font-size: 9.5px;
  font-weight: 560;
  line-height: 17px;
  letter-spacing: .1em;
}
.nav-group-overview { margin-top: 0; }
.nav-button {
  height: 40px;
  gap: 11px;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  padding: 0 12px;
  background: transparent;
  color: #667184;
  font-size: 12.5px;
  font-weight: 510;
  transition: color .16s, background .16s;
}
.nav-button::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 3px;
  display: block;
  border-radius: 0 3px 3px 0;
  background: transparent;
  transition: background .16s, transform .16s;
  transform: scaleY(.55);
}
.nav-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #8b95a5;
  stroke-width: 1.75;
}
.nav-button:hover {
  border: 0;
  background: #f0f2f7;
  color: #353f50;
}
.nav-button:hover svg { background: transparent; color: #687386; }
.nav-button.active {
  border: 0;
  background: linear-gradient(90deg, rgb(89 97 210 / 11%), rgb(89 97 210 / 5%));
  color: #4d55c4;
  box-shadow: inset 0 0 0 1px rgb(89 97 210 / 7%);
  font-weight: 620;
}
.nav-button.active::before { background: var(--chrome-v2-accent); transform: scaleY(1); }
.nav-button.active svg { background: transparent; color: #5961d2; }
.sidebar-version {
  min-height: 58px;
  gap: 5px;
  margin: auto 5px 0;
  border: 0;
  border-top: 1px solid #e4e8ee;
  border-radius: 0;
  padding: 13px 9px 2px;
  background: transparent;
}
.sidebar-version strong {
  color: #737d8e;
  font-size: 12.5px;
  font-weight: 470;
  letter-spacing: .01em;
}
.sidebar-version small { color: #a2aab6; font-size: 10px; font-weight: 430; }

.topbar {
  height: var(--soy-header-height);
  align-items: center;
  padding: 0 26px;
  border: 0;
  border-bottom: 1px solid var(--chrome-v2-border);
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 4px 16px rgb(32 42 65 / 3%);
  backdrop-filter: blur(18px);
}
.topbar::after { display: none; }
.title { gap: 12px; }
.title-mark {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border: 0;
  border-radius: 9px;
  background: var(--chrome-v2-accent-soft);
  color: var(--chrome-v2-accent);
  box-shadow: inset 0 0 0 1px rgb(89 97 210 / 7%);
}
.title-mark svg { width: 19px; height: 19px; stroke-width: 1.75; }
.title-copy h1 {
  color: #293141;
  font-size: 16.5px;
  font-weight: 620;
  letter-spacing: -.012em;
}
.actions { gap: 12px; }
.service-state {
  height: 36px;
  gap: 8px;
  border: 0;
  border-radius: 0;
  padding: 0 3px;
  background: transparent;
  color: #788392;
  font-size: 11px;
  font-weight: 520;
}
.state-dot { width: 7px; height: 7px; flex-basis: 7px; }
.state-dot.ok { background: #23a675; box-shadow: 0 0 0 4px rgb(35 166 117 / 9%); }
.state-dot.bad { background: #d74b59; box-shadow: 0 0 0 4px rgb(215 75 89 / 9%); }
.header-icon-button {
  width: 38px;
  min-width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 1px solid #e2e6ed;
  border-radius: 50%;
  background: #fff;
  color: #737e8f;
  box-shadow: 0 2px 7px rgb(32 42 65 / 5%);
}
.header-icon-button svg { width: 18px; height: 18px; }
.header-icon-button:hover:not(:disabled) {
  border-color: #d5d9e8;
  background: #f6f7ff;
  color: #545cc9;
  box-shadow: 0 4px 10px rgb(49 58 127 / 8%);
  transform: translateY(-1px);
}
.account-menu { margin-left: 2px; }
.admin-chip {
  min-width: 206px;
  height: 48px;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  padding: 4px 7px 4px 16px;
  background: transparent;
  box-shadow: none;
}
.admin-chip::before {
  top: 10px;
  left: 0;
  width: 1px;
  height: 28px;
  display: block;
  background: #e2e6ed;
}
.admin-chip:hover { border: 0; background: #f7f8fb; }
.admin-avatar {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 1px solid #dde1f1;
  background: #eef0ff;
  color: #5961cf;
  box-shadow: none;
}
.admin-avatar svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.55; }
.admin-identity { gap: 3px; }
.admin-identity strong { color: #354052; font-size: 12px; font-weight: 610; }
.admin-identity span { max-width: 138px; color: #929baa; font-size: 10px; }
.admin-menu-chevron { color: #9aa3b1; }
.account-dropdown {
  top: calc(100% + 7px);
  width: 180px;
  border-color: #e1e5ec;
  border-radius: 10px;
  box-shadow: 0 14px 38px rgb(25 34 53 / 14%);
}
.account-dropdown button { border-radius: 6px; font-weight: 540; }

@media (max-width: 1180px) {
  .topbar { padding-inline: 20px; }
  .admin-chip { min-width: 188px; }
}
@media (max-width: 840px) {
  :root { --soy-sider-width: 64px; }
  .sidebar { padding: 8px; }
  .sidebar-brand { width: 48px; height: 58px; margin: 0 0 8px; padding: 4px 0 8px; }
  .brand-mark, .brand-mark img { width: 43px; height: 28px; }
  .brand-copy, .nav-group-title, .nav-button span, .sidebar-version { display: none; }
  .nav { padding: 0; }
  .nav-button { justify-content: center; padding: 0; }
  .nav-button::before { left: -1px; }
  .nav-button svg { width: 19px; height: 19px; flex-basis: 19px; padding: 0; }
  .topbar { padding-inline: 14px; }
  .admin-chip, .service-state { display: none; }
}

/* User profile final layer. */
.modal .user-detail-modal { width: min(920px, 96vw); }
.user-profile-header { min-height: 112px; gap: 17px; border: 0; padding: 24px 28px 13px; }
.user-profile-avatar { width: 68px; height: 68px; flex-basis: 68px; border: 4px solid #fff; font-size: 22px; box-shadow: 0 8px 24px rgb(39 49 76 / 13%), 0 0 0 1px #e5e8ef; }
.user-profile-name strong { max-width: 320px; color: #222b39; font-size: 20px; font-weight: 620; }
.user-profile-name span { color: #667284; }
.user-profile-name > small { max-width: 480px; margin-top: 9px; color: #abb2bd; font-size: 9.5px; }
.user-profile-dates { min-height: 44px; gap: 28px; border: 0; padding: 0 28px 15px 113px; background: #fff; }
.user-profile-dates > span,
.user-profile-dates > span + span { gap: 7px; border: 0; padding: 0; }
.user-profile-dates small { color: #a0a8b4; font-size: 9.5px; }
.user-profile-dates strong { color: #626d7d; font-size: 10.5px; font-weight: 560; }
.user-overview-section { padding: 5px 28px 22px; }
.user-overview-rows { margin-top: 10px; border: 0; border-radius: 12px; padding: 7px 15px; background: #f7f8fb; }
.user-overview-row { min-height: 60px; border: 0; }
.user-overview-row > span { width: 60px; flex-basis: 60px; color: #7f8998; font-weight: 580; }
.user-overview-row > div { align-items: center; }
.user-overview-metric,
.user-overview-metric + .user-overview-metric { gap: 7px; border: 0; padding: 0 13px; }
.user-overview-metric small { color: #969fad; font-size: 9.5px; }
.user-overview-metric strong { color: #354052; font-size: 13.5px; font-weight: 650; }
.user-controls-layout { grid-template-columns: minmax(0, 1.45fr) minmax(270px, .85fr); gap: 30px; margin: 0 28px 26px; border: 0; border-radius: 12px; padding: 19px 20px 20px; background: #f7f8fb; }
.user-control-section { padding: 0; }
.user-control-section:only-child { grid-column: 1 / -1; }
.user-control-section + .user-control-section { border: 0; }
.user-membership-form { gap: 10px; margin-top: 12px; }
.user-membership-form label { color: #7f8998; font-size: 9.5px; }
.user-membership-form .field,
.user-membership-form .select,
.user-account-control > .field { height: 37px; border-color: #e0e4eb; background-color: #fff; font-size: 11px; }
.user-membership-form > button { height: 37px; }
.user-account-control { margin-top: 12px; }
.user-account-control > div { gap: 8px; margin-top: 10px; }
.user-account-control button { height: 34px; }

@media (max-width: 820px) {
  .user-controls-layout { grid-template-columns: 1fr; gap: 22px; }
  .user-control-section + .user-control-section { border: 0; }
}
@media (max-width: 620px) {
  .user-profile-header { padding: 20px 18px 10px; }
  .user-profile-avatar { width: 56px; height: 56px; flex-basis: 56px; }
  .user-profile-name strong { font-size: 17px; }
  .user-profile-dates { gap: 0; padding: 2px 18px 14px; }
  .user-profile-dates > span + span { border: 0; }
  .user-overview-section { padding: 4px 18px 18px; }
  .user-controls-layout { margin: 0 18px 20px; padding: 17px; }
  .user-overview-row > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .user-overview-metric:nth-child(3),
  .user-overview-metric:nth-child(n + 3) { border: 0; }
}

/* User detail v3 final layout enforcement. */
.user-membership-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 14px 16px;
  margin-top: 16px;
}
.user-membership-form label,
.user-membership-form label:nth-child(3),
.user-membership-form label:nth-child(4) {
  min-width: 0;
  display: grid;
  flex: initial;
  gap: 7px;
  color: #838d9d;
  font-size: 10px;
}
.user-membership-form .field,
.user-membership-form .select { width: 100%; min-width: 0; height: 39px; border-color: #dfe3ea; background-color: #fafbfc; }
.user-membership-form > button { width: 146px; height: 38px; justify-self: end; grid-column: 2; }
.user-account-control > .user-account-actions { gap: 8px; margin-top: 0; }

@media (max-width: 700px) {
  .user-membership-form { grid-template-columns: 1fr; }
  .user-membership-form > button { width: 100%; grid-column: 1; }
}

/* Minimal refresh motion and unified user detail surface. */
.startup-screen.is-minimal .startup-copy { display: none; }
.startup-screen.is-minimal .startup-brand { margin-top: 5px; }
.startup-screen.is-minimal .startup-progress { width: 152px; margin-top: 24px; }
.startup-screen.is-minimal .startup-visual { animation: startup-visual-breathe 2.8s ease-in-out infinite; }
.startup-screen.mode-syncing .orbit-outer { animation-duration: 1.35s; }
.startup-screen.mode-syncing .orbit-inner { animation-duration: 3.4s; }
.startup-screen.mode-login .startup-visual { animation: startup-login-arrive .65s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes startup-visual-breathe { 0%, 100% { transform: scale(.98); } 50% { transform: scale(1.025); } }
@keyframes startup-login-arrive { from { opacity: 0; transform: translateY(8px) scale(.92); } to { opacity: 1; transform: none; } }

.modal .user-detail-modal .modal-body { background: #fff; }
.user-detail-hero {
  min-height: 104px;
  overflow: visible;
  padding: 22px 26px 12px;
  border-bottom: 0;
  background: #fff;
}
.user-detail-hero::after { display: none; }
.user-detail-avatar {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  border-width: 3px;
  border-radius: 17px;
  box-shadow: 0 5px 17px rgb(39 49 76 / 10%), 0 0 0 1px #e3e6ed;
}
.user-detail-identity strong { font-size: 19px; }
.user-detail-identity small { margin-top: 7px; }
.user-detail-meta {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0 26px 16px 108px;
  border-bottom: 0;
  background: #fff;
}
.user-detail-meta > span,
.user-detail-meta > span:first-child,
.user-detail-meta > span + span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 0;
}
.user-detail-meta small { flex: 0 0 auto; color: #9aa3b0; }
.user-detail-meta strong { color: #647082; font-size: 10.5px; font-weight: 570; }
.user-data-section { padding: 13px 26px 19px; }
.user-data-section .user-section-heading { min-height: 28px; }
.user-data-section .user-section-heading > div > span { display: none; }
.user-data-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  overflow: visible;
  border: 0;
  border-radius: 10px;
  padding: 7px 10px;
  background: #f7f8fa;
}
.user-data-metric,
.user-data-metric + .user-data-metric,
.user-data-metric:nth-child(5),
.user-data-metric:nth-child(n + 5) {
  min-height: 48px;
  gap: 9px;
  border: 0;
  padding: 8px 10px;
  background: transparent;
}
.user-data-metric > i { width: 5px; height: 5px; flex-basis: 5px; }
.user-data-metric > span { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 9px; }
.user-data-metric small { color: #8d97a5; font-size: 9.5px; }
.user-data-metric strong { color: #3b4555; font-size: 12.5px; }
.user-management-panel {
  margin: 0 26px 24px;
  overflow: visible;
  border: 0;
  border-radius: 11px;
  background: #f7f8fa;
  box-shadow: none;
}
.user-management-section { padding: 17px 20px 18px; }
.user-management-section + .user-management-section { border-top: 0; padding-top: 10px; }
.user-management-heading { min-height: 30px; }
.user-management-icon,
.user-management-icon.account-icon { width: 22px; height: 22px; border-radius: 0; background: transparent; color: #6670d2; }
.user-management-icon.account-icon { color: #768294; }
.user-management-icon svg { width: 17px; height: 17px; }
.user-membership-form { margin-top: 13px; }
.user-account-control { margin-top: 12px; }

@media (max-width: 700px) {
  .user-detail-hero { padding: 18px 18px 10px; }
  .user-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 18px;
    padding: 4px 18px 15px;
  }
  .user-detail-meta > span,
  .user-detail-meta > span:first-child,
  .user-detail-meta > span + span { min-height: 23px; justify-content: flex-start; border: 0; }
  .user-detail-meta > span:last-child { grid-column: 1 / -1; }
  .user-data-section { padding: 13px 18px 18px; }
  .user-data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px; }
  .user-data-metric,
  .user-data-metric + .user-data-metric,
  .user-data-metric:nth-child(n + 3) { min-height: 44px; border: 0; padding: 7px 8px; }
  .user-management-panel { margin: 0 18px 20px; }
  .user-management-section { padding: 16px; }
}

@media (max-width: 430px) {
  .user-detail-status { width: auto; margin-left: 0; }
  .user-detail-meta { grid-template-columns: 1fr; }
  .user-detail-meta > span:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .startup-screen.is-minimal .startup-visual,
  .startup-screen.mode-login .startup-visual { animation: none !important; }
}

/* Dashboard summary v4 and borderless page title icons. */
.title { gap: 9px; }
.title-mark {
  width: 29px;
  height: 36px;
  flex-basis: 29px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #5961d2;
  box-shadow: none;
}
.title-mark svg { width: 22px; height: 22px; stroke-width: 1.8; }

.dashboard-summary-grid { gap: 14px; padding-top: 3px; }
.dashboard-summary-panel {
  position: relative;
  min-height: 186px;
  overflow: hidden;
  border: 1px solid #e7eaf0;
  border-radius: 14px;
  padding: 0 17px 14px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--panel-soft) 28%, #fff) 0%, #fff 42%);
  box-shadow: 0 5px 18px rgb(30 40 62 / 4%);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dashboard-summary-panel:hover {
  border-color: color-mix(in srgb, var(--panel-accent) 18%, #e1e5ec);
  box-shadow: 0 9px 25px rgb(30 40 62 / 7%);
  transform: translateY(-1px);
}
.dashboard-panel-head {
  height: 51px;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}
.dashboard-panel-head h2 { color: var(--panel-accent); font-size: 13px; font-weight: 660; letter-spacing: .01em; }
.dashboard-panel-icon,
.dashboard-panel-icon.system-panel-icon {
  width: 25px;
  height: 30px;
  flex-basis: 25px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--panel-accent);
  box-shadow: none;
}
.dashboard-panel-icon svg,
.dashboard-panel-icon.system-panel-icon svg { width: 19px; height: 19px; stroke-width: 1.75; }
.dashboard-panel-metrics,
.task-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
}
.dashboard-panel-metric,
.task-metrics .dashboard-panel-metric,
.dashboard-panel-metric:nth-child(2n),
.dashboard-panel-metric:nth-last-child(-n + 2) {
  min-width: 0;
  height: 53px;
  gap: 6px;
  border: 0;
  border-radius: 0;
  padding: 5px 0;
  background: transparent;
}
.dashboard-panel-metric > span { color: #8c96a5; font-size: 10px; font-weight: 520; }
.dashboard-panel-metric > strong,
.task-metrics .dashboard-panel-metric > strong,
.task-metric-value strong,
.business-metrics .dashboard-panel-metric:not(.metric-primary) > strong,
.panel-order .dashboard-panel-metric > strong,
.system-metrics .runtime-metric > strong {
  color: #303949;
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 690;
  letter-spacing: -.025em;
}
.business-metrics .metric-member { background: transparent; }
.panel-order .dashboard-panel-metric > strong { font-size: clamp(13px, .95vw, 16px); }
.task-metrics .dashboard-panel-metric { height: 53px; }
.task-metric-value { gap: 6px; }
.task-metric-value small { color: #8c96a5; font-size: 9px; font-weight: 560; }
.metric-label-with-ring { gap: 6px; }
.dashboard-micro-ring { width: 9px; height: 9px; }
.dashboard-micro-ring::after { inset: 2.3px; }
.system-metrics .runtime-metric { padding-right: 43px; }
.system-metrics .runtime-donut { width: 28px; height: 28px; right: 2px; }
.system-metrics .runtime-donut::after { background: #fff; }

@media (max-width: 1180px) {
  .dashboard-summary-panel { min-height: 178px; }
}

@media (max-width: 620px) {
  .title-mark { width: 26px; flex-basis: 26px; }
  .title-mark svg { width: 20px; height: 20px; }
  .dashboard-summary-panel { padding-inline: 15px; }
}

/* Focused administrator editor. */
.modal .admin-edit-modal { width: min(680px, 95vw); }
.modal .admin-edit-modal .modal-body { display: block; padding: 0; background: #fff; }
.admin-edit-sheet { min-width: 0; }
.admin-edit-profile {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px 17px;
  background: linear-gradient(150deg, #fafbff 0%, #fff 75%);
}
.admin-edit-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  color: #5d65cd;
}
.admin-edit-avatar svg { width: 29px; height: 29px; stroke-width: 1.5; }
.admin-edit-profile > div { min-width: 0; display: grid; flex: 1 1 auto; gap: 6px; }
.admin-edit-profile small { color: #949dac; font-size: 9.5px; font-weight: 520; }
.admin-edit-profile strong { overflow: hidden; color: #303949; font-size: 14px; font-weight: 640; text-overflow: ellipsis; white-space: nowrap; }
.admin-edit-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 24px;
  border-radius: 10px;
  padding: 12px 15px;
  background: #f7f8fa;
}
.admin-edit-meta > span { min-width: 0; display: flex; align-items: center; gap: 9px; }
.admin-edit-meta small { flex: 0 0 auto; color: #939cab; font-size: 9.5px; }
.admin-edit-meta strong { overflow: hidden; color: #586374; font-size: 10.5px; font-weight: 590; text-overflow: ellipsis; white-space: nowrap; }
.admin-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 16px;
  padding: 20px 24px 22px;
}
.admin-edit-form label { min-width: 0; display: grid; gap: 7px; color: #7f8999; font-size: 10px; font-weight: 540; }
.admin-edit-form .admin-edit-name { grid-column: 1 / -1; }
.admin-edit-form .field,
.admin-edit-form .select { width: 100%; min-width: 0; height: 40px; border-color: #dfe3ea; border-radius: 9px; background-color: #fafbfc; font-size: 11px; }
.admin-edit-form .field:focus,
.admin-edit-form .select:focus { border-color: #7a82df; background-color: #fff; box-shadow: 0 0 0 3px rgb(89 97 210 / 9%); }
.admin-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 0 24px 22px;
}
.admin-edit-actions button { min-width: 92px; height: 36px; border-radius: 9px; }

@media (max-width: 560px) {
  .admin-edit-profile { padding-inline: 18px; }
  .admin-edit-meta { grid-template-columns: 1fr; gap: 9px; margin-inline: 18px; }
  .admin-edit-form { grid-template-columns: 1fr; padding-inline: 18px; }
  .admin-edit-form .admin-edit-name { grid-column: auto; }
  .admin-edit-actions { padding-inline: 18px; }
  .admin-edit-actions button { flex: 1 1 0; }
}

/* Server-authoritative VIP pricing. */
.vip-price-page { overflow: hidden; border: 1px solid #e2e7ef; border-radius: 14px; background: #fff; box-shadow: 0 6px 24px rgb(31 41 55 / 5%); }
.vip-price-head { height: 66px; display: flex; align-items: center; border-bottom: 1px solid #edf0f4; padding: 0 24px; }
.vip-price-head h2 { margin: 0; color: #303846; font-size: 16px; font-weight: 680; letter-spacing: -.01em; }
.vip-price-form { padding: 24px; }
.vip-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vip-price-card { border: 1px solid #e3e8f0; border-radius: 12px; padding: 18px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease; }
.vip-price-card:focus-within { border-color: #b8cdf2; box-shadow: 0 0 0 3px rgb(95 145 238 / 8%); }
.vip-price-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.vip-price-card-head h3 { margin: 0; color: #354054; font-size: 13px; font-weight: 680; }
.vip-price-card-head span { flex: 0 0 auto; color: #99a3b2; font-size: 10px; }
.vip-price-field { display: grid; gap: 8px; color: #7b8798; font-size: 10px; }
.vip-money-input { position: relative; display: block; }
.vip-money-input i { position: absolute; z-index: 1; top: 50%; left: 13px; color: #8290a4; font: normal 600 12px/1 sans-serif; transform: translateY(-50%); }
.vip-money-input .field { width: 100%; height: 44px; border-color: #e0e5ed; border-radius: 9px; padding-left: 30px; background: #f8fafc; color: #273449; font-size: 15px; font-weight: 680; }
.vip-money-input .field:focus { border-color: #9fbbea; background: #fff; box-shadow: none; }
.vip-price-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; border-top: 1px solid #edf0f4; padding-top: 20px; }
.vip-price-actions .field { min-width: 0; height: 40px; flex: 1 1 auto; border-radius: 9px; }
.vip-price-actions .primary { min-width: 108px; height: 40px; border-radius: 9px; }
@media (max-width: 900px) { .vip-price-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .vip-price-actions { align-items: stretch; flex-direction: column; } .vip-price-form, .vip-price-head { padding-inline: 18px; } .vip-price-actions .primary { width: 100%; } }

.service-config-page { overflow: hidden; border: 1px solid #e1e5ec; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgb(31 41 55 / 4%); }
.service-config-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #edf0f4; padding: 0 24px; }
.service-config-head h2 { margin: 0; color: #303846; font-size: 16px; font-weight: 650; }
.service-config-state { margin-left: auto; border-radius: 999px; padding: 7px 13px; background: #eff8f4; color: #278465; font-size: 10px; font-weight: 700; }
.service-config-state.is-maintenance { background: #fff3e9; color: #b36d2d; }
.service-config-form { padding: 22px 24px 24px; }
.service-config-toggle-row { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid #e4e8ef; border-radius: 10px; padding: 0 15px; background: #fafbfc; }
.service-config-toggle-row strong { color: #354054; font-size: 13px; }
.service-toggle { display: flex; align-items: center; gap: 9px; color: #718095; font-size: 10px; font-style: normal; white-space: nowrap; cursor: pointer; }
.service-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.service-toggle > span { width: 40px; height: 23px; position: relative; border: 1px solid #d6dde8; border-radius: 999px; background: #e9edf3; transition: .2s ease; }
.service-toggle > span::after { content: ""; width: 17px; height: 17px; position: absolute; top: 2px; left: 2px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(40 54 78 / 20%); transition: .2s ease; }
.service-toggle.is-active > span { border-color: #efb77d; background: #efb77d; }
.service-toggle.is-active > span::after { transform: translateX(17px); }
.service-toggle em { min-width: 40px; color: inherit; font-style: normal; font-weight: 650; }
.service-preset-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 14px; margin-top: 18px; }
.service-preset-row > span { color: #778397; font-size: 10px; font-weight: 600; }
.service-preset-row > div { min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service-preset-row button { min-width: 76px; height: 30px; border: 1px solid #dfe6f0; border-radius: 999px; padding: 0 13px; background: #fff; color: #718096; font-size: 10px; transition: .16s ease; }
.service-preset-row button:hover { border-color: #bdcff0; background: #f7faff; color: #5f82bd; }
.service-preset-row button.is-active { border-color: #b9cdf1; background: #edf4ff; color: #537fcf; box-shadow: inset 0 0 0 1px rgb(95 145 238 / 8%); }
.service-config-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 20px; }
.service-config-fields label { min-width: 0; display: grid; position: relative; gap: 7px; color: #778397; font-size: 10px; }
.service-config-fields .field { width: 100%; min-width: 0; border-color: #dfe5ee; border-radius: 10px; background: #fbfcfe; }
.service-config-message, .service-config-reason { grid-column: 1 / -1; }
.service-config-message textarea { height: auto; min-height: 88px; padding-block: 11px; resize: vertical; line-height: 1.7; }
.service-config-message small { position: absolute; right: 11px; bottom: 8px; color: #a0a8b5; font-size: 9px; }
.service-config-message small b { color: #7e8999; font-weight: 600; }
.service-config-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 20px; border-top: 1px solid #edf0f5; padding-top: 18px; }
.service-config-actions .primary { min-width: 120px; height: 40px; }
@media (max-width: 700px) { .service-config-head, .service-config-form { padding-inline: 18px; } .service-config-toggle-row { align-items: flex-start; flex-direction: column; padding-block: 13px; } .service-preset-row { grid-template-columns: 1fr; } .service-config-fields { grid-template-columns: 1fr; } .service-config-message, .service-config-reason { grid-column: 1; } .service-config-actions .primary { width: 100%; } }
