.brand-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-row.compact {
  min-height: 58px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  background: var(--surface-nav);
}

body[data-shell="platform"] .brand-row.compact {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  min-height: 68px;
  margin-bottom: 18px;
  border-width: 0 0 1px;
  border-radius: 0;
  padding: 6px 0 16px;
  background: transparent;
}

body[data-shell="platform"] .brand-row.compact strong {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
}

body[data-shell="platform"] .brand-row.compact span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--ink-inverse);
  background: var(--brand-gradient);
  font-weight: 900;
}

body[data-shell="platform"] .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, #20d4c1, #2674ff);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 12px 28px rgba(36, 124, 255, 0.36);
}

.brand-row strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.brand-row span,
.breadcrumb,
.form-message {
  color: var(--muted);
  font-size: 11px;
}

.login-proof,
.side-nav {
  display: grid;
  gap: 12px;
}

.login-proof {
  grid-template-columns: repeat(3, max-content);
  margin-top: 28px;
}

.login-proof span,
.version-pill,
.user-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--text-soft);
  background: var(--surface-pill);
  font-size: 12px;
}

.login-panel {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--login-panel-background);
  box-shadow: var(--shadow);
}

.login-panel h2 {
  margin: 0 0 8px;
}

.login-panel input,
.topbar select {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  background: var(--surface-input);
}

.login-panel input {
  height: 42px;
  padding: 0 12px;
}
.password-field {
  position: relative;
  display: grid;
}

.password-field input {
  width: 100%;
  padding-right: 44px;
}

.password-field input::-ms-reveal,
.password-field input::-ms-clear {
  display: none;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--text);
  background: rgba(120, 180, 255, 0.12);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(46, 147, 255, 0.74);
  outline-offset: 2px;
}

.password-toggle-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle-icon-eye-off,
.password-toggle.is-visible .password-toggle-icon-eye {
  display: none;
}

.password-toggle.is-visible .password-toggle-icon-eye-off {
  display: block;
}

.login-credential-fields,
.mfa-entry {
  display: grid;
  gap: 12px;
}

.mfa-challenge-panel,
.mfa-setup-panel {
  display: grid;
  gap: 12px;
  margin: 2px 0 4px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-panel);
}

.login-credential-fields[hidden],
.mfa-challenge-panel[hidden],
.mfa-setup-panel[hidden] {
  display: none !important;
}

.mfa-panel-heading {
  display: grid;
  gap: 4px;
}

.mfa-panel-heading strong {
  color: var(--text);
  font-size: 15px;
}

.mfa-panel-heading span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mfa-setup-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.mfa-method-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border-radius: 10px;
  padding: 4px;
  background: var(--soft);
}

.mfa-method-switch button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.mfa-method-switch button.active {
  border-color: var(--line);
  color: var(--accent);
  background: var(--surface-input);
  box-shadow: var(--shadow-pill);
}

.mfa-secret-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.mfa-secret-row code {
  min-width: 0;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--text);
  background: var(--surface-input);
  font-size: 12px;
}

.mfa-uri-link {
  width: max-content;
  max-width: 100%;
  color: var(--accent);
  font-size: 12px;
  text-decoration: none;
}

.mfa-uri-link:not([href]) {
  display: none;
}

