/* Discovery and navigation use the existing paper, plum and typography.
   The intro, map, answer controls and result artwork keep their own styles. */
.identity-header .journey-primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-inline: auto 24px;
  padding-inline: 20px;
}
.identity-header .journey-primary-nav :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #706775;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
}
.identity-header .journey-primary-nav [aria-current],
.journey-mobile-nav [aria-current] { color: #49354f; text-decoration: underline; text-underline-offset: 7px; }
.identity-header .journey-primary-nav .journey-propose { color: #49354f; }
.journey-mobile-nav { display: none; }
.journey-mobile-nav > button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
:is(.journey-primary-nav, .journey-mobile-nav) > :is(a, button):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.journey-shortcuts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid #ded7e1;
  color: #49354f;
}
.journey-weekly-link { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; min-height: 44px; padding: 9px 0; }
.journey-weekly-link > span { font-size: 17px; font-weight: 500; letter-spacing: -.025em; }
.journey-weekly-link > small { font-size: 13px; line-height: 1.6; color: #706775; }
.return-resume { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.journey-shortcuts + .question-round { border-top: 0; padding-top: 24px; }
.discovery {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 40px 0;
  border-top: 1px solid #ded7e1;
  color: #49354f;
  scroll-margin-top: 120px;
}
.discovery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.discovery-heading .eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 400; letter-spacing: .1em; color: #706775; }
.discovery-heading h2 { margin: 0; font-size: var(--hmd-section-size, 34px); font-weight: 450; line-height: 1.2; letter-spacing: -.04em; }
.discovery-heading > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; white-space: nowrap; }
.discovery-tabs { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; margin-bottom: 17px; }
.discovery-tabs > button { min-height: 44px; padding: 10px 15px; border: 1px solid #ded7e1; border-radius: 999px; background: #f7f5f2; color: #49354f; font: inherit; font-size: 13px; line-height: 1.4; text-align: center; }
.discovery-tabs > [aria-selected="true"] { border-color: #49354f; background: #49354f; color: #f7f5f2; }
.discovery-explanation { margin: 0 0 20px; font-size: 13px; line-height: 1.6; color: #706775; }
.discovery-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; min-height: 185px; }
.discovery-list > li { min-width: 0; }
.discovery-list > li > a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; min-height: 185px; padding: 20px; border: 1px solid #ded7e1; border-radius: 18px; background: #f7f5f2; }
.discovery-list > li > a:hover { border-color: #a899af; }
.discovery-type { font-size: 11px; line-height: 1.5; color: #706775; overflow-wrap: anywhere; }
.discovery-question { display: block; font-size: 18px; line-height: 1.4; letter-spacing: -.025em; overflow-wrap: anywhere; }
.discovery-count { display: block; margin-top: auto; padding-top: 4px; font-size: 12px; line-height: 1.5; color: #706775; }
.discovery-empty { margin: 0; min-height: 185px; padding: 22px 0; font-size: 15px; line-height: 1.65; color: #706775; }
.discovery-list:empty { display: none; }
.discovery-more { display: inline-flex; align-items: center; margin-top: 14px; min-height: 44px; font-size: 14px; }
.return-updates > h2 { margin-top: 0; }
.return-updates > p { font-size: 13px; line-height: 1.6; color: #706775; }
.return-update-list { display: grid; list-style: none; padding: 0; margin: 18px 0 0; }
.return-update-list > li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid #ded7e1; }
.return-update-list > li > a { flex: 1; min-width: 0; font-size: 16px; line-height: 1.5; }
.return-update-copy { display: block; margin-top: 6px; color: #706775; font-size: 13px; line-height: 1.6; }
.question-follow { min-height: 44px; font-size: 13px; line-height: 1.5; }

@media (max-width: 1100px) {
  .identity-header .journey-primary-nav { display: none; }
  .journey-mobile-nav { display: flex; align-items: center; justify-content: center; gap: 32px; max-width: 1000px; margin: 0 auto; padding: 0 20px 8px; border-bottom: 1px solid #ded7e1; color: #49354f; font-family: var(--atelier-font, Arial, sans-serif); }
  .journey-mobile-nav > :is(a, button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; color: #49354f; white-space: nowrap; }
}
@media (max-width: 700px) {
  .journey-mobile-nav { justify-content: space-between; gap: 12px; margin-inline: 20px; padding-inline: 0; }
  .journey-mobile-nav > :is(a, button) { font-size: 13px; }
  .journey-shortcuts { align-items: flex-start; flex-direction: column; gap: 0; padding: 14px 0; }
  .journey-weekly-link { gap: 6px 12px; }
  .journey-weekly-link > span { font-size: 16px; }
  .journey-weekly-link > small { font-size: 12px; }
  .return-resume { font-size: 13px; }
  .discovery { padding: 30px 0; scroll-margin-top: 104px; }
  .discovery-heading { gap: 12px; margin-bottom: 18px; }
  .discovery-heading h2 { font-size: 30px; }
  .discovery-heading > a { font-size: 13px; }
  .discovery-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
  .discovery-tabs > button { padding: 10px 11px; font-size: 12px; }
  .discovery-explanation { margin-bottom: 14px; font-size: 12px; }
  .discovery-list { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .discovery-list > li > a { min-height: 0; padding: 17px 0; border: 0; border-top: 1px solid #ded7e1; border-radius: 0; gap: 7px; background: transparent; }
  .discovery-question { font-size: 17px; line-height: 1.45; }
  .discovery-count { padding-top: 0; }
  .discovery-empty { min-height: 120px; font-size: 14px; }
  .discovery-more { margin-top: 8px; font-size: 13px; }
  .return-update-list > li { align-items: flex-start; flex-wrap: wrap; gap: 6px 16px; padding: 16px 0; }
  .return-update-list > li > a { flex-basis: 100%; font-size: 16px; }
  .return-update-list .question-follow { padding-block: 7px; }
}

/* The private masthead follows the dimensions of the business masthead. */
.identity-header:has(> .profile-link) {
  box-sizing: border-box;
  width: auto;
  max-width: none;
  margin-inline: max(clamp(20px, 3.8vw, 72px), calc((100% - 1536px) / 2 + 58px));
  height: 72px;
  min-height: 72px;
  padding: 10px 0;
  gap: 10px;
  border-bottom: 1px solid #49354f33;
}
.identity-header:has(> .profile-link) .brand img {
  width: clamp(28px, 2.8vw, 41px);
  height: auto;
}
.identity-header:has(> .profile-link) .wordmark { font-size: clamp(23px, 2.15vw, 32px); }
.identity-header > .profile-link { min-height: 44px; }
.identity-header + .journey-mobile-nav { display: none; }
@media (max-width: 700px) {
  .identity-header:has(> .profile-link) { height:60px; min-height: 60px; padding-block: 6px; gap: 6px; }
  .identity-header:has(> .profile-link) .wordmark { font-size: clamp(19px, 4.4vw, 23px); }
  .identity-header:has(> .profile-link) .brand img { width: 26px; }
  .identity-header:has(> .profile-link) .site-menu-panel { left: 0; right: 0; }
}


/* All four current selections share one card hierarchy and result treatment. */
#aktuelt .discovery-list { align-items:stretch; }
#aktuelt .discovery-list > li > a { box-sizing:border-box; height:100%; min-height:290px; gap:12px; padding:22px; border:1px solid #ded7e1; border-radius:16px; background:#f7f5f2; text-decoration:none; color:#49354f; }
#aktuelt .discovery-list > li > a:hover { border-color:#49354f; }
#aktuelt .discovery-list > li > a:focus-visible { outline:2px solid #49354f; outline-offset:4px; }
#aktuelt .discovery-question { font-size:20px; line-height:1.35; }
.discovery-result { display:block; width:100%; margin-top:auto; padding-top:16px; }
.discovery-result-labels { display:flex; justify-content:space-between; gap:12px; font-size:12px; line-height:1.5; }
.discovery-result-bar { display:block; height:5px; margin-top:8px; overflow:hidden; border-radius:999px; background:#cbbbd1; }
.discovery-result-bar i { display:block; height:100%; background:#49354f; }
.discovery-result-pending { min-height:47px; font-size:12px; line-height:1.6; color:#706775; }
#aktuelt .discovery-count { margin-top:0; padding-top:0; }
.discovery-open { display:flex; justify-content:space-between; align-items:center; width:100%; margin-top:4px; padding-top:12px; border-top:1px solid #ded7e1; font-size:13px; line-height:1.5; }
@media(max-width:700px) {
 #aktuelt .discovery-list { gap:12px; }
 #aktuelt .discovery-list > li > a { min-height:0; padding:20px; gap:10px; }
 #aktuelt .discovery-question { font-size:19px; }
 .discovery-result { padding-top:6px; }
}

#home-content #home-insights { display:none; }

.discovery-result-caption { display:block; margin-bottom:5px; font-size:10px; line-height:1.4; color:#706775; }

.discovery-open svg { width:16px; height:16px; flex:none; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }

/* Loading account status or a web font must not move the identity controls. */
html { scrollbar-gutter:stable; }
.identity-header:has(> .profile-link) { flex-wrap:nowrap; }
.identity-header:has(> .profile-link) :is(.journey-primary-nav, .profile-link, .site-menu) { font-family:Arial,Helvetica,sans-serif; }
.identity-header:has(> .profile-link) > .profile-link { box-sizing:border-box; width:100px; justify-content:center; }
@media(max-width:700px) {
 .identity-header:has(> .profile-link) > .profile-link { width:88px; }
}

/* Keep the mobile identity row aligned when switching between private and business. */
@media(max-width:440px) {
 .identity-header:has(> .profile-link) { margin-inline:12px; }
}
