body[data-screen-tool=app-guide]{height:var(--studio-app-height);min-height:0;padding:6px 12px!important}
body[data-screen-tool=app-guide]>.wrap{height:100%;min-height:0;max-width:1500px;display:flex;flex-direction:column;gap:8px}
/* Let the introduction grow with its text instead of clipping centered content. */
body[data-screen-tool=app-guide]:not(.catalog-browsing)>.wrap{height:auto;min-height:100%}
body[data-screen-tool=app-guide] .topbar{display:none}
body[data-screen-tool=app-guide] .guide-entry-controls{margin:0;padding:6px 10px;gap:8px;flex-wrap:nowrap;flex:none}
body[data-screen-tool=app-guide] .guide-entry-controls a{padding:7px 12px;white-space:nowrap}
body[data-screen-tool=app-guide] .hero{padding:18px 24px;flex:1 0 auto;min-height:min-content;margin:0;display:flex;flex-direction:column;justify-content:center;gap:9px}
body[data-screen-tool=app-guide] .hero h1{font-size:clamp(24px,3.2vw,40px);margin:0;line-height:1.3}
body[data-screen-tool=app-guide] .hero>p{margin:0;line-height:1.5}
body[data-screen-tool=app-guide] .hero .guide-smiling-do{width:48px;height:52px}
body[data-screen-tool=app-guide] .eyebrow{margin:0}
body[data-screen-tool=app-guide] .stats{margin:0;gap:7px}
body[data-screen-tool=app-guide] .stat{padding:5px 10px}
body[data-screen-tool=app-guide] .quote{margin:0;padding:12px 16px;font-family:inherit;font-size:1.25rem;font-style:normal;font-weight:500;line-height:1.55}
body[data-screen-tool=app-guide] .journeys{flex:none;margin:0;padding:0}
body[data-screen-tool=app-guide] .journeys h2{margin:0;font-size:20px}
body[data-screen-tool=app-guide] .lead{margin:3px 0;font-size:12px}
body[data-screen-tool=app-guide] .footer{flex:none;margin:0;padding:2px;font-size:10px;line-height:1.3}
body[data-screen-tool=app-guide] .journey-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:7px 0}
body[data-screen-tool=app-guide] .journey{padding:14px 16px;min-height:84px}
body[data-screen-tool=app-guide] .journey b{font-size:1.25rem;line-height:1.35}
body[data-screen-tool=app-guide] .journey small{display:block;margin-top:5px;font-size:.9375rem;line-height:1.35}
body[data-screen-tool=app-guide]:not(.catalog-browsing) :is(#guide,.tools,#empty){display:none!important}
body[data-screen-tool=app-guide].catalog-browsing :is(.hero,.journeys){display:none}
body[data-screen-tool=app-guide] .tools{display:flex;flex-wrap:wrap;gap:7px;margin:0;flex:none}
body[data-screen-tool=app-guide] .tools #search{width:100%;padding:8px;min-height:32px;font-size:14px}
body[data-screen-tool=app-guide] #guide{flex:1;min-height:0;display:flex;flex-direction:column}
body[data-screen-tool=app-guide] .category{margin:0;min-height:0;flex:1;display:flex;flex-direction:column}
body[data-screen-tool=app-guide] .category-head{padding:4px 0;margin:0;flex:none}
body[data-screen-tool=app-guide] .category-head h2{font-size:18px;margin:0}
body[data-screen-tool=app-guide] .app-grid{display:flex;flex:1;min-height:0}
body[data-screen-tool=app-guide] .app-card{width:100%;padding:16px;min-height:0;display:grid;grid-template-columns:minmax(170px,.5fr) 1fr;grid-template-rows:auto auto 1fr auto;gap:10px 24px;align-content:center}
body[data-screen-tool=app-guide] .app-illustration{grid-column:1;grid-row:1/5;align-self:stretch;margin:0;min-height:0;aspect-ratio:auto;border-radius:12px;background-size:300% 400%}
body[data-screen-tool=app-guide] .app-no{grid-column:2;margin:0}
body[data-screen-tool=app-guide] .app-card h3{grid-column:2;margin:0;font-size:25px}
body[data-screen-tool=app-guide] .app-card p{grid-column:2;font-size:17px;line-height:1.6;margin:0;align-self:start}
body[data-screen-tool=app-guide] .open-app{grid-column:2;justify-self:start;margin:0;font-size:16px;padding:9px 16px}
.catalog-choice,.catalog-back{box-sizing:border-box;min-width:0;max-width:100%;border:1px solid var(--border,var(--line,#637b99));background:var(--panel,#202b3b);color:var(--text,#f0f4fc);border-radius:8px;padding:8px;font:14px/1.3 'Segoe UI',sans-serif}
body[data-screen-tool=app-guide] .app-illustration.theremin-illustration{aspect-ratio:1672/941;width:100%;height:auto;max-height:100%;align-self:center;background-size:contain;background-position:center}
@media(max-width:650px){body[data-screen-tool=app-guide] .app-illustration.theremin-illustration{width:auto;max-width:100%;height:155px;max-height:155px}}
.catalog-back{cursor:pointer}
body[data-screen-tool=app-guide] [hidden]{display:none!important}
body[data-screen-tool=music-glossary]{height:var(--studio-app-height);min-height:0;padding:6px!important;display:flex;flex-direction:column}
body[data-screen-tool=music-glossary]>header{padding:4px 10px;flex:none}
body[data-screen-tool=music-glossary]>header h1{font-size:22px;margin:0}
body[data-screen-tool=music-glossary]>main{padding:8px;flex:1;width:100%;max-width:1100px;min-height:0;box-sizing:border-box}
body[data-screen-tool=music-glossary] .music-dictionary-page{position:static;box-sizing:border-box;width:100%;max-width:100%;height:100%;margin:0;padding:6px;display:flex!important;flex-direction:column;gap:8px;overflow:visible!important}
body[data-screen-tool=music-glossary] .music-dictionary-page input{padding:8px;margin:0;font-size:14px;height:36px;flex:none;box-sizing:border-box}
body[data-screen-tool=music-glossary] .music-dictionary-page>div{flex:1;min-height:0;overflow:visible!important}
body[data-screen-tool=music-glossary] article{font-size:17px;line-height:1.6;padding:16px}
body[data-screen-tool=music-glossary] [hidden]{display:none!important}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"]{height:var(--studio-app-height);min-height:0;display:flex;flex-direction:column;padding:8px 12px!important;gap:8px}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"]>header{padding:4px;flex:none}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"]>header h1{margin:0;font-size:24px}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"]>header p{font-size:12px!important;line-height:1.3!important;margin:4px 0!important;max-width:none!important}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .search-wrap{margin:8px auto 0}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .catalog-bar{display:flex;gap:8px;max-width:1400px;width:100%;margin:auto;flex:none}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .catalog-bar select{flex:1;min-width:0}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] #main{flex:1;min-height:0;padding:0;width:100%;max-width:1400px}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .course{margin:0;height:100%;min-height:0}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .course-head{display:none}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .grid{padding:10px;display:flex;min-height:0;height:100%;box-sizing:border-box}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .card-wrap{width:100%;max-width:700px;margin:auto;height:100%;max-height:330px}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .card{height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;font-size:24px;padding:20px}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"]>footer{padding:3px!important;margin:0!important;font-size:10px!important;gap:2px!important;line-height:1.2!important;flex:none}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"]>footer p{max-width:1200px!important}
body[data-screen-tool="MUSIC EDUCATION LIBRARY"] [hidden]{display:none!important}
@media(max-width:600px){
 body[data-screen-tool=app-guide]{padding:6px!important}
 body[data-screen-tool=app-guide] .guide-entry-controls{padding:6px;gap:6px}
 body[data-screen-tool=app-guide] .guide-entry-controls label{font-size:11px}
 body[data-screen-tool=app-guide] .guide-entry-controls a{font-size:12px;padding:8px}
 body[data-screen-tool=app-guide] .hero{padding:12px;gap:8px}
 body[data-screen-tool=app-guide] .hero h1{font-size:25px}
 body[data-screen-tool=app-guide] .quote{font-size:1.125rem;padding:10px;line-height:1.45}
 body[data-screen-tool=app-guide] .hero .guide-smiling-do{width:36px;height:40px}
 body[data-screen-tool=app-guide] .journey-grid{grid-template-columns:1fr 1fr}
 body[data-screen-tool=app-guide] .journey{padding:10px;min-height:74px}
 body[data-screen-tool=app-guide] .journey b{font-size:1.125rem}
 body[data-screen-tool=app-guide] .journey small{font-size:.8125rem}
 body[data-screen-tool=app-guide] .stats{display:none}
 body[data-screen-tool=app-guide] .app-card{display:flex;flex-direction:column;gap:8px;padding:12px}
 body[data-screen-tool=app-guide] .app-illustration{height:155px;width:100%;flex:none;align-self:center}
 body[data-screen-tool=app-guide] .app-card h3{font-size:22px}
 body[data-screen-tool=app-guide] .app-card p{font-size:15px;line-height:1.5;flex:1}
 body[data-screen-tool=app-guide] .catalog-choice{flex:1;max-width:230px}
 body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .catalog-bar{flex-direction:column;gap:5px}
}
@media(max-height:500px){
 body[data-screen-tool=app-guide]>.wrap{gap:4px}
 body[data-screen-tool=app-guide] .hero{padding:7px 14px;gap:3px}
 body[data-screen-tool=app-guide] .hero{min-height:66px}
 body[data-screen-tool=app-guide] .hero>p,body[data-screen-tool=app-guide] .section-lead{display:none}
 body[data-screen-tool=app-guide] .guide-smiling-do{width:30px;height:32px;margin-inline-start:5px}
 body[data-screen-tool=app-guide] .hero h1{font-size:23px}
 body[data-screen-tool=app-guide] .eyebrow,body[data-screen-tool=app-guide] .quote,body[data-screen-tool=app-guide] .stats,body[data-screen-tool=app-guide] .lead{display:none}
 body[data-screen-tool=app-guide] .journeys h2{font-size:16px}
 body[data-screen-tool=app-guide] .journey-grid{gap:4px;margin:3px 0}
 body[data-screen-tool=app-guide] .journey{padding:4px;min-height:0;height:44px;line-height:1.1}
 body[data-screen-tool=app-guide] .journey b{margin:0;font-size:13px;line-height:1.2}
 body[data-screen-tool=app-guide] .journey small{margin:2px 0 0;line-height:1.1}
 body[data-screen-tool=app-guide] .catalog-back{padding:5px 8px;font-size:12px}
 body[data-screen-tool=app-guide] .journey small{font-size:10px}
 body[data-screen-tool=app-guide] .tools{flex-wrap:nowrap;gap:5px}
 body[data-screen-tool=app-guide] .tools #search{width:200px}
 body[data-screen-tool=app-guide] .app-card{padding:9px;gap:3px 12px}
 body[data-screen-tool=app-guide] .app-card h3{font-size:20px}
 body[data-screen-tool=app-guide] .app-card p{font-size:13px;line-height:1.35}
 body[data-screen-tool=app-guide] .open-app{padding:5px 9px;font-size:13px}
 body[data-screen-tool=music-glossary] article{font-size:14px;padding:8px;line-height:1.4}
 body[data-screen-tool="MUSIC EDUCATION LIBRARY"] header .tag{display:none}
 body[data-screen-tool="MUSIC EDUCATION LIBRARY"] header p:nth-of-type(2){display:none}
 body[data-screen-tool="MUSIC EDUCATION LIBRARY"] .search-wrap{margin:3px auto}
}

body[data-screen-tool=app-guide] .catalog-item-navigation{display:flex;align-items:stretch;gap:7px;flex:1;min-width:0}
body[data-screen-tool=app-guide] .catalog-item-navigation .catalog-choice{flex:1;min-width:0;width:auto;direction:rtl}
html[lang=en] body[data-screen-tool=app-guide] .catalog-item-navigation .catalog-choice{direction:ltr}
/* Previous and Next sit together and stand out: they are the main way through the tools. */
body[data-screen-tool=app-guide] .catalog-step{flex:none;min-width:96px;min-height:42px;white-space:nowrap;font-weight:700;font-size:15px;border-color:#2dd4bf;background:color-mix(in srgb,#2dd4bf 22%,#172235);color:#ecfeff}
body[data-screen-tool=app-guide] .catalog-step:not(:disabled):hover{background:color-mix(in srgb,#2dd4bf 34%,#172235)}
/* No colour emoji beside the category names (as on the doors screen). */
body[data-screen-tool=app-guide] .category-num{display:none}
body[data-screen-tool=app-guide] .catalog-step:disabled{opacity:.35;cursor:default}
@media(max-width:500px){body[data-screen-tool=app-guide] .catalog-item-navigation{flex-basis:100%}body[data-screen-tool=app-guide] .catalog-step{min-width:60px;padding:7px}}