.mfa-recovery-block {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.mfa-recovery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mfa-recovery-heading span {
  color: var(--muted);
  font-size: 12px;
}

.mfa-recovery-block ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mfa-recovery-block li {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  color: var(--text);
  background: var(--surface-input);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.mfa-save-confirmation {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  background: var(--soft);
  cursor: pointer;
}

.login-panel .mfa-save-confirmation input {
  width: 18px;
  height: 18px;
  margin: 0;
  box-shadow: none;
}

.mfa-back-button {
  width: max-content;
  border: 0;
  padding: 2px 0;
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.mfa-cancel-button {
  width: 100%;
  min-height: 38px;
  border: 1px solid color-mix(in srgb, var(--danger) 42%, var(--line));
  border-radius: var(--radius);
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 8%, transparent);
  font-weight: 750;
  cursor: pointer;
}

.mfa-cancel-button[hidden] {
  display: none !important;
}

.mfa-cancel-button:hover,
.mfa-cancel-button:focus-visible {
  background: color-mix(in srgb, var(--danger) 14%, transparent);
}

.login-panel[aria-busy="true"] [disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.mfa-uri-link[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.62;
}

.mfa-back-button:hover,
.mfa-back-button:focus-visible,
.mfa-uri-link:hover,
.mfa-uri-link:focus-visible {
  text-decoration: underline;
}

.ghost-button.compact {
  min-height: 34px;
  padding-inline: 10px;
}

.form-message.error,
#mfaSetupStatus.error {
  color: var(--danger);
}

@media (max-width: 480px) {
  .mfa-secret-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .mfa-secret-row .ghost-button,
  .mfa-uri-link {
    width: 100%;
  }

  .mfa-recovery-block ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

.topbar select {
  min-width: 260px;
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

body[data-shell="platform"] .topbar select,
body[data-shell="platform"] .ghost-button,
body[data-shell="platform"] .user-pill {
  height: 38px;
  border: 1px solid rgba(84, 137, 210, 0.34);
  border-radius: 8px;
  color: #e8f3ff;
  background: rgba(13, 30, 55, 0.86);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

body[data-shell="platform"] .topbar select {
  appearance: none;
  min-width: 190px;
  padding-right: 34px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%23e8f3ff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 10px 10px no-repeat,
    rgba(13, 30, 55, 0.86);
  box-shadow: 0 0 0 1px rgba(50, 128, 255, 0.12) inset;
}

body[data-shell="platform"] .ghost-button {
  min-height: 38px;
  color: #c5d6eb;
  background: rgba(27, 39, 62, 0.88);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

body[data-shell="platform"] .user-pill {
  border-color: rgba(22, 215, 160, 0.22);
  color: #70f0c8;
  background: rgba(9, 42, 48, 0.66);
}

body[data-shell="platform"] .theme-label,
body[data-shell="platform"] .theme-dots {
  display: none;
}

.primary-button,
.ghost-button,
.side-nav button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

.primary-button {
  min-height: 40px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  font-weight: 800;
}

.ghost-button,
.gate-link {
  background: var(--surface-action);
}

.ghost-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

body[data-shell="business"] .ghost-button,
body[data-shell="business"] .topbar select {
  border-color: var(--line);
  border-radius: 8px;
  color: var(--txt);
  background: #12203c;
}

body[data-shell="business"] .ghost-button {
  min-height: 33px;
  font-weight: 400;
}

body[data-shell="business"] .topbar select {
  width: 158px;
  min-width: 158px;
  height: 32px;
}

.admin-access-menu {
  position: relative;
  flex: 0 0 auto;
}

.admin-access-trigger {
  width: auto;
  min-width: 82px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  background: #12203c;
  cursor: pointer;
  list-style: none;
}

.admin-access-trigger b {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.admin-access-trigger::-webkit-details-marker {
  display: none;
}

.admin-access-trigger:hover,
.admin-access-trigger:focus-visible,
.admin-access-menu[open] .admin-access-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
  outline: none;
}

.admin-access-hamburger {
  width: 15px;
  display: grid;
  gap: 3px;
}

.admin-access-hamburger i {
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.admin-access-panel {
  position: absolute;
  z-index: 45;
  top: calc(100% + 9px);
  right: 0;
  width: min(292px, calc(100vw - 28px));
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  color: #10203b;
  background: #fff;
  box-shadow: 0 18px 45px rgba(2, 8, 23, 0.28);
}

.admin-access-panel strong {
  font-size: 14px;
}

.admin-access-panel small {
  color: #5f6f85;
  font-size: 12px;
  line-height: 1.55;
}

body[data-shell="business"][data-skin] .admin-access-panel .admin-entry {
  width: 100%;
  min-height: 38px;
  justify-content: center;
  border-color: rgba(37, 99, 235, 0.28);
  color: #155ed0;
  background: #edf4ff;
  font-weight: 800;
}

@media (max-width: 560px) {
  .admin-access-panel {
    right: auto;
    left: 0;
  }
}

.project-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.project-switcher #projectSelector {
  flex: 1 1 auto;
}

.project-edit-button {
  flex: 0 0 auto;
  min-width: 44px;
  justify-content: center;
}

.project-edit-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.project-edit-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  width: min(320px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(76, 146, 255, 0.46);
  border-radius: 8px;
  background: rgba(7, 17, 34, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.project-edit-popover[hidden] {
  display: none !important;
}

.project-edit-label {
  display: grid;
  gap: 6px;
  color: var(--text-soft);
  font-size: 12px;
}

.project-edit-label span {
  color: var(--muted);
}

.project-edit-label input {
  width: 100%;
  height: 36px;
  border: 1px solid rgba(84, 137, 210, 0.44);
  border-radius: 7px;
  padding: 0 10px;
  color: var(--text);
  outline: none;
  background: rgba(4, 12, 24, 0.95);
}

.project-edit-label input:focus {
  border-color: rgba(48, 156, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(48, 156, 255, 0.18);
}

.project-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.project-edit-actions .primary {
  border-color: rgba(28, 213, 169, 0.48);
  color: #eafff8;
  background: linear-gradient(90deg, rgba(18, 143, 109, 0.95), rgba(37, 119, 229, 0.95));
}

.project-edit-message {
  min-height: 16px;
  color: #78f0c8;
  font-size: 12px;
}

.project-edit-message.error {
  color: #ff7b8d;
}

body[data-shell="business"] .project-switcher {
  flex: 0 0 auto;
}

body[data-shell="business"] .project-edit-button {
  min-height: 32px;
  padding: 0 10px;
}

body[data-shell="business"] .project-edit-popover {
  border-color: rgba(104, 148, 204, 0.32);
  color: #0f1f38;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(28, 56, 96, 0.2), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body[data-shell="business"] .project-edit-label {
  color: #1d3356;
  font-weight: 700;
}

body[data-shell="business"] .project-edit-label span {
  color: #667792;
  font-size: 12px;
  font-weight: 700;
}

body[data-shell="business"] .project-edit-label input {
  border-color: #c7d8ee;
  color: #0f1f38;
  background: #f8fbff;
  box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.04) inset;
}

body[data-shell="business"] .project-edit-label input::placeholder {
  color: #91a3bd;
}

body[data-shell="business"] .project-edit-label input:focus {
  border-color: #2f7fe6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 127, 230, 0.16);
}

body[data-shell="business"] .project-edit-actions .ghost-button {
  border-color: #b9cbe2;
  color: #24405f;
  background: #fff;
  font-weight: 700;
}

body[data-shell="business"] .project-edit-actions .primary {
  border-color: #2f7fe6;
  color: #fff;
  background: linear-gradient(180deg, #3d8bff, #246fde);
  box-shadow: 0 8px 18px rgba(47, 127, 230, 0.22);
}

body[data-shell="business"] .project-edit-message {
  color: #16865f;
  font-weight: 700;
}

body[data-shell="business"] .project-edit-message.error {
  color: #d03b3b;
}

body[data-shell="business"] .version-pill,
body[data-shell="business"] .user-pill {
  border-radius: 20px;
  padding: 5px 9px;
  color: #b9c9e8;
  background: rgba(8, 16, 32, 0.55);
  font-size: 11px;
}

body[data-shell="business"] .brand-row.compact {
  min-height: 58px;
  gap: 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(70, 140, 235, 0.16);
  border-radius: 12px;
  padding: 9px 9px 10px;
  background: linear-gradient(180deg, rgba(20, 42, 80, 0.46), rgba(8, 16, 32, 0.38));
}

body[data-shell="business"] .brand-row.compact strong {
  font-size: 14px;
}

body[data-shell="business"] .brand-row.compact span {
  color: var(--mut);
  font-size: 10px;
}

body[data-shell="business"] .brand-mark {
  border-radius: 11px;
  color: var(--txt);
  box-shadow: 0 0 16px rgba(25, 230, 160, 0.16);
}

.nav-group {
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--border-muted-faint);
  border-radius: var(--radius);
  background: var(--surface-panel-deep);
}

body[data-shell="business"] .side-nav {
  gap: 9px;
}

body[data-shell="platform"] .side-nav {
  display: block;
  gap: 0;
}

body[data-shell="business"] .nav-group {
  gap: 3px;
  margin: 0 3px -1px;
  border: 1px solid rgba(70, 140, 235, 0.08);
  border-radius: 12px;
  padding: 4px;
  background: rgba(8, 16, 32, 0.24);
}

body[data-shell="platform"] .nav-group {
  gap: 0;
  margin: 16px 0 18px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

body[data-shell="platform"] :is(#platformNavGroup, #customerDeliveryNavGroup, #protocolTestLabNavGroup) {
  margin-top: 0;
}

body[data-shell="platform"] .nav-box {
  border: 1px solid rgba(72, 114, 176, 0.18);
  border-radius: 8px;
  padding: 7px;
  background: rgba(7, 17, 32, 0.72);
}

body[data-shell="platform"] .gate-box {
  display: grid;
  gap: 8px;
}

#platformNavGroup,
#customerDeliveryNavGroup,
#protocolTestLabNavGroup,
#businessPlatformEntry {
  display: none;
}

body[data-shell="business"] .platform-return-group {
  display: none;
}

body[data-shell="business"][data-platform-admin="true"] #businessPlatformEntry {
  display: none;
}

body[data-shell="platform"] .side-nav .nav-group:not(#platformNavGroup):not(#customerDeliveryNavGroup):not(#protocolTestLabNavGroup):not(.platform-return-group) {
  display: none;
}

body[data-shell="platform"][data-platform-admin="true"] #platformNavGroup,
body[data-shell="platform"][data-platform-admin="true"] #customerDeliveryNavGroup,
body[data-shell="platform"][data-platform-admin="true"] #protocolTestLabNavGroup,
body[data-shell="platform"][data-platform-admin="true"] .platform-return-group {
  display: grid;
}

.nav-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

body[data-shell="platform"] .nav-group-title {
  margin: 0 0 8px;
  color: #b6c8df;
  font-size: 14px;
  font-weight: 750;
}

body[data-shell="business"] .nav-group-title {
  margin: 0 7px 9px 0;
  color: #9ab0d3;
  font-size: 12px;
}

.nav-group-title::before {
  width: 3px;
  height: 12px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-blue));
}

body[data-shell="platform"] .nav-group-title::before {
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
  box-shadow: 0 0 14px rgba(22, 215, 160, 0.5);
}

.nav-group-title::after {
  height: 1px;
  flex: 1;
  content: "";
  background: var(--line);
}

body[data-shell="platform"] .nav-group-title::after {
  display: none;
}

.theme-label {
  color: var(--muted);
  font-size: 12px;
}

.side-nav button {
  width: 100%;
  min-height: 32px;
  padding: 0 9px 0 10px;
  position: relative;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-soft);
  background: transparent;
  border-color: transparent;
}

body[data-shell="platform"] .side-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  color: #d8e6f8;
  background: transparent;
  font-size: 15px;
  font-weight: 650;
}

body[data-shell="platform"] .side-nav button + button {
  margin-top: 4px;
}

body[data-shell="platform"] .side-nav button.active {
  border-color: rgba(22, 215, 160, 0.56);
  background: linear-gradient(90deg, rgba(16, 184, 143, 0.28), rgba(37, 106, 236, 0.18));
  box-shadow: 0 0 0 1px rgba(22, 215, 160, 0.1) inset, 0 0 24px rgba(20, 187, 153, 0.14);
}

body[data-shell="platform"] .side-nav button.active::before,
body[data-shell="platform"] .side-nav button.active::after {
  display: none;
}

body[data-shell="platform"] .nav-icon {
  width: 18px;
  color: #b8c9df;
  font-size: 15px;
  text-align: center;
}

body[data-shell="platform"] .nav-badge {
  margin-left: auto;
  height: 20px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: #ffb1bc;
  background: rgba(255, 88, 108, 0.16);
  font-size: 11px;
  font-weight: 850;
}

body[data-shell="business"] .side-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 7px 10px;
  color: #b9c9e8;
  background: transparent;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-shell="business"] .side-nav button.active {
  border-color: rgba(25, 230, 160, 0.38);
  color: #fff;
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.26), rgba(37, 99, 235, 0.12));
  box-shadow: inset 3px 0 0 var(--ac), 0 0 18px rgba(25, 230, 160, 0.08);
}

