:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", sans-serif;
  color: #23464b;
  background: #f5f8f7;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }

.login-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 85% 0%, #e6f0ed, transparent 35%),
    #f5f8f7;
}
.login-card {
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid #e0eae8;
  border-radius: 19px;
  padding: 32px;
  box-shadow: 0 16px 55px #15393d0c;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .075em;
  color: #174d50;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: .23em;
  font-weight: 700;
  color: #db826c;
  margin-top: 2px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #166b70;
  color: white;
  border-radius: 11px;
  font-size: 19px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: .17em;
  font-weight: 800;
  color: #b66d5d;
  margin-top: 33px;
}
h1 {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.17;
  letter-spacing: -.025em;
  color: #193f45;
  margin: 9px 0;
}
.intro {
  font-size: 13px;
  line-height: 1.7;
  color: #6b8386;
  max-width: 620px;
}
form { display: grid; gap: 9px; margin-top: 28px; }
label { font-size: 12px; font-weight: 650; color: #33585e; }
input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d4e2df;
  border-radius: 9px;
  background: #fbfdfc;
  margin: 0 0 9px;
}
input:focus-visible, button:focus-visible {
  outline: 2px solid #de806b;
  outline-offset: 3px;
}
.primary {
  border: 0;
  border-radius: 9px;
  background: #14686d;
  color: white;
  min-height: 42px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 5px;
}
.primary:hover:not(:disabled) { background: #10565a; }
.subtle {
  border: 0;
  background: transparent;
  color: #19696c;
  font-size: 12px;
  padding: 8px;
}
.message {
  min-height: 18px;
  color: #b4473b;
  font-size: 12px;
  line-height: 1.5;
}
.footnote {
  border-top: 1px solid #edf2f1;
  padding-top: 18px;
  margin: 9px 0 0;
  font-size: 11px;
  color: #86999a;
  line-height: 1.5;
}
.step-label { font-size: 13px; color: #55777a; margin: 0 0 5px; }
.workspace { display: flex; min-height: 100dvh; }
.rail {
  width: 260px;
  flex: 0 0 260px;
  background: #fff;
  border-right: 1px solid #e4ece9;
  padding: 23px 18px;
  display: flex;
  flex-direction: column;
}
.rail .brand { margin-bottom: 39px; }
.rail-heading {
  font-size: 10px;
  letter-spacing: .17em;
  color: #92a3a4;
  margin: 0 9px 14px;
  font-weight: 700;
}
.rail nav { display: grid; gap: 4px; }
.rail nav button, .nav-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 9px;
  background: none;
  padding: 12px 11px;
  color: #4d6e71;
  font-size: 12px;
}
.rail nav button span { font-size: 10px; color: #9aaead; }
.nav-current {
  background: #e8f3f1;
  color: #12666b;
  font-weight: 750;
}
.rail-foot {
  font-size: 11px;
  line-height: 1.5;
  color: #93a7a7;
  margin: auto 9px 0;
}
.work-area { flex: 1; min-width: 0; }
.topbar {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #e4ece9;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.topbar-title { font-size: 13px; font-weight: 700; color: #2f555a; }
.account-area {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  color: #54747a;
}
.logout {
  font-size: 12px;
  border: 1px solid #d7e5e2;
  border-radius: 9px;
  padding: 9px 12px;
  background: white;
  color: #235c60;
}
.content { max-width: 1150px; margin: auto; padding: 40px 35px; }
.content .eyebrow { margin: 0; }
.notice {
  margin: 25px 0;
  background: #eaf4f1;
  border-left: 3px solid #298185;
  padding: 15px 18px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.7;
  color: #3d6468;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.tile {
  background: white;
  border: 1px solid #e2ebe8;
  border-radius: 13px;
  padding: 24px;
  min-height: 180px;
}
.tile h2 { font-size: 15px; margin: 0 0 12px; color: #214f54; }
.tile p { font-size: 12px; line-height: 1.65; color: #6b8588; }
.tile span { font-size: 11px; font-weight: 700; color: #bf7966; }
@media (max-width: 780px) {
  .workspace { display: block; }
  .rail {
    width: auto;
    padding: 13px 18px;
    border-bottom: 1px solid #e4ece9;
  }
  .rail .brand { margin: 0; }
  .rail-heading, .rail nav, .rail-foot { display: none; }
  .topbar {
    padding: 12px 18px;
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
  }
  .content { padding: 27px 20px; }
  .tiles { grid-template-columns: 1fr; }
  .account-area {
    gap: 10px;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
  }
  .login-card { padding: 24px; }
}

.reset-link {
  justify-self: end;
  padding: 2px 0 8px;
  text-decoration: underline;
}
.message.success { color: #166b70; }

.rail nav .lic-nav {display:block; padding:12px 11px; border-radius:9px; color:#14686d; font-size:12px; text-decoration:none; font-weight:700;}
.rail nav .lic-nav:hover {background:#e8f3f1;}
