/* My Journey Box: menu on the left, one-glance dashboard (see deskmenu.js). */
.view.dm-on{display:grid;grid-template-columns:220px minmax(0,1fr) minmax(0,1fr);column-gap:22px;row-gap:0;align-items:start;max-width:1320px}
.view.dm-on>*{margin-bottom:18px;min-width:0}
.view.dm-on .cols,.view.dm-on .cols>.block:not([id]){display:contents}
.view.dm-on .dm-off{display:none!important}
.view.dm-on>.cols h3.sec-h,.view.dm-on .cols h3.sec-h{margin:6px 0 2px}
.view.dm-on .cols p.sec-sub{margin:0 0 10px}
.view.dm-on .cols .panel.sx-p{margin-top:0;margin-bottom:18px}
.dm-side{grid-column:1;align-self:start;position:sticky;top:14px;display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:18px;background:linear-gradient(170deg,#FFFFFF 0%,#F5F3FF 55%,#FFF7ED 100%);border:1px solid #E7E1F6;box-shadow:0 14px 34px -24px rgba(58,33,121,.45)}
.dm-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:#2A2245;font:600 .95rem "Plus Jakarta Sans",Inter,sans-serif;text-align:left;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.dm-item:hover{background:#EFEAFD;transform:translateX(2px)}
.dm-item.on{background:linear-gradient(120deg,#3A2179,#6D28D9);color:#fff;box-shadow:0 10px 20px -12px rgba(58,33,121,.8)}
.dm-ic{flex:none;width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.05rem;background:#fff;box-shadow:0 4px 10px -6px rgba(30,17,71,.35)}
.dm-item.on .dm-ic{background:rgba(255,255,255,.18);box-shadow:none}
.dm-note{margin:8px 4px 2px;font-size:.74rem;line-height:1.4;color:#6B6384}
.dm-head{display:flex;gap:14px;align-items:center;padding:16px 18px;border-radius:18px;background:linear-gradient(120deg,#F5F3FF,#FFF7ED);border:1px solid #ECE6F8}
.dm-hic{flex:none;width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:1.6rem;background:#fff;box-shadow:0 8px 18px -10px rgba(58,33,121,.5)}
.dm-ht{margin:0;font-size:1.45rem}
.dm-hs{margin:4px 0 0}
.dm-head[data-pane="learn"]{background:linear-gradient(120deg,#EEF2FF,#F5F3FF)}
.dm-head[data-pane="calc"]{background:linear-gradient(120deg,#ECFEFF,#F0FDF4)}
.dm-head[data-pane="lib"]{background:linear-gradient(120deg,#FFF7ED,#FDF2F8)}
.dm-head[data-pane="set"]{background:linear-gradient(120deg,#F8FAFC,#F1F5F9)}
.view.dm-on[data-pane="learn"] h3.sx-learn,.view.dm-on[data-pane="learn"] h3.sx-learn+p.sec-sub{display:none}
.view.dm-on[data-pane="calc"] #calc-block>h3:first-child,.view.dm-on[data-pane="calc"] #calc-block>h3:first-child+p{display:none}
.view.dm-on[data-pane="lib"] #ws-lib>.lb-ph2{display:none}
.dm-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dm-card{margin:0}
.dm-card>strong{display:block;margin-bottom:8px}
.dm-dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 14px;margin:0}
.dm-dl dt{color:#6B6384;font-size:.88rem}.dm-dl dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.dm-pw{flex-direction:column;align-items:stretch}
.dm-pw .btn{align-self:flex-start}
.dm-pw .err.ok{color:#047857}
.dm-ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:.92rem}
.dm-acts{display:flex;flex-wrap:wrap;gap:8px}
.dm-side{order:-2}
#dm-head{order:-1}
.dm-settings{align-items:stretch}
.dm-pw{display:flex;flex-direction:column;flex-wrap:nowrap;gap:10px}
.dm-pw>label,.dm-pw>.btn,.dm-pw>.err{flex:none}
.dm-mkt{display:flex;align-items:center;gap:10px;min-width:0;padding:7px 12px;border-radius:12px;background:#fff;border:1px solid #d7efe9;box-shadow:0 6px 16px -12px rgba(15,118,110,.45)}
.dm-mtag{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:#0f766e;padding:4px 9px;border-radius:999px}
.dm-mdot{width:7px;height:7px;border-radius:50%;background:#99f6e4;animation:flash-blink 1.2s ease-in-out infinite}
.dm-mwin{flex:1 1 auto;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.dm-mrun{display:inline-flex;gap:26px;white-space:nowrap;animation:flash-move linear infinite;padding-left:8px}
.dm-mkt:hover .dm-mrun,.dm-mkt:focus-within .dm-mrun{animation-play-state:paused}
.dm-mi{font-size:.84rem;color:#1e293b;font-variant-numeric:tabular-nums}
.dm-mi b{font-weight:600;color:#475569}
.dm-mi em{font-style:normal;font-weight:700}
.dm-mi.up em{color:#15803d}.dm-mi.dn em{color:#b91c1c}.dm-mi.flat em{color:#64748b}
.dm-mt{flex:none;font-size:.7rem;color:#64748b;white-space:nowrap}
@media (prefers-reduced-motion:reduce){.dm-mrun{animation:none}.dm-mi[aria-hidden]{display:none}.dm-mwin{overflow-x:auto}}
.view.dm-titled>.block:first-child{display:none!important}
.dm-title{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 16px}
.dm-title strong{font:800 1.3rem "Plus Jakarta Sans",Inter,sans-serif;color:#1e1147;line-height:1.2}
.dm-title span{font-size:.8rem;color:#6b6384;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dm-scol{display:flex;flex-direction:column;gap:16px;min-width:0}.dm-scol>.dm-card{margin:0}
.ws-tile.tl-go{cursor:pointer;position:relative;transition:transform .18s,box-shadow .18s,outline-color .18s;outline:2px solid transparent;outline-offset:2px}
.ws-tile.tl-go:hover{transform:translateY(-2px);box-shadow:0 12px 24px -14px rgba(58,33,121,.55)}
.ws-tile.tl-go:focus-visible{outline-color:#6d28d9}
.ws-tile.tl-on{outline-color:#FF8A3D}
.tl-more{display:block;margin-top:6px;font-size:.74rem;font-style:normal;font-weight:700;color:#6d28d9}
.ws-tile.dark .tl-more{color:#FFB07A}
.tl-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0;padding:8px 12px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;font-weight:600;font-size:.9rem}
.tl-drill{margin-top:14px}
.tl-dh{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tl-dh h3{margin:0}
.tl-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.tl-drill input[type=search]{width:100%;max-width:420px;margin-bottom:10px}
@keyframes tl-flash{0%{box-shadow:0 0 0 0 rgba(255,138,61,.6)}100%{box-shadow:0 0 0 14px rgba(255,138,61,0)}}
.tl-flash{animation:tl-flash 1.1s ease-out 1;border-radius:10px}
.tl-col td:nth-child(4),.tl-col th:nth-child(4){background:#fff7ed}
.tl-drill .scroll{max-height:440px;overflow:auto}
.dm-item:hover{background:#f3effd}
.dm-item.on{background:linear-gradient(120deg,#c7b8fb 0%,#e9b6e6 55%,#fcc9a4 100%);color:#24163f;box-shadow:0 8px 18px -12px rgba(109,40,217,.55)}
.dm-item.on .dm-ic{background:rgba(255,255,255,.72);box-shadow:none}
.view.dm-on[data-pane=learn] .lp-rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.view.dm-on[data-pane=learn] .lp-row{flex-wrap:wrap;align-items:flex-start;align-content:space-between;gap:8px 10px;padding:12px 14px;border-right:1px solid #F1EDF8;border-bottom:1px solid #F1EDF8}
.view.dm-on[data-pane=learn] .lp-row:before{display:none}
.view.dm-on[data-pane=learn] .lp-row+.lp-row{border-top:0}
.view.dm-on[data-pane=learn] .lp-txt{flex:1 1 0}
.view.dm-on[data-pane=learn] .lp-act{width:100%;padding-left:48px;flex-wrap:wrap}
.view.dm-on[data-pane=learn] .lp-row.next{background:linear-gradient(160deg,#FFF4EC,#fff 75%)}
.view.dm-on[data-pane=learn] .lp-head{padding:10px 14px}
.view.dm-on[data-pane=learn] .lp{gap:12px}
.view.dm-on[data-pane=learn] .lp-pill{position:absolute;top:8px;right:10px;font-size:.6rem;padding:2px 7px}
.view.dm-on[data-pane=learn] .lp-row.next .lp-txt{padding-right:62px}
.view.dm-on[data-pane=lib] .lb-grid{grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:10px}
.view.dm-on[data-pane=lib] .lb-tile{padding:0 11px 11px;gap:4px;border-radius:14px}
.view.dm-on[data-pane=lib] .lb-band{margin:0 -11px 2px;padding:7px 11px;min-height:30px;box-sizing:border-box}
.view.dm-on[data-pane=lib] .lb-thumb{height:84px;margin:2px 0}
.view.dm-on[data-pane=lib] .lb-tt{font-size:.9rem}
.view.dm-on[data-pane=lib] .lb-ts{font-size:.76rem;line-height:1.35}
.view.dm-on[data-pane=lib] .lb-acts{margin-top:4px}
.view.dm-on[data-pane=lib] .lb-tag,.view.dm-on[data-pane=lib] .lb-min{white-space:nowrap;font-size:.64rem}
.view.dm-on[data-pane=lib] .lb-tag{min-width:0;overflow:hidden;text-overflow:ellipsis}
.view.dm-on[data-pane=lib] .lb-min{flex:none}
@media (min-width:901px){
.view.dm-on{grid-template-columns:196px minmax(0,1fr) minmax(0,1fr);column-gap:20px}
.dm-side{gap:2px;padding:8px}
.dm-item{padding:7px 9px;gap:9px;font-size:.9rem;border-radius:10px}
.dm-ic{width:28px;height:28px;border-radius:9px;font-size:.95rem}
.dm-note{margin:6px 4px 2px;font-size:.7rem}
}
@media (max-width:900px){
.view.dm-on{grid-template-columns:minmax(0,1fr);column-gap:0}
.view.dm-on>*,.view.dm-on .dm-part{grid-column:1!important}
.view.dm-on>*:not(.dm-side),.view.dm-on .dm-part{grid-row:auto!important}
.dm-side{grid-row:1!important;position:sticky;top:0;z-index:5;flex-direction:row;overflow-x:auto;gap:4px;padding:6px;border-radius:14px;scroll-snap-type:x proximity}
.dm-item{flex:0 0 auto;width:auto;padding:8px 12px;font-size:.88rem;scroll-snap-align:start}
.dm-ic{width:26px;height:26px;font-size:.9rem}
.dm-note{display:none}
.dm-settings{grid-template-columns:minmax(0,1fr)}
.dm-title{display:none}.dm-mt{display:none}
.view.dm-on[data-pane=lib] .lb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.view.dm-on[data-pane=lib] .lb-min{display:none}.view.dm-on[data-pane=lib] .lb-tag{overflow:visible}
}
/* employee and client Box: the menu sits flush on the left edge, the dashboard uses the full width */
@media (min-width:901px){
.wrap:not(:has(>.tabs))>.view.dm-on{max-width:none;width:100%;margin:0;padding:24px 28px 56px 0;column-gap:28px;grid-template-columns:214px minmax(0,1fr) minmax(0,1fr)}
.wrap:not(:has(>.tabs))>.view.dm-on>.dm-side{position:sticky;top:0;align-self:start;margin:-24px 0 0;height:100vh;box-sizing:border-box;padding:18px 12px;border-radius:0 18px 18px 0;border-left:0;border-top:0;gap:4px;overflow-y:auto}
.wrap:not(:has(>.tabs))>.view.dm-on>.dm-side .dm-item{padding:10px 12px}
}
/* calm colour, one solid shade per heading; neighbours never share a shade */
header.top .brand h1{color:#312E81}
.dm-title{flex:1 1 auto;align-items:flex-start;text-align:left;margin-left:4px;padding:2px 0 2px 18px;border-left:2px solid #E9D5FF}
.dm-title strong{font-size:1.35rem;color:#86198F}
.dm-title span{color:#64748B}
#ws-hello>strong .dm-grad{color:#0F766E}
#ws-hello>p{color:#475569}
/* section headings: each its own shade (the icon keeps its colours) */
.view h3.sx-h{color:#312E81}
.view h3.sx-h.sx-rem{color:#C2410C}
.view h3.sx-h.sx-inv{color:#0F766E}
.view h3.sx-h.sx-learn{color:#3730A3}
.view h3.sx-h.sx-calc{color:#6D28D9}
.view h3.sx-h.sx-lib{color:#0369A1}
.view h3.sx-h.sx-gen{color:#86198F}
/* the heading of each menu page */
.dm-head .dm-ht{color:#312E81}
.dm-head[data-pane=learn] .dm-ht{color:#3730A3}
.dm-head[data-pane=calc] .dm-ht{color:#0F766E}
.dm-head[data-pane=lib] .dm-ht{color:#C2410C}
.dm-head[data-pane=set] .dm-ht{color:#475569}
/* settings cards: four different shades */
.dm-scol:first-child>.dm-card:first-child>strong{color:#3730A3}
.dm-scol:first-child>.dm-card:last-child>strong{color:#86198F}
.dm-scol:last-child>.dm-card:first-child>strong{color:#0F766E}
.dm-scol:last-child>.dm-card:last-child>strong{color:#C2410C}
.tl-dh h3{color:#312E81}
/* side menu: each item in its own shade */
.dm-item[data-pane=dash] .dm-tx{color:#6D28D9}
.dm-item[data-pane=learn] .dm-tx{color:#1D4ED8}
.dm-item[data-pane=calc] .dm-tx{color:#0F766E}
.dm-item[data-pane=lib] .dm-tx{color:#C2410C}
.dm-item[data-pane=set] .dm-tx{color:#BE185D}
.dm-item.on .dm-tx{color:#24163F}
/* this month's challenge: easy to spot, two quiet shades */
#ws-journey .task.challenge{background:linear-gradient(115deg,#FFFBEB 0%,#FDF2F8 100%);border:1.5px solid #FBBF24;box-shadow:0 12px 26px -16px rgba(190,24,93,.45)}
#ws-journey .task.challenge .ch-k{color:#BE185D}
#ws-journey .task.challenge .ch-body{color:#7C2D12;font-size:1.18rem}
/* Library sections */
.lg-chips{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px}
.lg-chip{--k:#312E81;display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;border:1.5px solid color-mix(in srgb,var(--k) 30%,#fff);background:#fff;color:var(--k);font:700 .84rem/1 Inter,sans-serif;cursor:pointer}
.lg-chip[aria-pressed=true]{background:var(--k);border-color:var(--k);color:#fff}
.lg-n{min-width:20px;padding:2px 6px;border-radius:999px;background:color-mix(in srgb,var(--k) 12%,#fff);color:var(--k);font-size:.72rem;text-align:center}
.lg-chip[aria-pressed=true] .lg-n{background:rgba(255,255,255,.25);color:#fff}
.lg-wrap{display:flex;flex-direction:column;gap:16px}
.lg-sec{--k:#4F46E5;border:1px solid color-mix(in srgb,var(--k) 18%,#fff);border-radius:16px;background:#fff;padding:0 12px 12px;overflow:hidden}
.lg-head{display:flex;align-items:center;gap:10px;margin:0 -12px 12px;padding:10px 14px;background:linear-gradient(120deg,color-mix(in srgb,var(--k) 12%,#fff),#fff 75%);border-bottom:1px solid color-mix(in srgb,var(--k) 14%,#fff)}
.lg-ic{width:34px;height:34px;flex:none;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 4px 10px -6px var(--k);font-size:1.05rem}
.lg-t{display:flex;flex-direction:column;flex:1;min-width:0}
.lg-t strong{color:var(--k);font-size:1rem}
.lg-t span{font-size:.78rem;color:#64748B}
.lg-c{flex:none;font-size:.74rem;font-weight:700;color:var(--k)}
/* the new infographic pictures show inside booklet pages too */
.lb-pic .lb-pimg[src$=".svg"]{display:block;width:100%;max-width:400px;margin:4px auto 8px;border-radius:14px}
/* a cover already shows its picture at the top, so not twice */
.lb-page.cover .lb-pic .lb-pimg{display:none}