body[data-shell="business"] .side-nav button.active::before {
  display: none;
}

body[data-shell="business"] .side-nav button.active::after {
  position: static;
  flex: 0 0 auto;
  margin-left: auto;
  width: 6px;
  height: 6px;
  background: var(--ac);
  box-shadow: 0 0 10px var(--ac);
  transform: none;
}

.side-nav button.active {
  border-color: var(--border-blue-strong);
  color: var(--text);
  background: linear-gradient(90deg, var(--overlay-blue-strong), var(--overlay-blue-faint));
}

.side-nav button.active::before {
  position: absolute;
  left: 0;
  top: 7px;
  width: 3px;
  height: 18px;
  content: "";
  border-radius: 999px;
  background: var(--accent);
}

.side-nav button.active::after {
  position: absolute;
  right: 9px;
  top: 12px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 999px;
  background: var(--accent);
}

.gate-link {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--text);
  text-align: left;
}

.gate-link span {
  font-size: 13px;
  font-weight: 900;
}

.gate-link small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.gate-link.sensitive {
  border-color: var(--border-danger-subtle);
}

.gate-link:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.side-nav .gate-link {
  border-color: var(--line);
  background: var(--surface-panel-deep);
}

body[data-shell="platform"] .side-nav .gate-link {
  width: 100%;
  min-height: 0;
  display: block;
  border: 1px solid rgba(72, 114, 176, 0.22);
  border-radius: 8px;
  padding: 12px;
  color: #e4efff;
  background: rgba(7, 18, 34, 0.7);
  text-align: left;
}

