/* Split from styles.css (1/4) — load order matters; cascade order preserved. */
:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #162033;
  --muted: #667085;
  --subtle: #98a2b3;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --blue: #1f6feb;
  --blue-dark: #1557c0;
  --blue-soft: #eff6ff;
  --green: #17965f;
  --green-soft: #e8f8ef;
  --amber: #c47b0a;
  --amber-soft: #fff4d8;
  --red: #d23b3b;
  --red-soft: #feeceb;
  --nav: #0c1b2d;
  --nav-soft: #132944;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  --focus: 0 0 0 3px rgba(31, 111, 235, 0.16);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-family: var(--font);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body,
button,
input,
select,
textarea {
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  color: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.9;
}

.app-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  height: 100vh;
  min-height: 760px;
}

.sidebar-collapsed .app-shell {
  grid-template-columns: 72px minmax(0, 1fr);
}

body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .brand {
  justify-content: center;
  min-height: 14px;
  padding: 7px 8px;
}

body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .brand-copy,
body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .brand-tools,
body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .primary-nav-item > span,
body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .primary-nav-item > svg:last-child,
body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .secondary-nav,
body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .collapse-button span {
  display: none;
}

body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .brand-main {
  justify-content: center;
  gap: 0;
}

body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .primary-nav {
  padding: 14px 8px;
}

body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .primary-nav-item {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  padding: 0;
}

body.sidebar-collapsed:not(.sidebar-hover):not(:has(.sidebar:hover)) .collapse-button {
  justify-content: center;
  padding: 0;
}

.sidebar {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 220px;
  min-height: 0;
  background: linear-gradient(180deg, var(--nav), #081421);
  color: #d7e3f4;
  transition: width 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-collapsed .sidebar {
  width: 72px;
}

.sidebar-collapsed.sidebar-hover .sidebar,
body.sidebar-collapsed .sidebar:hover {
  width: 220px;
  box-shadow: 18px 0 42px rgba(8, 20, 33, 0.24);
}

.brand {
  display: grid;
  align-content: center;
  min-height: 96px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #1f6feb;
  color: #fff;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy span {
  display: block;
  margin-top: 3px;
  color: #8aa4c2;
  font-size: 12px;
}

.brand-tools {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.brand-search {
  width: 100%;
  justify-content: flex-start;
  min-height: 36px;
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #eef6ff;
}

.brand-tool-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-notification {
  flex: 0 0 38px;
  width: 38px;
  min-height: 38px;
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #eef6ff;
}

.brand-user-button {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 38px;
  justify-content: flex-start;
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #eef6ff;
  padding: 0 9px;
}

.brand-search:hover,
.brand-notification:hover,
.brand-user-button:hover {
  border-color: rgba(191, 219, 254, 0.62);
  background: rgba(255, 255, 255, 0.14);
}

.brand-user-button strong,
.brand-user-button small {
  min-width: 0;
}

.brand-user-button small {
  color: #9fb5cf;
}

.primary-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 8px;
}

.nav-group {
  margin-bottom: 4px;
}

.primary-nav-item,
.secondary-nav-item,
.collapse-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.primary-nav-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0 12px;
  color: #cbd8e8;
  font-weight: 650;
}

.primary-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.primary-nav-item.active {
  background: linear-gradient(135deg, #1f6feb, #1557c0);
  color: #fff;
}

.secondary-nav {
  display: grid;
  gap: 2px;
  padding: 7px 0 8px;
}

.secondary-nav-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border-radius: var(--radius);
  padding: 0 12px 0 28px;
  color: #b4c8df;
}

.secondary-nav-item span {
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.secondary-nav-item.active {
  background: var(--nav-soft);
  color: #fff;
  font-weight: 700;
}

.secondary-nav-item.active span {
  border-color: var(--blue);
  background: var(--blue);
}

.sidebar-foot {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.collapse-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  border-radius: var(--radius);
  padding: 0 10px;
  color: #a9bfd8;
}

.collapse-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.main-shell {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
}

.topbar {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  padding: 0 22px;
}

.topbar-spacer {
  flex: 1;
}

.workspace-tabs {
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.96);
  padding: 6px 22px 0;
}

.workspace-tabs-track {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
  height: 36px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.workspace-tab {
  display: inline-flex;
  align-items: center;
  min-width: 112px;
  max-width: 210px;
  height: 32px;
  border: 1px solid var(--line);
  border-bottom-color: var(--line-strong);
  border-radius: 7px 7px 0 0;
  background: #eef2f7;
  color: var(--muted);
  flex: 0 0 auto;
  overflow: hidden;
}

.workspace-tab.active {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
  border-bottom-color: var(--surface);
  box-shadow: 0 -1px 8px rgba(15, 23, 42, 0.04);
}

.workspace-tab-main,
.workspace-tab-close {
  border: 0;
  background: transparent;
  color: inherit;
}

.workspace-tab-main {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0 10px;
  font-weight: 600;
}

.workspace-tab-main span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-tab-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 100%;
  color: var(--subtle);
  flex: 0 0 auto;
}

.workspace-tab-close:hover {
  color: var(--red);
  background: var(--red-soft);
}

.workspace-tab-main:focus-visible,
.workspace-tab-close:focus-visible {
  outline: none;
  box-shadow: inset var(--focus);
}

.content {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 22px 26px 32px;
}

.api-state-banner,
.api-error-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
}

