/* V261 | Shared design finish. Scoped to named components, no reset of product,
   astrology, demo, export or data visualization styles. */
:root {
  --me261-ink: #214538;
  --me261-dark: #153a32;
  --me261-deep: #102c38;
  --me261-paper: #fcf9f0;
  --me261-sage: #eaf1e9;
  --me261-clay: #f3e7dc;
  --me261-sky: #e5eaf0;
  --me261-clay-ink: #654536;
  --me261-muted: #455e52;
  --me261-gold: #d5b366;
  --me261-line: #bac5b6;
}
@media screen {
  /* One frame, distinct Business and astronomy interiors. */
  .me-header.me-header-v67 .me-region-switch.me-language-switch {background:#214538;border-color:#91a69a;color:#fff9ef;}
  .me-header.me-header-v67 .me-region-switch > summary {color:#fff9ef;background:transparent;min-height:40px;}
  .me-header.me-header-v67 .me-region-switch > summary:hover,
  .me-header.me-header-v67 .me-region-switch[open] > summary {background:#365c4d;}
  .me-header.me-header-v67 .me-region-switch .me-region-options {background:#153a32;border-color:#91a69a;}
  .me-header.me-header-v67 .me-region-switch .me-region-options > a:hover {background:#365c4d;}
  .me-header.me-header-v67 .me-region-switch .me-region-options > a[aria-current="page"] {background:#f1dfba;color:#153a32!important;}
  .me-header.me-header-v67 .me-region-switch .me-region-options > a[aria-current="page"] > span {color:#153a32;}
  .me-header.me-header-v67 .me-locale-code {font-size:13px;}
  .me-header.me-header-v67 .me-mobile-panel :is(a,summary):focus-visible {outline:2px solid #f1d18d;outline-offset:2px;}
  /* Only the measured low-reserve color pairs; no global hex replacement. */
  main .me-v78-topic-map .me-v78-topic-label {color:#6e542a;}
  main .guidance-thankyou-note {color:#50615b;}
  #wege .mn-route-help {color:#455e52;}
  main :is(.me-v78-topic-label,.guidance-price-eyebrow,.me-packet-index,.me-request-index,.sa-form-progress-text,.me-v246-nav-label,.me-format-current,.me-profile-date-note,.wk243-kicker,.rc-label,.me-k-card-label,.me-k-eyebrow,.me-k-v77-eyebrow,.me-lab-nav-label,.astro-portal-kicker,.business-kicker,.v58-person-role,.v61-step-label,.v61-price-eyebrow,.ed-label,.ed-note,.ed-week-summary-label,.mn-kicker,.j-topic-label) {font-size:max(13px,.82rem);line-height:1.45;}
  main :is(.breadcrumbs,.me-k-breadcrumbs,.wv-breadcrumbs,.wk-breadcrumbs) {font-size:max(13px,.82rem);line-height:1.5;}
  main :is(.me-k-body,.me-lab-wrap) figcaption,.business-page main figcaption {font-size:14px;line-height:1.55;}
  main :is(.button,.business-button,.wk-button,.astro-button,.wv-button,.me-k-button) {min-height:44px;}
  main :is(.button-primary,.me-v104-cta-primary) {border-radius:8px;}
  main .button.button-secondary {border-radius:8px;}
  /* Focus indication uses a two-color ring: legible over both light and dark surfaces. */
  :is(main,header,footer) :is(a,button,summary,input,select,textarea):focus-visible {outline:2px solid #183e31;outline-offset:3px;box-shadow:0 0 0 3px #fff9ef;}
  :is(.me-global-footer,.me-header,.business-header,.business-footer) :is(a,button,summary):focus-visible {outline-color:#f6d891;box-shadow:none;}
  /* Footer: preserve all destinations; three disclosure groups and always visible legal links. */
  footer.me-global-footer {background:#153a32;color:#fcf9f0;border-top:1px solid #6c8a78;}
  footer.me-global-footer .me-footer-shell {width:min(85rem,calc(100% - 2.5rem));padding:clamp(1.6rem,3vw,2.8rem) 0 1.1rem;}
  footer.me-global-footer .me-footer-grid-new {gap:clamp(1.1rem,3vw,3rem);grid-template-columns:minmax(12rem,.65fr) minmax(0,1.7fr);}
  footer.me-global-footer .me-footer-nav-new {gap:1rem 1.3rem;grid-template-columns:repeat(4,minmax(0,1fr));}
  footer.me-global-footer .me-footer-nav-group-new {min-width:0;display:block;}
  footer.me-global-footer .me-footer-nav-label-new {color:#f1d291;font:650 .85rem/1.45 system-ui,sans-serif;letter-spacing:.025em;margin:0 0 .35rem;text-transform:none;}
  footer.me-global-footer summary.me-footer-nav-label-new {min-height:32px;cursor:pointer;padding:.35rem 0;box-sizing:border-box;}
  footer.me-global-footer .me261-footer-links {display:grid;grid-template-columns:minmax(0,1fr);gap:0;}
  footer.me-global-footer .me-footer-nav-group-new a {display:flex;min-height:32px;color:#f0f1e7;font-size:.91rem;line-height:1.35;padding:.24rem 0;overflow-wrap:anywhere;transform:none;}
  footer.me-global-footer .me-footer-nav-group-new a:hover {color:#fff9e8;text-decoration:underline;}
  footer.me-global-footer .me-footer-brand-link {color:#fff9ef;}
  footer.me-global-footer .me-footer-tagline {color:#e0e8da;}
  footer.me-global-footer .me-footer-brand-block > p > a {color:#f0f1e7;text-decoration:underline;}
  footer.me-global-footer .me-footer-bottom-new {color:#e0e8da;font-size:.82rem;line-height:1.5;margin-top:1.2rem;padding-top:.85rem;border-top:1px solid #688573;gap:.45rem;}
  /* Home: keep actual labels / anchors and both weekly entry points. */
  #portal.p228-experience .me257-worlds a[data-room="ich"] {background:var(--me261-sage);color:var(--me261-ink);}
  #portal.p228-experience .me257-worlds a[data-room="wir"] {background:var(--me261-clay);color:var(--me261-clay-ink);}
  #portal.p228-experience .me257-worlds a:is([data-room="zeit"],[data-room="leben"]) {background:var(--me261-sky);color:var(--me261-deep);}
  #portal.p228-experience .me257-worlds a {font-size:1rem;line-height:1.35;padding:.85rem .75rem;min-height:100px;box-shadow:none;}
  #portal.p228-experience .me-home-feature .ed-story-main .ed-art {border-radius:6px;object-fit:cover;object-position:center;}
  #portal.p228-experience .me-home-feature .ed-story .ed-link {min-height:44px;}
  #portal.p228-experience .me-home-feature .ed-story .ed-library-link {text-underline-offset:.18em;}
  #portal.p228-experience .me-home-feature .ed-week .me-home-week-links .me257-week-primary {background:#f6e9cf;color:#153a32;border-color:#f6e9cf;}
  /* Offer pages: clear overview, editorial subdivisions rather than nested cards. */
  .service-page main .service-hero.me-service-entry .me-intro-actions .button-primary {background:#153a32;color:#fff9ef;border:1px solid #153a32;min-height:46px;}
  .service-page main .service-hero.me-service-entry .me-intro-actions .me-intro-secondary {text-underline-offset:.18em;}
  .service-page main .service-hero.me-service-entry .me-intro-note {font-size:.9rem;line-height:1.5;}
  .service-page main .service-hero.me-service-entry .me-service-proof {font-size:.92rem;line-height:1.55;}
  .service-page main .me261-section-index {margin:.75rem 0 .3rem;border-block:1px solid #bac5b6;}
  .service-page main .me261-section-index > summary {min-height:44px;padding:.65rem 0;cursor:pointer;color:#214538;font:650 .9rem/1.4 system-ui,sans-serif;box-sizing:border-box;}
  .service-page main .me261-section-index .me-v246-section-nav {border:0;margin:0;padding-bottom:.4rem;}
  .service-page main .me261-section-index .me-v246-nav-label {display:none;}
  .service-page main .me-service-at-a-glance .mn-v105-summary-grid {gap:0 1.35rem;align-items:start;}
  .service-page main .me-service-at-a-glance .mn-v105-summary-item {background:transparent;box-shadow:none;border:0;border-top:1px solid #bac5b6;border-radius:0;padding:1rem 0;min-height:0;}
  .service-page main .me-service-at-a-glance .mn-v105-summary-item h3 {margin-block:0 .5rem;}
  .service-page main .me-service-at-a-glance .mn-v105-summary-item p {font-size:1rem;line-height:1.6;margin-block:.35rem 0;}
  .service-page main .me-service-at-a-glance .mn-v105-summary-example {box-shadow:none;border-radius:4px;border-inline-start:3px solid #9c8350;}
  .service-page main .me-service-packet .me-service-packet-grid > :is(.me-service-packet-part,.me-service-packet-total) {box-shadow:none;min-height:0;}
  .service-page main .service-content-section .service-two-column p {line-height:1.65;}
  .service-page main .service-content-section .service-two-column > div > p {max-width:72ch;}
  /* Editorial reading: use consistent heading spacing and retain semantic article structures. */
  .me-knowledge-article .me-k-body > p {font-size:1.04rem;line-height:1.7;max-width:72ch;}
  .me-knowledge-article .me-k-body > h2 {margin-block:clamp(1.8rem,3vw,2.7rem) .65rem;scroll-margin-top:105px;}
  .me-knowledge-article .me-k-body > h2:first-child {margin-top:0;}
  .me-knowledge-article .me-k-body .article-callout {box-shadow:none;border-radius:5px;border-inline-start:3px solid #74917a;}
  .me-knowledge-article .me-k-body .me-k-mini-grid {gap:0 1.25rem;}
  .me-knowledge-article .me-k-body .me-k-mini-grid > * {min-width:0;box-shadow:none;}
  .me-knowledge-article .me-k-toc details > summary {min-height:44px;cursor:pointer;}
  .me-knowledge-article .me-k-toc a {text-underline-offset:.2em;}
  .me-knowledge-article .me-k-body .me-k-worksheet {border-color:#a8bcaa;box-shadow:none;}
  .me-lab-page main .me-lab-section :is(p,li) {line-height:1.6;}
  .me-lab-page main .me-lab-personal {box-shadow:none;}
  .me-lab-page main .me-lab-personal :is(textarea,select) {font-size:1rem;}
  /* Inquiry forms: consistent controls, preserve hidden honeypots and form logic. */
  main :is(.sb-form,.sa-form,.guidance-form,.business-form) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),textarea,select) {border-radius:7px;font-size:1rem;line-height:1.5;}
  main :is(.sb-form,.sa-form,.guidance-form,.business-form) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select) {min-height:44px;}
  main :is(.sb-form,.sa-form,.guidance-form,.business-form) :is(.sb-label,.sa-label,.sb-help,.sa-help) {line-height:1.5;}
  main :is(.sb-form,.sa-form,.guidance-form) :is(.sb-help,.sa-help) {font-size:.875rem;}
  main .guidance-choice > label {min-height:44px;border-radius:8px;}
  main .guidance-choice > input:checked + label {outline:2px solid #214538;outline-offset:-2px;background:#eaf1e9;color:#214538;}
  main .guidance-choice > input:focus-visible + label {outline:3px solid #214538;outline-offset:3px;}
  main :is(input,select,textarea)[aria-invalid="true"] {border-color:#9b3939;outline-color:#9b3939;}
  main :is(.guidance-thankyou-note,.sb-request-footer,.sa-request-footer) {line-height:1.55;}
  /* Native tool menu on weekly and annual pages; no JS requirement to see title. */
  .wv-shell .me261-editorial-tools.astro-nav-v220 {width:100%;margin:.7rem 0 1rem;background:#f3eddf;border:1px solid #aebfb1;border-radius:8px;color:#214538;}
  .wv-shell .me261-editorial-tools.astro-nav-v220 > summary {display:list-item;min-height:44px;box-sizing:border-box;padding:.7rem 1rem;cursor:pointer;font:650 .9rem/1.45 system-ui,sans-serif;color:#214538;list-style:revert;}
  .wv-shell .me261-editorial-tools.astro-nav-v220 > summary::after {content:none;}
  .wv-shell .me261-editorial-tools.astro-nav-v220[open] > nav.astro-portal-nav {border:0;border-top:1px solid #aebfb1;padding:.55rem;margin:0;}
  .wv-shell .wv-issue-hero {margin-block:.25rem .8rem;}
  .wv-shell .wv-week-header {margin-block:.65rem;}
  .wv-shell .wv-year-intro {margin-bottom:.6rem;}
  /* Keep the observatory navy. Form surfaces and readable result hierarchy, not new calculation logic. */
  .astro-portal-personal .wk-page .wk-form-card :is(input,select):not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
  .astro-portal-pair .pair-wrap .pair-start :is(input,select):not([type="hidden"]):not([type="radio"]):not([type="checkbox"]) {min-height:44px;font-size:1rem;border-radius:7px;}
  .astro-portal-pair .pair-wrap .pair-start {border-color:#c4ad98;}
  .astro-portal-pair .pair-wrap .pair-form-heading {border-inline-start:3px solid #9d7657;padding-inline-start:.8rem;}
  .astro-portal-personal .wk-page .wk-results .wk-result-heading,.astro-portal-pair .pair-wrap #result .pair-result-week {padding-block:.65rem;border-bottom:1px solid #b8cbbb;}
  .astro-portal-pair .pair-wrap #result .me258-after {background:#f3e7dc;border-color:#c8b09a;color:#654536;}
  .astro-portal-pair .pair-wrap #result .me258-after > h2 {color:#654536;}
  .astro-portal-next .astro-portal-nextlinks a {min-height:44px;}
  /* Business keeps its own accent; improve sample presentation, not its fictional demo brand. */
  body.business-page .v58-project-mobile .v58-project-phone {max-width:min(100%,340px);margin-inline:auto;}
  body.business-page .v58-project-mobile .v58-project-phone img {width:100%;height:auto;}
  body.business-page .v58-project-hero figcaption {font-size:.875rem;line-height:1.5;}
  body.business-page .v61-offers :is(.business-button,.business-text-link) {min-height:44px;}
  .legal-hero .me-jump-list a {line-height:1.5;}
  .privacy-document :is(p,li) {line-height:1.65;}
  .privacy-document :is(h2,h3) {scroll-margin-top:105px;}
}
@media screen and (max-width:1000px) {
  footer.me-global-footer .me-footer-grid-new {grid-template-columns:1fr;gap:1rem;}
}
@media screen and (max-width:700px) {
  footer.me-global-footer .me-footer-shell {width:calc(100% - 2rem);padding:1.25rem 0 .9rem;}
  footer.me-global-footer .me-footer-brand-block {margin:0;}
  footer.me-global-footer .me-footer-logo {width:55px;height:45px;}
  footer.me-global-footer .me-footer-nav-new {grid-template-columns:minmax(0,1fr);gap:0;}
  footer.me-global-footer .me-footer-nav-group-new {border:0;border-top:1px solid #688573;padding:.2rem 0;}
  footer.me-global-footer .me-footer-nav-group-new:last-child {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .8rem;padding-top:.75rem;}
  footer.me-global-footer .me-footer-nav-group-new:last-child .me-footer-nav-label-new {grid-column:1/-1;}
  footer.me-global-footer summary.me-footer-nav-label-new {min-height:44px;margin:0;padding:.7rem 0;}
  footer.me-global-footer .me261-footer-links {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .8rem;padding-bottom:.5rem;}
  footer.me-global-footer .me-footer-nav-group-new a {min-height:36px;padding:.25rem 0;}
  footer.me-global-footer .me-footer-bottom-new {align-items:flex-start;text-align:left;}
  #portal.p228-experience .me257-worlds {grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:16px;}
  #portal.p228-experience .me257-worlds a {flex-direction:row;justify-content:flex-start;text-align:left;min-height:52px;gap:12px;padding:.55rem .8rem;font-size:.94rem;}
  #portal.p228-experience .me257-worlds a::before {width:27px;height:27px;flex:0 0 27px;}
  #portal.p228-experience .me257-worlds a::after {content:'\2192';margin-left:auto;font-size:1.1rem;}
  #portal.p228-experience .me-home-feature [data-me-editorial] .ed-story .ed-art {max-width:100%;width:100%;max-height:155px;aspect-ratio:2.2;float:none;margin:.45rem 0 .65rem;}
  #portal.p228-experience .me-home-feature [data-me-editorial="de"] .ed-story .ed-art {max-width:100%;max-height:155px;width:100%;}
  #portal.p228-experience .me-home-feature .ed-story-main .ed-copy {font-size:.96rem;line-height:1.55;}
  .service-page main > .me-service-at-a-glance {padding-block:1.4rem;}
  .service-page main .me-service-at-a-glance .mn-v105-summary-grid {gap:0;}
  .service-page main .me-service-at-a-glance .mn-v105-summary-item {padding:.75rem 0;}
  .service-page main .me-service-at-a-glance .mn-v105-summary-item p {line-height:1.55;}
  .service-page main .service-hero.me-service-entry .service-hero-grid {gap:.9rem;}
  .service-page main .service-hero.me-service-entry .me-service-packet-grid > :is(.me-service-packet-part,.me-service-packet-total) {padding-block:.55rem;}
  .service-page main > :is(.service-content-section,.service-dark-section,.service-faq-section) {padding-block:2.15rem;}
  .me-knowledge-article .me-k-body > p {font-size:1rem;line-height:1.65;}
  .me-knowledge-article .me-k-body > h2 {margin-block:1.75rem .65rem;}
  .me-knowledge-article .me-k-body > h2:first-child {margin-top:0;}
  .wv-shell .me261-editorial-tools.astro-nav-v220 {margin:.5rem 0 .8rem;}
  .wv-shell .wv-week-header .wv-week-picker > summary {min-height:44px;}
}
@media screen and (max-width:340px) {
  footer.me-global-footer .me-footer-nav-group-new:last-child {column-gap:.6rem;}
  footer.me-global-footer .me261-footer-links {grid-template-columns:minmax(0,1fr);}
  #portal.p228-experience .me257-worlds a {font-size:.94rem;}
}
@media print {
  .me261-section-index,.me261-editorial-tools,.me261-toolnav {display:none!important;}
}
@media screen {
  /* Explicitly reset the old navy gradient only on the shared brand footer. */
  body footer.me-global-footer {background:#153a32!important;color:#fcf9f0;}
  #portal.p228-experience .me-home-feature .ed-week .me-home-week-links .me-home-week-public small {color:inherit;opacity:1;}
}