body[data-shell="platform"] .side-nav .gate-link + .gate-link {
  margin-top: 0;
}

body[data-shell="platform"] .gate-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 850;
}

body[data-shell="platform"] .gate-top > span:not(.gate-tag),
body[data-shell="platform"] .gate-link .gate-icon {
  font-size: 15px;
  font-weight: 850;
}

body[data-shell="platform"] .gate-link .gate-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: #bfe0ff;
  background: rgba(46, 134, 255, 0.16);
}

body[data-shell="platform"] .gate-link.sensitive .gate-icon {
  color: #ffd8de;
  background: rgba(255, 88, 108, 0.18);
}

body[data-shell="platform"] .gate-link .gate-tag {
  margin-left: auto;
  height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  color: #9dc7ff;
  background: rgba(46, 134, 255, 0.16);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

body[data-shell="platform"] .gate-link .gate-tag.red {
  color: #ffbfca;
  background: rgba(255, 88, 108, 0.18);
}

body[data-shell="platform"] .gate-link small {
  display: block;
  margin: 8px 0 0 32px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

body[data-shell="platform"] .gate-link.sensitive {
  border-color: rgba(255, 88, 108, 0.32);
  background: linear-gradient(135deg, rgba(255, 88, 108, 0.12), rgba(7, 18, 34, 0.78));
}

.sidebar-platform-card {
  display: none;
}

body[data-shell="platform"] .sidebar-platform-card {
  display: block;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(11, 25, 46, 0.82);
}

body[data-shell="platform"] .sidebar-platform-card .status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 850;
}

body[data-shell="platform"] .sidebar-platform-card .status-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(22, 215, 160, 0.9);
}

