/* v2.34: appearance controls, glass pills, and airy chart colours. */
.lm-appearance{margin:20px 0 28px}.lm-appearance-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.lm-appearance-heading h2{font-size:21px;font-weight:500}.lm-appearance-heading p,.lm-appearance-heading small{color:var(--muted);font-size:13px;margin-top:7px}.lm-appearance-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:30px}.lm-appearance-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;border-bottom:1px solid var(--line)}.lm-appearance-row h3{font-size:16px;font-weight:500}.lm-appearance-row p{color:var(--muted);font-size:13px;line-height:1.8;margin:8px 0 5px}.lm-appearance-row small{color:var(--muted);font-size:11px}.lm-choice{display:flex;gap:3px;padding:5px;border-radius:19px;background:rgba(194,223,225,.23);flex-shrink:0}.lm-choice button{padding:10px 17px;border-radius:15px;font-size:13px;color:var(--muted)}.lm-choice button[aria-pressed=true]{color:var(--ink);background:var(--paper);box-shadow:0 4px 12px rgba(40,70,80,.04)}.lm-appearance-preview{align-self:start;position:sticky;top:20px;padding:27px;border-radius:26px;background:var(--paper);box-shadow:0 14px 35px rgba(50,70,80,.04);backdrop-filter:blur(22px)}.lm-preview-head{display:flex;justify-content:space-between;gap:15px;font-size:12px}.lm-preview-head small{color:var(--muted)}.lm-preview-task{display:flex;gap:13px;padding:23px 0;border-bottom:1px solid var(--line)}.lm-preview-task>span{padding:6px 10px;background:rgba(194,223,225,.3);border-radius:10px;color:#689396}.lm-preview-task p{font-size:11px;color:var(--muted);margin-top:6px}.lm-preview-note{padding:23px 0}.lm-preview-note>small{color:#7b9fa5}.lm-preview-note h3{font-size:18px;margin:13px 0;font-weight:500}.lm-preview-note p{font-size:14px;line-height:1.9;margin:12px 0}.lm-preview-note span{display:inline-block;padding:5px 10px;border-radius:8px;background:rgba(194,223,225,.25);color:#73979c;font-size:11px}.lm-preview-foot{border-top:1px solid var(--line);padding-top:15px;color:var(--muted);font-size:11px}.lm-motion-switch{width:49px;height:29px;accent-color:#89afb9;cursor:pointer;flex-shrink:0}.lm-teacher-info{padding:22px 0}.lm-teacher-info h2{font-size:18px;font-weight:500}.lm-teacher-info p{margin:12px 0;color:var(--muted)}
body .memolaunch,body[data-lm-surface] .memolaunch{background:#202632!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 8px 20px rgba(20,28,40,.13)!important}.memolaunch svg,.memolaunch span{color:#fff!important}.memolaunch:hover{background:#303a48!important}
body[data-lm-surface] .main .tl-root button,body[data-lm-surface] .main .tl-overlay button{border:1px solid rgba(255,255,255,.6)!important;border-radius:999px!important;background:rgba(255,255,255,.55)!important;color:var(--muted)!important;padding:10px 17px!important;font-weight:400!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 5px 16px rgba(40,60,75,.035)!important;backdrop-filter:blur(18px);min-height:38px;line-height:1.5}
body[data-lm-surface] .main .tl-root :is(button.primary,button.active,button[aria-selected=true]),body[data-lm-surface] .main .tl-overlay button.primary{background:rgba(255,255,255,.88)!important;color:var(--ink)!important;box-shadow:inset 0 1px 0 white,0 5px 18px rgba(40,60,75,.07)!important}
body[data-lm-surface] .main .tl-tabs,body[data-lm-surface] .main .tl-buttons{display:flex;flex-wrap:wrap;gap:5px;padding:5px!important;background:rgba(145,165,180,.045)!important;border-radius:999px;border:0!important;width:fit-content;max-width:100%}
body[data-lm-surface] .main .tl-root button:focus-visible{outline:2px solid #90b7cf!important;outline-offset:3px}.tl-root button:disabled{opacity:.45}
body.night[data-lm-surface] .main .tl-root button,body.night[data-lm-surface] .main .tl-overlay button{background:rgba(65,71,79,.6)!important;border-color:rgba(255,255,255,.09)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important}
body.night[data-lm-surface] .main .tl-root :is(button.primary,button.active,button[aria-selected=true]),body.night[data-lm-surface] .main .tl-overlay button.primary{background:rgba(83,92,104,.75)!important;color:var(--ink)!important}
body[data-lm-surface] .main :is(.progress-track,.report-resource-row i,.report-class i,.th-participation-track,.hw-composition,.kb-bar-row i,.cl-bars meter){height:12px!important;border-radius:20px;overflow:hidden}
body[data-lm-surface] .main :is(.progress-track i,.report-resource-row b,.report-class b,.kb-bar-row b,.th-participation-track i,.hw-bar i,.hw-rate-columns i,.tl-trend i,.th-chart-row>i>b){background:#c4dfe8!important;border-radius:16px!important;box-shadow:none!important}
body[data-lm-surface] .main :is(.hw-bar>div,.tl-bar>div,.th-chart-row>i){height:12px!important;border-radius:16px!important;background:rgba(208,227,234,.24)!important;overflow:hidden}
body[data-lm-surface] .main .report-bar-track>i{background:#dcecf3!important}body[data-lm-surface] .main .report-bar-track b{background:#bedde9!important}
body[data-lm-surface] .main .cl-bars meter::-webkit-meter-optimum-value{background:#c4dfe8!important;border-radius:16px}body[data-lm-surface] .main .cl-bars meter::-moz-meter-bar{background:#c4dfe8!important;border-radius:16px}
body[data-lm-surface] .main .lo-node circle{fill:#c5def5!important;fill-opacity:1!important;stroke:#b9d5e7;stroke-width:1.5}.lo-node.course circle{fill:#ccecdf!important;stroke:#bddfce}.lo-node.file circle{fill:#f4e4c8!important;stroke:#e8d7b7}body[data-lm-surface] .main .lo-node.course circle{fill:#ccecdf!important}body[data-lm-surface] .main .lo-node.file circle{fill:#f4e4c8!important}.lo-graph-scroll path.shared{stroke:#d8cfee!important}
body[data-lm-density=compact] .main :is(.item,.board-row,.note-row,.hw-record,.kb-asset,.kb-list-item,.th-lesson-list article){padding-top:8px!important;padding-bottom:8px!important}body[data-lm-density=compact] .main :is(.detail-panel,.lo-table-scroll) :is(th,td){padding:8px 11px!important}body[data-lm-density=compact] :is(.lm-appearance-row,.lm-preview-task){padding-top:15px;padding-bottom:15px}body[data-lm-density=compact] :is(.kb-list,.th-project-grid){gap:12px}
body[data-lm-reduced-motion=true] *,body[data-lm-reduced-motion=true] *:before,body[data-lm-reduced-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:850px){.lm-appearance-grid{grid-template-columns:1fr}.lm-appearance-preview{position:static}.lm-appearance-row{gap:14px}.lm-appearance-row p{font-size:12px}}
@media(max-width:500px){.lm-appearance-row{align-items:flex-start;flex-direction:column;gap:12px}.lm-choice{align-self:flex-end}.lm-appearance-heading{align-items:flex-start}.lm-appearance-heading small{font-size:11px}.lm-appearance-preview{padding:22px}.tl-tabs{border-radius:24px!important}.tl-buttons{justify-content:flex-end}.tl-root .tl-range-actions button{width:100%;white-space:normal}}

body[data-lm-surface] .main .lm-appearance input.lm-motion-switch{appearance:none;-webkit-appearance:none;position:relative;width:49px!important;height:29px!important;padding:0!important;min-width:49px;background:#97a5b2!important;border:0!important;border-radius:999px!important;margin:0;box-shadow:none!important}.lm-motion-switch:before{content:'';position:absolute;left:4px;top:4px;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(40,50,60,.08)}body[data-lm-surface] .main .lm-appearance input.lm-motion-switch:checked{background:#bddde5!important}.lm-motion-switch:checked:before{left:24px}.lm-motion-switch:focus-visible{outline:2px solid #91b6cc;outline-offset:3px}
body[data-lm-surface] .main .hw-composition i{background:#c5def5!important}body[data-lm-surface] .main .hw-composition b{background:#e2d9f6!important}

body[data-lm-surface] .main .th-card-progress>i{height:10px!important;border-radius:16px!important;background:rgba(208,227,234,.25)!important}body[data-lm-surface] .main .th-card-progress>i>b{background:#c4dfe8!important;border-radius:16px!important}body[data-lm-surface] .main .cp-bars button i{height:12px!important;border-radius:16px!important}body[data-lm-surface] .main .cp-bars button i:before{height:12px!important;border-radius:16px!important;background:#c4dfe8!important}body[data-lm-surface] .main .cl-root meter{height:14px!important}body[data-lm-surface] .main .cl-root meter::-webkit-meter-optimum-value{background:#c4dfe8!important;border-radius:16px}body[data-lm-surface] .main .cl-root meter::-moz-meter-bar{background:#c4dfe8!important}
