/* Land navigation and product discovery. Gameplay has its own shell. */
.platform-page{margin:0}
.platform-page [hidden]{display:none!important}
.platform-page button,.platform-page input{font-family:var(--ml-font)}
.platform-page img{max-width:100%}
body:not(.platform-page)>header.platform-header:not(.is-scrolled) .platform-brand>img:first-child{content:url("/site/assets/wordmarks-v2/m-soft-black.svg?v=71e8814a64b9")}
body>header.platform-header{font-family:var(--ml-font)}
.platform-page .footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px}
.platform-page .footer-brand-lockup{display:flex;align-items:center;gap:10px;text-decoration:none}
.platform-page .footer-brand-symbol{width:28px;height:26px;object-fit:contain}
.platform-page .starlight-wordmark{display:block;width:150px;height:32px}
.platform-page .starlight-wordmark>img{display:block;width:100%;height:100%;object-fit:contain}
.platform-page .footer-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}
.platform-page .footer-links a,.platform-page .footer-business a{color:inherit;text-decoration:none}
.platform-page .footer-links a:hover,.platform-page .footer-business a:hover{text-decoration:underline;text-underline-offset:3px}
.platform-page .footer-business{padding:16px 0;border-top:1px solid #dbc536;line-height:1.7}
.platform-page .footer-business p{margin:4px 0}
.platform-page .footer-business span{margin-inline:6px}
.platform-page .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}
.platform-page .footer-social{display:flex;gap:10px}
.platform-page .footer-social a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#302700;color:#fff}
.platform-page .footer-social svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.platform-page .footer-social .social-dot{fill:currentColor;stroke:none}
.platform-page #dialog{border:0;padding:28px;max-width:min(440px,calc(100% - 40px));border-radius:12px;background:#fff;color:var(--ml-ink)}
.platform-page #dialog::backdrop{background:#17171766}
.platform-skip{position:absolute;left:16px;top:-80px;padding:12px 16px;background:var(--ml-land);color:#302700;z-index:100;text-decoration:none;border-radius:8px}
.platform-skip:focus{top:8px}
.platform-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.platform-header{--header-height:72px}
body>header.platform-header{display:flex;align-items:center;height:var(--header-height);padding:0 32px;gap:40px;background:#fff;color:var(--ml-ink);border-bottom:1px solid #ececea;box-sizing:border-box;position:sticky;top:0;z-index:50;backdrop-filter:none}
body>header.platform-header .platform-brand{display:flex;align-items:center;gap:10px;flex:none;text-decoration:none}
.platform-brand>img{width:34px;height:32px;object-fit:contain}
.platform-brand .platform-wordmark{width:142px;height:34px;object-fit:contain}
body>header.platform-header nav{display:flex;position:static;flex-direction:row;justify-content:flex-start;align-items:center;gap:5px;background:transparent;padding:0;border:0;max-height:none;overflow:visible;flex:1}
body>header.platform-header nav>a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 14px;border-radius:8px;color:var(--ml-ink);font-size:15px;font-weight:650;text-decoration:none;white-space:nowrap}
.platform-service-symbol{display:block;width:32px;height:28px;object-fit:contain;flex:none}
.service-label{display:inline-flex;align-items:center;gap:8px;vertical-align:middle}
.platform-heading h1 .platform-service-symbol,.book-class-entry h2 .platform-service-symbol{width:40px;height:36px}
body>header.platform-header nav>a:hover{background:#f5f5f2}
body>header.platform-header nav>a[aria-current=page]{background:#fff6bd;color:#423700}
body>header.platform-header .header-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex:none}
body>header.platform-header .header-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;border-radius:8px;font-size:14px;font-weight:650;text-decoration:none;white-space:nowrap}
body>header.platform-header .login{background:#fff;border:1px solid #deded7;color:#353530}
body>header.platform-header .header-actions .start-button{--header-cta-background:var(--ml-ink);--header-cta-color:var(--ml-white);--header-cta-hover:#333;--header-cta-active:#080808;background:var(--header-cta-background);color:var(--header-cta-color);border:0;transition:background-color var(--ml-duration) var(--ml-ease)}
body>header.platform-header .header-actions .start-button:is(:hover,:focus-visible){background:var(--header-cta-hover);color:var(--header-cta-color)}
body>header.platform-header .header-actions .start-button:focus-visible{outline:2px solid var(--ml-ink);outline-offset:3px}
body>header.platform-header .header-actions .start-button:active{background:var(--header-cta-active)}
body>header.platform-header[data-shell=introduction].is-scrolled .header-actions .start-button,
body.mobile-menu-open>header.platform-header[data-shell=introduction] .header-actions .start-button{--header-cta-background:var(--ml-land);--header-cta-color:var(--ml-ink);--header-cta-hover:color-mix(in srgb,var(--ml-land),var(--ml-ink) 8%);--header-cta-active:color-mix(in srgb,var(--ml-land),var(--ml-ink) 16%)}
.platform-header .menu{display:none}
.platform-page{background:#fff;color:var(--ml-ink);font-family:var(--ml-font);letter-spacing:-.02em}
.platform-page *{box-sizing:border-box}
.platform-page main{background:#fff;padding:0;max-width:none}
.platform-layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:calc(100dvh - 64px)}
.platform-sidebar{min-width:0;position:sticky;top:64px;height:calc(100dvh - 64px);padding:28px 20px 24px;display:flex;flex-direction:column;gap:24px;border-right:1px solid #ececea;background:#fff}
.platform-sidebar nav{display:grid;gap:6px}
.platform-sidebar .nav-label-compact{display:none}
.sidebar-secondary{display:flex;justify-content:center;flex-wrap:wrap;gap:4px;margin:0 20px;padding:16px 0;border-top:1px solid #ececea}
.sidebar-secondary>a{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:8px;font-size:13px;color:#575752;text-decoration:none}
.sidebar-secondary>a:hover{background:#f6f6f1}
.platform-sidebar a{display:flex;align-items:center;gap:12px;min-height:46px;padding:10px 14px;border-radius:8px;color:#575752;text-decoration:none;font-size:15px;font-weight:600}
.platform-sidebar a:hover{background:#f6f6f1}
.platform-sidebar a[aria-current=page]{background:#fff6bd;color:#423700;font-weight:750}
.platform-sidebar svg{width:21px;height:21px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.platform-sidebar .workspace-class-link>.ml-classroom-icon{stroke:none;fill:currentColor;color:#4168dd}
.platform-sidebar .sidebar-secondary{padding-top:20px;border-top:1px solid #ececea;margin-top:auto}
.platform-sidebar .sidebar-secondary a{font-size:14px}
.platform-page .platform-content{width:100%;max-width:1424px;margin:0 auto;padding:38px 40px 64px;min-width:0}
.platform-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:30px}
.platform-heading h1{font:var(--ml-type-page);margin:0 0 14px;letter-spacing:-.03em;word-break:keep-all}
.platform-heading p{margin:0;font-size:15px;line-height:1.65;color:#656561;max-width:64ch;word-break:keep-all}
.platform-service-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.platform-service-brand>img:first-child{width:42px;height:39px;object-fit:contain}
.platform-service-brand .service-wordmark{width:184px;height:40px;object-fit:contain}
.platform-page .platform-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;background:var(--ml-land);color:#302700;border:1px solid transparent;border-radius:8px;font:650 14px/1.4 var(--ml-font);text-decoration:none;cursor:pointer;white-space:nowrap}
.platform-page .platform-button:hover{background:#efd017}
.platform-page .platform-button.secondary{background:#fff;border-color:#dcdcd5;color:#383833}
.platform-page .platform-button.secondary:hover{background:#f7f7f2}
.platform-page .platform-button:disabled{background:#ededeb;color:#75756e;cursor:not-allowed}
.platform-page a:focus-visible,.platform-page button:focus-visible,.platform-page input:focus-visible,.platform-header a:focus-visible,.platform-header button:focus-visible{outline:3px solid #756000;outline-offset:3px}
.platform-page ::selection{background:#ffe019;color:#302700}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:1px solid #ececea;margin-bottom:28px}
.catalog-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.catalog-filters a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 16px;color:#656561;text-decoration:none;font-weight:650;font-size:14px;border-radius:8px}
.catalog-filters a[aria-current=true]{background:#fff6bd;color:#423700}
.catalog-filters a:hover{background:#f7f7f2}
.catalog-search{display:flex;align-items:center;width:min(100%,320px);min-height:44px;border:1px solid #dfdfd8;border-radius:8px;padding:0 12px;gap:8px}
.catalog-search input{min-width:0;flex:1;max-width:100%;border:0;background:transparent;padding:11px 0;font:14px/1.5 var(--ml-font);color:var(--ml-ink)}
.catalog-search input::placeholder{color:#707069}
.catalog-search button{border:0;background:transparent;width:32px;height:32px;padding:5px;cursor:pointer;color:#656561}
.catalog-search svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round}
.catalog-meta{font-size:13px;color:#656561;margin:0 0 18px}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px;align-items:start}
.content-card{min-width:0;position:relative;background:transparent;border:0;border-radius:0;box-shadow:none}
.content-card[hidden]{display:none}
.content-card .content-cover{display:block;width:100%;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#f4f4ef;position:relative}
.content-cover>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 180ms ease-out}
.content-cover .cover-status{position:absolute;right:12px;bottom:12px;background:#fff;color:#383833;padding:5px 9px;border-radius:6px;font-size:12px;font-weight:700}
.content-card .content-type{display:block;margin:0 0 10px;color:#656561;font-size:12px;font-weight:650}
.content-card :is(h2,h3){font-size:20px;font-weight:750;margin:17px 0 5px;line-height:1.4;color:var(--ml-ink)}
.content-card p{font-size:14px;line-height:1.65;color:#656561;margin:0;word-break:keep-all;min-height:3.3em}
.content-cover.deferred-cover{display:flex;align-items:center;justify-content:center;background:#fff8ce}
.catalog-empty{padding:72px 20px;text-align:center}
.catalog-empty h2{font-size:20px;margin:0 0 12px}
.catalog-empty p{color:#656561;font-size:15px;margin:0 0 20px;line-height:1.7}
.member-area{min-height:420px}
.class-member-area{min-height:360px}
.service-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.book-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;align-items:center;padding:32px;border-radius:12px;background:#fff8ef}
.book-intro>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.book-intro h2{font-size:28px;line-height:1.4;margin:0 0 16px;word-break:keep-all}
.book-intro p{font-size:15px;line-height:1.8;color:#686056;margin:0;word-break:keep-all}
.book-class-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px;padding:26px 0;border-block:1px solid #ececea}
.book-class-entry h2{font-size:20px;margin:0 0 8px}
.book-class-entry p{margin:0;color:#656561;font-size:14px;line-height:1.7;word-break:keep-all}
.platform-page .site-footer{color:#423700;margin:0;max-width:none;background:#fafaf7;padding:28px 36px;border-top:1px solid #ececea}
.platform-page .site-footer .footer-top{margin-bottom:18px}
.platform-page .site-footer .footer-business{font-size:12px}
.platform-page .site-footer .footer-bottom{font-size:12px}
@media(min-width:1121px){body>header.platform-header .menu{display:none}}
@media(max-width:1280px){body>header.platform-header{padding-inline:24px;gap:24px}.platform-page .platform-content{padding:32px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-layout{grid-template-columns:208px minmax(0,1fr)}.platform-sidebar{padding-inline:16px}}
@media(max-width:1120px){body>header.platform-header{display:flex;align-items:center;height:64px;min-height:64px;gap:16px}.platform-header .platform-wordmark{width:128px}body>header.platform-header>.header-actions #start-button{display:none!important}body>header.platform-header .menu{display:block;min-width:44px;min-height:44px;border:0;background:transparent;padding:8px;color:#171717}body>header.platform-header nav{display:none;position:absolute;top:64px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:16px 24px;gap:8px;max-height:calc(100dvh - 64px);overflow:auto;border-bottom:1px solid #deded7}body>header.platform-header nav.open{display:flex}body>header.platform-header nav>a{justify-content:flex-start;padding-inline:12px}body>header.platform-header nav .header-actions{margin-left:0;display:flex;flex-wrap:wrap;justify-content:flex-start;margin-top:8px}body>header.platform-header nav .header-actions #start-button{display:inline-flex!important}.platform-layout{min-height:calc(100dvh - 64px)}.book-intro{grid-template-columns:1fr}.book-intro{gap:20px}.book-intro>img{max-height:280px}}
@media(max-width:900px){.platform-page .platform-content{padding:28px 24px 48px}.catalog-toolbar{gap:16px}.book-intro{grid-template-columns:1fr 1fr;gap:24px;padding:24px}.book-intro h2{font-size:24px}}
@media(max-width:600px){body>header.platform-header,body.mobile-menu-open>header.platform-header{height:60px;min-height:60px;padding:0 16px!important;gap:var(--ml-mobile-header-gap,10px)!important}.platform-brand>img{width:29px;height:27px}.platform-header .platform-wordmark{width:110px;height:28px}body>header.platform-header .header-actions a{font-size:12px;padding-inline:10px;min-height:36px}body>header.platform-header .menu{min-width:36px;min-height:40px;padding:7px}body>header.platform-header nav{top:60px;padding:12px 16px;max-height:calc(100dvh - 60px)}.platform-page .platform-content{padding:24px 20px 40px}.platform-heading{margin-bottom:24px;gap:16px;flex-direction:column}.platform-heading h1{margin-bottom:12px}.platform-heading p{font-size:14px}.platform-service-brand{margin-bottom:12px;gap:10px}.platform-service-brand>img:first-child{width:36px;height:34px}.platform-service-brand .service-wordmark{width:166px;height:34px}.catalog-toolbar{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:22px}.catalog-filters{gap:4px}.catalog-filters a{padding:8px 13px;min-height:40px}.catalog-search{width:100%;max-width:none}.catalog-grid{grid-template-columns:1fr;gap:28px}.content-card p{min-height:0}.content-card .content-cover{aspect-ratio:16/9}.content-card h2{font-size:20px}.book-intro{grid-template-columns:1fr}.book-intro{padding:22px;gap:16px}.book-intro h2{font-size:24px}.book-intro p{font-size:14px}.book-intro>img{max-height:240px}.book-class-entry{flex-direction:column;align-items:flex-start;gap:18px;margin-top:24px}.platform-page .site-footer{padding:24px 20px}.platform-page .site-footer .footer-top{align-items:flex-start;gap:20px}.platform-page .site-footer .footer-brand-lockup{max-width:160px}.platform-page .site-footer .footer-links{justify-content:flex-start;gap:8px}}
@media(prefers-reduced-motion:reduce){.content-cover>img{transition:none}}
@media(max-width:900px){.member-area{min-height:390px}}
body>header.platform-header .header-actions #login-button{display:inline-flex;min-height:40px}
@media(max-width:1120px){body.mobile-menu-open>header.platform-header[data-shell=introduction]>.platform-brand{margin-right:auto}}

@media(max-width:380px){
 body>header.platform-header[data-shell=workspace]{--ml-mobile-header-gap:6px}
 header[data-shell=workspace] .platform-brand{gap:8px}
 header[data-shell=workspace] .header-account>summary>span{display:none}
 header[data-shell=workspace] .header-account>summary{padding-inline:9px}
}


/* Product accents belong to content and active items; navigation structure is shared. */
.quiz-workspace{background:#fafafd}
.quiz-workspace .platform-content{background:transparent;max-width:1120px}
.quiz-workspace .platform-header{border-bottom:1px solid #eeedf5}
.quiz-workspace-tools{display:flex;align-items:center;gap:10px;margin-left:auto}
.quiz-workspace-tools>:is(button,a){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:0;border-radius:8px;font:650 14px/1.4 var(--ml-font);text-decoration:none;cursor:pointer}
.quiz-entry{background:#f0ebfa;color:var(--ml-brand-text)}
.quiz-entry:hover{background:#e6dff5}
.quiz-workspace .quiz-heading{align-items:center;justify-content:flex-start;gap:12px;margin-bottom:28px;flex-direction:row}
.quiz-workspace .quiz-heading h1{margin:0;font-size:30px}
.quiz-preparation{display:flex;align-items:center;gap:20px;padding:24px 0;border-block:1px solid #e7e5ef}
.quiz-preparation>svg{flex:none;width:48px;height:48px;fill:none;stroke:var(--ml-brand-text);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.quiz-preparation h2{margin:0 0 8px;font-size:18px;line-height:1.5;font-weight:700}
.quiz-preparation p{margin:0;color:#686578;font-size:14px;line-height:1.7;word-break:keep-all}
.quiz-workspace .quiz-library-empty{min-height:320px;padding:72px 16px;background:transparent}
.quiz-workspace .quiz-library-empty h2{font:650 20px/1.5 var(--ml-font)}
.quiz-workspace .quiz-library-empty p{font-size:14px}
.quiz-workspace :is(a,button,input,summary):focus-visible{outline:3px solid var(--ml-brand-text);outline-offset:3px}
.quiz-workspace ::selection{background:#e7defa;color:#33265f}
.workspace-menu{display:none;width:44px;height:44px;padding:10px;border:0;border-radius:8px;background:transparent;color:#35333d;cursor:pointer}
.workspace-menu svg{display:block;width:24px;height:24px}
.workspace-menu .workspace-close-icon,.workspace-menu[aria-expanded=true] .workspace-open-icon{display:none}
.workspace-menu[aria-expanded=true] .workspace-close-icon{display:block}
.workspace-menu:hover{background:#f3f5f4}
.quiz-workspace header.platform-header .header-actions #login-button{min-height:44px}
.quiz-workspace header.platform-header .header-account[open]>summary{background:#f0ebfa;border-color:#d2c7ee}

/* World discovery: one card opens the actual space.
   The same publication catalog owns search text and ready/preparing counts. */
.world-workspace .platform-sidebar a[aria-current=page],.world-workspace .catalog-filters a[aria-current=true]{background:var(--ml-tint);color:var(--ml-brand-text)}
.world-workspace :is(a,button,input,summary):focus-visible{outline:3px solid var(--ml-brand-text);outline-offset:3px}
.world-workspace header.platform-header .header-account[open]>summary{background:var(--ml-tint);border-color:#8dcab7}
.world-workspace header.platform-header .header-actions #login-button{min-height:44px}
.world-workspace header.platform-header .header-account summary:focus-visible{outline-color:var(--ml-brand-text)}
.world-workspace ::selection{background:#c5eddf;color:var(--ml-on-brand)}
.world-workspace .catalog-filters{gap:8px}
.world-workspace .catalog-filters a{min-height:44px;border:1px solid #e5ebe8;border-radius:999px;padding:9px 18px}
.world-workspace .catalog-filters a:hover{background:#f1f7f4}
.world-workspace .catalog-filters a[aria-current=true]{border-color:#a1d8c5}
.world-workspace .catalog-search{padding-right:0;gap:4px}
.world-workspace .catalog-search input{font-size:16px;padding-block:10px}
.world-workspace .catalog-search:has(input:focus){border-color:var(--ml-brand-text);outline:3px solid var(--ml-brand-text);outline-offset:2px}
.world-workspace .catalog-search input:focus-visible{outline:none}
.world-workspace .catalog-search button{width:44px;height:44px;flex:none;padding:10px}
.world-workspace .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 20px}
.world-workspace .content-entry{display:block;color:inherit;text-decoration:none;border-radius:10px}
.world-workspace .content-cover{border-radius:10px;background:#f1f4f2}
.world-workspace .content-entry:hover .content-cover>img{transform:scale(1.025)}
.world-workspace .content-entry:hover h2{color:var(--ml-brand-text)}
.world-workspace .content-card .content-type{margin:12px 0 4px;font-size:13px;font-weight:550}
.world-workspace .content-card :is(h2,h3){font-size:18px;line-height:1.5;margin:0 0 6px}
.world-workspace .content-card p{font-size:14px;line-height:1.6;min-height:0;margin:0}
.world-workspace .deferred-cover{background:#f1f4f2;color:#80938b}
.world-workspace .deferred-cover>svg{width:56px;height:56px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.world-workspace .cover-status{background:#fff;color:#52645d}
.world-workspace .platform-button:not(.secondary){background:var(--ml-brand);color:var(--ml-on-brand)}
.world-workspace .platform-button:not(.secondary):hover{background:#43bf97}
.world-workspace .catalog-empty{min-height:280px;background:transparent;padding:64px 20px}
.world-workspace .catalog-empty h2{font:650 20px/1.5 var(--ml-font)}
.world-workspace .catalog-empty p{font-size:14px}
@media(max-width:1100px){.world-workspace .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .world-workspace .catalog-toolbar{gap:16px}
 .world-workspace .catalog-filters{width:100%;gap:8px;flex-wrap:nowrap}
 .world-workspace .catalog-filters a{padding-inline:14px;white-space:nowrap}
 .world-workspace .catalog-grid{gap:28px 16px}
 .world-workspace .content-card .content-cover{aspect-ratio:16/10}
 .world-workspace .content-card :is(h2,h3){font-size:16px;line-height:1.5}
 .world-workspace .content-card .content-type{font-size:12px}
 .world-workspace .content-card p{font-size:13px;line-height:1.6}
 .world-workspace .cover-status{right:8px;bottom:8px;padding:4px 7px;font-size:11px}
}
@media(max-width:359px){.world-workspace .catalog-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.world-workspace .content-entry:hover .content-cover>img{transform:none}}
.quiz-workspace header.platform-header .header-account summary:focus-visible{outline-color:var(--ml-brand-text)}
.quiz-workspace #dialog{font-family:var(--ml-font);padding:28px}
.quiz-workspace #dialog h2{margin:8px 24px 12px 0;font-size:20px;line-height:1.5}
.quiz-workspace #dialog p{margin:0 0 24px;font-size:15px;line-height:1.7;color:#686578;word-break:keep-all}
.quiz-workspace #dialog .close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:#686578;font:400 26px/1 var(--ml-font);cursor:pointer}
.quiz-workspace #dialog .close-action{min-height:44px;width:100%;padding:10px 18px;border:0;border-radius:8px;background:var(--ml-brand);color:#fff;font:650 14px/1.5 var(--ml-font);cursor:pointer}

@media(max-width:600px){
 .quiz-workspace .platform-header .header-actions .header-account>summary{padding:0 9px}
 .quiz-workspace .platform-content{padding:28px 20px 40px}
 .quiz-workspace .quiz-heading h1{font-size:26px}
 .quiz-preparation{gap:16px;padding:22px 0}
 .quiz-preparation>svg{width:40px;height:40px}
 .quiz-preparation h2{font-size:17px}
 .quiz-workspace .quiz-library-empty{min-height:300px;padding:64px 0}
}


/* One desktop sidebar and one mobile drawer for all product workspaces. */
body>header.platform-header[data-shell=workspace]{height:64px;min-height:64px;gap:24px}
header[data-shell=workspace] .platform-brand>img:first-child{width:44px;height:36px}
header[data-shell=workspace] .platform-wordmark{width:auto;height:26px}
header[data-shell=workspace] .header-actions #login-button,
header[data-shell=workspace] .header-account>summary{min-height:44px}
.service-sidebar{top:64px;height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain;background:#fff}
.service-sidebar .workspace-navigation{display:grid;gap:6px}
.service-sidebar .workspace-navigation>a,.workspace-quiz-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:10px;background:transparent;color:#565b59;text-decoration:none;text-align:left;font:600 15px/1.5 var(--ml-font);cursor:pointer}
.service-sidebar .workspace-navigation>a:hover,.workspace-quiz-toggle:hover{background:#f3f6f4}
.service-sidebar .platform-service-symbol{width:36px;height:30px}
.service-sidebar .workspace-navigation>a[data-workspace-destination="world"][aria-current=page]{color:#17674f;background:#e8f7f1}
.service-sidebar .workspace-navigation>a[data-workspace-destination="book"][aria-current=page]{color:#93500e;background:#fff1e3}
.service-sidebar .workspace-class-link{margin-top:18px;position:relative}
.service-sidebar .workspace-class-link::before{content:"";position:absolute;left:14px;right:14px;top:-12px;height:1px;background:#e7eae8}
.service-sidebar .workspace-class-link[aria-current=page]{color:#2c4740;background:#edf3f0}
.workspace-quiz-toggle>svg{margin-left:auto;width:18px;height:18px;transition:transform .18s ease}
.workspace-quiz-toggle[aria-expanded=false]>svg{transform:rotate(-90deg)}
.workspace-quiz-toggle.is-active{color:#6553b7;background:#f2eefb}
.workspace-submenu{display:grid;gap:4px;margin:6px 0 8px 32px;padding-left:14px;border-left:1px solid #e9e4f3}
.service-sidebar .workspace-submenu>a{min-height:44px;padding:10px 12px;font-size:14px;font-weight:550;border-radius:8px;color:#66636e}
.service-sidebar .workspace-submenu>a:hover{background:#f6f3fc}
.service-sidebar .workspace-submenu>a[aria-current=page]{color:#6553b7;background:#f2eefb;font-weight:700}
.service-sidebar .workspace-quiz-toggle:focus-visible,.service-sidebar .workspace-submenu>a:focus-visible{outline-color:#6553b7}
.service-sidebar .sidebar-secondary{margin-inline:0;gap:0;padding-top:16px}
@media(max-width:900px){
 .platform-layout{display:flex;flex-direction:column;min-height:calc(100dvh - 64px)}
 .service-sidebar{position:static;height:auto;padding:20px;border-right:0;border-bottom:1px solid #e7eae8}
 .workspace-menu:not([hidden]){display:block;flex:none}
 header[data-shell=workspace] .platform-brand{margin-right:auto}
 header[data-shell=workspace] .header-actions{margin-left:0}
 .service-sidebar[data-workspace-ready]{position:fixed;inset:64px 0 0;z-index:49;overflow-y:auto;padding:20px max(20px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));background:#fff}
 .workspace-menu-open{overflow:hidden}
 .platform-page .platform-content{padding:28px 24px 48px}
}
@media(max-width:600px){
 body>header.platform-header[data-shell=workspace]{gap:10px}
 header[data-shell=workspace] .platform-brand>img:first-child{width:38px;height:32px}
 header[data-shell=workspace] .platform-wordmark{width:auto;height:22px}
 body>header.platform-header[data-shell=workspace] .header-actions #login-button{font-size:14px;padding-inline:12px;min-height:44px}
 .platform-page .platform-content{padding:28px 20px 40px}
}
@media(prefers-reduced-motion:reduce){.workspace-quiz-toggle>svg{transition:none}}
@media(max-width:380px){
 header[data-shell=workspace] .platform-brand>img:first-child{width:34px;height:30px}
 header[data-shell=workspace] .platform-wordmark{height:20px}
 body>header.platform-header[data-shell=workspace] .header-actions #login-button{padding-inline:10px}
}

/* Official filled control geometry must not inherit retired line-icon paint. */
.platform-sidebar svg.ml-control-icon,.catalog-search svg.ml-control-icon,.world-workspace .deferred-cover>svg.ml-control-icon{fill:currentColor;stroke:none}
