/* Detail pass: shared alignment, clear states, no changes to game data. */
body.apps-page :is(main.app-main,main.home-app-main,.app-footer,.legacy-explore){width:min(840px,calc(100% - 40px))!important}
body.apps-page.hobby-quiz-page main{width:min(880px,100%)!important}
.apps-page :is(.app-button,.quiz-button,.quiz-next-plan):disabled{cursor:default;transform:none;box-shadow:none}
.apps-page .app-button:disabled:hover{background:white}
.apps-page .app-button.primary:disabled:hover{background:var(--ink)}
.apps-page :is(.prompt-filters select,.crossword-top select){cursor:pointer}
.apps-page .home-switch .app-button{display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.25}
.apps-page .home-switch .app-button[aria-pressed=true]:hover{background:var(--ink);color:white}
.apps-page .app-help>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;list-style:none}
.apps-page .app-help>summary::-webkit-details-marker{display:none}
.apps-page .app-help>summary::after,.apps-page .app-help[open]>summary::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex:none;margin-right:4px}
.apps-page .app-help[open]>summary::after{transform:rotate(225deg)}
.apps-page .app-footer{display:flex;flex-wrap:wrap;gap:4px 20px;align-items:center}
.apps-page .app-footer a{display:inline-flex;align-items:center;text-underline-offset:4px}
.apps-page .grid-toolbar label[for=grid-columns]{grid-template-columns:1fr auto;align-items:center;gap:0 12px}
.apps-page #grid-count{font-variant-numeric:tabular-nums;text-align:right;color:var(--muted)}
.apps-page #grid-columns{grid-column:1/-1;width:100%;margin:0}
.apps-page .grid-toolbar details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}
.apps-page .grid-toolbar details>summary::-webkit-details-marker{display:none}
.apps-page .grid-toolbar details>summary::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex:none;margin-right:4px}
.apps-page .grid-toolbar details[open]>summary::after{transform:rotate(225deg)}
.apps-page .grid-toolbar details[open]{padding-bottom:8px}
.apps-page .grid-toolbar details label+label{margin-top:12px}
.apps-page .grid-toolbar :is(select,button){min-height:46px}
.apps-page .grid-preview .app-caption{margin:10px 0 0;font-variant-numeric:tabular-nums}
.apps-page .grid-preview-switch button:disabled{opacity:.5;cursor:default}
.apps-page :is(.prompt-meta,.quiz-progress-header,.quiz-match-summary){font-variant-numeric:tabular-nums}
body.lh-reading :is(.site-header,.guide-main,.site-footer){width:min(1000px,calc(100% - 40px))!important}
body.lh-reading .site-footer a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px}
body.lh-reading :is(p,li){overflow-wrap:break-word}
body.lh-reading .guide-section :is(h2,h3){scroll-margin-top:20px}
.guide[open]>summary>span{font-size:0}
.guide[open]>summary>span::after{content:'−';font-size:13px}
@media(max-width:760px){.apps-page .prompt-actions .app-button{font-size:13px}.apps-page .grid-workspace{gap:16px}}
@media(max-width:360px){body.apps-page :is(main.app-main,main.home-app-main,.app-footer,.legacy-explore),body.lh-reading :is(.site-header,.guide-main,.site-footer){width:calc(100% - 24px)!important}.apps-page .prompt-actions{grid-template-columns:1.3fr 1fr 1fr}.apps-page .prompt-actions .app-button{font-size:12px}}
