:root{--bg:#f5f6f8;--surface:#fff;--border:#d9dce1;--text:#1c1f24;--text-muted:#6b7280;--accent:#2f6feb;--accent-contrast:#fff;--error-bg:#fdeceb;--error-border:#e5534b;--error-text:#8a1f16;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:system-ui,Segoe UI,Roboto,sans-serif}:root[data-theme=dark]{--bg:#14161a;--surface:#1b1e24;--border:#2e333c;--text:#e6e8eb;--text-muted:#9aa1ac;--accent:#5b9dff;--accent-contrast:#0b1220;--error-bg:#3a1c1c;--error-border:#e5534b;--error-text:#ffb4ac;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--bg);color:var(--text);margin:0}.site-header{align-items:center;gap:10px;margin-bottom:12px;padding:16px 20px 0;display:flex}.site-header__brand{color:var(--accent);white-space:nowrap;font-size:15px;font-weight:700;text-decoration:none}.site-header__brand:hover{text-decoration:underline}.site-header__divider{color:var(--text-muted);font-weight:400}.site-header__title{color:var(--text-muted);white-space:nowrap;font-size:15px;font-weight:600}.toolbar-spacer{flex:1}.btn,.toggle-btn{border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:6px;padding:6px 12px;font-size:13px}.btn:hover,.toggle-btn:hover{border-color:var(--accent)}.icon-btn{padding:6px 10px}.cheatsheet-view{color:var(--text);align-items:flex-start;gap:20px;display:flex}.cheatsheet-view__sidebar{flex:0 0 280px;min-width:0}.cheatsheet-view__main{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex:auto;min-width:0;overflow:hidden}.cheatsheet-search-input{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:6px;margin-bottom:12px;padding:8px 10px;font-size:13px}.cheatsheet-search-input:focus{border-color:var(--accent);outline:none}.cheatsheet-topic-list{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px}.cheatsheet-empty-note{color:var(--text-muted);font-size:13px}.cheatsheet-topic-group{margin-bottom:14px}.cheatsheet-topic-group:last-child{margin-bottom:0}.cheatsheet-topic-group__title{letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);margin:0 0 6px;font-size:11px;font-weight:700}.cheatsheet-topic-group__list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.cheatsheet-topic-item{text-align:left;width:100%;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:6px 8px;font-size:13px}.cheatsheet-topic-item:hover{border-color:var(--border);background:var(--bg)}.cheatsheet-topic-item--selected{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.cheatsheet-topic-item--selected:hover{background:var(--accent)}.cheatsheet-view__content{padding:16px}.cheatsheet-empty-state{color:var(--text-muted);padding:20px 0;font-size:13px}.cheatsheet-topic-detail__header{flex-direction:column;gap:4px;margin-bottom:8px;display:flex}.cheatsheet-topic-detail__category{letter-spacing:.05em;text-transform:uppercase;color:var(--accent);font-size:11px;font-weight:700}.cheatsheet-topic-detail__title{margin:0;font-size:20px}.cheatsheet-topic-detail__summary{color:var(--text-muted);font-size:14px;line-height:1.5}.cheatsheet-topic-detail__section{margin-top:18px}.cheatsheet-topic-detail__section h3{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin:0 0 8px;font-size:13px}.cheatsheet-key-points{flex-direction:column;gap:6px;margin:0;padding-left:18px;font-size:13px;line-height:1.5;display:flex}.cheatsheet-code-block{background:var(--bg);border:1px solid var(--border);border-radius:6px;margin:0;padding:12px;font-size:12px;line-height:1.5;overflow-x:auto}.cheatsheet-command-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.cheatsheet-command-list code{background:var(--bg);border:1px solid var(--border);border-radius:4px;padding:2px 6px;font-size:12px}.cheatsheet-tag-list{flex-wrap:wrap;gap:6px;display:flex}.cheatsheet-tag{background:var(--bg);border:1px solid var(--border);color:var(--text-muted);border-radius:999px;padding:3px 10px;font-size:11px}@media (width<=720px){.cheatsheet-view{flex-direction:column}.cheatsheet-view__sidebar{flex:auto;width:100%}}.lessons-view{color:var(--text);align-items:flex-start;gap:20px;display:flex}.lessons-view__sidebar{flex-direction:column;flex:0 0 280px;gap:12px;min-width:0;display:flex}.lessons-view__main{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex:auto;min-width:0;padding:16px}.lesson-progress{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px}.lesson-progress__track{background:var(--bg);border:1px solid var(--border);border-radius:999px;height:6px;overflow:hidden}.lesson-progress__fill{background:var(--accent);height:100%;transition:width .2s}.lesson-progress__label{color:var(--text-muted);margin-top:8px;font-size:12px;display:block}.lesson-list{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:2px;margin:0;padding:8px;list-style:none;display:flex}.lesson-list__item{text-align:left;width:100%;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:10px;padding:8px;font-size:13px;display:flex}.lesson-list__item:hover{border-color:var(--border);background:var(--bg)}.lesson-list__item--selected{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.lesson-list__item--selected .lesson-list__check{background:var(--accent-contrast);color:var(--accent)}.lesson-list__check{background:var(--bg);border:1px solid var(--border);border-radius:999px;flex:none;justify-content:center;align-items:center;width:20px;height:20px;font-size:11px;font-weight:700;display:flex}.lesson-list__check--done{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.lesson-list__title{flex:auto}.lesson-detail__header{flex-direction:column;gap:4px;margin-bottom:8px;display:flex}.lesson-detail__eyebrow{letter-spacing:.05em;text-transform:uppercase;color:var(--accent);font-size:11px;font-weight:700}.lesson-detail__title{margin:0;font-size:20px}.lesson-detail__summary{color:var(--text-muted);font-size:14px;line-height:1.5}.lesson-detail__section{margin-top:18px}.lesson-detail__section h3{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin:0 0 8px;font-size:13px}.lesson-detail__key-points{flex-direction:column;gap:6px;margin:0;padding-left:18px;font-size:13px;line-height:1.5;display:flex}.lesson-detail__code-block{background:var(--bg);border:1px solid var(--border);border-radius:6px;margin:0;padding:12px;font-size:12px;line-height:1.5;overflow-x:auto}.lesson-detail__command-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.lesson-detail__command-list code{background:var(--bg);border:1px solid var(--border);border-radius:4px;padding:2px 6px;font-size:12px}.lesson-detail__footer{border-top:1px solid var(--border);align-items:center;gap:8px;margin-top:24px;padding-top:16px;display:flex}.lesson-detail__complete-btn{text-align:center;flex:auto;font-weight:600}.lesson-detail__complete-btn--done{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.btn:disabled{opacity:.4;cursor:not-allowed}@media (width<=720px){.lessons-view{flex-direction:column}.lessons-view__sidebar{box-sizing:border-box;flex:auto;width:100%}}.app{max-width:1300px;margin:0 auto;padding:16px 20px 40px}.app-header{margin-bottom:16px}.app-subtitle{color:var(--text-muted);margin:0;font-size:15px}.tab-nav{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:6px;margin-bottom:20px;padding-bottom:8px;display:flex}.tab-nav__item{color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:8px 14px;font-size:14px;font-weight:500}.tab-nav__item:hover{color:var(--text);border-color:var(--border)}.tab-nav__item--active{color:var(--accent-contrast);background:var(--accent);border-color:var(--accent)}.app-main{min-height:400px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