body[data-shell="platform"] .sidebar-platform-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.business-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 60;
  width: fit-content;
  max-width: calc(100vw - 48px);
  pointer-events: none;
  transform: translateX(-50%);
}

.business-dock[hidden] {
  display: none !important;
}

.business-dock-rail {
  display: grid;
  grid-template-columns: repeat(5, 108px);
  align-items: center;
  justify-content: center;
  column-gap: 18px;
  border: 1px solid rgba(160, 205, 255, 0.58);
  border-radius: 23px;
  padding: 9px 20px 8px;
  background: linear-gradient(180deg, rgba(234, 246, 255, 0.93), rgba(176, 216, 250, 0.82));
  box-shadow: 0 16px 40px rgba(20, 79, 145, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.business-dock-item {
  position: relative;
  display: grid;
  justify-items: center;
  /* 每个一级入口一套语义色(默认蓝);调色板取自 Tailwind CSS(MIT 开源) */
  --dock-ink: #2563eb;
  --dock-wash: linear-gradient(180deg, #f0f6ff, #e3eeff);
  --dock-solid: linear-gradient(150deg, #3b82f6, #2563eb);
  --dock-glow: rgba(37, 99, 235, 0.36);
}

/* 集中控制 = 靛蓝 */
.business-dock-item[data-dock-group="control"] {
  --dock-ink: #4f46e5;
  --dock-wash: linear-gradient(180deg, #f1f0ff, #e6e3fb);
  --dock-solid: linear-gradient(150deg, #6366f1, #4f46e5);
  --dock-glow: rgba(79, 70, 229, 0.34);
}

/* AI 节能 = 绿 */
.business-dock-item[data-dock-group="ai"] {
  --dock-ink: #16a34a;
  --dock-wash: linear-gradient(180deg, #effcf3, #dff6e7);
  --dock-solid: linear-gradient(150deg, #22c55e, #16a34a);
  --dock-glow: rgba(22, 163, 74, 0.32);
}

/* 项目设备 = 青(制冷) */
.business-dock-item[data-dock-group="assets"] {
  --dock-ink: #0891b2;
  --dock-wash: linear-gradient(180deg, #ecfbfe, #d6f2f9);
  --dock-solid: linear-gradient(150deg, #06b6d4, #0891b2);
  --dock-glow: rgba(8, 145, 178, 0.32);
}

/* 电费计费 = 琥珀 */
.business-dock-item[data-dock-group="billing"] {
  --dock-ink: #d97706;
  --dock-wash: linear-gradient(180deg, #fff8ec, #fdeecb);
  --dock-solid: linear-gradient(150deg, #f59e0b, #d97706);
  --dock-glow: rgba(217, 119, 6, 0.32);
}

.business-dock-primary,
.business-dock-submenu button {
  font-family: var(--font);
  cursor: pointer;
}

.business-dock-primary {
  width: 112px;
  min-height: 88px;
  display: grid;
  grid-template-rows: 66px auto;
  justify-items: center;
  gap: 5px;
  border: 0;
  padding: 0;
  color: #183760;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.business-dock-primary .dock-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  color: var(--dock-ink);
  background: var(--dock-wash);
  box-shadow: 0 6px 16px rgba(35, 77, 126, 0.14);
  font-size: 31px;
  line-height: 1;
}

.business-dock-primary:hover .dock-icon,
.business-dock-primary:focus-visible .dock-icon,
.business-dock-item.active .dock-icon,
.business-dock-item.open .dock-icon {
  color: #fff;
  background: var(--dock-solid);
  box-shadow: 0 12px 28px var(--dock-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.business-dock-primary:focus-visible,
.business-dock-submenu button:focus-visible {
  outline: 2px solid rgba(29, 99, 230, 0.74);
  outline-offset: 3px;
}

.business-dock-item.active::after,
.business-dock-item.open::after {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  content: "";
  border-radius: 999px;
  background: var(--dock-ink);
  box-shadow: 0 0 14px var(--dock-glow);
}

.business-dock-submenu {
  position: fixed;
  left: 50%;
  bottom: 106px;
  max-width: calc(100vw - 56px);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow-x: auto;
  border: 1px solid rgba(120, 170, 225, 0.46);
  border-radius: 18px;
  padding: 9px 10px;
  background: rgba(239, 247, 255, 0.96);
  box-shadow: 0 18px 42px rgba(19, 64, 116, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.business-dock-item.open .business-dock-submenu,
.business-dock-item:hover .business-dock-submenu,
.business-dock-item:focus-within .business-dock-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.business-dock-submenu button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(47, 104, 176, 0.18);
  border-radius: 999px;
  padding: 0 17px;
  color: #214368;
  background: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.business-dock-submenu button:hover,
.business-dock-submenu button.active {
  border-color: rgba(29, 99, 230, 0.44);
  color: #fff;
  background: linear-gradient(135deg, #2f8bff, #1d63e6);
}

@media (max-width: 760px) {
  .business-dock {
    bottom: 10px;
    width: calc(100vw - 20px);
    max-width: 560px;
  }

  .business-dock-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 4px;
    border-radius: 21px;
    padding: 9px 8px 8px;
  }

  .business-dock-primary {
    width: 100%;
    min-height: 70px;
    grid-template-rows: 48px auto;
    gap: 4px;
    font-size: 12px;
  }

  .business-dock-primary .dock-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 25px;
  }

  .business-dock-submenu {
    bottom: 96px;
    justify-content: flex-start;
  }

  .business-dock-submenu button {
    min-height: 34px;
    padding: 0 13px;
    font-size: 13px;
  }
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--surface-panel-deeper);
}

.modal-panel {
  width: min(560px, 100%);
  display: grid;
  gap: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--login-panel-background);
  box-shadow: var(--shadow);
}

.modal-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-title h2,
.modal-title p {
  margin: 0;
}

.modal-title p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  background: var(--surface-input);
}

.field select {
  min-height: 38px;
  padding: 0 10px;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  padding: 10px 12px;
}

.impersonation-modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
}

body[data-impersonating="true"] [data-group-delete],
body[data-impersonating="true"] [data-member-remove],
body[data-impersonating="true"] [data-env-rule-delete],
body[data-impersonating="true"] [data-schedule-delete],
body[data-impersonating="true"] [data-ledger-disabled*="删除"] {
  display: none !important;
}

[data-impersonation-destructive="true"] {
  display: none !important;
  pointer-events: none !important;
}

.form-message.error {
  color: var(--danger);
}

.theme-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

body[data-shell="business"] .theme-dots {
  gap: 12px;
}

.theme-dot {
  position: relative;
  width: 15px;
  height: 15px;
  min-height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.theme-dot:hover,
.theme-dot:focus-visible {
  border-color: rgba(255, 255, 255, 0.74);
  outline: none;
  transform: scale(1.08);
}

.theme-dot[aria-pressed="true"],
.theme-dot.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16), 0 0 14px var(--theme-dot-ring, var(--accent));
  transform: scale(1.14);
}

.theme-dot[aria-pressed="true"]::after,
.theme-dot.active::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--theme-dot-ring, var(--accent));
  border-radius: inherit;
  pointer-events: none;
}

.theme-dot-green {
  --theme-dot-ring: var(--green);
  background: var(--green);
}

.theme-dot-cyan {
  --theme-dot-ring: var(--cyan);
  background: var(--cyan);
}

.theme-dot-purple {
  --theme-dot-ring: var(--purple);
  background: var(--purple);
}

body[data-theme="green"] {
  --ac: #19e6a0;
  --ac2: #2f8bff;
  --accent: #19e6a0;
  --accent-blue: #2f8bff;
  --brand-gradient: linear-gradient(135deg, #19e6a0, #2f8bff);
  --primary-gradient: linear-gradient(90deg, #19e6a0, #2f8bff);
  --line-strong: rgba(25, 230, 160, 0.5);
  --border-accent-strong: rgba(25, 230, 160, 0.7);
  --overlay-accent: rgba(25, 230, 160, 0.14);
}

body[data-theme="cyan"] {
  --ac: #27e0ff;
  --ac2: #2f8bff;
  --accent: #27e0ff;
  --accent-blue: #2f8bff;
  --brand-gradient: linear-gradient(135deg, #27e0ff, #2f8bff);
  --primary-gradient: linear-gradient(90deg, #27e0ff, #2f8bff);
  --line-strong: rgba(39, 224, 255, 0.5);
  --border-accent-strong: rgba(39, 224, 255, 0.7);
  --overlay-accent: rgba(39, 224, 255, 0.14);
}

body[data-theme="purple"] {
  --ac: #8b6cff;
  --ac2: #27e0ff;
  --accent: #8b6cff;
  --accent-blue: #27e0ff;
  --brand-gradient: linear-gradient(135deg, #8b6cff, #27e0ff);
  --primary-gradient: linear-gradient(90deg, #8b6cff, #27e0ff);
  --line-strong: rgba(139, 108, 255, 0.5);
  --border-accent-strong: rgba(139, 108, 255, 0.7);
  --overlay-accent: rgba(139, 108, 255, 0.14);
}

/* ── Toast 通知 ───────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(248, 250, 252, 0.28);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  max-width: 480px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.toast-container.toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast-container.toast-error {
  border-color: #f87171;
  color: #fecaca;
}
.toast-container.toast-success {
  border-color: #4ade80;
  color: #bbf7d0;
}

/* dock 一级图标:扁平实心填充语义 SVG(样稿风格),填充图标视觉更重故略缩 */
.business-dock-primary .dock-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

/* Shared light shell components. Routes opt in through body[data-skin]. */
body[data-skin="light"] .confirmed-ops .panel,
body[data-skin="light"] .ops-sample .kpi,
body[data-skin="light"] .confirmed-ops.ops-sample .ops-weather-contract {
  background: #ffffff;
  border-color: rgba(15, 31, 56, 0.12);
  box-shadow: 0 1px 2px rgba(15, 31, 56, 0.04);
}
body[data-skin="light"] .confirmed-ops.ops-sample .kpi.ops-kpi-card {
  background: #ffffff;
}

body[data-shell="business"][data-skin="light"] .topbar {
  background: linear-gradient(90deg, #1e63e9, #2a8cf0);
  border-bottom: 0;
  box-shadow: 0 2px 12px rgba(30, 99, 233, 0.25);
}
body[data-shell="business"][data-skin="light"] .topbar h2,
body[data-shell="business"][data-skin="light"] .topbar .theme-label {
  color: #ffffff;
}
body[data-shell="business"][data-skin="light"] .topbar .breadcrumb {
  color: rgba(255, 255, 255, 0.72);
}
body[data-shell="business"][data-skin="light"] .ghost-button {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  font-weight: 500;
}
body[data-shell="business"][data-skin="light"] .ghost-button:hover {
  background: rgba(255, 255, 255, 0.14);
}
body[data-shell="business"][data-skin="light"] .topbar select {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  font-weight: 500;
}
body[data-shell="business"][data-skin="light"] .topbar select option {
  color: #0f1f38;
  background: #ffffff;
}
body[data-shell="business"][data-skin="light"] .version-pill,
body[data-shell="business"][data-skin="light"] .user-pill {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
}

body[data-skin="light"] .ops-sample .kpi .v,
body[data-skin="light"] .confirmed-ops.ops-sample .kpi.ops-kpi-card .v,
body[data-skin="light"] .confirmed-ops.ops-sample .kpi.ops-kpi-card.tone-cyan .v,
body[data-skin="light"] .confirmed-ops.ops-sample .kpi.ops-kpi-card.tone-blue .v,
body[data-skin="light"] .confirmed-ops.ops-sample .kpi.ops-kpi-card.tone-warn .v,
body[data-skin="light"] .confirmed-ops.ops-sample .kpi.ops-kpi-card.tone-bad .v,
body[data-skin="light"] .confirmed-ops.ops-sample .kpi.ops-kpi-card.tone-good .v {
  color: #0f1f38;
  font-weight: 700;
}
body[data-skin="light"] .ops-sample .kpi .v small { color: #64748c; }

/* UI-2026.07.10.11: login-only light components; shared shell controls stay untouched. */
#loginScreen .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--ink-inverse);
  box-shadow: var(--shadow-brand);
}

#loginScreen .brand-row {
  gap: 14px;
}

#loginScreen .brand-row strong {
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
}

#loginScreen .brand-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

#loginScreen .login-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

#loginScreen .login-proof span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-color: var(--line);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--text-soft);
  background: var(--surface-pill);
  box-shadow: var(--shadow-pill);
  font-weight: 650;
}

#loginScreen .login-panel {
  gap: 14px;
  border-color: var(--line);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 38px);
  color: var(--text);
  background: var(--login-panel-background);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

#loginScreen .login-panel h2 {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
}

#loginScreen .login-panel label {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
}

#loginScreen .login-panel input {
  height: 48px;
  border-color: var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface-input);
  box-shadow: var(--shadow-input-inset);
}

#loginScreen .login-panel input:focus {
  border-color: var(--line-strong);
  box-shadow: var(--focus-ring);
}

#loginScreen .login-panel[data-mfa-stage="setup"] {
  max-height: calc(100svh - 48px);
  overflow: auto;
  scrollbar-gutter: stable;
}

#loginScreen .login-panel .mfa-save-confirmation input {
  width: 18px;
  height: 18px;
  box-shadow: none;
}

#loginScreen .password-field input {
  padding-right: 54px;
}

#loginScreen .password-toggle {
  right: 2px;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  color: var(--muted);
}

#loginScreen .password-toggle:hover,
#loginScreen .password-toggle:focus-visible {
  color: var(--accent);
  background: var(--soft);
}

#loginScreen .primary-button {
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  color: var(--ink-inverse);
  background: var(--primary-gradient);
  box-shadow: var(--shadow-action);
  font-size: 15px;
}

