/* MODE public shell and shared planner motion. All core content is visible at rest. */
#mode-journal-story[data-layout] .j-hero {grid-template-columns:minmax(0,1fr)!important;grid-auto-columns:0!important}
#mode-journal-story[data-layout] .j-hero-copy {grid-column:1/-1!important;min-width:0;box-sizing:border-box}
#mode-journal-story[data-layout] .j-cover {grid-area:auto!important}
#mode-journal-story[data-layout] .j-site-header {grid-column:1/-1!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;max-width:none!important;box-sizing:border-box}
#mode-journal-story[data-layout] .j-site-header nav {flex:none;flex-wrap:nowrap!important;align-items:center;white-space:nowrap}
#mode-journal-story[data-layout] .j-site-header nav a {line-height:1.5}
#mode-journal-story[data-layout] .j-back,#mode-journal-story[data-layout] .j-meta {line-height:1.5}
@media(min-width:761px){
  #mode-journal-story:is([data-layout=room-to-think],[data-layout=family-week],[data-layout=gentle-reset],[data-layout=home-file]) .j-hero-copy {width:min(67%,1010px)!important}
  #mode-journal-story:is([data-layout=room-to-think],[data-layout=family-week],[data-layout=gentle-reset],[data-layout=home-file]) .j-cover:after {background:linear-gradient(90deg,#152219f5 0%,#18241adb 27%,#1d281970 49%,transparent 72%)!important}
}
@media(max-width:700px){
  #mode-journal-story[data-layout] .j-site-header {flex-direction:column!important}
  #mode-journal-story[data-layout] .j-site-header nav {max-width:100%;justify-content:center;gap:clamp(7px,3vw,16px);flex-wrap:wrap!important}
}
body.mode-journal-page:has(.j-site-footer .journal-legal) .mode-v9-footer {display:none!important}

