/* Learner-only worlds. Management and the original tools keep their own styles. */
.learning[data-learning-style]:not([data-learning-style=classic]){--paper:#f1f5ed;--white:#fffef8;--ink:#243e34;--ink2:#376447;--muted:#586b5e;--line:#d3ddce;--soft:#e3eddd;--accent:#376447;--nav-bg:#dae6d1;--nav-text:#294b35;--nav-active:#376447;--hero-bg:#e0ebd8;--card-radius:12px;background:var(--paper);color:var(--ink)}
.learning[data-learning-style]:not([data-learning-style=classic]) #sidebar{width:212px;padding:28px 18px;background:var(--nav-bg);color:var(--nav-text);border-right:1px solid var(--line)}
.learning[data-learning-style]:not([data-learning-style=classic]) .workspace{margin-left:212px}
.learning[data-learning-style]:not([data-learning-style=classic]) .topbar{height:76px;padding:0 28px;background:var(--paper);border-color:var(--line);gap:14px}
.learning[data-learning-style]:not([data-learning-style=classic]) #main{max-width:1600px;padding:24px 30px 48px}
.learning[data-learning-style]:not([data-learning-style=classic]) .brand{gap:10px;color:var(--nav-text);padding:0;margin-bottom:36px}
.learning[data-learning-style]:not([data-learning-style=classic]) .brand strong{font-size:19px;letter-spacing:0}
.learning[data-learning-style]:not([data-learning-style=classic]) .brand>span:last-child{min-width:0}
.learning[data-learning-style]:not([data-learning-style=classic]) .brand strong{font-size:16px;white-space:nowrap}
.learning[data-learning-style]:not([data-learning-style=classic]) .brand small{color:var(--nav-text);opacity:1;font-size:12px;margin-top:5px}
.learning[data-learning-style]:not([data-learning-style=classic]) .seal{background:var(--nav-active);color:#fff;width:40px;height:44px;border-radius:11px;flex-shrink:0}
.learning .seal svg{width:25px;height:25px}
.learning[data-learning-style]:not([data-learning-style=classic]) .nav-label{color:var(--nav-text);font-size:12px;margin:20px 12px 12px}
.learning[data-learning-style]:not([data-learning-style=classic]) .nav-item{color:var(--nav-text);font-size:15px;padding:13px 14px;margin:5px 0;gap:12px;border-radius:10px}
.learning[data-learning-style]:not([data-learning-style=classic]) .nav-item.active{background:var(--nav-active);color:#fff;box-shadow:none}
.learning[data-learning-style]:not([data-learning-style=classic]) .nav-item:not(.active):hover{background:var(--soft)}
.learning[data-learning-style]:not([data-learning-style=classic]) .side-foot{color:var(--nav-text);font-size:12px;padding:20px 6px 0}
.learning[data-learning-style]:not([data-learning-style=classic]) .side-foot p{color:var(--nav-text)}
.learning .side-foot a{display:flex;align-items:center;gap:7px;text-decoration:none;padding:7px 0;font-size:12px}
.learning .side-foot a svg{width:15px;height:15px}
.learner-side-note{margin:38px 14px;color:var(--nav-text)}
.learner-side-note>svg{width:44px;height:44px;stroke-width:1}
.learner-side-note p{font-size:17px;line-height:1.8;margin-top:10px}
.learning[data-learning-style]:not([data-learning-style=classic]) .crumb{font-size:12px;color:var(--muted);white-space:nowrap}
.learning[data-learning-style]:not([data-learning-style=classic]) .search{background:var(--white);border-color:var(--line);max-width:320px;min-width:160px;color:var(--muted)}
.learning[data-learning-style]:not([data-learning-style=classic]) .search input{color:var(--ink);font-size:12px}
.learning[data-learning-style]:not([data-learning-style=classic]) .search input::placeholder{color:var(--muted)}
.learning[data-learning-style]:not([data-learning-style=classic]) .avatar{display:none}
.learning[data-learning-style]:not([data-learning-style=classic]) .mode-button{background:transparent;color:var(--muted);border-color:var(--line);padding:8px 11px;font-size:12px;white-space:nowrap}
.style-toggle{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--white);color:var(--ink);padding:9px 12px;border-radius:8px;white-space:nowrap;font-size:12px;min-height:40px}
.style-toggle svg{width:17px;height:17px}
.learning-welcome{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:center;min-height:190px;background:var(--hero-bg);padding:24px 32px;border-radius:var(--card-radius);position:relative;overflow:hidden}
.learning-welcome h1{font-size:clamp(23px,2.3vw,33px);line-height:1.4;letter-spacing:0;text-wrap:balance;position:relative;z-index:1}
.learning-welcome p{font-size:14px;line-height:1.8;color:var(--muted);margin:12px 0 16px;max-width:48ch}
.learning-start{display:inline-flex;align-items:center;gap:9px;color:var(--accent);font-size:13px;font-weight:700;text-decoration:none;padding:4px 0}
.learning-start svg{width:18px;height:18px}
.learning-art{width:100%;height:auto;max-height:180px}
.style-picker{margin:18px 0 24px}
.style-picker-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.style-picker-head strong{font-size:13px;font-weight:600}.style-picker-head>span{font-size:11px;color:var(--muted)}
.style-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.style-option{display:flex;align-items:center;text-align:left;gap:9px;min-width:0;min-height:64px;padding:10px;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:9px;position:relative}
.style-option b{display:block;font-size:12px;font-weight:700}.style-option small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.style-option[aria-pressed=true]{border:2px solid var(--accent,#376447);padding:9px;background:var(--soft)}
.style-selected{margin-left:auto;font-size:10px;color:var(--muted);white-space:nowrap}
.style-option[aria-pressed=true] .style-selected{color:var(--accent,#376447);font-weight:700}
.style-swatch{width:34px;height:34px;border-radius:6px;overflow:hidden;display:flex;flex-shrink:0;background:#e0ebd8;align-items:flex-end;padding:5px;gap:2px}
.style-swatch i{width:8px;height:18px;background:#57875a;border-radius:2px}.style-swatch i:nth-child(2){height:12px;background:#e8b650}.style-swatch i:nth-child(3){height:23px;background:#fffdf0}
.sample-space .style-swatch{background:#172b4a;border-radius:50%;align-items:center}.sample-space .style-swatch i{background:#8daee5;border-radius:50%;height:12px}.sample-space .style-swatch i:nth-child(2){background:#edc373;height:8px}.sample-space .style-swatch i:nth-child(3){background:#e89f8b;height:6px}
.sample-focus .style-swatch{background:#edf2fa;border-radius:3px}.sample-focus .style-swatch i{border-radius:0;background:#4970b0}.sample-focus .style-swatch i:nth-child(2){background:#b9cce8}.sample-focus .style-swatch i:nth-child(3){background:#fff}
.sample-classic .style-swatch{background:#233d34}.sample-classic .style-swatch i{background:#b79d64}.sample-classic .style-swatch i:nth-child(2){background:#f4f1e8}.sample-classic .style-swatch i:nth-child(3){background:#907cc7}
.learning-browser{scroll-margin-top:95px}
.learning-filter-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px}
.learning .learning-filter-top .learn-grade{margin:0;gap:6px}
.learning[data-learning-style]:not([data-learning-style=classic]) .learn-grade button{padding:7px 16px;border-radius:7px;font-size:12px;border:1px solid var(--line);background:var(--white);color:var(--muted);min-height:36px}
.learning[data-learning-style]:not([data-learning-style=classic]) .learn-grade button.active{background:var(--accent);color:var(--white);border-color:var(--accent)}
.learning[data-learning-style]:not([data-learning-style=classic]) .count{color:var(--muted);font-size:12px}
.learning[data-learning-style]:not([data-learning-style=classic]) .subjects{gap:6px;border-bottom:1px solid var(--line);padding-bottom:17px;margin:0 0 18px}
.learning[data-learning-style]:not([data-learning-style=classic]) .chip{padding:7px 10px;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:7px;font-size:12px;min-height:36px}
.learning[data-learning-style]:not([data-learning-style=classic]) .chip small{color:inherit;opacity:1;font-size:10px;margin-left:6px}
.learning[data-learning-style]:not([data-learning-style=classic]) .chip.active{background:var(--soft);color:var(--accent);border-color:var(--line);font-weight:700}
.learning-results-heading{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:15px}
.learning-results-heading h2{font-size:18px}.learning-results-heading>span{font-size:11px;color:var(--muted)}
.learning .learning-tool-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,255px),1fr));gap:18px}
.learning[data-learning-style]:not([data-learning-style=classic]) .tool-card{background:var(--white);border-color:var(--line);border-radius:var(--card-radius);box-shadow:0 4px 12px #1a304407;min-width:0}
.learning[data-learning-style]:not([data-learning-style=classic]) .tool-content{padding:13px 17px 6px}
.learning[data-learning-style]:not([data-learning-style=classic]) .tool-content h3{font-size:17px;line-height:1.5;color:var(--ink)}
.learning[data-learning-style]:not([data-learning-style=classic]) .tool-content p{color:var(--muted);font-size:13px;line-height:1.8;min-height:0;margin-top:9px}
.learning-category{display:block;font-size:10px;color:var(--muted);margin-top:9px}
.learning[data-learning-style]:not([data-learning-style=classic]) .tool-foot{padding:8px 17px 15px;margin-top:auto;gap:8px}
.learning[data-learning-style]:not([data-learning-style=classic]) .open-tool{font-size:13px;color:var(--accent);min-height:40px}
.learning[data-learning-style]:not([data-learning-style=classic]) .detail-link{color:var(--muted);font-size:11px;min-height:40px}
.learning[data-learning-style]:not([data-learning-style=classic]) .tool-content .icon-button{color:var(--muted);background:transparent}
.learning[data-learning-style]:not([data-learning-style=classic]) .tool-content .icon-button.saved{color:#745619;background:#f6e5af}
.learning[data-learning-style]:not([data-learning-style=classic]) .preview{aspect-ratio:16/9}
.learning[data-learning-style]:not([data-learning-style=classic]) .stage-badge{font-size:10px;top:10px;left:10px;padding:4px 9px}
.learning[data-learning-style]:not([data-learning-style=classic]) .empty{background:var(--soft);border-color:var(--line);color:var(--ink)}
.learning[data-learning-style]:not([data-learning-style=classic]) .empty p{color:var(--muted)}
.learning[data-learning-style]:not([data-learning-style=classic]) :is(.page-heading h1,.record h3){color:var(--ink)}
.learning[data-learning-style]:not([data-learning-style=classic]) footer{color:var(--muted);border-color:var(--line);font-size:11px}
.learning[data-learning-style]:not([data-learning-style=classic]) :is(a,button,input,select):focus-visible{outline:3px solid var(--accent);outline-offset:4px}

/* Field journal: leafy notebook cover, binding dots and an open sketchbook. */
.learning[data-learning-style=nature] .learning-welcome{border:1px solid #c8d8bf;padding-left:40px}
.learning[data-learning-style=nature] .learning-welcome:before{content:"";position:absolute;left:13px;top:20px;bottom:20px;width:5px;background:radial-gradient(circle,#7e9a72 2px,transparent 2.5px) center top/5px 18px repeat-y}
.learning[data-learning-style=nature] .learning-welcome h1{font-family:inherit;font-weight:700;font-size:34px}
.learning[data-learning-style=nature] .tool-card{border-radius:5px 15px 15px 5px}
.learning[data-learning-style=nature] .learning-start{border-bottom:1px solid #89a477}

/* Orbital atlas: dark ink, fine orbital lines, warm gold navigation. No neon. */
.learning[data-learning-style=space]{--paper:#122039!important;--white:#1c2e49!important;--ink:#edf3ff!important;--ink2:#f0c677!important;--muted:#b8c8e2!important;--line:#3c506e!important;--soft:#273c5c!important;--accent:#f0c677!important;--nav-bg:#0d192d!important;--nav-text:#c6d4ea!important;--nav-active:#304c78!important;--hero-bg:#1b3052!important;--card-radius:14px!important}
.learning[data-learning-style=space] .learning-welcome{border:1px solid #435a80}
.learning[data-learning-style=space] .learning-welcome h1{letter-spacing:1px}
.learning[data-learning-style=space] .tool-card .preview{border-bottom:1px solid #435a80}
.learning[data-learning-style=space] .learn-grade button.active{color:#162740}
.learning[data-learning-style=space] .learning-start{color:#f0c677}
.learning[data-learning-style=space] .seal{border:1px solid #5e7eae;background:transparent!important;color:#f0c677!important;border-radius:50%!important}
.learning[data-learning-style=space] .learner-side-note>svg{color:#f0c677}
.learning[data-learning-style=space] .style-option[aria-pressed=true]{background:#2a3e5c}
.learning[data-learning-style=space] .preview img{filter:saturate(.78)}
.learning[data-learning-style=space] .record{background:var(--white);border-color:var(--line)}
.learning[data-learning-style=space] .record p,.learning[data-learning-style=space] .record small{color:var(--muted)}
.learning[data-learning-style=space] .search kbd{color:var(--muted);border-color:var(--line)}
.learning[data-learning-style=space] #details{--ink:#243e34;--ink2:#376447;--muted:#586b5e;--white:#fffef8;--line:#d3ddce;color:var(--ink);background:#fffef8}
.learning[data-learning-style=space] #details :is(a,button):focus-visible{outline-color:#376447}
.learning[data-learning-style=space] #details .primary{color:#fff}

/* Study desk: white space, cobalt type, a shorter greeting and horizontal tools. */
.learning[data-learning-style=focus]{--paper:#f7f9fc!important;--white:#fff!important;--ink:#233b5a!important;--ink2:#315f9f!important;--muted:#5c6c82!important;--line:#d5dfec!important;--soft:#e9f0fb!important;--accent:#315f9f!important;--nav-bg:#fff!important;--nav-text:#445b78!important;--nav-active:#315f9f!important;--hero-bg:#edf2fa!important;--card-radius:7px!important}
.learning[data-learning-style=focus] .learning-welcome{min-height:145px;padding:20px 28px;grid-template-columns:minmax(0,1fr) 230px;border:1px solid var(--line)}
.learning[data-learning-style=focus] .learning-welcome h1{font-size:27px}.learning[data-learning-style=focus] .learning-art{max-height:135px}
.learning[data-learning-style=focus] .learner-side-note{display:none}
.learning[data-learning-style=focus] .learning-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.learning[data-learning-style=focus] .tool-card{display:grid;grid-template-columns:125px minmax(0,1fr);grid-template-rows:1fr auto;padding:14px;gap:0 16px;box-shadow:none}
.learning[data-learning-style=focus] .preview{grid-row:1/3;align-self:start;aspect-ratio:1;min-width:0;border-radius:6px}
.learning[data-learning-style=focus] .stage-badge{position:static;display:block;max-width:none;border-radius:0;font-size:9px;padding:3px;position:absolute;top:auto;left:0;bottom:0;width:100%}
.learning[data-learning-style=focus]:not([data-learning-style=classic]) .preview{aspect-ratio:1}
.learning[data-learning-style=focus]:not([data-learning-style=classic]) .stage-badge{top:auto;left:0;bottom:0;padding:4px;font-size:9px;line-height:1.4}
.learning[data-learning-style=focus] .tool-content{padding:0}
.learning[data-learning-style=focus] .tool-content h3{font-size:16px}
.learning[data-learning-style=focus] .tool-content p{font-size:12px;margin-top:6px}
.learning[data-learning-style=focus] .tool-foot{padding:7px 0 0}
.learning[data-learning-style=focus] .tool-foot .open-tool{min-height:32px;font-size:12px}
.learning[data-learning-style=focus] .tool-foot .detail-link{min-height:32px}
.learning[data-learning-style=focus] .tool-content .icon-button{width:28px;height:28px}

@media(min-width:1700px){.learning .learning-tool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.learning[data-learning-style]:not([data-learning-style=classic]) .crumb{display:none}.style-selected{display:none}.learning-welcome{grid-template-columns:minmax(0,1fr) 240px}.style-option{gap:7px}.learning[data-learning-style=focus] .tool-card{grid-template-columns:95px minmax(0,1fr);gap:0 12px}}
@media(max-width:1000px){.learning[data-learning-style=focus] .learning-tool-grid{grid-template-columns:1fr}.learning[data-learning-style=focus] .tool-card{grid-template-columns:135px minmax(0,1fr)}.style-options{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-welcome{grid-template-columns:minmax(0,1fr) 190px}.learning[data-learning-style=nature] .learning-welcome h1{font-size:29px}}
@media(max-width:850px){.learning[data-learning-style]:not([data-learning-style=classic]) #sidebar{width:240px}.learning[data-learning-style]:not([data-learning-style=classic]) .workspace{margin-left:0}.learning[data-learning-style]:not([data-learning-style=classic]) .topbar{height:66px;padding:0 18px;gap:10px}.learning[data-learning-style]:not([data-learning-style=classic]) #main{padding:20px}.learning .style-toggle span{max-width:155px;overflow:hidden;text-overflow:ellipsis}.learning .style-toggle{margin-left:auto}.learning[data-learning-style]:not([data-learning-style=classic]) .search{margin:0;flex:1;max-width:300px}}
@media(max-width:620px){.learning[data-learning-style]:not([data-learning-style=classic]) .topbar{flex-wrap:wrap;height:auto;min-height:110px;padding:12px 16px;gap:9px}.learning[data-learning-style]:not([data-learning-style=classic]) .search{order:4;flex-basis:100%;max-width:none;width:100%;height:36px}.learning[data-learning-style]:not([data-learning-style=classic]) #main{padding:16px}.learning .style-toggle{font-size:11px;padding:7px 9px}.learning[data-learning-style]:not([data-learning-style=classic]) .mode-button{font-size:11px;padding:7px 9px}.learning-welcome{min-height:155px;padding:20px;grid-template-columns:1fr 110px;gap:0}.learning[data-learning-style=nature] .learning-welcome{padding-left:26px}.learning[data-learning-style=nature] .learning-welcome:before{left:9px}.learning[data-learning-style=nature] .learning-welcome h1,.learning-welcome h1{font-size:24px}.learning-welcome p{font-size:12px;margin:9px 0}.learning-start{font-size:11px}.learning-art{width:145px;max-width:none;margin-left:-18px}.style-picker{margin:16px 0 20px}.style-picker-head{display:block}.style-picker-head>span{display:block;font-size:10px;margin-top:3px}.style-options{gap:7px}.style-option{padding:8px;min-height:58px;gap:7px}.style-option[aria-pressed=true]{padding:7px}.style-option b{font-size:11px}.style-option small{font-size:10px}.style-swatch{width:28px;height:30px}.learning-filter-top{flex-wrap:wrap;gap:9px}.learning .learning-filter-top .learn-grade{width:100%;display:flex;gap:5px}.learning[data-learning-style]:not([data-learning-style=classic]) .learn-grade button{flex:1;padding:7px 5px;font-size:12px;min-height:40px}.learning[data-learning-style]:not([data-learning-style=classic]) .chip{min-height:40px;padding:7px 9px;font-size:11px}.learning[data-learning-style]:not([data-learning-style=classic]) .subjects{gap:3px}.learning-results-heading>span{font-size:10px}.learning-results-heading h2{font-size:17px}.learning .learning-tool-grid{grid-template-columns:1fr;gap:16px}.learning[data-learning-style]:not([data-learning-style=classic]) .tool-content h3{font-size:18px}.learning[data-learning-style]:not([data-learning-style=classic]) .tool-content p{font-size:14px}.learning[data-learning-style]:not([data-learning-style=classic]) .open-tool{font-size:14px}.learning[data-learning-style=focus] .learning-welcome{padding:18px;grid-template-columns:1fr 95px;min-height:150px}.learning[data-learning-style=focus] .learning-welcome h1{font-size:23px}.learning[data-learning-style=focus] .learning-art{width:130px}.learning[data-learning-style=focus] .tool-card{grid-template-columns:85px minmax(0,1fr);padding:12px;gap:0 12px}.learning[data-learning-style=focus] .tool-content h3{font-size:16px}.learning[data-learning-style=focus] .tool-content p{font-size:12px}.learning[data-learning-style=focus] .tool-foot{grid-column:1/3;padding-top:8px}.learning[data-learning-style=focus] .tool-foot .open-tool{font-size:13px;min-height:40px}.learning[data-learning-style=focus] .preview{grid-row:1}.learning[data-learning-style=focus] .tool-foot .detail-link{min-height:40px}.learning[data-learning-style=classic] .style-toggle{margin:0}.learning[data-learning-style=classic] .style-toggle span{max-width:75px}.learning[data-learning-style=classic] .topbar{flex-wrap:wrap;height:auto;padding-top:10px;padding-bottom:10px}.learning[data-learning-style=classic] .style-picker{max-width:100%}}
@media(prefers-reduced-motion:reduce){.learning[data-learning-style] *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.learning .stage-context-note{font-size:12px;line-height:1.8;color:var(--muted);margin:12px 0 18px}.learning .stage-context-note .text-button{color:var(--ink2);font-size:inherit;padding:0 4px;text-decoration:underline}