#loginScreen .form-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

#loginScreen .form-message.error {
  color: var(--danger);
}

/* Preserve theme switching on converted light pages with accessible accents. */
body[data-shell="business"][data-skin="light"]:not([data-route="operations"])[data-theme="green"] {
  --ac: var(--theme-green-ac);
  --ac2: var(--theme-green-ac2);
  --accent: var(--theme-green-ac);
  --accent-blue: var(--theme-green-ac2);
  --brand-gradient: linear-gradient(135deg, var(--theme-green-ac), var(--theme-green-ac2));
  --primary-gradient: linear-gradient(90deg, var(--theme-green-ac), var(--theme-green-ac2));
}

body[data-shell="business"][data-skin="light"]:not([data-route="operations"])[data-theme="cyan"] {
  --ac: var(--theme-cyan-ac);
  --ac2: var(--theme-cyan-ac2);
  --accent: var(--theme-cyan-ac);
  --accent-blue: var(--theme-cyan-ac2);
  --brand-gradient: linear-gradient(135deg, var(--theme-cyan-ac), var(--theme-cyan-ac2));
  --primary-gradient: linear-gradient(90deg, var(--theme-cyan-ac), var(--theme-cyan-ac2));
}

body[data-shell="business"][data-skin="light"]:not([data-route="operations"])[data-theme="purple"] {
  --ac: var(--theme-purple-ac);
  --ac2: var(--theme-purple-ac2);
  --accent: var(--theme-purple-ac);
  --accent-blue: var(--theme-purple-ac2);
  --brand-gradient: linear-gradient(135deg, var(--theme-purple-ac), var(--theme-purple-ac2));
  --primary-gradient: linear-gradient(90deg, var(--theme-purple-ac), var(--theme-purple-ac2));
}

body[data-shell="business"][data-skin="light"] #projectEditor {
  border-color: var(--line);
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow-popover);
}

body[data-shell="business"][data-skin="light"] #projectEditor :is(label, span) {
  color: var(--muted);
}

body[data-shell="business"][data-skin="light"] #projectEditor input {
  border-color: var(--line);
  color: var(--text);
  background: var(--panel);
}

body[data-shell="business"][data-skin="light"] #projectEditor .ghost-button {
  border-color: var(--line);
  color: var(--text);
  background: var(--soft);
}

body[data-shell="business"][data-skin="light"] #projectEditor :is(.ghost-button.primary, [data-project-save]) {
  border-color: transparent;
  color: var(--ink-inverse);
  background: var(--primary-gradient);
}
