body.home-screen .app-shell{display:block}
body.home-screen .sidebar,body.home-screen .topbar,body.home-screen .site-footer{display:none}
body.home-screen main{width:100%;max-width:1140px;margin:0 auto;padding:40px 30px 55px;min-height:100dvh}
.home-dashboard.home-clean{max-width:none;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:42px;align-items:center;min-height:calc(100dvh - 95px)}
.home-dashboard .home-photo-panel{min-width:0}
.home-dashboard .bear-hero-photo{margin:0;border-radius:22px;box-shadow:0 9px 30px #293c2e0a}
.home-menu-panel{min-width:0}
.home-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.home-menu-tile{--tile-ink:#397862;--tile-soft:#eaf4ee;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:103px;padding:13px 5px 12px;border:1px solid #e1e7e2;border-radius:17px;background:#fff;color:#354d42;text-decoration:none;box-shadow:0 3px 0 #e7ece655;transition:background .16s,border-color .16s,transform .16s}
.home-menu-tile .menu-badge,.menu-badge{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--tile-soft,#eaf4ee);color:var(--tile-ink,#397862)}
.menu-symbol{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.home-menu-tile strong{font-size:17px;font-weight:650;line-height:1.4;letter-spacing:-.45px;white-space:nowrap}
.menu-part-number{font-size:24px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums}
.menu-hanzi{font-size:24px;font-weight:550;line-height:1}
.home-menu-tile.tone-blue{--tile-ink:#5d7e99;--tile-soft:#edf3f8}
.home-menu-tile.tone-lilac{--tile-ink:#8a749f;--tile-soft:#f2edf8}
.home-menu-tile.tone-sand{--tile-ink:#a0804a;--tile-soft:#f9f2e5}
.home-menu-tile.tone-rose{--tile-ink:#aa7483;--tile-soft:#f9edf1}
.home-menu-tile:first-child{background:#edf6f0;border-color:#cbded1;color:#2d725b}
.home-menu-tile.menu-exam{background:#28775e;border-color:#28775e;color:#fff;box-shadow:0 3px 0 #15563f15}
.menu-exam .menu-badge{background:#ffffff20;color:#fff}
.home-menu-tile:focus-visible{outline:3px solid #6aa58d;outline-offset:3px}
.home-menu-tile:active{transform:translateY(2px);box-shadow:none}
.home-secondary{display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:10px 24px;margin-top:24px;font-size:13px;line-height:1.7;color:#778b7f}
.home-secondary>a{padding:4px 0}
.home-secondary .home-settings{margin:0;font-size:13px;color:inherit}
.home-secondary .home-settings summary{padding:4px 0;list-style:none}
.home-secondary .home-settings summary::-webkit-details-marker{display:none}
.home-secondary .home-settings[open]{flex-basis:100%;order:1}
.home-secondary .device-controls{margin-top:10px}
.home-secondary .device-controls .menu-symbol{width:17px;height:17px}
.theme-page{max-width:850px;margin:auto}
.theme-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.theme-menu-tile{display:grid;grid-template-columns:42px minmax(0,1fr);gap:7px 14px;align-items:center;padding:21px;border:1px solid #dfe7e1;border-radius:16px;background:#fff;color:#345646}
.theme-menu-tile .menu-badge{grid-row:1/3;width:42px;height:42px}
.theme-menu-tile strong{font-size:18px;font-weight:650;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.theme-question-count{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#8b9e91}
@media(hover:hover){.home-menu-tile:not(.menu-exam):hover{border-color:#adc9b7;background:#f7faf7;transform:translateY(-2px)}.menu-exam:hover{background:#20674f}.theme-menu-tile:hover{border-color:#adc9b7;background:#fbfdf9}}
@media(max-width:999px){body.home-screen main{max-width:640px;padding:25px 24px 115px}.home-dashboard.home-clean{display:block;min-height:0}.home-dashboard .bear-hero-photo{margin-bottom:18px;border-radius:18px}.home-menu-grid{gap:11px}.home-menu-tile{min-height:101px}.home-secondary{margin-top:21px}.theme-menu-tile{padding:17px}}
@media(max-width:680px){body.home-screen main{padding:17px 17px 108px}.home-dashboard .bear-hero-photo{border-radius:17px;margin-bottom:15px}.home-menu-grid{gap:10px}.home-menu-tile{min-height:94px;border-radius:15px;padding:11px 4px;gap:8px}.home-menu-tile strong{font-size:17px}.home-menu-tile .menu-badge{width:34px;height:34px;border-radius:10px}.menu-symbol{width:21px;height:21px}.menu-part-number{font-size:23px}.menu-hanzi{font-size:23px}.home-secondary{gap:8px 23px;margin-top:19px;font-size:12px}.home-secondary .home-settings{font-size:12px}.theme-menu-grid{gap:10px}.theme-menu-tile{display:flex;align-items:flex-start;flex-direction:column;padding:17px 14px;gap:12px}.theme-menu-tile strong{font-size:16px}.theme-question-count{width:100%;margin-top:auto}.theme-page .page-head{gap:12px}.theme-page .page-head h1{font-size:27px}.theme-page .subtle-link{font-size:13px;white-space:nowrap}}
@media(max-width:359px){body.home-screen main{padding:13px 13px 106px}.home-menu-grid{gap:8px}.home-menu-tile{min-height:88px;gap:7px}.home-menu-tile strong{font-size:15px}.home-menu-tile .menu-badge{width:32px;height:32px}.home-secondary{gap:6px 21px}.theme-menu-tile{padding:15px 11px}.theme-menu-tile strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.home-menu-tile{transition:none}}

/* Six unified study menus; part choice and scripts stay inside practice. */
body.home-screen main{padding-top:60px}@media(max-width:680px){body.home-screen main{padding-top:60px}}
