/* =========================================================
   NICOLAS MATT — HUMAN DASHBOARD V1
   Scope: .nm-dashboard
   ========================================================= */

.nm-dashboard {
  --nm-bg: var(--ivory, #f5f2ea);
  --nm-ink: var(--ink, #18201b);
  --nm-muted: var(--muted, #777a73);
  --nm-gold: var(--gold, #c2a474);
  --nm-line: var(--line, rgba(24, 32, 27, .14));
  --nm-card: rgba(255, 255, 255, .35);
  --nm-radius: 3px;

  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--nm-bg);
  color: var(--nm-ink);
  font-family: var(--sans, Arial, sans-serif);
}

.nm-dashboard *,
.nm-dashboard *::before,
.nm-dashboard *::after {
  box-sizing: border-box;
}

.nm-dashboard button,
.nm-dashboard input {
  font: inherit;
}

.nm-dashboard button:focus-visible,
.nm-dashboard input:focus-visible {
  outline: 2px solid var(--nm-gold);
  outline-offset: 4px;
}

/* SHELL */

.nm-dashboard__shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(22px, 4vw, 64px);
}

/* HEADER */

.nm-dashboard__header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--nm-line);
}

.nm-dashboard__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  color: var(--nm-ink);
  text-decoration: none;
}

.nm-dashboard__brand-name {
  font-family: var(--serif, Georgia, serif);
  font-size: .92rem;
  letter-spacing: .14em;
}

.nm-dashboard__brand-sub {
  color: var(--nm-muted);
  font-size: .55rem;
  letter-spacing: .22em;
}

.nm-dashboard__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nm-dashboard__icon-button,
.nm-dashboard__avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--nm-line);
  border-radius: 50%;
  background: transparent;
  color: var(--nm-ink);
  cursor: pointer;
}

.nm-dashboard__avatar {
  background: var(--nm-ink);
  color: var(--nm-bg);
  font-size: .67rem;
  letter-spacing: .08em;
}

/* MAIN */

.nm-dashboard__main {
  min-height: calc(100vh - 160px);
}

.nm-dashboard__view {
  padding: clamp(60px, 8vw, 112px) 0;
}

.nm-dashboard__view[hidden] {
  display: none;
}

/* TYPOGRAPHY */

.nm-dashboard__eyebrow {
  margin: 0 0 18px;
  color: var(--nm-gold);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.nm-dashboard__headline,
.nm-dashboard__section-title {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-weight: 400;
  letter-spacing: -.035em;
}

.nm-dashboard__headline {
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: .91;
}

.nm-dashboard__section-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .98;
}

.nm-dashboard__headline em,
.nm-dashboard__section-title em {
  color: var(--nm-gold);
  font-weight: 400;
}

.nm-dashboard__lead,
.nm-dashboard__section-intro {
  max-width: 610px;
  color: var(--nm-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.nm-dashboard__lead {
  margin: 26px 0 0;
}

.nm-dashboard__section-intro {
  margin: 22px 0 0;
}

/* HOME */

.nm-dashboard__welcome {
  margin-bottom: clamp(50px, 6vw, 80px);
}

.nm-dashboard__overview {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr);
  border-top: 1px solid var(--nm-line);
  border-bottom: 1px solid var(--nm-line);
}

.nm-dashboard__radar-column {
  min-width: 0;
  padding: clamp(35px, 5vw, 70px);
  border-right: 1px solid var(--nm-line);
}

.nm-dashboard__radar {
  position: relative;
  width: min(650px, 90%);
  margin: 0 auto;
  aspect-ratio: 1;
}

.nm-dashboard__radar-svg,
.nm-dashboard__mini-radar svg,
.nm-dashboard__result-radar svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.nm-dashboard__radar-grid {
  fill: none;
  stroke: rgba(24, 32, 27, .2);
  stroke-width: 1.2;
}

.nm-dashboard__radar-axis {
  stroke: rgba(24, 32, 27, .2);
  stroke-width: 1.2;
}

.nm-dashboard__radar-current {
  fill: rgba(194, 164, 116, .31);
  stroke: var(--nm-gold);
  stroke-width: 2;
  transition: 600ms cubic-bezier(.2, .75, .2, 1);
}

.nm-dashboard__radar-previous {
  fill: rgba(24, 32, 27, .055);
  stroke: rgba(24, 32, 27, .25);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  transition: 600ms ease;
}

.nm-dashboard__radar-point {
  fill: var(--nm-bg);
  stroke: var(--nm-gold);
  stroke-width: 2;
}

.nm-dashboard__radar-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nm-dashboard__radar-label {
  position: absolute;
  width: 130px;
  color: var(--nm-ink);
  font-size: .68rem;
  line-height: 1.25;
  text-align: center;
  transform: translate(-50%, -50%);
}

.nm-dashboard__radar-label strong {
  display: block;
  margin-top: 3px;
  color: var(--nm-gold);
  font-family: var(--serif, Georgia, serif);
  font-size: 1rem;
  font-weight: 400;
}

/* PULSE */

.nm-dashboard__pulse {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 70px);
}

