.login {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 100vh;
}
.login-story {
  padding: 55px 70px;
  background: linear-gradient(145deg, #17365c, var(--brand-navy));
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-story:after {
  content: "B";
  font-size: 500px;
  font-weight: 900;
  position: absolute;
  right: -80px;
  bottom: 20px;
  color: #ffffff03;
  pointer-events: none;
}
.login-story h1 {
  color: white;
  font-weight: 900;
  font-size: 55px;
  line-height: 1.08;
  max-width: 500px;
  margin-top: 70px;
}
.login-story > div > .muted {
  color: #c2d0e1;
}
.login-story h1 em {
  font-style: normal;
  color: var(--brand-accent);
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form > div {
  width: 100%;
  max-width: 390px;
}
.login-form h2 {
  font-size: 30px;
}
.shell {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--brand-navy);
  color: white;
  padding: 35px 21px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  margin-left: 12px;
}
.sidebar .eyebrow {
  color: #a7b9d0;
  margin: 8px 12px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav button {
  text-align: left;
  background: transparent;
  color: #d0dcec;
  font-size: 14px;
  padding: 14px;
}
.sidebar nav button.active {
  background: var(--brand-accent);
  color: var(--brand-navy);
}
.sidebar nav button:hover:not(.active) {
  background: #ffffff0d;
  color: white;
}
.sidebar nav button span {
  display: inline-block;
  width: 29px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 15px 12px;
  border-top: 1px solid #ffffff18;
}
.sidebar-bottom p {
  font-size: 12px;
  color: #a7b9d0;
  margin-bottom: 12px;
}
.sidebar-bottom button {
  color: #e0e8f2;
  border-color: #526a87;
}
.main {
  min-width: 0;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: white;
}
.topbar .user {
  font-size: 13px;
}
.avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #e8eef6;
  border-radius: 50%;
  color: var(--brand-blue);
  font-weight: 700;
}
.workspace {
  padding: 35px 40px;
  max-width: 1500px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(120deg, #142f52, var(--brand-navy));
}
.page-heading h1 {
  color: white;
  font-weight: 800;
}
.page-heading .muted {
  color: #c7d4e5;
}
.page-heading > button {
  flex-shrink: 0;
}
.page-heading p {
  margin-bottom: 0;
  font-size: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-bottom: 28px;
}
.metric {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 21px 24px;
}
.metric strong {
  font-family: var(--font-heading);
  color: var(--brand-navy);
  display: block;
  font-size: 33px;
  font-weight: 600;
  margin: 10px 0 4px;
  letter-spacing: -1px;
}
.metric small {
  color: var(--muted);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 22px;
}
.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 18px;
}
.card.welcome-card {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}
.welcome-card h2 {
  color: white;
  font-size: 23px;
  line-height: 1.3;
}
.welcome-card p {
  font-size: 13px;
  color: #d2deed;
}
.welcome-card .icon {
  background: #ffffff14;
  color: var(--brand-accent);
}
.footer-note {
  margin-top: 25px;
  color: var(--muted);
  font-size: 11px;
}
.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mobile-brand {
  display: none;
}
@media (min-width: 1500px) {
  .workspace {
    padding-top: 45px;
  }
  .machine-art {
    height: 125px;
  }
}
@media (max-width: 1150px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .shell {
    grid-template-columns: 205px 1fr;
  }
  .workspace {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .request-row {
    grid-template-columns: 1fr 120px 100px;
  }
  .request-row .date-cell {
    display: none;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 19px 18px;
    gap: 17px;
  }
  .sidebar .brand {
    margin: 0;
    font-size: 21px;
  }
  .sidebar .eyebrow,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .sidebar nav button {
    white-space: nowrap;
    padding: 10px;
    font-size: 12px;
  }
  .sidebar nav button span {
    display: none;
  }
  .topbar {
    height: 57px;
    padding: 0 20px;
  }
  .topbar .small {
    font-size: 11px;
  }
  .workspace {
    padding: 25px 18px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 23px;
    gap: 18px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading > button {
    font-size: 12px;
    padding: 11px;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 14px 10px;
  }
  .metric .small {
    font-size: 11px;
  }
  .metric strong {
    font-size: 26px;
  }
  .metric small {
    display: none;
  }
  .dashboard-aside {
    grid-template-columns: 1fr;
  }
  .request-row {
    grid-template-columns: 1fr 95px;
    gap: 8px;
  }
  .request-row .model-cell {
    display: none;
  }
  .request-row h3 {
    font-size: 14px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 27px;
  }
  .login-story h1 {
    font-size: 32px;
    margin: 30px 0 12px;
  }
  .login-points,
  .login-footer {
    display: none;
  }
  .login-form {
    padding: 32px 25px;
  }
  .inline-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .card {
    padding: 19px;
  }
  .section-head {
    gap: 10px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  #notification {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
}