.api-state-banner > div,
.api-error-banner {
  min-width: 0;
}

.api-state-banner strong,
.api-state-banner span,
.api-error-banner strong,
.api-error-banner span {
  display: block;
}

.api-state-banner span,
.api-error-banner span {
  margin-top: 4px;
  font-size: 13px;
}

.api-state-banner.warning {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #78350f;
}

.api-state-banner.danger,
.api-error-banner {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #7f1d1d;
}

.modal :focus-visible,
.workspace-tab-main:focus-visible,
.workspace-tab-close:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
}

body:not(.login-page-active) .content {
  padding-top: 14px;
}

.login-page-active .app-shell {
  display: block;
  min-height: 100vh;
  height: 100vh;
}

.login-page-active .sidebar,
.login-page-active .topbar,
.login-page-active .workspace-tabs {
  display: none;
}

.login-page-active .main-shell {
  display: block;
  height: 100vh;
}

.login-page-active .content {
  display: grid;
  min-height: 100vh;
  padding: 0;
  overflow: auto;
}

.login-screen {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(420px, 520px);
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(115deg, #fbf7ec 0%, #f7fbf7 58%, #ffffff 100%);
}

.login-visual-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: clamp(24px, 4vh, 42px);
  min-width: 0;
  padding: clamp(42px, 5.2vw, 76px);
  color: #0b3f36;
  overflow: hidden;
}

.login-visual-panel::before {
  position: absolute;
  left: -12%;
  right: -5%;
  bottom: -14%;
  height: 46%;
  border-top: 1px solid rgba(210, 166, 73, 0.32);
  background:
    linear-gradient(150deg, transparent 0 19%, rgba(15, 94, 77, 0.18) 20% 28%, rgba(255, 255, 255, 0.36) 29% 31%, rgba(213, 164, 72, 0.24) 32% 36%, transparent 37%),
    linear-gradient(172deg, rgba(2, 82, 67, 0.14), rgba(255, 255, 255, 0.5) 46%, transparent 72%);
  content: "";
  transform: skewY(-7deg);
  transform-origin: left top;
}

.login-visual-panel::after {
  position: absolute;
  right: clamp(36px, 8vw, 136px);
  bottom: 18%;
  width: 210px;
  height: 128px;
  border: 1px solid rgba(13, 86, 70, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(to top, rgba(13, 86, 70, 0.15) 0 54%, transparent 54%) 18px 40px / 28px 88px,
    linear-gradient(to top, rgba(13, 86, 70, 0.11) 0 72%, transparent 72%) 66px 18px / 34px 110px,
    linear-gradient(to top, rgba(13, 86, 70, 0.10) 0 45%, transparent 45%) 122px 56px / 30px 72px,
    linear-gradient(to top, rgba(13, 86, 70, 0.12) 0 64%, transparent 64%) 166px 30px / 32px 98px;
  background-repeat: no-repeat;
  opacity: 0.58;
  content: "";
}

.login-access-panel {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  border-left: 1px solid rgba(181, 158, 112, 0.24);
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(28px, 4vw, 64px);
}

.login-brand-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 95, 75, 0.22);
  background: linear-gradient(145deg, #087058, #073f35);
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 78, 62, 0.18);
}

.login-brand-mark svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.4;
}

.login-brand-panel strong {
  display: block;
  color: #082f29;
  font-size: 22px;
  font-weight: 860;
  line-height: 1.1;
}