.nm-dashboard__pulse-title {
  max-width: 390px;
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
}

.nm-dashboard__pulse-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 34px;
}

.nm-dashboard__last-check {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--nm-line);
  color: var(--nm-muted);
  font-size: .78rem;
  line-height: 1.5;
}

/* BUTTONS */

.nm-dashboard__button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 13px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.nm-dashboard__button--primary {
  border: 1px solid var(--nm-ink);
  background: var(--nm-ink);
  color: var(--nm-bg);
}

.nm-dashboard__button--primary:hover {
  transform: translateY(-2px);
}

.nm-dashboard__button--quiet {
  border: 1px solid var(--nm-line);
  background: transparent;
  color: var(--nm-ink);
}

.nm-dashboard__button--quiet:hover {
  border-color: var(--nm-gold);
}

.nm-dashboard__text-button,
.nm-dashboard__back {
  padding: 0;
  border: 0;
  background: none;
  color: var(--nm-ink);
  cursor: pointer;
}

.nm-dashboard__text-button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--nm-ink);
  padding-bottom: 6px;
  font-size: .8rem;
}

.nm-dashboard__back {
  margin-bottom: 50px;
  color: var(--nm-muted);
  font-size: .75rem;
}

/* SUMMARY */

.nm-dashboard__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--nm-line);
}

.nm-dashboard__summary-card {
  min-height: 180px;
  padding: 30px;
  border-right: 1px solid var(--nm-line);
}

.nm-dashboard__summary-card:last-child {
  border-right: 0;
}

.nm-dashboard__summary-label {
  display: block;
  color: var(--nm-muted);
  font-size: .6rem;
  letter-spacing: .18em;
}

.nm-dashboard__summary-value {
  display: block;
  margin: 16px 0 8px;
  color: var(--nm-gold);
  font-family: var(--serif, Georgia, serif);
  font-size: 2.8rem;
  font-weight: 400;
}

.nm-dashboard__summary-copy {
  display: block;
  max-width: 250px;
  color: var(--nm-muted);
  font-size: .72rem;
  line-height: 1.5;
}

.nm-dashboard__home-actions {
  padding-top: 30px;
  text-align: right;
}

/* CHECK-IN */

.nm-dashboard__checkin-header {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin-bottom: 60px;
}

.nm-dashboard__checkin-header .nm-dashboard__back {
  margin: 5px 0 0;
}

.nm-dashboard__checkin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr);
  border-top: 1px solid var(--nm-line);
}

.nm-dashboard__area-list {
  border-right: 1px solid var(--nm-line);
}

.nm-dashboard__area {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(220px, 1.3fr) 55px;
  align-items: center;
  gap: 30px;
  min-height: 100px;
  padding: 20px 30px;
  border-bottom: 1px solid var(--nm-line);
}

.nm-dashboard__area-name {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.1rem;
}

.nm-dashboard__area-symbol {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--nm-line);
  border-radius: 50%;
  color: var(--nm-gold);
}

.nm-dashboard__range {
  width: 100%;
  accent-color: var(--nm-gold);
  cursor: pointer;
}

.nm-dashboard__area-value {
  color: var(--nm-gold);
  font-family: var(--serif, Georgia, serif);
  font-size: 1.6rem;
  text-align: right;
}

.nm-dashboard__checkin-preview {
  padding: 50px;
}

.nm-dashboard__mini-radar {
  width: min(390px, 100%);
  margin: 30px auto;
}

.nm-dashboard__checkin-note {
  max-width: 350px;
  margin: 30px auto 0;
  color: var(--nm-muted);
  font-family: var(--serif, Georgia, serif);
  font-size: 1.1rem;
  line-height: 1.5;
}

