:root{--paper:#f7f5ef;--ink:#1a3731;--forest:#183a32;--pine:#24473b;--mint:#dff0db;--lime:#c6ef99;--gold:#c3a56e;--muted:#65776e;--line:#e0e5d8;--editor:#172823;--code:#d2dfd4;--error:#ff9890;--correct:#a7d6a3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"Avenir Next",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.45}button,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #b9a172;outline-offset:3px}a{color:inherit}.skip{position:absolute;top:-55px;left:10px;z-index:99;background:#fff;padding:8px}.skip:focus{top:6px}.top{background:#fffefb;border-bottom:1px solid #e7e7dd}.top-in{max-width:1250px;margin:auto;padding:14px 27px;display:flex;align-items:center;gap:18px;min-height:59px}.wordmark{font-size:15px;letter-spacing:-.06em;font-weight:900;text-decoration:none;white-space:nowrap}.wordmark span:not(.brand-symbol){color:#c19c60}.brand-symbol{font-size:19px;color:#a2824b;padding-right:5px}.top nav{display:flex;gap:21px;margin-left:auto}.top nav a{font-size:12px;text-decoration:none;color:#4b5c53}.top nav a:hover{text-decoration:underline}.top-note{font-size:9px;letter-spacing:.15em;font-weight:850;border-left:1px solid #ddd;padding-left:22px;color:#7d857b}.top-note b{color:#b09058}.shell{max-width:1248px;padding:25px 27px 42px;margin:auto}.eyebrow,.overline{font-weight:850;letter-spacing:.17em;font-size:10px;color:#69816d;display:flex;gap:10px;align-items:center}.spark{color:#b4935f;font-size:17px}.eyeline{width:22px;border-top:1px solid #bda982}.intro{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:2px 0 22px}.intro h1{font-size:clamp(33px,4.1vw,58px);font-weight:780;letter-spacing:-.064em;margin:1px 0 7px;line-height:1.03}.intro h1 em,.lower h2 em,.dialog h2 em{font:italic .98em Georgia,"Times New Roman",serif;letter-spacing:-.056em;font-weight:500;color:#a98a54}.intro p{margin:0;color:#62736a;font-size:14px}.studio-stamp{text-align:center;width:102px;min-width:102px;height:81px;display:grid;align-content:center;background:#e8edde;border:1px solid #d3dcca;border-radius:10px;font-size:18px;line-height:1.04;letter-spacing:-.045em;font-weight:850;transform:rotate(3deg)}.studio-stamp span{font:italic 16px Georgia,serif;color:#ad8850}.studio-stamp small{font-size:8px;letter-spacing:.18em;color:#879287;margin-top:3px}.studio{border:1px solid #ccd5c5;border-radius:19px;background:#fffefa;box-shadow:0 26px 56px #314c3014;overflow:hidden}.studio-top{background:#173b32;color:#eaf0dc;min-height:64px;padding:13px 23px;display:flex;justify-content:space-between;align-items:center;gap:15px}.studio-id{display:flex;align-items:center;gap:13px}.live-dot{width:11px;height:11px;border-radius:50%;background:#b9e595;box-shadow:0 0 0 4px #b9e59522;flex-shrink:0}.studio-id b{font-size:11px;font-weight:850;letter-spacing:.13em;display:block}.studio-id small{font-size:11px;color:#b0c5b8;display:block;margin-top:2px}.shortcuts{display:flex;align-items:center;gap:20px;font-size:11px;color:#a9bcb0}kbd{display:inline-block;border:1px solid #87958b55;border-bottom-width:2px;border-radius:4px;padding:1px 5px;background:#ffffff12;font-family:inherit;font-size:10px;color:inherit}.subtle{border:1px solid #678377;background:transparent;color:#eaf1e6;border-radius:8px;min-height:31px;padding:5px 11px;font-size:11px}.subtle:hover{background:#295447}.work{display:grid;grid-template-columns:minmax(0,1fr) 265px}.workspace{padding:21px 22px 20px;min-width:0}.rail{background:#f2f4ea;border-left:1px solid #dce4d7;padding:23px 19px;display:flex;flex-direction:column;gap:13px}.selectors{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap;margin-bottom:16px}.select-field,.mode-field,.duration-field{display:grid;gap:7px}.select-field>span,.mode-field>span,.duration-field>span{font-size:9px;letter-spacing:.13em;font-weight:800;color:#778579}.select-field select{min-width:150px;width:166px;border:1px solid #d7ded0;border-radius:8px;background:#f9fbf7;color:#264437;font-weight:750;font-size:12px;height:38px;padding:0 12px}.pills{display:inline-flex;gap:3px;border:1px solid #dfe6d9;padding:4px;background:#f4f6ef;border-radius:10px}.chip{border:0;border-radius:7px;padding:7px 11px;min-height:28px;background:transparent;font-weight:700;font-size:11px;color:#768478;white-space:nowrap}.chip:hover{color:#214937;background:#e7eddf}.chip.active{background:#244a3c;color:#f0f4e9;box-shadow:0 2px 7px #1c422b16}.duration .chip{min-width:31px;padding:6px 8px}.bench-stats{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:start;gap:10px;position:relative;padding-bottom:16px;margin-bottom:13px}.bench-stats>div:not(.progress-track){display:flex;flex-direction:column;gap:0}.bench-stats small{color:#7e8b81;font-size:9px;font-weight:850;letter-spacing:.12em}.bench-stats strong{color:#17382f;font-size:clamp(24px,2.7vw,35px);line-height:1.1;letter-spacing:-.065em;margin-top:4px;font-variant-numeric:tabular-nums}.bench-stats strong i{font-style:normal;font-weight:850;color:#83948a;font-size:11px;letter-spacing:.02em;margin-left:4px}.progress-track{position:absolute;bottom:0;width:100%;height:4px;background:#edf0e8;border-radius:10px;overflow:hidden}.progress-track span{display:block;background:linear-gradient(90deg,#84b88e,#c5e795);height:100%;transition:width .17s}.editor{border:1px solid #274a40;border-radius:13px;background:var(--editor);overflow:hidden;box-shadow:0 15px 32px #12271b1c}.editor-top{height:42px;background:#20382f;display:flex;align-items:center;justify-content:space-between;padding:0 15px;color:#d8e1d6;border-bottom:1px solid #344940}.editor-file{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:680}.editor-file small{font-size:10px;color:#82988b;border-left:1px solid #526b5d;padding-left:10px}.file-dot{width:9px;height:9px;border-radius:2px;background:#d4ab71;box-shadow:10px 0 0 #6fa6a1}.editor-right{display:flex;align-items:center;gap:13px}.state{color:#bce1b3;font-size:9px;font-weight:850;letter-spacing:.1em}.editor-action{border:0;border-left:1px solid #496154;background:transparent;color:#dbe6d9;font-size:12px;height:28px;padding:0 3px 0 12px}.editor-action:hover{color:#b6e1a3}.editor-body{height:clamp(198px,26vh,285px);display:flex;overflow:hidden;position:relative;padding:15px 9px 12px 0}.gutter{color:#708b7a;display:flex;flex-direction:column;flex-shrink:0;width:43px;align-items:center;text-align:right;font:12px/1.85 ui-monospace,Menlo,Consolas,monospace;user-select:none}.code-holder{flex:1;min-width:0;position:relative;overflow:auto;scrollbar-width:thin;scrollbar-color:#6e8474 #172823}.code-text{white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;margin:0;padding:0 18px 10px 3px;font:500 14px/1.85 "SFMono-Regular",Consolas,"Liberation Mono",monospace;color:#b7c9bc;min-height:100%;letter-spacing:-.015em}.code-text span.correct{color:#bbf0c4;background:#253c30}.code-text span.incorrect{color:#fff;background:#8d4a43;border-radius:1px;text-decoration:underline wavy #ffb5a4}.code-text span.caret{border-left:2px solid #b7ee98;animation:blink 1s step-end infinite;margin-left:-2px}.code-text span.pending{color:#b3c9bd}.code-text span.symbol{color:#d7b87f}.code-text span.keyword{color:#a6cbff}.code-text span.string{color:#e6c99d}.code-text span.comment{color:#a0aa99}@keyframes blink{50%{border-color:transparent}}#typingInput{position:absolute;inset:0;opacity:.01;color:transparent;caret-color:transparent;resize:none;width:100%;height:100%;border:0;background:transparent;outline:0;font-size:16px;white-space:pre-wrap;z-index:1}#typingInput:focus+.focus-prompt{display:none}.focus-prompt{position:absolute;inset:0;z-index:2;background:#172823a8;border:0;color:#e8f3e8;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;text-align:center}.focus-prompt:hover{background:#172823a0}.focus-prompt strong{font-size:13px;font-weight:750}.focus-prompt small{font-size:11px;color:#b1c2b5}.focus-symbol{font-size:24px;background:#2c4b3f;border:1px solid #6b9572;padding:9px;border-radius:13px}.editor-foot{padding:11px 15px;background:#20382f;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#b2c6b7;border-top:1px solid #344940;font-size:10px}.editor-foot .editor-hint{color:#829e8c}.work-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.btn-main,.btn-light{border-radius:9px;min-height:41px;padding:10px 15px;font-size:12px;font-weight:800;transition:transform .1s}.btn-main:active,.btn-light:active{transform:scale(.98)}.btn-main{background:#214637;color:#fbfff2;border:1px solid #214637}.btn-main:hover{background:#316249}.btn-light{background:#fbfcf9;border:1px solid #dce4d8;color:#31473a}.btn-light:hover{background:#edf4e7}.options{margin-top:12px;background:#f7f9f4;border:1px solid #dfe6d8;border-radius:10px;padding:8px 13px}.options[hidden],.duration-field[hidden],.dialog:not([open]){display:none!important}.switch-row{display:flex;align-items:start;gap:9px;border-bottom:1px solid #e4e9df;padding:9px 0}.switch-row input{accent-color:#296149;width:17px;height:17px;margin-top:3px}.switch-row strong{display:block;font-size:12px}.switch-row small{font-size:11px;color:#6d8170}.clear-history{border:0;background:transparent;color:#91544c;font-size:11px;padding:10px 3px}.rail-head{display:flex;justify-content:space-between;color:#516b57;font-size:10px;letter-spacing:.115em;font-weight:850}.rail-dec{font-size:20px;line-height:11px;color:#bd9a67}.rail-card{background:#fffefa;border:1px solid #dde5d8;padding:18px 16px;border-radius:13px}.rail-icon{border:1px solid #dfe2d0;display:grid;place-items:center;background:#edf0e4;border-radius:8px;width:38px;height:38px;color:#819d75;font-size:26px;margin-bottom:15px}.rail-card small{font-size:9px;font-weight:850;letter-spacing:.12em;color:#819088}.best{display:flex;gap:8px;align-items:baseline;margin-top:7px}.best strong{font-size:42px;letter-spacing:-.08em;line-height:1;font-weight:760;color:#244638}.best span{font-size:9px;font-weight:800;color:#7c8b7c;line-height:1.2}.rail-card p{font-size:11px;color:#7d8b7d;margin:11px 0 0}.rail-focus{background:#e5eee0;border-color:#d2e1c8}.rail-focus h3{font-size:17px;line-height:1.2;letter-spacing:-.03em;margin:8px 0;font-weight:770;color:#28483a}.rail-focus p{line-height:1.55}.mini-keyset{display:flex;gap:6px;margin:15px 0}.mini-keyset span{font:700 14px ui-monospace,monospace;border:1px solid #c4d7b6;border-bottom:3px solid #c4d7b6;border-radius:6px;background:#fcfff8;width:30px;height:30px;display:grid;place-items:center}.inline-link{color:#2e6545;background:none;border:0;padding:0;text-align:left;font-size:11px;font-weight:850}.inline-link:hover{text-decoration:underline}.rail-bottom{display:flex;gap:8px;font-size:8px;letter-spacing:.04em;color:#798c7a;font-weight:850;justify-content:space-between;flex-wrap:wrap}.bullet{color:#9ebc94}.lower{margin-top:36px}.lower-head{display:flex;justify-content:space-between;align-items:end;gap:20px}.lower h2{font-size:29px;letter-spacing:-.05em;line-height:1.1;margin:5px 0 0}.lower-head>p{font-size:12px;max-width:340px;color:#7a877b;margin:0}.insights{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:19px}.insight-box{padding:20px;border:1px solid #dce2d7;background:#fffefa;border-radius:13px;min-height:190px}.insight-title{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;letter-spacing:.09em;color:#51675a}.insight-title small{font-size:10px;color:#879388}.history-empty,.empty-heat{font-size:12px;color:#89998d;display:block;margin-top:25px}.history-row{display:grid;grid-template-columns:1fr auto auto;gap:15px;align-items:center;border-top:1px solid #e9eee6;margin-top:9px;padding-top:9px;font-size:12px}.history-row strong{font-size:17px}.history-row small{display:block;color:#889589}.heatmap{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:21px}.heat-cell{min-width:37px;min-height:44px;border:1px solid #d5e3d2;border-radius:7px;display:grid;place-items:center;gap:0;padding:4px 8px;background:#e7f0e3}.heat-cell.hot{background:#f7d8cd;border-color:#eab4a7}.heat-cell span{font:700 16px ui-monospace,monospace}.heat-cell small{font-size:9px;color:#866f62}.tip{font-size:10px;color:#889487;margin:13px 0 0}.learn{margin:21px 0 45px}.learn details{border-bottom:1px solid #dbe4d7}.learn summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:13px;font-weight:770;padding:18px 5px}.learn summary::-webkit-details-marker{display:none}.learn summary b{font-size:22px;color:#9eab9b;font-weight:400}.learn details[open] summary b{transform:rotate(45deg)}.learn-body{font-size:12px;line-height:1.8;color:#617467;max-width:770px}.footer{display:flex;gap:10px;justify-content:space-between;border-top:1px solid #dbe3d5;color:#7b887e;font-size:11px;padding-top:17px}.footer a{text-decoration:none}.dialog{border:0;border-radius:17px;max-width:550px;width:min(94vw,550px);padding:0;box-shadow:0 45px 130px #081b13a8}.dialog::backdrop{background:#10281fac;backdrop-filter:blur(5px)}.dialog-body{position:relative;background:#fffefa;color:#204438;padding:33px}.dialog-close{position:absolute;right:16px;top:12px;font-size:28px;background:none;border:0;color:#799080}.dialog h2{font-size:32px;letter-spacing:-.05em;margin:10px 0 24px}.result-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.result-grid>div{border:1px solid #dee7d8;background:#f4f7ef;padding:16px;border-radius:10px}.result-grid span,.result-grid small{font-size:10px;letter-spacing:.09em;font-weight:800;color:#798f7b;display:block}.result-grid strong{display:inline-block;font-size:39px;letter-spacing:-.075em;color:#294638;line-height:1.2}.dialog-body>p{font-size:12px;line-height:1.55;color:#6a7e6e}.result-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.custom-dialog textarea{width:100%;min-height:170px;resize:vertical;white-space:pre;tab-size:4;background:#192e27;color:#dfece2;border:1px solid #577161;border-radius:9px;padding:15px;font:12px/1.6 ui-monospace,monospace}.upload{display:block;font-size:11px;color:#506954;margin:14px 0}.upload input{display:block;margin-top:5px;font-size:11px}.custom-dialog #customError{color:#a94230;font-size:11px}.is-blind .bench-stats strong{filter:blur(8px)}.is-paused .focus-prompt{display:flex!important;pointer-events:auto;background:#14291ff0}.is-paused .focus-prompt strong:after{content:' · paused'}
@media(max-width:1000px){.work{grid-template-columns:minmax(0,1fr)}.rail{border-left:0;border-top:1px solid #dce4d7;display:grid;grid-template-columns:1fr 1fr;gap:12px}.rail-head,.rail-bottom{grid-column:span 2}.rail-card{padding:14px}.rail-icon{display:none}.rail-focus .mini-keyset{margin:8px 0}.editor-body{height:255px}}
@media(max-width:620px){.top-in{padding:11px 15px;min-height:54px}.top nav{gap:12px}.top-note{display:none}.wordmark{font-size:13px}.shell{padding:17px 11px 22px}.eyebrow{font-size:9px;letter-spacing:.11em}.intro{margin:6px 3px 16px}.intro h1{font-size:clamp(29px,7.3vw,38px)}.intro p{font-size:11px;max-width:270px}.studio-stamp{display:none}.studio{border-radius:14px}.studio-top{padding:11px 13px;min-height:50px}.studio-id b{font-size:9px}.studio-id small{font-size:10px}.shortcuts>span{display:none}.subtle{font-size:10px;min-height:29px;padding:4px 9px}.workspace{padding:13px 12px 16px}.selectors{gap:9px;margin-bottom:12px}.select-field{flex:1}.select-field select{width:100%;min-width:100px;height:34px;font-size:11px}.mode-field{flex:1}.select-field>span,.mode-field>span,.duration-field>span{font-size:8px}.pills{padding:3px}.chip{font-size:10px;padding:5px 7px;min-height:24px}.duration-field{width:100%}.duration .chip{min-width:40px}.bench-stats{padding-bottom:12px;margin-bottom:9px}.bench-stats small{font-size:8px}.bench-stats strong{font-size:24px;margin-top:2px}.editor-top{height:33px;padding:0 11px}.editor-file{font-size:10px}.editor-right{gap:7px}.editor-body{height:205px;padding-top:11px}.gutter{width:29px;font:10px/1.75 ui-monospace,monospace}.code-text{font:500 12px/1.75 ui-monospace,Consolas,monospace;padding-right:7px;overflow-wrap:anywhere}.editor-foot{padding:8px 11px;font-size:9px}.editor-hint{display:none}.work-actions{gap:6px;margin-top:9px}.btn-main,.btn-light{min-height:38px;padding:9px 11px;font-size:10px}.rail{padding:13px;gap:8px}.rail-card{padding:12px}.rail-focus h3{font-size:15px}.rail-card p{font-size:10px}.best strong{font-size:32px}.mini-keyset span{height:25px;width:24px;font-size:12px}.lower{margin-top:26px}.lower-head{display:block}.lower h2{font-size:25px}.lower-head p{margin-top:8px}.insights{grid-template-columns:1fr}.footer{margin-bottom:40px}.dialog-body{padding:22px}.result-grid strong{font-size:31px}}
@media(max-width:359px){.wordmark{font-size:12px}.top nav a{font-size:11px}.studio-id small{display:none}.intro h1{font-size:29px}.selectors{gap:6px}.chip{padding:5px 5px}.editor-body{height:193px}.code-text{font-size:11.5px}.btn-main,.btn-light{font-size:10px;padding:8px 9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001s!important;transition-duration:.001s!important;scroll-behavior:auto!important}}
/* Mobile firstfold: the typing canvas and primary restart take precedence over editorial decoration. */
@media(max-width:380px){.eyebrow{display:none}.intro{margin:0 3px 10px}.intro h1{font-size:27px;line-height:1.08;margin:2px 0}.intro p{display:none}.studio-top{min-height:43px;padding:9px 12px}.workspace{padding:10px 12px 13px}.selectors{margin-bottom:8px}.bench-stats{margin-bottom:7px}.editor-body{height:169px}.work-actions{margin-top:8px}}
@media(max-width:380px){.editor-body{height:157px}}
@media(min-width:1001px){.shell{padding-top:16px}.intro{margin-bottom:13px}.workspace{padding-top:15px}.selectors{margin-bottom:12px}.bench-stats{margin-bottom:10px}.editor-body{height:179px}}

/* Keep the code text visible before the first keystroke instead of covering the core experience. */
.focus-prompt{background:transparent;gap:5px;justify-content:flex-end;padding-bottom:16px}.focus-prompt:hover{background:#0f201426}.focus-prompt .focus-symbol{font-size:18px;width:36px;height:34px;padding:4px;background:#29493cdb}.focus-prompt strong{font-size:12px;background:#263f35eb;border:1px solid #718b72;border-radius:7px;padding:5px 12px;box-shadow:0 4px 15px #06150e59}.focus-prompt small{display:none}.is-paused .focus-prompt{background:#14291fcc;justify-content:center;padding:0}.is-paused .focus-prompt small{display:block}.editor-action{white-space:nowrap}.keyboard-coach{overflow-x:auto;max-width:100%;display:grid;gap:4px;margin-top:8px}.key-line{display:flex;gap:3px;justify-content:center;min-width:290px}.key-char{font:700 10px/1 ui-monospace,monospace;min-width:18px;height:25px;border:1px solid #d5dfd0;border-bottom:2px solid #adbfad;border-radius:4px;background:#fffefa;color:#466455;display:grid;place-items:center;flex:1}.key-char.next{color:#163c2d;border-color:#86ac64;background:#d5efa8;box-shadow:0 0 0 2px #d5efa84d}.key-char.failed{background:#f3d7cd;border-color:#d5ada2}.key-coach{margin-top:10px}.key-coach summary{cursor:pointer;font-size:11px;font-weight:800;color:#365b46;padding:8px 0;display:flex;justify-content:space-between}.key-coach p{font-size:10px;color:#7e8e82;line-height:1.5;margin:4px 0}.keyboard-coach .space{flex:5}
@media(max-width:420px){.editor-action{font-size:10px;padding-left:6px}.editor-right{gap:5px}.editor-right .state{font-size:8px}.focus-prompt{padding-bottom:7px}.focus-prompt strong{font-size:10px}}

.result-trend{margin-top:16px;border:1px solid #e0e7d9;background:#f7f9f3;border-radius:10px;padding:13px 14px 7px}.result-trend svg{display:block;width:100%;height:95px;margin-top:7px;overflow:visible}.result-trend path{fill:none;stroke:#4b8b63;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}

.github-import{margin-top:17px}.github-import label{font-size:11px;font-weight:800;display:block;margin-bottom:6px}.github-import>div{display:flex;gap:7px}.github-import input{min-width:0;flex:1;border:1px solid #d9e2d8;border-radius:7px;padding:8px 10px;font-size:11px}.github-import button{white-space:nowrap}.github-import small{color:#829083;font-size:10px;display:block;margin-top:4px}@media(max-width:390px){.github-import>div{flex-direction:column}}
@media(max-width:380px){.editor-body{height:139px}}

.layout-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;font-weight:800;margin-top:11px}.layout-choice select{border:1px solid #d7e4d4;background:#fffefa;padding:6px 9px;border-radius:6px;font-size:11px;color:#315d46}
