/* Official KeNiT CI assets: original pixels and aspect ratios are preserved. */
:root {
  --blue: #00658b;
  --navy: #08364d;
  --brand-cyan: #009edb;
  --line: #e1eaf0;
  --bg: #f3f7fa;
  background: var(--bg);
}
.company-logo {
  display: block;
  width: 170px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.brand img.company-logo {
  width: 170px;
  height: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.sidebar {
  background: linear-gradient(175deg, #063c56 0%, #082f45 70%, #072b3d 100%);
}
.sidebar .brand {
  padding: 0 12px 25px;
}
.brand span {
  color: #b1cedc;
  font-size: 9px;
  letter-spacing: 2.6px;
  margin-top: 15px;
}
.nav-item.active {
  background: #08638a;
  box-shadow: inset 3px 0 0 #37c8f4;
}
.nav-item.active .nav-icon {
  color: #9de9ff;
}
.nav-item:focus-visible {
  outline: 2px solid #8ce3ff;
}
.nav-label {
  color: #a5c2d4;
}
.workspace-chip small {
  color: #b0ccdb;
}
.header-identity {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  flex-shrink: 0;
}
.header-logo {
  width: 118px;
}
.breadcrumb {
  border-left: 1px solid #dbe6ed;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.breadcrumb span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #627f91;
}
.breadcrumb b {
  margin: 0;
  color: #304e60;
  font-size: 12px;
}
.topbar {
  gap: 18px;
}
.top-actions {
  min-width: 0;
}
.search {
  width: clamp(150px, 20vw, 260px);
}
button.primary:hover:not(:disabled) {
  background: #004f70;
  border-color: #004f70;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #009edb50;
  outline-offset: 2px;
}
.hero {
  background: linear-gradient(112deg, #064b68, #006e95);
}
.hero .eyebrow {
  color: #a6e6fa;
}
.hero p {
  color: #d0e5ed;
}
.stat .stat-icon {
  color: #08799f;
  background: #ecf7fb;
}
.login-page {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  background: #f6f9fb;
}
.login-story {
  padding: clamp(40px, 5vw, 80px);
  background:
    radial-gradient(ellipse at 100% 45%, #076584 0%, transparent 60%),
    linear-gradient(145deg, #053f59, #072c42);
  isolation: isolate;
}
.login-story:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 62%,
    #ffffff04 62%,
    #ffffff04 80%,
    transparent 80%
  );
  z-index: -1;
  pointer-events: none;
}
.login-story:after {
  width: 620px;
  height: 620px;
  right: -310px;
  bottom: -250px;
  border: 1px solid #6ddcff24;
  box-shadow:
    0 0 0 70px #6ddcff05,
    0 0 0 140px #6ddcff04;
  z-index: -1;
}
.login-story .brand img.company-logo {
  width: 220px;
}
.login-brand span {
  letter-spacing: 4px;
  margin-top: 18px;
}
.login-message {
  padding: 64px 0 44px;
}
.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c6e7f3;
  font-size: 12px;
  border: 1px solid #8bdaf736;
  border-radius: 30px;
  padding: 9px 14px;
  margin-bottom: 30px;
  background: #ffffff06;
}
.login-badge i {
  width: 6px;
  height: 6px;
  background: #4ed8fb;
  border-radius: 50%;
}
.login-message .eyebrow {
  color: #89d7ef;
  font-size: 10px;
  letter-spacing: 2px;
}
.login-story h1 {
  font-size: clamp(34px, 3.3vw, 52px);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -2px;
  margin: 22px 0;
}
.login-story p {
  color: #c1dce8;
  line-height: 2.05;
  font-size: 14px;
}
.login-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 32px;
  color: #d7eaf2;
  font-size: 12px;
}
.login-services span + span {
  border-left: 1px solid #86b8cd44;
  margin-left: 16px;
  padding-left: 16px;
}
.login-foot {
  font-size: 10px;
  letter-spacing: 1px;
  color: #9ebfce;
  margin-top: 0;
  line-height: 1.7;
}
.login-form-wrap {
  padding: 50px 36px;
  background: #fbfdfe;
}
.login-card {
  max-width: 390px;
}
.login-color-brand {
  margin-bottom: 42px;
}
.login-color-brand img {
  width: 190px;
}
.login-color-brand span {
  display: block;
  color: #527589;
  letter-spacing: 4px;
  font-size: 9px;
  font-weight: 600;
  margin-top: 14px;
}
.login-card h2 {
  font-size: 26px;
  color: #173f54;
}
.login-card .eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: #568295;
}
.login-card .subtitle {
  font-size: 12px;
  color: #647e8e;
  margin: 12px 0 27px;
}
.login-card input {
  padding: 13px 14px;
  background: #fff;
  border-color: #d5e3eb;
}
.login-card label {
  gap: 10px;
  color: #395d71;
}
.login-card button.primary {
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 4px 12px #00658b14;
}
.demo-accounts {
  font-size: 11px;
  color: #527184;
  border-top-color: #dce8ef;
}
.demo-accounts .subtitle {
  font-size: 11px;
  margin-bottom: 0;
}
@media (min-width: 781px) and (max-width: 1080px) {
  .topbar {
    padding: 0 22px;
  }
  .header-identity {
    gap: 14px;
  }
  .breadcrumb {
    padding-left: 14px;
  }
  .person {
    display: none;
  }
  .top-actions {
    gap: 10px;
  }
  .login-story {
    padding: 40px;
  }
  .login-story h1 {
    font-size: 36px;
  }
}
@media (max-width: 780px) {
  .login-page {
    display: block;
  }
  .login-story {
    display: none;
  }
  .login-form-wrap {
    min-height: 100svh;
    padding: 40px 24px;
  }
  .login-color-brand {
    margin-bottom: 36px;
  }
  .login-color-brand img {
    width: 180px;
  }
  .header-identity {
    margin-right: auto;
  }
  .header-logo {
    width: 100px;
  }
  .breadcrumb {
    display: none;
  }
  .topbar {
    gap: 12px;
  }
  .top-actions {
    gap: 8px;
  }
  .search {
    width: 160px;
  }
  .sidebar .brand img.company-logo {
    width: 160px;
  }
}
@media (max-width: 560px) {
  .topbar {
    padding: 0 14px;
    gap: 8px;
    flex-wrap: wrap;
    height: auto;
    min-height: 66px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .header-identity {
    order: 1;
  }
  .mobile-menu {
    order: 0;
    padding: 7px;
  }
  .top-actions {
    display: contents;
  }
  .avatar {
    order: 2;
    width: 30px;
    height: 30px;
    font-size: 12px;
    border-radius: 9px;
  }
  .logout {
    order: 3;
    padding: 7px;
  }
  .search {
    order: 4;
    width: 100%;
    margin-top: 4px;
  }
  .content {
    padding-top: 22px;
  }
  .login-card h2 {
    font-size: 24px;
  }
  .login-form-wrap {
    padding: 32px 24px;
  }
}
@media print {
  .company-logo {
    print-color-adjust: exact;
  }
  .login-page {
    display: none;
  }
}