.login-brand-panel span {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 720;
}

.login-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.login-hero-copy > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-bottom: 2px solid rgba(213, 164, 72, 0.46);
  color: #8b6f37;
  font-size: 17px;
  font-weight: 760;
}

.login-hero-copy h1 {
  margin-top: 22px;
  color: #073d34;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.login-chain-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.login-chain-grid article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 92px;
  border: 1px solid rgba(14, 83, 69, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  padding: 14px;
  box-shadow: 0 18px 42px rgba(32, 55, 48, 0.07);
  backdrop-filter: blur(16px);
}

.login-chain-grid article > span {
  grid-row: span 2;
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a745c, #063f35);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 88, 70, 0.18);
}

.login-chain-grid article > span svg {
  width: 23px;
  height: 23px;
}

.login-chain-grid strong {
  color: #10262c;
  font-size: 16px;
  font-weight: 840;
}

.login-chain-grid small {
  color: #8b6f37;
  font-size: 13px;
  font-weight: 720;
}

.login-route-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  min-height: 300px;
  margin-top: 8px;
  border: 1px solid rgba(14, 83, 69, 0.11);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(238, 246, 242, 0.74)),
    linear-gradient(155deg, transparent 0 39%, rgba(10, 101, 81, 0.25) 40% 46%, rgba(255, 255, 255, 0.58) 47% 49%, rgba(213, 164, 72, 0.35) 50% 53%, transparent 54%);
  box-shadow: 0 24px 64px rgba(24, 58, 52, 0.09);
  overflow: hidden;
}

.route-node,
.route-truck {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(14, 83, 69, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #0b4f42;
  box-shadow: 0 14px 32px rgba(17, 48, 42, 0.1);
  backdrop-filter: blur(14px);
}

.route-node {
  min-height: 38px;
  padding: 0 13px;
  font-weight: 760;
}

.route-node svg {
  color: #d5a448;
}

.node-order {
  left: 10%;
  bottom: 34%;
}

.node-stock {
  left: 34%;
  bottom: 16%;
}

.node-delivery {
  right: 25%;
  top: 26%;
}

.node-finance {
  right: 9%;
  bottom: 28%;
}

.route-truck {
  left: 48%;
  top: 46%;
  width: 86px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 239, 226, 0.88));
}

.route-truck svg {
  width: 36px;
  height: 36px;
  color: #075443;
  stroke-width: 1.7;
}