/* Let pricing read as one landscape: plan columns share a baseline and colour field. */
html[data-daylight=pricing] body main.wrap {
  --edge:clamp(18px,5vw,110px);--rule:#cfcbbd;
  width:100%!important;max-width:none!important;margin:0!important;padding:0 0 46px!important;color:#25362b;
}
html[data-daylight=pricing] main.wrap > .pending {margin:8px var(--edge) 0!important}
html[data-daylight=pricing] body main.wrap > .surface {
  width:100%!important;max-width:none!important;margin:0!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;padding:clamp(28px,3.5vw,64px) var(--edge)!important;background:#f9f5ec!important;
}
html[data-daylight=pricing] body main.wrap > .surface.intro {
  background:linear-gradient(90deg,#faf4e9f2,#faf4e9ca 48%,#faf4e99c),url(/assets/mode-daylight-20261118-r4/account.webp) center 46%/cover!important;
  align-items:center;gap:clamp(24px,5vw,90px)
}
html[data-daylight=pricing] main.wrap .member-summary {background:none!important;border:0!important;border-radius:0!important;border-inline-start:2px solid #77876b!important;box-shadow:none!important;padding:4px 0 4px 20px!important;color:#273c29!important}
html[data-daylight=pricing] main.wrap .member-summary :is(strong,span,.renewal-note) {background:none!important;color:#30402e!important}
html[data-daylight=pricing] main.wrap .head {border:0!important;background:none!important;margin:0 0 22px!important;padding:0!important}
html[data-daylight=pricing] main.wrap .step {display:none}
html[data-daylight=pricing] main.wrap .groups {gap:0!important;align-items:stretch!important;border-radius:0!important}
html[data-daylight=pricing] main.wrap .group {padding:clamp(20px,2.5vw,46px)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-daylight=pricing] main.wrap .group + .group {border-left:1px solid #3b43242b!important}
html[data-daylight=pricing] main.wrap .group .option {background:transparent!important;border:0!important;border-radius:0!important;border-top:1px solid #36453444!important;box-shadow:none!important;padding:15px 0!important;color:#29352d!important}
html[data-daylight=pricing] main.wrap .group .option :is(strong,span:not(.plan-status)) {color:#303b31!important}
html[data-daylight=pricing] main.wrap .group .plan-status {color:#2e4938!important;background:transparent!important;border:0!important;font-weight:750}
html[data-daylight=pricing] body main.wrap #electrical-pro {background:#ececdf!important}
html[data-daylight=pricing] main.wrap :is(.pro-row,.pro-copy,.pro-action,.bill,.bill.next,.billing) {background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html[data-daylight=pricing] main.wrap :is(.pro-row,.pro-copy,.billing,.bill) {padding:0!important}
html[data-daylight=pricing] main.wrap :is(.pro-action,.bill.next) {border-inline-start:1px solid var(--rule)!important;padding-inline-start:clamp(18px,3vw,54px)!important}
html[data-daylight=pricing] main.wrap :is(.pro-action,.bill,.pro-copy) :is(h3,strong,p,span:not(.kicker)) {color:#2d3d30!important}
html[data-daylight=pricing] main.wrap .footer-note {border-top:1px solid var(--rule)!important;padding-block:22px!important}
@media(min-width:851px){html[data-daylight=pricing] body main.wrap .groups {grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:850px){
  html[data-daylight=pricing] body main.wrap .groups {grid-template-columns:1fr!important}
  html[data-daylight=pricing] main.wrap .group + .group {border-left:0!important}
  html[data-daylight=pricing] main.wrap :is(.pro-action,.bill.next) {border-inline-start:0!important;border-top:1px solid var(--rule)!important;padding:18px 0 0!important}
}

/* Payment reviews keep their original fields and confirmation boundaries. */
body:has(main .mode-billing-card),body:has(main .ep-shell) {background:#f8f3e9!important;color:#293b30}
body main.molo-wrap:has(.mode-billing-card),body main.ep-wrap:has(.ep-shell) {
  width:100%!important;max-width:none!important;box-sizing:border-box;margin:0!important;padding:clamp(25px,4vw,70px) clamp(18px,5vw,110px)!important
}
body main .checkout-card.mode-billing-card,body main.ep-wrap .ep-shell {width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
body main .mode-billing-card :is(.mode-billing-head,.mode-explain-box,.mode-money-grid,.mode-confirm-form),
body main .ep-shell :is(.ep-main,.ep-package,.ep-summary,.ep-extra,.ep-feature) {
  background:transparent!important;color:#304032!important;border:0!important;border-radius:0!important;box-shadow:none!important
}
body main .mode-billing-card :is(.mode-route-card,.mode-money-grid){border:0!important;border-radius:0!important;background:#e5ebdd!important;gap:0!important}
body main .mode-billing-card :is(.mode-money-card,.mode-plan-box) {background:transparent!important;color:#293d2c!important;border:0!important;box-shadow:none!important;border-radius:0!important}
body main .mode-billing-card .mode-money-card {border-top:1px solid #a4b09e!important}
body main :is(.mode-billing-head,.mode-explain-box,.mode-plan-box,.mode-money-card,.ep-main,.ep-summary,.ep-feature) :is(h1,h2,h3,p,small,strong,span:not([class*=button])) {color:#2a392d}
body main .ep-shell .ep-summary {border-left:2px solid #b4c0ae!important}
body main .ep-shell .ep-feature {border-bottom:1px solid #c8cbbd!important}
body main :is(.mode-billing-card,.ep-main) h1 {font:500 clamp(36px,4.25vw,74px)/1.05 Georgia,serif!important;color:#273b2c!important;letter-spacing:-.045em}
@media(max-width:760px){body main .ep-shell .ep-summary {border-left:0!important;border-top:1px solid #b4c0ae!important}}

/* Account allowance was inheriting white type and translucent tiles from the old dark theme. */
html[data-daylight=account] body #plan-allowance {box-shadow:none!important;border:0!important;border-radius:0!important;background:#f9f6ed!important;padding:clamp(20px,3vw,48px)!important}
html[data-daylight=account] body #plan-allowance .rules-grid {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;gap:0!important;background:#e2e9dc!important}
html[data-daylight=account] body #plan-allowance .rules-grid article {min-width:0!important;padding:clamp(18px,2vw,36px)!important;background:transparent!important;color:#27372d!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-daylight=account] body #plan-allowance .rules-grid article + article {border-inline-start:1px solid #aebaab!important}
html[data-daylight=account] body #plan-allowance .rules-grid strong {display:block!important;font:500 clamp(25px,2.8vw,47px)/1.1 Georgia,serif!important;color:#25382b!important;letter-spacing:-.025em}
html[data-daylight=account] body #plan-allowance :is(p,span,small) {color:#334638!important;opacity:1!important}
html[data-daylight=account] body #plan-allowance .rules-grid span {display:block;font-weight:700!important}
html[data-daylight=account] body #plan-allowance .rules-note {margin:16px 0 0!important;background:transparent!important;border:0!important}
@media(max-width:640px){html[data-daylight=account] body #plan-allowance .rules-grid {grid-template-columns:1fr!important}html[data-daylight=account] body #plan-allowance .rules-grid article+article {border-inline-start:0!important;border-top:1px solid #aebaab!important}}
html[data-daylight] :is(a,summary,button):focus-visible,.master-shell a:focus-visible {outline:2px solid #315747!important;outline-offset:4px}

@media screen and (prefers-reduced-motion:no-preference) {
  @keyframes mode-arrive {from{translate:0 7px}to{translate:0 0}}
  @keyframes mode-unfold {from{clip-path:inset(0 0 12% 0 round 6px);translate:0 -3px}to{clip-path:inset(0);translate:0 0}}
  @keyframes mode-read {from{scale:0 1}to{scale:1 1}}
  :is(html[data-daylight] main h1,#mode-journal-story h1,main.master-shell h1,main .mode-billing-card h1,main .ep-shell h1) {animation:mode-arrive 440ms cubic-bezier(.18,.72,.25,1) both}
  :is(.dl-menu[open] .dl-menu-items,#mode-journal-story .j-contents details[open] ol) {animation:mode-unfold 180ms ease-out}
  #mode-journal-story .j-cover img {animation:mode-photo-settle 1.4s ease-out both}
  @keyframes mode-photo-settle {from{scale:1.018}to{scale:1}}
  #mode-journal-story .j-cover {overflow:hidden}
  @supports (animation-timeline:scroll()) {
    body:has(#mode-journal-story):before {content:"";position:fixed;inset:0 0 auto;height:3px;background:#627651;z-index:90;pointer-events:none;transform-origin:left;animation:mode-read linear both;animation-timeline:scroll(root block)}
  }
  @media(hover:hover) and (pointer:fine) {
    :where(nav a,header a,button,.btn,.plan-action,.pro-btn,.ep-buy,.dl-side-link,.ed-directory a) {transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
    :is(.j-post-card,.planner-card,.dl-shortcut,.dl-family-link,.dl-workspace-link,.master-shell .card a.button:after,.v67-protools-section a,.plan-action,.pro-btn,.mode-confirm-button,.ep-buy) {transition:translate .2s ease,box-shadow .2s ease}
    :is(.j-post-card,.planner-card,.dl-shortcut,.dl-family-link,.dl-workspace-link,.plan-action,.pro-btn,.mode-confirm-button,.ep-buy):hover {translate:0 -3px}
    .master-shell .card:hover a.button:after {display:inline-block;translate:2px -2px}
    :where(header nav,.dl-sidebar,.j-contents,.j-article-end,footer,.j-site-footer) a:hover {text-decoration:underline;text-underline-offset:.3em}
    :where(button:not(:disabled),.btn,.plan-action):active {translate:0 1px}
  }
}

/* Give connected planners the same restrained response as the collection. */
@media screen and (prefers-reduced-motion:no-preference) {
  html:has(script[data-molo-planner]) main h1,
  html[data-daylight=account] #plan-allowance:not([hidden]) .rules-grid article {animation:mode-arrive 360ms ease-out both}
  html[data-daylight=account] .rules-grid article:nth-child(2) {animation-delay:45ms}
  html[data-daylight=account] .rules-grid article:nth-child(3) {animation-delay:90ms}
  @media (hover:hover) and (pointer:fine) {
    html:has(script[data-molo-planner]) :where(nav a,nav button):hover {text-decoration:underline;text-underline-offset:.25em}
    #journal-main .j-post-card img {transition:scale 320ms cubic-bezier(.2,.75,.3,1)}
    #journal-main .j-post-card:hover img {scale:1.012}
  }
}
html[data-daylight=checkout] body {background:#f8f3e9!important}
html[data-daylight=checkout] #mode-daylight-header {border-bottom:1px solid #d6d4c4!important}
body main.ep-wrap .ep-shell .ep-consent {background:transparent!important;border:0!important;border-top:1px solid #c8cbbd!important;border-radius:0!important;box-shadow:none!important;padding-inline:0!important}
@media (max-width:650px) {#mode-journal-story[data-layout] .j-hero-copy {margin:0!important}}


/* Standard navigation uses words on the page surface. Popovers retain their own surface. */
html body :is(#mode-daylight-header,header.molo-header,header.mode-master-single-header,header.mode-v9-header:not(.j-hero)),
html[data-daylight] body #mode-daylight-header:is(.molo-header,.mode-v9-header),
html body.mode-master-admin-hotfix header.mode-master-single-header.mode-v9-header {
  background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;
}
html body :is(#mode-daylight-header,.molo-header,.mode-master-single-header) :is(.molo-header-inner,.molo-nav,.mode-v9l-actions,.mode-master-single-actions) {
  background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important
}
html[data-daylight] body #mode-daylight-header nav.dl-navigation > :is(a,button,details,details>summary),
html[data-daylight] body #mode-daylight-header nav.dl-navigation .dl-menu>summary,
html body :is(#mode-daylight-header,.molo-header,.mode-master-single-header) :is(.molo-nav,.mode-v9l-actions,.mode-master-single-actions) > :is(a,button,summary),
#mode-journal-story[data-layout] .j-site-header nav > a {
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  color:#263a2b!important;font:600 clamp(14px,.94vw,17px)/1.45 "DM Sans",Arial,sans-serif!important;
  letter-spacing:.005em!important;text-shadow:none!important;text-decoration:none;padding:9px 5px!important;
}
html body :is(#mode-daylight-header,.molo-header,.mode-master-single-header) :is(a,button,summary):is(:hover,:focus-visible,[aria-current=page],.mode-v9l-active),
#mode-journal-story[data-layout] .j-site-header nav a:is(:hover,:focus-visible,[aria-current=page]),
html[data-daylight=journal] #mode-daylight-header .dl-navigation>a[href="/blog/"],
html[data-daylight=pricing] #mode-daylight-header .dl-navigation>a[href="/pricing/"],
html[data-daylight=checkout] #mode-daylight-header .dl-navigation>a[href="/pricing/"],
html[data-daylight=contact] #mode-daylight-header .dl-navigation>a[href="/contact/"],
html[data-daylight=collection] #mode-daylight-header .dl-navigation>a[href="/planner-collection/"],
html:is([data-daylight=account],[data-daylight=seats]) #mode-daylight-header .dl-navigation .dl-menu summary {
  text-decoration:underline!important;text-underline-offset:.36em!important;text-decoration-thickness:1px!important
}
html body :is(#mode-daylight-header,.molo-header,.mode-master-single-header,.j-site-header) :is(a,button,summary):focus-visible {outline:2px solid currentColor!important;outline-offset:2px}
#mode-journal-story[data-layout] .j-site-header {background:transparent!important;border:0!important;backdrop-filter:none!important;box-shadow:none!important}
#mode-journal-story[data-layout] .j-cover:before {content:""!important;position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse 36% 34% at 12% 1%,#fbf4e8df 0%,#fbf4e88a 39%,transparent 83%),radial-gradient(ellipse 44% 33% at 84% 0%,#fbf4e8e8 0%,#fbf4e89c 42%,transparent 84%);border:0}
#mode-journal-story[data-layout] .j-site-header nav {gap:clamp(10px,1.9vw,32px)}
@media(max-width:700px){#mode-journal-story[data-layout] .j-site-header nav {gap:clamp(2px,1vw,8px)}#mode-journal-story[data-layout] .j-cover:before {background:linear-gradient(#fff8eaea 0%,#fff8eac9 15%,transparent 50%)}}
html[data-daylight=pricing] body {background:#f9f5ec linear-gradient(90deg,#faf4e9f0,#faf4e9b0 50%,#faf4e9a8) no-repeat!important}
html[data-daylight=pricing] body:has(.wrap > .intro) {
  background-image:linear-gradient(90deg,#faf4e9f2,#faf4e9ce 48%,#faf4e9ac),url(/assets/mode-daylight-20261118-r4/account.webp)!important;
  background-position:top center!important;background-size:100% 650px,cover!important;background-repeat:no-repeat!important;
}
html[data-daylight=pricing] body main.wrap > .surface.intro {background:transparent!important}
body.mode-master-admin-hotfix {background:#f8f5ec linear-gradient(110deg,#f8f5ec 35%,#e9eddd 90%) top center/100% 360px no-repeat!important}
body.mode-master-admin-hotfix .master-shell .hero {border-radius:0!important;background:transparent!important}
html[data-daylight=checkout] body #mode-daylight-header {border:0!important;background:transparent!important}

/* The account state, colour swatches, menu contents and action semantics belong to each planner. */
:is(header.topbar,div.topbar,header.app-header,header.ep-header,header.desktop-header,.desktop-topbar,header.paint-topbar,header.research-topbar,header.pb-topbar,header.lw-header,header.travel-topbar,header.wedding-topbar,header.utility-bar,header.mls2-appbar,header.reality-topbar) {
  background:transparent!important;border-block:0!important;box-shadow:none!important;backdrop-filter:none!important;
}
:is(header.topbar,div.topbar,header.app-header,header.ep-header,header.desktop-header,.desktop-topbar,header.paint-topbar,header.research-topbar,header.pb-topbar,header.lw-header,header.travel-topbar,header.wedding-topbar,header.utility-bar,header.mls2-appbar,header.reality-topbar)
:is(.top-actions,.top-tools,.desktop-nav,.utility-actions,.topbar-actions,.topbar-right,.header-actions,.header-end,.paint-topbar-actions,.mls5-accountnav,.reality-top-actions,.molo-top-actions,.theme-top-wrap,.topbar-theme-standard,.profile-menu-wrap)>:is(a[href],button,summary),
:is(header.ep-header,header.pb-topbar,header.lw-header)>:is(a.btn,button,summary) {
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:inherit!important;font-weight:600;
}
:is(header.topbar,div.topbar,header.app-header,header.ep-header,header.desktop-header,.desktop-topbar,header.paint-topbar,header.research-topbar,header.pb-topbar,header.lw-header,header.travel-topbar,header.wedding-topbar,header.utility-bar,header.mls2-appbar,header.reality-topbar) :is(a,button,summary):is(:hover,[aria-current=page],:focus-visible) {text-decoration:underline;text-underline-offset:.32em}
:is(header.topbar,div.topbar,header.app-header,header.ep-header,header.desktop-header,.desktop-topbar,header.paint-topbar,header.research-topbar,header.pb-topbar,header.lw-header,header.travel-topbar,header.wedding-topbar,header.utility-bar,header.mls2-appbar,header.reality-topbar) :is(a,button,summary):focus-visible {outline:2px solid currentColor!important;outline-offset:2px}


/* Planner-specific themes sometimes style header controls using a root ID.
   Scope the shared treatment to navigation chrome and leave popovers and form fields intact. */
:root body :is(#mode-planner-header,header.topbar,div.topbar,header.desktop-header,.desktop-topbar,header.mls2-appbar,header.reality-topbar,header.bot-topbar) {
  background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important
}
:root body :is(#mode-planner-header,header.topbar,div.topbar,header.desktop-header,.desktop-topbar,header.mls2-appbar,header.reality-topbar,header.bot-topbar)
:is(.theme-panel,.molo-top-actions,.context-row,.topbar-actions,.top-actions,.header-actions,.bot-top-actions,.reality-top-actions,.topbar-theme-standard,.profile-menu-wrap,.theme-top-wrap) > :is(button,a[href],summary),
:root body :is(#mode-planner-header,header.topbar,div.topbar,header.desktop-header,.desktop-topbar,header.reality-topbar)
:is(.header-button,.header-profile,.profile-pill,.top-button,.reality-source-pill,.theme-top-btn,.context-chip) {
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:inherit!important;
}
:root body .creator-boundary.toolbar :is(a.btn,button.btn) {color:inherit!important;background:transparent!important;border:0!important;box-shadow:none!important}

