:root {
  --navy-950: #061b38;
  --navy-900: #08254a;
  --navy-800: #0d3566;
  --navy-700: #164b7e;
  --blue-600: #087fce;
  --cyan-500: #13afe5;
  --cyan-100: #dff5fc;
  --ink: #17263a;
  --muted: #68778a;
  --line: #dfe7ed;
  --line-strong: #ced9e2;
  --canvas: #f4f7f8;
  --paper: #ffffff;
  --paper-blue: #f2f9fc;
  --rail: #f8fafb;
  --success: #2b8b79;
  --shadow: 0 20px 55px rgba(13, 38, 66, 0.09);
  --small-shadow: 0 8px 28px rgba(13, 38, 66, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 1080px;
  min-height: 100%;
  color: var(--ink);
  background: var(--canvas);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(19, 175, 229, 0.25);
  outline-offset: 2px;
}

.eyebrow,
.card-kicker,
.login-kicker {
  margin: 0 0 10px;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(43, 139, 121, 0.1);
}

/* Login */

.login-page {
  overflow: hidden;
  background: #03172f;
}

.login-shell {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: url("/waterwise-atmosphere.webp") center center / cover no-repeat;
}

.login-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 15, 35, 0.14) 0%, rgba(1, 18, 42, 0.04) 45%, rgba(1, 18, 42, 0.3) 100%),
    linear-gradient(180deg, rgba(2, 20, 44, 0.05), rgba(2, 18, 40, 0.22));
  pointer-events: none;
}

.login-story {
  position: absolute;
  z-index: 1;
  top: 50px;
  left: clamp(48px, 4vw, 78px);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  pointer-events: none;
}

.login-story::before {
  display: none;
}

.login-logo-wrap {
  display: block;
  width: 78px;
  flex: 0 0 78px;
}

.login-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 9, 25, 0.28));
}

.login-story-copy {
  display: block;
}

.login-story-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: 38px;
  font-weight: 660;
  letter-spacing: 0.015em;
  line-height: 1;
  text-shadow: 0 3px 22px rgba(0, 11, 30, 0.38);
}

.login-access {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 50px clamp(56px, 7vw, 132px);
  pointer-events: none;
}

.login-card {
  width: 405px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 44px 40px;
  border: 1px solid rgba(219, 239, 249, 0.22);
  border-radius: 24px;
  background: rgba(4, 29, 63, 0.46);
  box-shadow: 0 28px 72px rgba(0, 10, 29, 0.34);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  pointer-events: auto;
}

