/* RoseThread Connect: left side menu that shows one section of the page at a time. */
.cx-layout{display:flex;align-items:flex-start}
.cx-layout>.cx-body{flex:1;min-width:0}
.cx-side{flex:none;width:250px;position:sticky;top:63px;max-height:calc(100vh - 63px);overflow:auto;background:#fff;border-right:1px solid #E3DCCB;padding:22px 14px 28px;font-family:Lato,system-ui,sans-serif;align-self:flex-start;min-height:calc(100vh - 63px)}
.cx-side h2{font:900 11px Lato,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#5C6B66;margin:0 10px 10px}
.cx-side ul{list-style:none;margin:0;padding:0}
.cx-side a{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:10px;color:#1F4D46;text-decoration:none;font-weight:700;font-size:15px;line-height:1.25;margin-bottom:2px}
.cx-side a small{display:block;font-weight:400;font-size:12px;color:#5C6B66;margin-top:2px}
.cx-side a svg{flex:none;width:22px;height:22px;fill:none;stroke:#B9934A;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cx-side a[aria-current="true"]{background:#1F4D46;color:#fff}
.cx-side a[aria-current="true"] small{color:#CFE0DB}
.cx-side a[aria-current="true"] svg{stroke:#fff}
.cx-side a:not([aria-current="true"]):hover{background:#F7F3EA}
.cx-side a:focus-visible{outline:3px solid #B9934A;outline-offset:2px}
.cx-free{margin:18px 6px 0;padding:14px;border-radius:12px;background:#F7F3EA;font-size:13px;line-height:1.45;color:#1F4D46}
.cx-free b{display:block;font-size:14px;margin-bottom:4px}
.cx-free button{margin-top:10px;background:#1F4D46;color:#fff;border:0;border-radius:999px;padding:8px 16px;font:800 13px Lato,sans-serif;cursor:pointer}
.cx-free button:hover{background:#2C6A60}

/* One section at a time */
body.cx-tabs main>section:not(.cx-has){display:none}
body.cx-tabs main [data-cx]:not(.cx-on){display:none!important}
body.cx-tabs main>section.cx-has{padding-top:32px}
body.cx-tabs main>section.hero.cx-has{padding-top:28px}
.cx-learnhead{margin-top:0}

/* Previous / next at the bottom of each section */
.cx-next{max-width:1180px;margin:8px auto 40px;padding:18px 16px 0;border-top:1px solid #E3DCCB;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-family:Lato,sans-serif}
.cx-next a{display:inline-flex;flex-direction:column;gap:2px;text-decoration:none;color:#1F4D46;font-weight:800;font-size:16px;padding:10px 16px;border:1.5px solid #E3DCCB;border-radius:12px;background:#fff}
.cx-next a span{font-size:12px;font-weight:700;color:#5C6B66;text-transform:uppercase;letter-spacing:.08em}
.cx-next a.nx{margin-left:auto;text-align:right}
.cx-next a:hover{border-color:#1F4D46}

/* Phones and small tablets: the menu becomes a row of tabs you swipe sideways */
@media (max-width:980px){
  .cx-layout{display:block}
  .cx-side{position:sticky;top:0;z-index:25;width:auto;max-height:none;min-height:0;border-right:0;border-bottom:0;padding:10px 0;overflow:visible;background:#1F4D46}
  .cx-side h2,.cx-free,.cx-side a small{display:none}
  .cx-side ul{display:flex;gap:8px;overflow-x:auto;padding:0 16px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .cx-side ul::-webkit-scrollbar{display:none}
  .cx-side li{flex:none}
  .cx-side a{padding:8px 14px;border-radius:999px;border:1.5px solid #fff;background:#fff;color:#1F4D46;font-size:14px;font-weight:800;white-space:nowrap;margin:0}
  .cx-side a:not([aria-current="true"]):hover{background:#F7F3EA}
  .cx-side a:focus-visible{outline:3px solid #fff}
  .cx-side a svg{display:none}
  .cx-side a[aria-current="true"]{background:#E2A93B;border-color:#E2A93B;color:#1F2B28}
  body.cx-tabs main>section.cx-has{padding-top:20px}
}
@media print{.cx-side,.cx-next{display:none}body.cx-tabs main [data-cx]:not(.cx-on),body.cx-tabs main>section:not(.cx-has){display:block!important}}
/* Order: a link to the separate Order page, set apart at the bottom of the menu */
.cx-side li.cx-split{margin-top:8px;padding-top:8px;border-top:1px solid #E3DCCB}
.cx-side .cx-go{margin-left:auto;color:#B9934A;font-weight:900}
@media (max-width:980px){.cx-side li.cx-split{margin-top:0;padding-top:0;border-top:0}.cx-side .cx-go{display:none}}
.pl-group{font:900 13px Lato,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--green);margin:18px 0 6px;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}.pl-group span{font:400 15px Lato,sans-serif;letter-spacing:0;text-transform:none;color:var(--muted)}
/* The Morning Thread in Plans: same look as the Digital calendar section of the Morning Thread page */
.pl-mt{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:36px;align-items:center;margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
.pl-mt .pl-group{margin-top:0}
.pl-mt-title{font:700 30px/1.2 Literata,Georgia,serif;color:#1F4D46;margin:4px 0 8px}
.pl-mt-lead{font-size:17px;margin:0 0 6px}
.pl-mt-points{list-style:none;margin:12px 0 18px;padding:0}
.pl-mt-points li{position:relative;padding:5px 0 5px 32px;font-size:16px;line-height:1.45}
.pl-mt-points li:before{content:"\2713";position:absolute;left:0;top:6px;width:22px;height:22px;border-radius:50%;background:#F9EAEF;color:#B4325A;font-weight:900;font-size:13px;display:flex;align-items:center;justify-content:center}
.pl-mt-ed{display:flex;flex-wrap:wrap;gap:8px}
.pl-mt-ed a{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:7px 13px 7px 10px;font-size:14px;font-weight:700;color:#1F4D46;text-decoration:none}
.pl-mt-ed a:before{content:"";width:11px;height:11px;border-radius:50%;background:var(--c)}
.pl-mt-ed a:hover,.pl-mt-ed a:focus-visible{border-color:var(--c);box-shadow:0 4px 12px rgba(31,77,70,.12)}
.pl-mt figure{margin:0}
.pl-mt img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--line);box-shadow:0 18px 40px rgba(31,77,70,.16)}
@media (max-width:900px){.pl-mt{grid-template-columns:1fr;gap:22px}}
/* Signed in: Start here shows Welcome back (your activities and account), then the RoseThread Connect introduction underneath */
body.cx-tabs.rt-in #heroSec[hidden].cx-has{display:block}
body.cx-tabs.rt-in #heroSec{border-top:1px solid #E3DCCB;margin-top:8px}
/* Signed in: no "New here? Try 10 free" box */
body.rt-in .cx-free{display:none}
/* Professional learning tab */
.cx-learn .cx-learnhead{margin:0 0 6px}
.cx-learn-lead{font-size:17px;color:var(--muted);margin:0 0 20px}
.cx-learn a.pd-feature,.cx-learn a.pd-card{text-decoration:none;color:inherit;background:#fff;border:1.5px solid var(--line);border-radius:18px;transition:border-color .15s,box-shadow .15s}
.cx-learn a.pd-feature:hover,.cx-learn a.pd-card:hover,.cx-learn a.pd-feature:focus-visible,.cx-learn a.pd-card:focus-visible{border-color:#1F4D46;box-shadow:0 10px 26px rgba(31,77,70,.12)}
.pd-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;align-items:center;padding:22px;margin-bottom:18px;border-color:#1F4D46!important}
.pd-feature img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}
.pd-body{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.pd-tag{font:900 12px Lato,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#9C4558}
.pd-title{font:700 22px/1.2 Literata,Georgia,serif;color:#1F4D46}
.pd-feature .pd-title{font-size:30px}
.pd-text{font-size:15.5px;line-height:1.5;color:var(--ink)}
.pd-feature .btn{margin-top:6px}
.pd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pd-card{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;column-gap:18px;row-gap:6px;padding:18px}
.pd-card>img,.pd-card>.pd-icon{grid-row:1 / span 4;width:96px;align-self:start}
.pd-card>img{height:auto;border-radius:6px;box-shadow:0 6px 16px rgba(31,77,70,.16)}
.pd-icon{height:96px;border-radius:14px;background:#E7F0EE;display:flex;align-items:center;justify-content:center}
.pd-icon svg{width:44px;height:44px;fill:none;stroke:#1F4D46;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pd-go{font-weight:800;color:#1F4D46;font-size:15px;margin-top:4px}
.cx-learn-all{margin:20px 0 0;font-size:15px;color:var(--muted)}
.cx-learn-all a{font-weight:800;color:#1F4D46;margin-right:6px}
@media (max-width:900px){.pd-feature{grid-template-columns:1fr;gap:16px;padding:16px}.pd-grid{grid-template-columns:1fr}}
@media (max-width:460px){.pd-card{grid-template-columns:72px minmax(0,1fr);padding:14px}.pd-card>img,.pd-card>.pd-icon{width:72px}.pd-icon{height:72px}}
/* Browse: Your Morning Thread week (pink bar) */
.mtbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;background:#F9EAEF;border:1.5px solid #E8BFCD;border-left:6px solid #B4325A;border-radius:14px;padding:12px 16px;margin:14px 0}
.mtbar[hidden]{display:none}
.mtbar label{display:flex;flex-direction:column;gap:1px;margin:0}
.mtbar .mt-k{font:900 11px Lato,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#9C4558}
.mtbar .mt-l{font:700 17px/1.2 Literata,Georgia,serif;color:#7A2440}
.mtbar select{width:auto!important;flex:0 1 360px;min-width:220px;max-width:100%;height:42px;border:1.5px solid #E8BFCD;border-radius:10px;background:#fff;font:700 15px Lato,sans-serif;color:#1F4D46;padding:0 10px}
.mtbar .mt-on{flex-basis:100%;margin:0;font-size:14.5px;color:#5A2A3A}
.mtbar .mt-on a{color:#9C4558;font-weight:800}
.mtbar .linkbtn{color:#5A2A3A;margin-left:6px}