.nm-dashboard__checkin-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 35px 0;
}

.nm-dashboard__progress {
  flex: 1;
  height: 2px;
  overflow: hidden;
  background: var(--nm-line);
}

.nm-dashboard__progress-bar {
  width: 0;
  height: 100%;
  background: var(--nm-gold);
  transition: width 300ms ease;
}

/* RESULT */

.nm-dashboard__result-intro {
  margin-bottom: 70px;
}

.nm-dashboard__result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  align-items: center;
  border-top: 1px solid var(--nm-line);
  border-bottom: 1px solid var(--nm-line);
}

.nm-dashboard__result-radar {
  padding: clamp(40px, 6vw, 80px);
  border-right: 1px solid var(--nm-line);
}

.nm-dashboard__result-radar svg {
  max-width: 560px;
  margin: auto;
}

.nm-dashboard__result-copy {
  padding: clamp(40px, 6vw, 80px);
}

.nm-dashboard__result-title {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.nm-dashboard__result-text {
  margin: 20px 0 30px;
  color: var(--nm-muted);
  line-height: 1.7;
}

.nm-dashboard__result-insights {
  display: grid;
  gap: 1px;
  margin: 30px 0 40px;
  background: var(--nm-line);
}

.nm-dashboard__insight {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  background: var(--nm-bg);
  font-size: .78rem;
}

.nm-dashboard__insight strong {
  color: var(--nm-gold);
  font-weight: 500;
}

.nm-dashboard__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* EXPLORER */

.nm-dashboard__explorer-header {
  max-width: 800px;
  margin-bottom: 60px;
}

.nm-dashboard__explorer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--nm-line);
  border-left: 1px solid var(--nm-line);
}

.nm-dashboard__explorer-option {
  position: relative;
  min-height: 150px;
  padding: 26px;
  border: 0;
  border-right: 1px solid var(--nm-line);
  border-bottom: 1px solid var(--nm-line);
  background: transparent;
  color: var(--nm-ink);
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease;
}

.nm-dashboard__explorer-option:hover,
.nm-dashboard__explorer-option--active {
  background: rgba(194, 164, 116, .11);
}

.nm-dashboard__explorer-option-number {
  display: block;
  margin-bottom: 45px;
  color: var(--nm-gold);
  font-size: .62rem;
  letter-spacing: .16em;
}

.nm-dashboard__explorer-option-title {
  font-family: var(--serif, Georgia, serif);
  font-size: 1.25rem;
}

.nm-dashboard__explorer-question {
  max-width: 760px;
  margin-top: 50px;
  padding: 35px 0;
  border-top: 1px solid var(--nm-line);
}

.nm-dashboard__explorer-question p {
  margin: 10px 0 30px;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.15;
}

/* HISTORY */

.nm-dashboard__history-header {
  margin-bottom: 60px;
}

.nm-dashboard__history-list {
  border-top: 1px solid var(--nm-line);
}

.nm-dashboard__history-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 100px;
  padding: 20px 10px;
  border-bottom: 1px solid var(--nm-line);
}

.nm-dashboard__history-date {
  color: var(--nm-muted);
  font-size: .7rem;
}

.nm-dashboard__history-bars {
  display: flex;
  gap: 4px;
  height: 35px;
  align-items: flex-end;
}

.nm-dashboard__history-bar {
  width: 9px;
  min-height: 3px;
  background: var(--nm-gold);
  opacity: .72;
}

.nm-dashboard__history-summary {
  color: var(--nm-muted);
  font-size: .75rem;
}

/* FOOTER */

.nm-dashboard__footer {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--nm-line);
  color: var(--nm-muted);
  font-size: .57rem;
  letter-spacing: .15em;
}

/* TABLET */

@media (max-width: 960px) {
  .nm-dashboard__overview,
  .nm-dashboard__checkin-layout,
  .nm-dashboard__result-layout {
    grid-template-columns: 1fr;
  }

  .nm-dashboard__radar-column,
  .nm-dashboard__area-list,
  .nm-dashboard__result-radar {
    border-right: 0;
    border-bottom: 1px solid var(--nm-line);
  }

  .nm-dashboard__summary {
    grid-template-columns: 1fr;
  }

  .nm-dashboard__summary-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--nm-line);
  }

  .nm-dashboard__summary-card:last-child {
    border-bottom: 0;
  }

  .nm-dashboard__checkin-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nm-dashboard__explorer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */

