/* Layout-only additions. Original mini-program and weekly check-in styles remain unchanged. */
.desktop-site .site-header{position:sticky;top:0;z-index:20}
.desktop-site .site-sidebar{position:sticky;top:100px;height:calc(100vh - 100px);overflow:auto;align-self:start}
.desktop-site .site-header nav a[aria-current=page]{border-color:#008143;font-weight:700}
.desktop-site .personal-links a.layout-featured{font-weight:700;background:#e3efe6;color:#075b37;margin-bottom:5px;border-radius:5px}
.desktop-site #personal-identity{display:none}
.layout-preview-note{padding:9px 14px;background:#f3f7f3;border:1px solid #dce7de;color:#5b7161;font-size:12px;line-height:1.7;margin-top:16px;border-radius:5px}
.layout-preview-note a{color:#08603a}
.layout-addon{color:#164b34;margin:24px 0;font:15px/1.65 'Microsoft YaHei','PingFang SC',sans-serif;scroll-margin-top:120px}
.layout-addon *{box-sizing:border-box}
.layout-addon h2{font-size:23px;line-height:1.4;margin:0 0 7px;font-weight:700}
.layout-addon h3{font-size:19px;line-height:1.5;margin:0 0 8px}
.layout-addon p{margin:8px 0;color:#61766a}
.layout-addon a{color:#08783f;text-decoration:none}
.layout-addon .layout-btn,.layout-addon button{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:1px solid #cee0d2;border-radius:6px;background:#fff;color:#14613d;font:inherit;cursor:pointer;line-height:1.5}
.layout-addon .layout-btn.primary{background:#08783f;border-color:#08783f;color:white}
.layout-addon button:disabled{cursor:not-allowed;opacity:.65}
.layout-section-head{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:14px}
.layout-card{padding:22px;background:#fff;border:1px solid #dce7df;border-radius:8px;min-width:0}
.layout-soft{background:#f5f9f6}
.layout-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.layout-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.layout-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.layout-kicker{font-size:12px;color:#67856f;letter-spacing:1px}
.layout-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.layout-badge{font-size:12px;padding:4px 9px;border-radius:4px;background:#e9f4ed;color:#14613d;white-space:nowrap}
.layout-rule{font-size:13px;color:#287044!important}
.layout-caption{font-size:12px;color:#7b8b80!important}
.layout-course{display:grid;grid-template-columns:1.4fr 1fr;gap:25px;align-items:center;background:#f4f8f5}
.layout-price{font-size:30px;font-weight:700;color:#08643c}.layout-price small{font-size:15px;font-weight:400}
.layout-stages{display:flex;gap:10px;margin:16px 0}.layout-stages span{background:white;border:1px solid #d8e5da;padding:10px 18px;border-radius:5px}
.layout-ai-stream{background:#f2f7f3;border-radius:6px;padding:18px;min-height:90px;margin:14px 0;color:#365e47}
.layout-ai textarea{width:100%;min-height:85px;border:1px solid #cdddce;border-radius:6px;padding:13px;font:inherit;background:#fcfdfb;color:#345d43;resize:vertical}
.layout-ai-controls{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:10px;flex-wrap:wrap}
.layout-ai-controls select{padding:7px;border:1px solid #cdddce;border-radius:4px;background:white;color:#365e47}
.layout-ai details{margin-top:12px;font-size:12px;color:#708375}.layout-ai summary{cursor:pointer}
.layout-preview-progress{font-size:14px;font-weight:700;color:#14613d}
.layout-quiz-options{display:grid;gap:8px;margin:14px 0;color:#647769}.layout-quiz-options span{padding:8px 12px;border:1px solid #e0e9e1;border-radius:5px}
.layout-activity-row{padding:13px 0;border-bottom:1px solid #e6ece6;display:flex;gap:12px;align-items:center;justify-content:space-between}
.layout-link-card{display:block;padding:18px;border:1px solid #d7e5da;border-radius:6px;background:#f9fbf8}
.layout-link-card strong{display:block;font-size:17px;margin-bottom:5px}.layout-link-card small{color:#6d8474}
.layout-personal-links{display:flex;gap:10px;flex-wrap:wrap}.layout-personal-links a{border:1px solid #d4e2d7;border-radius:5px;padding:10px 14px;background:#f4f8f4}
.layout-top{position:fixed;right:22px;bottom:24px;z-index:30;background:#08783f;color:white;border:1px solid #d3e5d8;border-radius:8px;width:48px;height:48px;font-size:25px;cursor:pointer;box-shadow:0 3px 14px #123e3019}
.layout-top[hidden]{display:none}.layout-return-brand{display:flex;align-items:center;gap:14px;padding:20px 8px;color:#14603a;text-decoration:none}.layout-return-brand img{width:80px}.layout-return-brand span{font-size:26px}
.layout-mobile-nav{display:none}
body[data-route='pages/home/index'] #champion-classroom{display:none!important}
body[data-route='pages/mine/index'] #page>:not(#layout-full-ai){display:none!important}
.layout-folded[hidden]{display:none}
@media(max-width:1100px){.layout-four{grid-template-columns:repeat(2,minmax(0,1fr))}.layout-three{grid-template-columns:1fr}.layout-addon h2{font-size:21px}}
@media(max-width:750px){.desktop-site .site-header{position:sticky;top:0;min-height:100px;gap:8px}.desktop-site .site-header nav{width:100%;justify-content:space-around;gap:8px}.desktop-site .site-header nav a{font-size:14px}.desktop-site .site-login{position:absolute;right:12px;top:18px;padding:7px 12px}.desktop-site .site-brand strong{font-size:19px}.desktop-site .site-sidebar{display:none}.layout-two,.layout-course{grid-template-columns:1fr}.layout-card{padding:16px}.layout-section-head{align-items:flex-start}.layout-addon{margin:18px 0}.layout-addon h2{font-size:20px}.layout-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #dce7df;z-index:25;justify-content:space-around;padding:12px 4px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.layout-mobile-nav a{font-size:14px;color:#28633f;text-decoration:none}.layout-mobile-nav a[aria-current=page]{font-weight:700;color:#08783f}.site-footer{padding-bottom:90px}.layout-top{bottom:76px;right:14px}.layout-stages span{padding:8px 11px}.layout-ai-controls{align-items:stretch}}
