#excel-notes #lesson-shortcuts{--ks-panel:#101f30;--ks-border:#345067;--ks-ink:#edf5fc;--ks-muted:#bfd0de;--ks-soft:#1c3449;--ks-green:#5cdda0;color:var(--ks-ink)}
#excel-notes #lesson-shortcuts[hidden]{display:none}
#excel-notes .ks-heading{margin-bottom:24px}#excel-notes .ks-heading p{color:var(--ks-muted);font-size:16px;max-width:800px}
#excel-notes .ks-teaching{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}
#excel-notes .ks-menu{display:grid;gap:8px}#excel-notes .ks-menu-item{background:var(--ks-panel);color:var(--ks-muted);text-align:left;border:1px solid var(--ks-border);border-radius:12px;padding:16px;display:grid;gap:5px;min-height:92px}#excel-notes .ks-menu-item strong{font-size:18px;color:var(--ks-ink)}#excel-notes .ks-menu-item span{font-size:14px;line-height:1.4}#excel-notes .ks-menu-item[aria-pressed=true]{background:var(--ks-soft);border-color:var(--ks-green);box-shadow:inset 3px 0 var(--ks-green)}
#excel-notes .ks-presentation{background:var(--ks-panel);border:1px solid var(--ks-border);border-radius:18px;padding:24px;min-width:0}
#excel-notes .ks-lesson-head{min-height:110px}#excel-notes .ks-lesson-head h3{font-size:25px;line-height:1.3;letter-spacing:-.5px;margin:0 0 8px}#excel-notes .ks-lesson-head p{color:var(--ks-muted);font-size:15px;line-height:1.5;margin:0}
#excel-notes .ks-workbook{height:356px;display:flex;flex-direction:column;background:#fff;color:#25332d;border:1px solid #a7b7ac;border-radius:10px;overflow:hidden;font-family:Calibri,"Segoe UI",sans-serif;box-shadow:0 14px 35px #0002;isolation:isolate}
#excel-notes .ks-titlebar{background:#217346;color:#fff;padding:9px 12px;display:flex;align-items:center;gap:12px;font-size:13px;flex-shrink:0}#excel-notes .ks-titlebar strong{border:1px solid #ffffff90;padding:0 4px}#excel-notes .ks-saved{margin-left:auto;font-size:11px;opacity:.9}
#excel-notes .ks-tabs{display:flex;gap:20px;background:#fafcfb;color:#334b3d;padding:7px 12px;font-size:13px;border-bottom:1px solid #dae2dc;flex-shrink:0;white-space:nowrap}#excel-notes .ks-tabs b{color:#176b43;border-bottom:2px solid #217346}
#excel-notes .ks-ribbon{display:flex;gap:24px;align-items:center;height:72px;padding:7px 12px;overflow:hidden;white-space:nowrap;background:#f7f9f8;border-bottom:1px solid #dce3df;transition:height .45s,padding .45s;flex-shrink:0}#excel-notes .ks-ribbon>div{font-size:13px;min-width:65px;border-right:1px solid #dce3df;padding-right:20px}#excel-notes .ks-ribbon small{display:block;color:#69786e;font-size:11px;margin-top:4px}#excel-notes #ks-format{display:inline-block;width:64px}
#excel-notes [data-demo="0"][data-phase="2"] .ks-ribbon{height:0;padding-top:0;padding-bottom:0;border:0}
#excel-notes .ks-formula{display:flex;gap:14px;align-items:center;flex-shrink:0;border-bottom:1px solid #dce3df;padding:7px 10px;background:#fff;font:13px/1.4 Consolas,monospace;min-height:34px}#excel-notes #ks-address{min-width:32px}#excel-notes .ks-formula i{color:#748379}#excel-notes #ks-formula-text{color:#202e26;white-space:nowrap}
#excel-notes .ks-viewport{flex:1;min-height:0;overflow:auto;background:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,#e5ebe6 35px,#e5ebe6 36px),#fff}
#excel-notes .ks-focus{position:relative;transform-origin:70% 36%;transition:transform .5s ease}
#excel-notes .ks-table{width:100%;min-width:440px;table-layout:fixed;border-collapse:collapse;font:15px/1.4 Calibri,"Segoe UI",sans-serif;color:#25332d;font-variant-numeric:tabular-nums}
#excel-notes .ks-table th,#excel-notes .ks-table td{height:36px;border:1px solid #dce4de;padding:5px 10px;white-space:nowrap;overflow:hidden;text-align:right}
#excel-notes .ks-table th{background:#f0f4f1;color:#627169;text-align:center;font-weight:400}#excel-notes .ks-table th:first-child{width:32px}#excel-notes .ks-table td:first-of-type{text-align:left}
#excel-notes .ks-table .ks-active{outline:2px solid #217346;outline-offset:-2px;background:#e9f5ed;font-weight:600;box-shadow:0 0 0 4px #21734612}#excel-notes .ks-table .ks-edit{color:#1762aa;background:#f3f9ff;font:14px Consolas,monospace}
#excel-notes .ks-caret{color:#172d22}#excel-notes .ks-cursor{position:absolute;left:52%;top:66px;transition:transform .65s,left .65s,top .65s;filter:drop-shadow(0 2px 2px #0003)}
#excel-notes [data-demo="2"] .ks-cursor,#excel-notes [data-demo="4"] .ks-cursor{left:86%}#excel-notes [data-demo="3"] .ks-cursor{left:86%;top:102px}
#excel-notes [data-phase="0"] .ks-cursor{transform:translate(-50px,35px)}#excel-notes [data-phase="2"] .ks-cursor{opacity:0}
#excel-notes [data-phase="2"]:not([data-demo="0"]) .ks-focus{transform:scale(1.025)}
#excel-notes .ks-statusbar{display:flex;justify-content:space-between;align-items:center;padding:5px 12px;background:#f0f4f1;color:#526c5d;font-size:12px;flex-shrink:0}#excel-notes .ks-statusbar b{border-bottom:2px solid #217346;color:#217346}
#excel-notes .ks-playback{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;margin-top:20px;min-height:102px}#excel-notes .ks-keys{display:flex;gap:8px;align-items:center}
#excel-notes .ks-keys kbd{font:700 20px/1 system-ui;background:#f4f7fa;color:#152d40;border:1px solid #adc0cf;border-bottom:4px solid #8299aa;padding:13px 16px;border-radius:9px;min-width:49px;text-align:center;transition:transform .15s,background .15s}
#excel-notes .ks-keys.is-pressed kbd{background:#bdebd3;border-color:#499d72;transform:translateY(3px)}
#excel-notes .ks-phase{grid-column:1/-1;grid-row:2;color:var(--ks-green);font-size:14px;font-weight:600;white-space:nowrap}
#excel-notes .ks-player-buttons{display:flex;gap:8px}#excel-notes .ks-player-buttons button{min-height:40px;border:1px solid var(--ks-border);color:var(--ks-ink);background:transparent;border-radius:8px;padding:7px 11px;font-size:13px;white-space:nowrap}
#excel-notes .ks-takeaway{background:var(--ks-soft);color:var(--ks-ink);border-left:3px solid var(--ks-green);margin:12px 0 0;padding:12px 14px;font-size:15px;line-height:1.5;min-height:92px}
#excel-notes .ks-note{color:var(--ks-muted);font-size:13px;margin:18px 0}
[data-theme=light] #excel-notes #lesson-shortcuts{--ks-panel:#fff;--ks-border:#bdcddd;--ks-ink:#182f42;--ks-muted:#425e73;--ks-soft:#eaf3ee;--ks-green:#176c45}
[data-theme=light] #excel-notes :is(.article-meta,.article-meta>span,.section-label h3,.index-note,.index-label,.entry,.entry small,.ks-heading p){color:#405970}
[data-theme=light] #excel-notes .entry{background:#e7f0fa}
[data-theme=light] #excel-notes .quick-solution kbd{background:#eef4f9;color:#203c54;border-color:#9bafc0}
[data-theme=light] #excel-notes :is(.af-guide,.af-live-result,.af-caption-row,.af-benefit,.af-setup-path,.af-options){color:#314d63}
[data-theme=light] #excel-notes :is(.af-guide-title,.af-guide-step strong,.af-guide-step small,.af-guide-step>div){color:#314d63}
@media(max-width:1000px){#excel-notes .ks-teaching{grid-template-columns:1fr}#excel-notes .ks-menu{grid-template-columns:repeat(3,minmax(0,1fr))}#excel-notes .ks-menu-item{min-height:84px;padding:12px}}
@media(max-width:600px){#excel-notes .ks-menu{grid-template-columns:repeat(2,minmax(0,1fr))}#excel-notes .ks-menu-item strong{font-size:16px}#excel-notes .ks-menu-item span{font-size:13px}#excel-notes .ks-presentation{padding:16px 12px}#excel-notes .ks-lesson-head{min-height:142px}#excel-notes .ks-lesson-head h3{font-size:22px}#excel-notes .ks-saved{display:none}#excel-notes .ks-tabs{gap:14px}#excel-notes .ks-ribbon{gap:12px}#excel-notes .ks-workbook{height:356px}#excel-notes .ks-playback{grid-template-columns:1fr;min-height:145px}#excel-notes .ks-player-buttons{grid-row:3}#excel-notes .ks-keys kbd{font-size:18px;padding:12px}#excel-notes .ks-takeaway{min-height:118px}}
@media(prefers-reduced-motion:reduce){#excel-notes .ks-focus,#excel-notes .ks-ribbon,#excel-notes .ks-cursor,#excel-notes .ks-keys kbd{transition:none;transform:none!important}}