@media (max-width: 620px) {
  .nm-dashboard__shell {
    padding: 0 18px;
  }

  .nm-dashboard__header {
    min-height: 75px;
  }

  .nm-dashboard__view {
    padding: 60px 0;
  }

  .nm-dashboard__headline {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .nm-dashboard__radar-column {
    padding: 35px 0;
  }

  .nm-dashboard__radar {
    width: 88%;
  }

  .nm-dashboard__radar-label {
    width: 80px;
    font-size: .55rem;
  }

  .nm-dashboard__pulse {
    padding: 40px 0;
  }

  .nm-dashboard__area {
    grid-template-columns: 1fr 45px;
    gap: 15px;
    padding: 22px 5px;
  }

  .nm-dashboard__area .nm-dashboard__range {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .nm-dashboard__checkin-preview {
    padding: 40px 5px;
  }

  .nm-dashboard__checkin-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nm-dashboard__explorer-grid {
    grid-template-columns: 1fr;
  }

  .nm-dashboard__explorer-option {
    min-height: 110px;
  }

  .nm-dashboard__explorer-option-number {
    margin-bottom: 25px;
  }

  .nm-dashboard__history-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nm-dashboard__footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nm-dashboard *,
  .nm-dashboard *::before,
  .nm-dashboard *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
@font-face{font-family:Editorial;src:url('../assets/serif.woff')}@font-face{font-family:Manrope;src:url('../assets/sans.ttf')}
.nm-dashboard{--serif:Editorial,Georgia,serif;--sans:Manrope,Arial,sans-serif;--nm-gold:#947745}
.nm-dashboard [hidden]{display:none!important}.nm-dashboard a{color:inherit;text-decoration:none}.nm-dashboard button,.nm-dashboard input{font:inherit}.nm-dashboard button{cursor:pointer}.nm-dashboard :focus-visible{outline:2px solid #947745;outline-offset:5px}.nm-dashboard__privacy{font-size:12px;color:#65655e;max-width:850px;line-height:1.7}.nm-dashboard__status{font-size:14px}.nm-dashboard__history-item details{font-size:13px}.nm-dashboard__text-button{margin:12px 0}.nm-dashboard__result-radar:after{content:'Gold: aktuell · Grau: vorheriger Check-in';display:block;text-align:center;font-size:12px}.nm-dashboard__explorer-question{scroll-margin-top:30px}
@media(max-width:600px){.nm-dashboard__radar-label{font-size:10px;max-width:75px}.nm-dashboard__header-actions{gap:8px}.nm-dashboard__brand-name{font-size:15px}.nm-dashboard__history-item{flex-wrap:wrap}.nm-dashboard__checkin-footer{flex-wrap:wrap;gap:20px}}

.nm-dashboard__legend{font-size:12px;color:var(--nm-muted);margin:25px 0}.nm-dashboard__history-item details{grid-column:1/-1}.nm-dashboard__history-item summary{cursor:pointer;padding:10px 0}.nm-dashboard__privacy{margin-top:60px}.nm-dashboard__status:empty{display:none}

/* The life areas are the primary interface; no daily-pulse side panel. */
.nm-dashboard .nm-dashboard__overview { grid-template-columns: minmax(0, 1fr); }
.nm-dashboard .nm-dashboard__radar-column { width: 100%; max-width: 760px; margin-inline: auto; }
.nm-dashboard .nm-dashboard__radar-label { width: 170px; font-size: 14px; line-height: 1.35; text-wrap: balance; }

@media(max-width:620px) { .nm-dashboard__lead, .nm-dashboard__section-intro, .nm-dashboard__checkin-note, .nm-dashboard__result-text { font-size: 16px; line-height: 1.65; } }
@media(max-width:620px) {
  .nm-dashboard .nm-dashboard__radar { width: 100%; aspect-ratio: auto; }
  .nm-dashboard .nm-dashboard__radar-svg { height: auto; }
  .nm-dashboard .nm-dashboard__radar-labels { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; margin-top: 24px; border-top: 1px solid var(--nm-line); }
  .nm-dashboard .nm-dashboard__radar-label { position: static; width: auto; max-width: none; min-height: 76px; padding: 14px 0; border-bottom: 1px solid var(--nm-line); transform: none; text-align: left; font-size: 13px; }
  .nm-dashboard .nm-dashboard__radar-label strong { margin-top: 2px; }
}
