/* Keep the accessible brand name and tagline as text beside the approved mark. */
header .brand{position:relative;display:inline-flex;flex-direction:column;justify-content:center;min-height:48px;padding-left:58px;flex-shrink:0}
header .brand::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;background:transparent var(--wunari-brand-symbol) center/contain no-repeat}
@media(max-width:500px){header .brand{min-height:44px;padding-left:52px}header .brand::before{width:44px;height:44px}}

/* One customer navigation, rendered with the page even before JavaScript loads. */
/* One customer navigation, rendered with the page even before JavaScript loads. */
html,body{overflow-x:clip;max-width:100%}
body[data-site-shell]{--site-content-width:540px;--site-gutter:20px;padding-bottom:0;background-color:var(--skin-background);overflow-x:clip;width:100%}
body[data-site-shell]>main{width:100%;max-width:var(--site-content-width,540px);margin-inline:auto;padding-inline:20px;background-color:var(--skin-surface);min-height:100vh;box-shadow:0 0 32px rgba(229,107,111,0.06);position:relative;box-sizing:border-box;overflow-x:clip}
body[data-site-shell]>header{width:100%;max-width:var(--site-content-width,540px);margin-inline:auto;padding-inline:20px;box-sizing:border-box;position:sticky;top:0;z-index:80;background:rgba(255,255,255,0.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--skin-border-subtle)}
body[data-site-shell] .measurement-settings{max-width:var(--site-content-width,540px);margin-inline:auto;box-sizing:border-box}
body[data-site-navigation]>main.account-main>.account-card{max-width:500px;margin-inline:auto}
body[data-site-navigation]{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
body[data-site-navigation]:has(.site-footer){padding-bottom:0}
body[data-site-navigation] .site-footer{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
body[data-site-navigation]>.site-navigation{display:grid;max-width:var(--site-content-width,540px);margin:0 auto;left:0;right:0}
html:has(body[data-site-navigation]){scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
.site-navigation{position:fixed;inset:auto 0 0;z-index:90;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;background:rgba(255,255,255,0.98);backdrop-filter:blur(16px);border-top:1px solid var(--skin-border);padding:8px max(8px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));box-shadow:0 -4px 20px rgba(229,107,111,0.08);border-radius:20px 20px 0 0}
.site-navigation a{color:var(--skin-subtle);font-size:12px;text-decoration:none;min-height:48px;display:flex;gap:4px;align-items:center;justify-content:center;flex-direction:column;line-height:1.3;white-space:nowrap;transition:color 0.2s}
.site-navigation svg{width:22px;height:22px;flex:none}
.site-navigation a[aria-current]{color:#E56B6F;font-weight:700}
.site-navigation a:focus-visible{outline:2px solid var(--skin-focus);outline-offset:-3px;border-radius:8px}
body[data-site-navigation]>header nav a:is([href="/guide"],[href="/guide#topics"],[href="/today"],[href="/together"],[href="/experience"],[href="/seasons"],[href="/library"]),body[data-site-navigation]>header #books{display:none}
body>header nav a[href^="/account"]{border:none;background:none;padding:8px 4px;font-size:14px;font-weight:400;color:var(--ink);text-decoration:none}
body>header nav a[href^="/account"]:hover{text-decoration:underline;background:none}
@media(max-width:430px){
 body>header nav a[href^="/account"]{padding:6px 4px;font-size:12px}
}
@media(max-width:767px){
 body[data-site-shell]>main{max-width:100%;padding-inline:16px}
 body[data-site-navigation]{--site-gutter:16px}
 body[data-site-navigation]>header{padding-block:8px;gap:8px}
 body[data-site-navigation]>header .brand span{display:none}
 body[data-site-navigation]>header nav{gap:4px}
}
@media print{body[data-site-navigation]>.site-navigation{display:none}body[data-site-navigation]{padding-bottom:0}}
#premium-relationship-return,#relationship-return{color:inherit;display:inline-flex;align-items:center;min-height:44px;font-size:14px}

/* Customer guidance must remain readable without zooming. */
body[data-site-navigation] .note,body[data-site-navigation] .birth-fields .note{font-size:13px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}
body[data-site-navigation] details.information{font-size:14px;line-height:1.7;padding-block:6px}
body[data-site-navigation] details.information>summary{font-size:15px;line-height:1.5;min-height:42px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;user-select:none}
body[data-site-navigation] details.information>summary::-webkit-details-marker{display:none}
body[data-site-navigation] details.information>summary::marker{content:"";display:none}
body[data-site-navigation] details.information>summary:after{content:'';display:inline-block;flex:0 0 8px;width:8px;height:8px;margin-right:4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;color:#8c7d86;transform:rotate(45deg);transition:transform .22s cubic-bezier(0.4, 0, 0.2, 1),color .15s ease}
body[data-site-navigation] details.information>summary:hover:after{color:#E56B6F}
body[data-site-navigation] details.information[open]>summary:after{transform:rotate(-135deg);margin-top:4px}
body[data-site-navigation] details.information[open]{padding-bottom:14px}

/* Desktop reading scale. Balanced mobile webapp scale. */
@media(min-width:1000px){
 body[data-site-shell]{font-size:16px;--site-content-width:660px;--site-gutter:32px}
 body[data-site-shell]>header nav a,body[data-site-shell]>header nav button{font-size:15px}
 body[data-site-shell]>header .brand{font-size:26px;min-height:50px;padding-left:58px}
 body[data-site-shell]>header .brand::before{width:48px;height:48px}
 body[data-site-shell]>header .brand span{font-size:12px}
 body[data-site-shell] .preview-bar{font-size:14px}
 body[data-site-shell]>main :is(.note,.information,.reader-heading>p:not(.eyebrow),.lead){font-size:14px;line-height:1.7}
 body[data-site-shell]>main :is(label,summary,.check,.steps p,.topic-card p,.faq-item p){font-size:15px;line-height:1.7}
 body[data-site-shell]>main :is(input:not([type=checkbox],[type=radio]),select,button,.button){font-size:15px}
 body[data-site-shell]>main :is(.topic-card h3,.scope-list li){font-size:18px}
 body[data-site-shell]>main :is(.card-arrow,.breadcrumbs){font-size:14px}
 body[data-site-shell]>footer,body[data-site-shell]>footer p{font-size:14px;line-height:1.7}
}

/* Shared outer grid, independently bounded prose and balanced footer. */
.site-footer {
  padding: 0;
  border-top: 1px solid var(--skin-border-subtle);
  background:var(--skin-surface-subtle);
  text-align: left;
  margin-top: 0;
}
.site-footer-inner {
  max-width: var(--site-content-width, 540px);
  margin-inline: auto;
  padding: 32px 20px calc(96px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
}
.site-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 18px/1.3 'Apple SD Gothic Neo', sans-serif;
  text-decoration: none;
  color: #1a1a1a;
}
.footer-brand::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent var(--wunari-brand-symbol) center/contain no-repeat;
  flex-shrink: 0;
}
.site-footer .site-footer-brand p {
  font-size: 12.5px;
  color:var(--skin-subtle);
  line-height: 1.55;
  margin: 0;
}
.footer-help {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  background:var(--skin-surface);
  border: 1px solid var(--skin-border-subtle);
  border-radius: 7px;
  color: #E56B6F;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 2px;
  transition: all 0.2s ease;
}
.footer-help:is(:hover,:focus-visible) {
  background: #E56B6F;
  color: #ffffff;
  border-color: var(--skin-border-subtle);
}

.official-sns {
  margin-top: 8px;
}
.official-sns h2 {
  font: 700 11px/1.4 'Apple SD Gothic Neo', sans-serif;
  color: #999999;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.official-sns nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.official-sns nav a {
  font-size: 12px;
  color:var(--skin-subtle);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  background:var(--skin-surface);
  border: 1px solid var(--skin-border);
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
.official-sns nav a:is(:hover,:focus-visible) {
  background:var(--skin-surface-subtle);
  color: #E56B6F;
  border-color: var(--skin-border);
}
.sns-new-tab {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--skin-border-subtle);
}
.site-footer-info nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.site-footer-info nav a {
  font-size: 12.5px;
  font-weight: 600;
  color:var(--skin-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}
.site-footer-info nav a:hover {
  color: #E56B6F;
  text-decoration: underline;
}
.site-footer .site-footer-info p,
.site-footer .business-contact,
.business-contact {
  font-size: 11.5px;
  line-height: 1.6;
  margin: 0;
  color: var(--skin-subtle);
  letter-spacing: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.site-footer .business-contact span,
.business-contact span {
  font-weight: 500;
  color: var(--skin-subtle);
  margin-right: 4px;
}
.site-footer .business-contact a,
.business-contact a {
  color: inherit;
  text-decoration: underline;
}
.site-footer .operator-contact {
  margin-top: 0;
}
.site-footer .company-details {
  margin: 0;
}
.site-footer .company-details > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 0;
  border-bottom: none;
}
.site-footer .company-details dt,
.site-footer .company-details dd {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--skin-subtle);
  letter-spacing: normal;
  margin: 0;
}
.site-footer .company-details dt {
  font-weight: 500;
}
.site-footer .company-details dd a {
  color: inherit;
  text-decoration: underline;
}
.site-footer-simple .site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.site-footer-simple .site-footer-inner div > p {
  font-size: 11.5px;
  line-height: 1.6;
  margin: 0;
  color: var(--skin-subtle);
}
.site-footer a:focus-visible {
  outline:2px solid var(--skin-focus);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-help,
  .official-sns nav a {
    transition: none;
  }
}

/* Keep the shared skip link available to keyboard users. */
.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:12px;left:12px;width:auto;height:auto;margin:0;padding:12px 16px;overflow:visible;clip:auto;white-space:normal;background:var(--skin-surface,#fff);color:var(--skin-ink,#252c28);border:2px solid currentColor;border-radius:8px;z-index:10000}

/* Approved Rose Milk symbol with the existing visible wordmark. */
:root{--wunari-brand-symbol:url('/brand/wunari/face-v2/wunari-header-face-v2.svg')}
header .brand{width:auto;flex-direction:row;align-items:center;white-space:nowrap;color:var(--skin-ink,#163D37)}
header .brand::before,.footer-brand::before{border-radius:0}

header:not(.admin-header) .brand,
body[data-site-shell]>header:not(.admin-header) .brand,
body.daily-messengers[data-site-shell]>header:not(.admin-header) .brand,
body.garden-entry-body .my-garden-header .brand {
  padding-left: 46px;
  font-size: 24px;
}
header:not(.admin-header) .brand::before {
  left: -4px;
  background-size: 100% 100%;
}
@media (max-width: 767px) {
  header:not(.admin-header) .brand,
  body[data-site-shell]>header:not(.admin-header) .brand,
  body.daily-messengers[data-site-shell]>header:not(.admin-header) .brand,
  body.garden-entry-body .my-garden-header .brand {
    padding-left: 42px;
    font-size: 22px;
  }
}


/* Canonical footer only: equal row rhythm within each information group. */
.site-footer .footer-business-rows,
.site-footer .footer-support-rows {
  display: grid;
  gap: 0;
}
.site-footer .footer-business-rows > p,
.site-footer .footer-support-rows > p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.8;
}

.site-footer .site-footer-info > .footer-copyright {
  margin: 4px 0 0;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--skin-subtle);
}

/* Accessible skip control shared by every progressive reading surface. */
.reading-show-all{display:inline-flex;align-items:center;min-height:44px;margin:0 0 8px;padding:6px 12px;border:1px solid var(--skin-border);border-radius:9px;background:var(--skin-surface-subtle);color:var(--skin-ink);font:inherit;font-size:.8125rem;cursor:pointer}
.reading-show-all:focus-visible{outline:2px solid var(--skin-focus);outline-offset:2px}
