/* Lighter, multi-shade desk: soft lavender menu, tinted tiles, shaded journey card. */
@media (min-width:900px){
  .wrap:has(>.tabs)>.tabs{background:linear-gradient(180deg,#EFEBFC,#F8EEF6);border-right:1px solid var(--line)}
  .wrap:has(>.tabs) .tab{color:#3A2F63}
  .wrap:has(>.tabs) .tab:hover{background:#E2DBF7}
  .wrap:has(>.tabs) .tab[aria-selected="true"]{background:var(--btn);color:#fff}
}
.ws-tiles .ws-tile:nth-child(1){background:#F1EDFC;border-color:#DDD5F6}
.ws-tiles .ws-tile:nth-child(1) b{color:#3A2179}
.ws-tiles .ws-tile:nth-child(2){background:#FCEEF5;border-color:#F3D3E3}
.ws-tiles .ws-tile:nth-child(2) b{color:#A61F66}
.ws-tiles .ws-tile:nth-child(3){background:#FFF2E6;border-color:#F6DCC2}
.ws-tiles .ws-tile:nth-child(3) b{color:#9A4700}
.ws-tiles .ws-tile.dark{background:linear-gradient(135deg,#3A2179,#6A3FC0);border-color:transparent}
.ws-tiles .ws-tile.dark b{color:#fff}
#ws-journey,.pv .journey{background:linear-gradient(135deg,#34206F,#5A3BC2 55%,#9440B0);border-color:transparent}
#ws-journey .dot,.pv .journey .dot{border-color:#CFC5F2;color:#fff}
#ws-journey .badge,.pv .journey .badge,#ws-journey .task,#ws-journey .next{background:rgba(255,255,255,.15)}
#ws-journey .chip{background:rgba(0,0,0,.28)}
.char{border-radius:50%;object-fit:cover;background:#ECE8F8;flex:none}
.factcard{flex-direction:row;gap:16px;align-items:center;background:linear-gradient(135deg,#F1EDFC,#FCEEF5);border-color:#DDD5F6}
.factcard .txt{display:flex;flex-direction:column;gap:6px;align-items:flex-start;min-width:0}
.dyk .char{display:block;margin:0 auto 6px}
.dyk .factline{border-top:1px solid var(--line);padding-top:10px}
.st-who span{display:none}
/* Learn as a journey route: one colour family and one icon per station */
.learn-path{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.learn-path li{--c1:#5B3FD0;--c2:#8E6CF0;--t:#F1EDFC;position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 12px 12px;border:1px solid var(--line);border-top:4px solid var(--c1);border-radius:14px;background:linear-gradient(165deg,var(--t),#fff 72%);transition:transform .15s ease,box-shadow .15s ease}
.learn-path li:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(30,17,71,.08)}
.learn-path li:last-child{border-bottom:1px solid var(--line)}
.learn-path li>span{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.learn-path li .muted.small{display:none}
.learn-path li strong{font-size:.93rem;line-height:1.3}
.learn-path .stop-head{display:flex;align-items:center;gap:8px;width:100%}
.learn-path .stop-n{width:38px;height:38px;border-radius:11px;flex:none;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--c1),var(--c2));box-shadow:0 6px 14px rgba(30,17,71,.18)}
.learn-path .stop-ic{width:21px;height:21px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.learn-path .stop-k{white-space:nowrap;font-size:.68rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--c1)}
.learn-path .stop-n{position:relative}
.learn-path .stop-ok{position:absolute;right:-6px;bottom:-6px;border:2px solid #fff;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:800;color:#fff;background:#1E9E6A}
.learn-path li .chip{background:rgba(255,255,255,.75);color:var(--c1);border:1px solid var(--t)}
.learn-path li.done .chip{color:#0F5E41}
.learn-path li .btn.sm{min-height:34px;padding:0 10px;background:#fff}
.learn-path li .st-play{border-color:var(--c1);color:var(--c1)}
.learn-path li.next{box-shadow:0 0 0 2px #FF8A3D,0 10px 22px rgba(255,138,61,.2)}
.learn-path li.next:after{content:"Up next";position:absolute;top:-11px;right:10px;padding:2px 8px;border-radius:999px;font-size:.66rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:#FF8A3D}
.learn-path li.s1{--c1:#4F46E5;--c2:#818CF8;--t:#EEF0FF}
.learn-path li.s2{--c1:#0E8F86;--c2:#3CC7B8;--t:#E5F7F5}
.learn-path li.s3{--c1:#D6336C;--c2:#F783AC;--t:#FDEDF3}
.learn-path li.s4{--c1:#7C3AED;--c2:#B794F4;--t:#F3EEFF}
.learn-path li.s5{--c1:#C2410C;--c2:#FB923C;--t:#FFF1E6}
.learn-path li.s6{--c1:#0369A1;--c2:#38BDF8;--t:#E8F5FD}
.learn-path li.s7{--c1:#B45309;--c2:#FBBF24;--t:#FFF7E3}
.learn-path li.s8{--c1:#15803D;--c2:#4ADE80;--t:#E9F8EE}
.learn-path li.s9{--c1:#9333EA;--c2:#E879F9;--t:#F8EDFE}
.learn-path li.s10{--c1:#BE123C;--c2:#FB7185;--t:#FFEDF0}
.learn-path li.s11{--c1:#1D4ED8;--c2:#60A5FA;--t:#EAF1FF}
.learn-path li.s12{--c1:#475569;--c2:#94A3B8;--t:#EEF2F6}
/* calculators: pick one, see one */
.calc-pick{display:flex;flex-wrap:wrap;gap:6px}
.calc-pick .btn{font-weight:500}
.calc-pick .btn[aria-pressed="true"]{background:var(--btn);border-color:var(--btn);color:#fff}
/* glossy, multi-colour main buttons */
.btn.primary{--g1:#4F46E5;--g2:#7C3AED;--g3:#C026D3;border:0;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.18);
  background:linear-gradient(180deg,rgba(255,255,255,.32),rgba(255,255,255,.06) 48%,rgba(0,0,0,0) 52%),linear-gradient(120deg,var(--g1),var(--g2) 55%,var(--g3));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -2px 0 rgba(0,0,0,.12),0 6px 16px -4px var(--g2);transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
.btn.primary:hover{filter:brightness(1.07) saturate(1.05);transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 0 rgba(0,0,0,.12),0 10px 20px -6px var(--g2)}
.btn.primary:active{transform:translateY(0);filter:brightness(.97)}
.btn.primary:disabled{filter:grayscale(.4);transform:none}
form:has(#rem-kind) .btn.primary{--g1:#F97316;--g2:#EC4899;--g3:#DB2777}
form:has(#inv-kind) .btn.primary{--g1:#0D9488;--g2:#10B981;--g3:#22C55E}
form:has(#topic) .btn.primary{--g1:#0284C7;--g2:#3B82F6;--g3:#6366F1}
.cols>.block:last-child>.panel:last-child .btn.primary{--g1:#7C3AED;--g2:#C026D3;--g3:#F43F5E}
#calc-block .btn.primary{--g1:#4F46E5;--g2:#2563EB;--g3:#0EA5E9}
/* Journey card: warm sunrise look, each station dot in its own colour */
#ws-journey,.pv .journey{background:radial-gradient(120% 140% at 100% 0%,#E9E4FF 0%,rgba(233,228,255,0) 55%),linear-gradient(120deg,#FFF1E3 0%,#FFE6EE 50%,#FFF4E8 100%);border:1px solid #F5D8CC;color:#1D1442;box-shadow:0 14px 30px -12px rgba(214,51,108,.25)}
#ws-journey>strong{color:#1D1442}
#ws-journey .small,.pv .journey .small{color:#4A3F5C}
#ws-journey .dot,.pv .journey .dot{--dc:#4F46E5;background:#fff;border:2px solid var(--dc);color:var(--dc);font-weight:800}
#ws-journey .dot.done,.pv .journey .dot.done{background:linear-gradient(135deg,var(--dc),var(--dc));border-color:var(--dc);color:#fff;box-shadow:0 4px 10px -2px var(--dc)}
#ws-journey .dot:nth-child(2),.pv .journey .dot:nth-child(2){--dc:#0E8F86}
#ws-journey .dot:nth-child(3),.pv .journey .dot:nth-child(3){--dc:#D6336C}
#ws-journey .dot:nth-child(4),.pv .journey .dot:nth-child(4){--dc:#7C3AED}
#ws-journey .dot:nth-child(5),.pv .journey .dot:nth-child(5){--dc:#C2410C}
#ws-journey .dot:nth-child(6),.pv .journey .dot:nth-child(6){--dc:#0369A1}
#ws-journey .dot:nth-child(7),.pv .journey .dot:nth-child(7){--dc:#B45309}
#ws-journey .dot:nth-child(8),.pv .journey .dot:nth-child(8){--dc:#15803D}
#ws-journey .dot:nth-child(9),.pv .journey .dot:nth-child(9){--dc:#9333EA}
#ws-journey .dot:nth-child(10),.pv .journey .dot:nth-child(10){--dc:#BE123C}
#ws-journey .dot:nth-child(11),.pv .journey .dot:nth-child(11){--dc:#1D4ED8}
#ws-journey .dot:nth-child(12),.pv .journey .dot:nth-child(12){--dc:#475569}
#ws-journey .badge,.pv .journey .badge{background:#fff;color:#1D1442;border:1px solid #F0D9D0;box-shadow:0 2px 6px rgba(30,17,71,.06)}
#ws-journey .badge.off,.pv .journey .badge.off{opacity:.55}
#ws-journey .task,#ws-journey .next{background:rgba(255,255,255,.78);border:1px solid #F3DDD3}
#ws-journey .next .btn,#ws-journey .task .btn{border:0;color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,0) 50%),linear-gradient(120deg,#F97316,#EC4899);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 6px 14px -4px #EC4899}
#ws-journey .next .btn.st-play{background:#fff;color:#C2410C;border:1.5px solid #F97316;box-shadow:none}
#ws-journey .chip{background:#E3F4EC;color:#0F5E41}
#ws-flash.flash{background:linear-gradient(90deg,#053B33,#0F766E 60%,#0E7490);box-shadow:0 8px 20px -6px rgba(15,118,110,.45)}
#ws-flash .flash-tag{background:#FCD34D;color:#3B2A00}
#ws-flash .flash-item:before{color:#FCD34D}
#ws-flash .flash-note{color:#CCF2EA}
#ws-fact.factcard{background:linear-gradient(135deg,#FFF7ED,#FDF2F8);border-color:#F5DCCB}
/* station tiles: minutes on one line, Story and Read side by side at the same width, always at the bottom */
.learn-path li>span:last-child{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%;margin-top:auto}
.learn-path li>span:last-child .chip{grid-column:1/-1;justify-self:start}
.learn-path li>span:last-child .btn{width:100%;justify-content:center;padding:0 6px}
