/* rec-home.css  My Home (rec-home.js). Uses the site design tokens, so light, dark and the colour themes follow. */
#page-myhome .xh-wrap { max-width: 760px; margin: 0 auto; padding: 1.2rem 1rem 3rem; color: var(--navy, var(--xag-c-text)); }
.xh-h { margin: 0 0 .4rem; font-size: 1.6rem; }
.xh-h2 { margin: 1.2rem 0 .5rem; font-size: 1.05rem; }
.xh-ws { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .2rem 0 .6rem; font-weight: 600; }
.xh-ws select { min-height: 44px; border: 1.5px solid var(--border, var(--xag-c-line)); border-radius: var(--xag-radius-s); padding: 0 .6rem; background: var(--white, var(--xag-c-surface)); color: inherit; max-width: 100%; }
.xh-ws1 { margin: 0 0 .4rem; font-weight: 700; }
.xh-intro, .xh-muted { margin: 0 0 .6rem; opacity: .85; }
.xh-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.xh-card { border: 1.5px solid var(--border, var(--xag-c-line)); border-radius: var(--xag-radius); background: var(--white, var(--xag-c-surface)); padding: .9rem 1rem; }
.xh-card p { margin: 0 0 .6rem; font-weight: 600; }
.xh-b { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.xh-later { background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; color: inherit; min-height: 44px; padding: 0 .4rem; }
.xh-inv { margin: 1rem 0; padding: .9rem 1rem; border: 1.5px solid var(--border, var(--xag-c-line)); border-radius: var(--xag-radius); background: var(--white, var(--xag-c-surface)); display: grid; gap: .6rem; }
.xh-inv h3 { margin: 0; font-size: 1rem; }
.xh-inv label { display: grid; gap: .25rem; font-weight: 600; }
.xh-inv input, .xh-inv select { min-height: 44px; border: 1.5px solid var(--border, var(--xag-c-line)); border-radius: var(--xag-radius-s); padding: 0 .6rem; background: var(--white, var(--xag-c-surface)); color: inherit; width: 100%; box-sizing: border-box; }
.xh-gl { margin-top: 1.4rem; border: 1.5px solid var(--border, var(--xag-c-line)); border-radius: var(--xag-radius); padding: .6rem 1rem; background: var(--white, var(--xag-c-surface)); }
.xh-gl summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.xh-gl dt { font-weight: 700; margin-top: .5rem; }
.xh-gl dd { margin: 0 0 .2rem; }
/* simplified menu: with a workspace chosen the top menu shows at most five entries (News stays in the footer, Digital stays for schools, Professional Development is hidden for schools) */
html[data-ws] #primaryNav > li:has(a[onclick*="'news'"]) { display: none; }
html[data-ws="school"] #primaryNav > li:has(a[onclick*="'pd'"]) { display: none; }
html[data-ws] #xagViewAs { display: none !important; }
@media (max-width: 420px) { .xh-h { font-size: 1.35rem; } }
