:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #20342d;
  background: #f7f8f4;
  font-synthesis: none;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #89ac73;
  outline-offset: 4px;
}
input:focus {
  outline: 3px solid #bfd3b5;
  outline-offset: 1px;
  border-color: #668b69;
}
.login-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.intro {
  padding: 48px 64px;
  background: #194c41;
  color: #f4f7e8;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.intro:after {
  content: "";
  width: 400px;
  height: 400px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  position: absolute;
  right: -190px;
  bottom: 0;
  box-shadow:
    0 0 0 65px #ffffff06,
    0 0 0 130px #ffffff04;
  pointer-events: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}
.brand-mark {
  height: 42px;
  width: 42px;
  border-radius: 13px;
  background: #dcedc9;
  color: #194c41;
  font-size: 33px;
  font-weight: 700;
  line-height: 39px;
  text-align: center;
  position: relative;
  letter-spacing: -3px;
  padding-right: 3px;
}
.brand-mark span {
  height: 6px;
  width: 6px;
  background: #194c41;
  border-radius: 50%;
  position: absolute;
  right: 7px;
  top: 7px;
}
.brand-text {
  font-weight: 650;
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.1;
}
.brand-text > span {
  display: block;
  font-size: 12px;
  letter-spacing: 2.8px;
  font-weight: 400;
  opacity: 0.65;
  margin-top: 4px;
}
.intro-content {
  margin: auto 0;
  padding: 85px 0;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 650;
  margin: 0 0 16px;
  color: #6c8073;
}
.intro .eyebrow {
  color: #bcceaa;
}
.intro h1 {
  font-weight: 500;
  letter-spacing: -2.2px;
  font-size: clamp(34px, 3.65vw, 59px);
  line-height: 1.13;
  margin: 0 0 25px;
}
.intro h1 span {
  color: #c6ddb1;
}
.intro-description {
  font-size: 16px;
  color: #cedbd2;
  max-width: 330px;
  line-height: 1.8;
}
.intro-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #cad8cb;
  margin-top: 38px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8cae6e;
  flex-shrink: 0;
}
.intro-footer {
  font-size: 11px;
  color: #bccdc3;
  margin: 0;
}
.login-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
  position: relative;
  background: #f7f8f4;
}
.login-card {
  width: 100%;
  max-width: 380px;
}
.lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8edde;
  color: #456b4c;
  font-size: 27px;
  border-radius: 15px;
  width: 52px;
  height: 52px;
  margin-bottom: 30px;
}
.login-card h2 {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 550;
  margin: 0 0 10px;
}
.muted {
  color: #6d7b72;
  font-size: 14px;
}
.login-card .muted {
  max-width: 320px;
  margin-bottom: 30px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 18px 0 7px;
}
input:not([type="hidden"]) {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d6ddd2;
  background: #fff;
  border-radius: 8px;
  color: #20342d;
  min-height: 49px;
}
.primary-button {
  border: 0;
  border-radius: 8px;
  background: #194c41;
  color: #f7f9f0;
  width: 100%;
  padding: 14px 18px;
  margin-top: 25px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.primary-button:hover {
  background: #23614f;
}
.primary-button span {
  font-size: 19px;
}
.privacy-note {
  font-size: 11px;
  text-align: center;
  color: #768176;
  margin-top: 20px;
}
.panel-footer {
  position: absolute;
  bottom: 32px;
  font-size: 10px;
  color: #8c9689;
}
.form-error {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f9eae4;
  color: #864835;
  font-size: 13px;
  margin: 20px 0;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e7dc;
  padding: 23px 6vw;
  background: #fbfcf8;
}
.app-header .brand-mark {
  height: 35px;
  width: 35px;
  font-size: 28px;
  line-height: 32px;
}
.app-header .brand-text {
  font-size: 18px;
}
.app-header .brand-text > span {
  font-size: 10px;
}
.logout-button {
  padding: 8px 15px;
  background: transparent;
  border: 1px solid #d9e0d2;
  border-radius: 7px;
  color: #52684e;
  font-size: 12px;
}
.app-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 36px;
}
.page-heading h1 {
  font-size: 36px;
  font-weight: 550;
  letter-spacing: -1.3px;
  margin: 0;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 34px 0 48px;
}
.metric {
  border: 1px solid #dfe5d7;
  border-radius: 11px;
  background: #fff;
  padding: 22px;
}
.metric span {
  display: block;
  font-size: 12px;
  color: #6a7a67;
}
.metric strong {
  font-size: 34px;
  letter-spacing: -1px;
  font-weight: 550;
  display: block;
  margin-top: 10px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}