.login-card {
  display: grid;
  width: min(440px, 100%);
  justify-self: center;
  gap: 18px;
  margin: 0;
  border: 1px solid rgba(16, 55, 49, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 44px;
  box-shadow: 0 34px 90px rgba(31, 58, 48, 0.12);
}

.login-card-head {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.login-card-head strong {
  color: #10262c;
  font-size: 27px;
  font-weight: 860;
  line-height: 1.18;
}

.login-card-head span {
  color: #667085;
  font-weight: 650;
}

.login-card-head .login-error-text {
  color: var(--red);
}

.login-field {
  gap: 9px;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-wrap > svg {
  position: absolute;
  left: 16px;
  z-index: 1;
  width: 19px;
  height: 19px;
  color: #7b8b83;
  pointer-events: none;
}

.login-input-wrap input {
  min-height: 54px;
  border-color: rgba(142, 160, 150, 0.58);
  border-radius: 6px;
  background: rgba(251, 253, 251, 0.92);
  padding-left: 48px;
  font-size: 15px;
}

.login-input-wrap.has-toggle input {
  padding-right: 54px;
}

.login-input-wrap:focus-within > svg {
  color: #087058;
}

.login-input-wrap:focus-within input {
  border-color: #087058;
  box-shadow: 0 0 0 3px rgba(0, 122, 97, 0.10);
}

.login-password-toggle {
  position: absolute;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #7b8b83;
}

.login-password-toggle:hover {
  background: rgba(0, 122, 97, 0.08);
  color: #087058;
}

.login-password-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.primary-button.login-submit {
  width: 100%;
  justify-content: center;
  min-height: 54px;
  margin-top: 8px;
  border-color: #075443;
  border-radius: 6px;
  background: linear-gradient(180deg, #087058, #075443);
  box-shadow: 0 18px 34px rgba(0, 88, 70, 0.22);
  font-size: 17px;
  font-weight: 850;
}

.primary-button.login-submit:hover {
  background: #06463a;
}

.login-footnote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
  color: #54666e;
  font-size: 13px;
  font-weight: 700;
}

.login-footnote svg {
  width: 17px;
  height: 17px;
  color: #087058;
}

.login-submit .lucide-loader-circle {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1180px) {
  .login-screen {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .login-visual-panel {
    min-height: 56vh;
    padding: 34px 28px 42px;
  }

  .login-access-panel {
    border-top: 1px solid rgba(181, 158, 112, 0.24);
    border-left: 0;
    padding: 28px;
  }

  .login-route-card {
    min-height: 230px;
  }
}

.login-screen {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 100vh;
  overflow: auto;
  background: #eef2f4;
  padding: clamp(22px, 4vw, 42px);
}

.login-stage {
  display: grid;
  width: min(1040px, 100%);
  gap: 18px;
}

.login-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1d2932;
}

.login-brand-row .login-brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(20, 121, 92, 0.22);
  border-radius: 8px;
  background: #14795c;
  color: #fff;
  box-shadow: none;
}

.login-brand-row .login-brand-mark svg {
  width: 23px;
  height: 23px;
}

.login-brand-row strong {
  display: block;
  color: #19343b;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.login-brand-row span {
  display: block;
  margin-top: 3px;
  color: #6d7c86;
  font-size: 12px;
  font-weight: 700;
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  align-items: stretch;
  gap: 16px;
}

.login-card {
  display: grid;
  align-content: start;
  width: auto;
  gap: 12px;
  justify-self: stretch;
  margin: 0;
  border: 1px solid #dce4e7;
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 10px 22px rgba(17, 24, 39, 0.045);
}

.login-card h2 {
  margin: 0;
  color: #1d2932;
  font-size: 20px;
  font-weight: 820;
  line-height: 1.25;
}

.login-card p {
  margin: 0 0 4px;
  color: #6d7c86;
  font-size: 13px;
  line-height: 1.7;
}

.login-card .login-error-text {
  color: var(--red);
}

.login-card .field {
  display: grid;
  gap: 7px;
}

.login-card .field span {
  color: #31414a;
  font-size: 13px;
  font-weight: 700;
}

.login-card input {
  min-height: 40px;
  border-color: #c7d1d6;
  border-radius: 7px;
  background: #fff;
  padding: 8px 11px;
}

.login-card input:focus {
  border-color: #14795c;
  box-shadow: 0 0 0 3px rgba(20, 121, 92, 0.13);
}

.primary-button.login-submit {
  width: auto;
  min-height: 38px;
  margin-top: 2px;
  border-color: #14795c;
  border-radius: 7px;
  background: #14795c;
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  font-weight: 780;
}

.primary-button.login-submit:hover {
  border-color: #0b604c;
  background: #0b604c;
}

.login-rule-list {
  display: grid;
  gap: 9px;
}

.login-rule-list div {
  padding: 11px;
  border: 1px solid #dce4e7;
  border-radius: 8px;
  background: #f6f8f9;
}

.login-rule-list b,
.login-rule-list span {
  display: block;
}

.login-rule-list b {
  color: #1d2932;
  font-size: 13px;
  font-weight: 780;
}

.login-rule-list span {
  margin-top: 5px;
  color: #6d7c86;
  font-size: 12px;
  line-height: 1.55;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 0;
  gap: 16px;
  margin-bottom: 16px;
}

body:not(.login-page-active) .page-head {
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 30px;
  margin-bottom: 6px;
  border: 0;
  background: transparent;
  padding: 0;
}

body:not(.login-page-active) .page-head > div:first-child {
  display: none;
}

.compact-page-head {
  margin-bottom: 10px;
}

.breadcrumb {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 760;
}

.page-desc {
  max-width: 760px;
  margin-top: 4px;
  color: #344054;
  font-weight: 650;
  line-height: 1.45;
}

body:not(.login-page-active) .page-desc,
body:not(.login-page-active) .source-note,
body:not(.login-page-active) .report-source-card small,
body:not(.login-page-active) .section-title p,
body:not(.login-page-active) .config-table-head p,
body:not(.login-page-active) .quick-action em,
body:not(.login-page-active) .profile-note,
body:not(.login-page-active) .connection-panel p,
body:not(.login-page-active) .modal-subsection-head p,
body:not(.login-page-active) .field > small {
  display: none;
}

h2 {
  font-size: 17px;
  font-weight: 760;
}

h3 {
  font-size: 15px;
  font-weight: 760;
}