.login-card h2 {
  margin: 0 0 30px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.login-copy {
  margin: 10px 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.login-form {
  width: 100%;
  display: grid;
  gap: 0;
}

.field {
  display: grid;
  gap: 10px;
  color: #c9d8e8;
  font-size: 12px;
  font-weight: 650;
}

.field + .field {
  margin-top: 28px;
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(216, 236, 247, 0.28);
  border-radius: 10px;
  color: #ffffff;
  caret-color: #55ccf2;
  background: rgba(238, 248, 253, 0.09);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input:hover {
  border-color: rgba(224, 242, 251, 0.46);
}

.field input:focus {
  border-color: #51c9ef;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(19, 175, 229, 0.15);
}

.password-control {
  position: relative;
  display: block;
}

.password-control input {
  padding-right: 62px;
}

.password-toggle {
  position: absolute;
  top: 7px;
  right: 7px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  color: #8bdcf4;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.password-toggle:hover {
  background: rgba(230, 247, 253, 0.1);
}

.primary-button {
  height: 46px;
  margin-top: 38px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, #0b4b88, #079fe0);
  box-shadow: 0 10px 24px rgba(0, 14, 37, 0.28);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(0, 14, 37, 0.34);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-error {
  min-height: 18px;
  margin: 14px 0 -10px;
  color: #ffb5bd;
  font-size: 12px;
  line-height: 1.5;
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  box-shadow: 0 0 0 1000px #0d3158 inset;
  transition: background-color 9999s ease-out;
}

/* Application shell */

.app-page {
  height: 100dvh;
  overflow: hidden;
}

.app-shell {
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr) 34px;
  width: 100%;
  height: 100dvh;
  background: var(--canvas);
}

.app-header {
  z-index: 5;
  display: grid;
  grid-template-columns: 224px minmax(420px, 1fr) 280px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 100%;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.header-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-brand > span {
  display: grid;
  line-height: 1.05;
}

.header-brand strong {
  color: var(--navy-950);
  font-size: 16px;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.header-brand small {
  margin-top: 4px;
  color: #8491a0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-context {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #778697;
  font-size: 11px;
}

.header-context strong {
  color: #41536a;
  font-weight: 650;
}

.header-context strong::before {
  content: "·";
  margin-right: 9px;
  color: #b3bec8;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  height: 100%;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  color: #68778a;
  font-size: 11px;
}

.quiet-button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: #45576c;
  background: #fff;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.quiet-button:hover {
  border-color: #b7c7d3;
  background: #f7fafb;
}

.app-body {
  display: grid;
  grid-template-columns: 224px minmax(560px, 1fr) 280px;
  min-height: 0;
}

.left-rail,
.right-rail {
  min-height: 0;
  background: var(--rail);
}

.left-rail {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.rail-heading {
  display: grid;
  gap: 4px;
  padding: 24px 20px 20px;
}

.rail-heading span {
  color: #97a3af;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rail-heading strong {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 680;
}

.app-navigation {
  display: grid;
  gap: 4px;
  padding: 0 10px;
}

.nav-button {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  color: #66768a;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.nav-button::before {
  content: "";
  position: absolute;
  left: -10px;
  width: 3px;
  height: 20px;
  border-radius: 0 3px 3px 0;
  background: transparent;
}

.nav-button span {
  color: #a1adb9;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9px;
}

.nav-button strong {
  font-size: 12px;
  font-weight: 610;
}

.nav-button:hover {
  color: var(--navy-800);
  background: #eef3f6;
}

.nav-button.is-active {
  color: var(--navy-900);
  background: #e8f3f8;
}

.nav-button.is-active::before {
  background: var(--cyan-500);
}

.nav-button.is-active span {
  color: var(--blue-600);
}

.rail-mode {
  margin: auto 14px 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
}

.rail-mode > span {
  display: block;
  margin-bottom: 7px;
  color: #99a5b0;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail-mode strong {
  color: var(--navy-800);
  font-size: 11px;
}

.rail-mode p {
  margin: 8px 0 0;
  color: #788697;
  font-size: 10px;
  line-height: 1.5;
}

.workspace {
  min-width: 0;
  min-height: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.48)),
    radial-gradient(circle at 70% 5%, rgba(19, 175, 229, 0.07), transparent 35%);
}

.workspace-scroll {
  height: 100%;
  overflow: auto;
  scrollbar-color: #cbd7df transparent;
  scrollbar-width: thin;
}

.view {
  width: min(100%, 1050px);
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(28px, 4vh, 46px) clamp(30px, 3.3vw, 54px) 48px;
}

.view[hidden] {
  display: none;
}

.view-hero,
.view-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.view-hero > div,
.view-heading > div {
  min-width: 0;
  max-width: 760px;
}

.view h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(29px, 2.7vw, 43px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.view-heading h1 {
  font-size: clamp(30px, 2.4vw, 39px);
}

.lede {
  max-width: 720px;
  margin: 15px 0 0;
  color: #69788a;
  font-size: 14px;
  line-height: 1.65;
}

.state-pill,
.count-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid #d6e4e8;
  border-radius: 999px;
  color: #5c6f81;
  background: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 24px rgba(13, 38, 66, 0.035);
  overflow: hidden;
}

.metric-grid article {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
}

.metric-grid article + article {
  border-left: 1px solid var(--line);
}

.metric-grid strong {
  color: var(--navy-800);
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.metric-grid span {
  color: #8a97a5;
  font-size: 9px;
  font-weight: 650;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feature-card,
.proposal-card,
.boundary-card,
.notebook-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 24px rgba(13, 38, 66, 0.035);
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 282px;
  padding: 23px;
}

.feature-card.soft-blue {
  border-color: #d7e7ee;
  background: linear-gradient(145deg, #f9fcfd, #eef8fb);
}

.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.feature-card h2,
.proposal-card h2,
.boundary-card h2,
.notebook-grid h2,
.case-banner h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.card-number {
  color: #d2dde4;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 22px;
}

.feature-card > p {
  margin: 15px 0 18px;
  color: #657589;
  font-size: 12px;
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span,
.source-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #dce7ec;
  border-radius: 6px;
  color: #6a7d8d;
  background: #f6fafb;
  font-size: 8px;
  font-weight: 700;
}

.text-button {
  align-self: flex-start;
  margin-top: auto;
  padding: 15px 0 0;
  border: 0;
  color: var(--navy-700);
  background: transparent;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.text-button span {
  display: inline-block;
  margin-left: 4px;
  color: var(--cyan-500);
  transition: transform 150ms ease;
}

.text-button:hover span {
  transform: translateX(3px);
}

.process-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 10px;
}

.process-line span {
  color: #5d7182;
  font-size: 8px;
  font-weight: 700;
}

.process-line i {
  height: 1px;
  flex: 1;
  background: #bddbe7;
}

.field-note {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 16px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(248, 250, 251, 0.9);
}

.field-note span {
  color: var(--blue-600);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-note p {
  margin: 0;
  color: #6c7c8e;
  font-size: 11px;
  line-height: 1.55;
}

/* Central job */

.case-banner {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(380px, 1.28fr);
  gap: 0;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--small-shadow);
  overflow: hidden;
}

.case-map-abstract {
  position: relative;
  min-height: 268px;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(8, 127, 206, 0.12) 34.5% 35%, transparent 35.5%),
    linear-gradient(22deg, #e4f0e6, #edf4ef 44%, #e2edf1 45%, #eef5f7 67%, #e8f0e8);
  overflow: hidden;
}

.case-map-abstract::before,
.case-map-abstract::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(63, 90, 73, 0.16);
  transform: rotate(-16deg);
}

.case-map-abstract::before {
  inset: -20% 42% -10% 15%;
}

.case-map-abstract::after {
  inset: -14% 4% -12% 63%;
}

.parcel-shape {
  position: absolute;
  left: 34%;
  top: 23%;
  width: 36%;
  height: 49%;
  border: 2px solid var(--navy-700);
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(8deg);
  box-shadow: 0 0 0 5px rgba(19, 175, 229, 0.14);
}

.case-map-abstract b {
  position: absolute;
  left: 49%;
  top: 45%;
  color: var(--navy-800);
  font-size: 13px;
  transform: translate(-50%, -50%);
}

.flow-line {
  position: absolute;
  display: block;
  width: 130%;
  height: 45px;
  left: -15%;
  border: 3px solid rgba(19, 175, 229, 0.42);
  border-left: 0;
  border-right: 0;
  border-radius: 50%;
  transform: rotate(-13deg);
}

.flow-line.one { bottom: 19%; }
.flow-line.two { bottom: 7%; opacity: 0.45; }

.case-banner-copy {
  padding: 30px;
}

.case-banner-copy > p:not(.card-kicker) {
  margin: 14px 0 22px;
  color: #69798b;
  font-size: 12px;
  line-height: 1.65;
}

.case-facts {
  margin: 20px 0 0;
}

.case-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.case-facts dt {
  color: #8b98a6;
  font-size: 9px;
}

.case-facts dd {
  margin: 0;
  color: #41546a;
  font-size: 9px;
  font-weight: 700;
  text-align: right;
}

.case-facts.wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 26px;
}

.work-kind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.work-kind-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.work-kind-grid span {
  color: #a7b5c0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9px;
}

.work-kind-grid h2 {
  margin: 15px 0 7px;
  color: var(--navy-800);
  font-size: 13px;
}

.work-kind-grid p {
  margin: 0;
  color: #748397;
  font-size: 10px;
  line-height: 1.55;
}

/* Inputs */

.proposal-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 22px;
  border-left: 3px solid var(--blue-600);
}

.proposal-card p:not(.card-kicker) {
  margin: 8px 0 0;
  color: #6b7b8d;
  font-size: 11px;
  line-height: 1.55;
}

.document-mark {
  display: grid;
  gap: 5px;
  align-content: center;
  width: 44px;
  height: 52px;
  padding: 12px 9px;
  border: 1px solid #cbdce4;
  border-radius: 8px;
  background: #eef8fb;
}

.document-mark i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #87bcd3;
}

.source-tag {
  width: max-content;
}

.source-tag.storm {
  color: var(--navy-700);
  border-color: #cce3ec;
  background: #edf8fb;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.input-grid article {
  display: grid;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.input-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-grid article > div span {
  color: #a4b2bd;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10px;
}

.input-grid article small {
  color: #8e9aa7;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.input-grid h2 {
  margin: 16px 0 8px;
  color: var(--navy-800);
  font-size: 15px;
  letter-spacing: -0.02em;
}

.input-grid p {
  margin: 0 0 15px;
  color: #718195;
  font-size: 10px;
  line-height: 1.55;
}

.input-grid .source-tag {
  align-self: end;
}

.boundary-card {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(350px, 1.2fr);
  gap: 30px;
  align-items: center;
  margin-top: 12px;
  padding: 22px;
  background: linear-gradient(135deg, #f5fafc, #fff);
}

.boundary-card > p {
  margin: 0;
  color: #687a8e;
  font-size: 11px;
  line-height: 1.6;
}

/* Evidence */

.evidence-list {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
}

.evidence-list article {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 13px 18px;
}

.evidence-list article + article {
  border-top: 1px solid var(--line);
}

.evidence-list article > span {
  color: #a4b2bd;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9px;
}

.evidence-list small {
  color: var(--blue-600);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.evidence-list h2 {
  margin: 4px 0 3px;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 650;
}

.evidence-list p {
  margin: 0;
  color: #758499;
  font-size: 9px;
  line-height: 1.45;
}

.evidence-list b {
  min-width: 58px;
  padding: 6px 8px;
  border: 1px solid #d8e6ea;
  border-radius: 999px;
  color: #647d87;
  background: #f4fafb;
  font-size: 8px;
  text-align: center;
}

/* Notebook */

.notebook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.notebook-grid article {
  padding: 24px;
}

.notebook-grid h2 {
  max-width: 330px;
}

.notebook-grid ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.notebook-grid li {
  position: relative;
  padding-left: 16px;
  color: #6d7d90;
  font-size: 11px;
  line-height: 1.55;
}

.notebook-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-500);
}

.notebook-quote {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 14px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(130deg, #f9fcfd, #edf8fb);
}

.notebook-quote img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.notebook-quote span {
  color: var(--blue-600);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.notebook-quote p {
  max-width: 690px;
  margin: 7px 0 0;
  color: var(--navy-700);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.55;
}

/* Right rail and footer */

.right-rail {
  padding: 16px 14px;
  border-left: 1px solid var(--line);
  overflow: auto;
}

.context-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(13, 38, 66, 0.04);
}

.context-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #96a2ae;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.context-label b {
  padding: 5px 7px;
  border-radius: 5px;
  color: var(--blue-600);
  background: #eaf7fb;
  font-size: 7px;
}

.context-card h2 {
  margin: 16px 0 3px;
  color: var(--navy-900);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.context-card > p {
  margin: 0;
  color: #7d8b9b;
  font-size: 10px;
}

.context-section {
  padding: 20px 5px 4px;
}

.context-title {
  margin: 0 0 12px;
  color: #95a1ad;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.progress-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-list li {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  min-height: 47px;
}

.progress-list li::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 25px;
  bottom: -3px;
  width: 1px;
  background: #dce5ea;
}

.progress-list li:last-child::after {
  display: none;
}

.progress-list li > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #d3dde4;
  border-radius: 50%;
  color: #9ba8b3;
  background: var(--rail);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 7px;
  z-index: 1;
}

.progress-list li.complete > span {
  color: white;
  border-color: var(--success);
  background: var(--success);
}

.progress-list li.current > span {
  color: var(--blue-600);
  border-color: var(--cyan-500);
  background: #edf9fc;
  box-shadow: 0 0 0 4px rgba(19, 175, 229, 0.09);
}

.progress-list div {
  display: grid;
  align-content: start;
  gap: 3px;
  padding-top: 3px;
}

.progress-list strong {
  color: #52657a;
  font-size: 10px;
  font-weight: 650;
}

.progress-list small {
  color: #96a2ae;
  font-size: 8px;
}

.current-view {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.current-view > span {
  color: var(--cyan-500);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
}

.current-view div {
  display: grid;
  gap: 3px;
}

.current-view strong {
  color: var(--navy-800);
  font-size: 10px;
}

.current-view small {
  color: #94a1ae;
  font-size: 8px;
}

.app-footer {
  display: grid;
  grid-template-columns: 224px 1fr 280px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #8996a3;
  background: #fff;
  font-size: 8px;
}

.app-footer > span {
  padding: 0 16px;
}

.app-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  border-right: 1px solid var(--line);
}

.app-footer > span:nth-child(2) {
  text-align: center;
}

.app-footer > span:last-child {
  height: 100%;
  padding-top: 12px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.app-footer .status-dot {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
  box-shadow: none;
}

@media (max-height: 760px) {
  .view {
    padding-top: 26px;
  }

  .feature-card {
    min-height: 250px;
  }

  .metric-grid {
    margin-top: 22px;
  }

  .login-card {
    min-height: 390px;
    padding: 36px 38px;
  }
}