.section-header .eyebrow {
  margin-bottom: 5px;
}
.section-header h2 {
  font-size: 23px;
  margin: 0;
  font-weight: 550;
}
.sync-status {
  font-size: 12px;
  color: #4e6c4a;
}
.sync-status .status-dot {
  margin-right: 6px;
}
.sync-status small {
  display: block;
  color: #7b8676;
  font-size: 10px;
  margin-top: 6px;
}
.status-warning {
  background: #b38d45;
}
.training {
  margin-bottom: 26px;
  background: #fff;
  border: 1px solid #dfe5d7;
  border-radius: 12px;
  overflow: hidden;
}
.training-header {
  padding: 23px 26px;
  border-bottom: 1px solid #e8ecdf;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.training-header .eyebrow {
  margin-bottom: 3px;
}
.training-header h3 {
  font-size: 21px;
  margin: 0;
  font-weight: 550;
}
.training-header time {
  font-size: 12px;
  color: #71806b;
}
.exercise-grid {
  padding: 6px 26px;
}
.exercise {
  border-bottom: 1px solid #e8ecdf;
}
.exercise:last-child {
  border: 0;
}
.exercise summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 17px 0;
  list-style: none;
}
.exercise summary::-webkit-details-marker {
  display: none;
}
.exercise strong {
  font-size: 14px;
  font-weight: 550;
}
.exercise small {
  display: block;
  font-size: 11px;
  color: #7a8873;
  margin-top: 4px;
}
.expand {
  font-size: 22px;
  font-weight: 300;
  color: #829173;
}
.exercise[open] .expand {
  transform: rotate(45deg);
}
.exercise-content {
  padding-bottom: 16px;
}
.source-reference {
  font-size: 10px;
  color: #7b8676;
  overflow-wrap: anywhere;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0e7;
}
th {
  background: #f6f8f0;
  color: #6c7b63;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 550;
}
td {
  white-space: nowrap;
}
.analysis-note {
  font-size: 12px;
  line-height: 1.8;
  color: #718169;
  margin-top: 30px;
  border-left: 2px solid #bbcdab;
  padding: 3px 18px;
}
.analysis-note strong {
  color: #4c6546;
}
.app-footer {
  font-size: 10px;
  color: #86917f;
  text-align: center;
  padding: 20px 20px 30px;
}
.empty-state {
  border: 1px dashed #cdd8c2;
  background: #f1f5e9;
  border-radius: 12px;
  padding: 28px;
  color: #73816a;
  font-size: 14px;
}
.client-section {
  margin-top: 30px;
}
@media (min-width: 1600px) {
  .intro {
    padding-left: 100px;
  }
}
@media (max-width: 900px) {
  .intro {
    padding: 35px;
  }
  .login-panel {
    padding: 40px;
  }
  .intro h1 {
    font-size: 37px;
    letter-spacing: -1.5px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 17px;
  }
}
@media (max-width: 640px) {
  .login-layout {
    display: block;
  }
  .intro {
    padding: 24px 26px;
    min-height: auto;
  }
  .intro-content {
    padding: 33px 0 15px;
  }
  .intro h1 {
    font-size: 33px;
    letter-spacing: -1.2px;
    margin-bottom: 0;
  }
  .intro-description,
  .intro-detail,
  .intro-footer {
    display: none;
  }
  .login-panel {
    padding: 34px 26px 72px;
    min-height: calc(100svh - 238px);
    align-items: start;
  }
  .login-card {
    max-width: 420px;
  }
  .lock-icon {
    display: none;
  }
  .login-card h2 {
    font-size: 26px;
  }
  .login-card .eyebrow {
    margin-top: 4px;
  }
  .login-card .muted {
    margin-bottom: 23px;
  }
  .panel-footer {
    bottom: 18px;
  }
  .app-header {
    padding: 19px 24px;
  }
  .app-main {
    padding: 30px 20px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    margin: 25px 0 35px;
  }
  .metric strong {
    font-size: 29px;
  }
  .section-header {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .training-header {
    padding: 20px;
  }
  .exercise-grid {
    padding: 3px 18px;
  }
  .analysis-note {
    margin-top: 22px;
  }
  .privacy-note {
    font-size: 10px;
  }
}
