:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#22251e;background:#f4f5f0;font-synthesis:none;font-size:16px;--lime:#c8f36a;--line:#e3e6dc;--muted:#717668}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:8px;padding:10px 14px;color:inherit;font-size:.875rem;font-weight:600}button:hover{border-color:#829366;background:#f3f8e8}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,.sv:focus-visible{outline:3px solid #536f28;outline-offset:3px}a{color:inherit}header{background:#fff;border-bottom:1px solid var(--line);min-height:86px;padding:20px 3.5%;display:flex;justify-content:space-between;gap:24px;align-items:center}.brand{text-decoration:none;font-size:1.35rem;font-weight:750;display:flex;align-items:center;gap:12px}.brandmark{background:var(--lime);border-radius:10px;width:39px;height:39px;display:grid;place-items:center;font-size:2rem}.brand small{font:600 .75rem monospace;letter-spacing:.06em;margin-left:15px;color:var(--muted)}.connection{display:flex;gap:18px;align-items:center}.connection span{font-size:.875rem;color:var(--muted)}.dark{background:#252920;color:white;border-color:#252920}.dark:hover{background:#434b37;color:white}main{max-width:1600px;margin:auto;padding:34px 3.5% 22px}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font:600 .75rem monospace;letter-spacing:.13em;color:#757d69;margin:0 0 12px}h1{font-size:clamp(1.5rem,2.5vw,2.4rem);letter-spacing:-.045em;margin:0 0 10px;font-weight:730}h1 span{color:#8cbe38}.intro p:last-child{margin:0;color:var(--muted);line-height:1.6}.guide-link{font-size:.875rem;text-underline-offset:5px;white-space:nowrap}#notice{border:1px solid #dce5cf;background:#edf2e5;border-radius:8px;padding:12px 16px;margin-bottom:22px;font-size:.875rem;line-height:1.6}#notice.error{background:#fff0eb;border-color:#efc2af;color:#8a3215}.workspace{display:grid;grid-template-columns:minmax(280px,1.05fr) minmax(330px,1.3fr) minmax(265px,.85fr);gap:20px;align-items:stretch}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;min-width:0}.sectionhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.sectionhead .eyebrow{margin-bottom:9px}h2{font-size:1.25rem;letter-spacing:-.035em;margin:0}.badge{font:.75rem monospace;color:#777e6c;background:#f2f4ed;border-radius:6px;padding:6px 8px}.search{display:flex;gap:10px;align-items:center;background:#f5f6f1;border-radius:8px;padding:10px 12px}.search span{font-size:1.35rem}.search input{width:100%;border:0;background:none;outline:none;font-size:.875rem}.filters{display:flex;gap:5px;flex-wrap:wrap;margin:16px 0 12px}.filters button{padding:7px 10px;font-size:.75rem;border:0;background:#f4f5f0}.filters button.selected{background:#262c21;color:white}.hint{font-size:.75rem;line-height:1.7;color:var(--muted)}.effects{height:483px;overflow:auto;padding-right:4px;scrollbar-width:thin}.effect{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #eef0e8;cursor:grab}.effect:hover{background:#f7faef}.effect-num{font:.75rem monospace;color:#7c856d;width:28px;flex-shrink:0}.effect-name{flex:1;text-align:left;padding:2px 0;font-size:.875rem;font-weight:500;border:0;background:transparent;line-height:1.5}.effect-name small{display:block;color:var(--muted);font-size:.75rem}.add{padding:3px 9px;font-size:1.25rem;border-color:#e4e9da}.transport{display:flex;gap:8px;align-items:center;margin-bottom:22px}.lime{background:var(--lime);border-color:var(--lime);min-width:105px}.loop{margin-left:auto;display:flex;gap:7px;align-items:center;font-size:.875rem}.loop input{accent-color:#5c7d22;width:17px;height:17px}.sequence-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.75rem;color:var(--muted);margin-bottom:10px}.text-button{background:none;border:0;padding:5px 0;font-size:.75rem;color:var(--muted);white-space:nowrap}.sequence{min-height:434px;max-height:500px;overflow:auto;border:1px dashed #d6ddcb;background:#f8faf5;border-radius:10px;padding:10px}.sequence.dragover{background:#eef6dc;border-color:#7b9c43}.empty{height:408px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;color:#89917d;font-size:.875rem;line-height:1.7}.empty-icon{width:62px;height:62px;display:grid;place-items:center;border:1px dashed #bac7a3;border-radius:14px;font-size:2rem;margin-bottom:5px}.step{padding:14px 12px;border:1px solid #e0e6d6;background:#fff;border-radius:8px;margin-bottom:8px;cursor:grab}.step.active{border-color:#819d46;background:#edf7d8;box-shadow:inset 3px 0 #80a534}.step-top{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;line-height:1.5}.step-top .order{font:.75rem monospace;color:#879174;padding-top:3px}.step-top strong{font-weight:550;flex:1}.step-bottom{display:flex;gap:6px;margin-top:12px;align-items:center}.step-bottom label{font-size:.75rem;color:var(--muted);margin-right:auto}.step-bottom select{padding:4px;border:1px solid var(--line);border-radius:4px;background:#fff;font-size:.75rem}.step-bottom button{font-size:.75rem;padding:4px 8px}.composer-foot{display:flex;gap:12px;color:var(--muted);align-items:center;margin-top:14px}.composer-foot p{font-size:.75rem;line-height:1.8;margin:0}.mini-icon{font-size:1.5rem;color:#99a485}.ring-preview{height:225px;background:#181d17;border-radius:10px;display:grid;place-items:center;margin-bottom:20px}.ring-preview svg{height:215px;width:215px}.ring-preview text{fill:#d2dbbf;font:10px monospace;letter-spacing:2px}.ring-preview .small{font-size:8px;fill:#737c68}.sv{height:165px;border-radius:8px;position:relative;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,white,transparent),hsl(80,100%,50%);cursor:crosshair;touch-action:none}.sv span{position:absolute;width:15px;height:15px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #2228;transform:translate(-50%,-50%);pointer-events:none}.hue-label{display:block;margin:15px 0 21px}#hue{appearance:none;width:100%;height:12px;border-radius:20px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);cursor:pointer}#hue::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;border:3px solid #fff;background:transparent;box-shadow:0 0 0 1px #777}.rgb-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.rgb-inputs label{font:.75rem monospace;color:var(--muted)}.rgb-inputs input{width:100%;display:block;border:1px solid var(--line);background:#f7f8f4;border-radius:7px;margin-top:8px;padding:9px;font:.875rem monospace}.color-value{display:flex;align-items:center;justify-content:space-between;margin:16px 0}.color-value span{font:.875rem monospace}footer{display:flex;justify-content:space-between;gap:16px;margin-top:24px;color:#7d8472;font-size:.75rem;line-height:1.6}footer>span:first-child{font-family:monospace;letter-spacing:.04em}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.effects{height:510px}.sequence{min-height:460px}}@media(max-width:1050px){.workspace{grid-template-columns:minmax(260px,1fr) minmax(320px,1.2fr)}.color{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px 28px}.color .sectionhead{grid-column:1/-1;margin:0}.ring-preview{grid-row:2/7;height:100%;min-height:240px;margin:0}.color .hint{margin:0}.color .hue-label,.color-value{margin:0}.brand small{display:none}}@media(max-width:650px){header{padding:16px;align-items:flex-start}.brand{font-size:1rem;gap:7px}.brandmark{width:30px;height:30px;font-size:1.5rem}.connection{flex-direction:column-reverse;gap:8px;align-items:flex-end}.connection span{font-size:.75rem}main{padding:25px 16px}.intro{align-items:flex-start;flex-direction:column;gap:14px}.workspace{display:flex;flex-direction:column}.panel{padding:18px}.effects{height:330px}.sequence{min-height:280px}.empty{height:255px}.color{display:block}.color .sectionhead{margin-bottom:20px}.ring-preview{height:225px;margin-bottom:20px}.color .hue-label{margin:16px 0}.color-value{margin:16px 0}footer{flex-direction:column;gap:8px}.transport{flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){.step,.effect,button{transition:background .12s}}
/* Language selection never replaces or disconnects the controller. */
.header-actions{display:flex;align-items:center;gap:20px}.language-toggle{font-size:.75rem;padding:8px 11px;white-space:nowrap;background:#f5f7ef;color:#5c684f}.intro h1{max-width:850px}.loop{white-space:nowrap}.composer-foot p{line-height:1.6}@media(max-width:760px){header{flex-wrap:wrap}.header-actions{gap:12px;margin-left:auto}.connection{gap:8px}.brand small{display:none}}@media(max-width:420px){.header-actions{gap:8px}.language-toggle{padding:7px 9px}.access-page header{gap:14px}.access-page .header-actions{width:100%;justify-content:space-between}.intro h1{font-size:1.8rem}}
h1 span[data-i18n]{color:inherit}

/* Geometric icon centering and a shared text baseline for the wordmark. */
.brandmark{flex-shrink:0;line-height:1}.brandmark svg{display:block;width:24px;height:24px}.brand-copy{display:flex;align-items:baseline;gap:27px}.brand-name{line-height:1}.brand small{line-height:1;margin-left:0}@media(max-width:650px){.brandmark svg{width:20px;height:20px}.brand-copy{gap:12px}}

/* NeoPixel animation controls */
[hidden]{display:none!important}.light-effects{border-top:1px solid var(--line);margin-top:20px;padding-top:20px;grid-column:1/-1}.light-effect+.light-effect{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.effect-toggle{display:flex;align-items:center;gap:9px;font-size:.9rem;font-weight:650}.effect-toggle input{width:18px;height:18px;accent-color:#5c7d22}.light-effect .hint{margin:9px 0 13px}.speed-heading,.speed-labels,.gradient-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.speed-heading{font-size:.75rem;margin:16px 0 10px}.speed-heading output{font-family:monospace;color:var(--muted)}.effect-range{display:block;width:100%;height:20px;accent-color:#6c8d32;cursor:pointer;margin:0}.effect-range:disabled{opacity:.35;cursor:not-allowed}.speed-labels{font-size:.7rem;color:var(--muted);margin-top:7px}.gradient-heading h3{font-size:.9rem;margin:0}.palette-row{display:flex;align-items:flex-start;gap:8px}.palette-colors{display:grid;grid-template-columns:repeat(4,minmax(36px,1fr));flex:1;gap:10px 7px}.palette-stop{min-width:0;display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center}.palette-stop>span{font:.65rem monospace;color:var(--muted)}.palette-stop input{grid-column:1/-1;grid-row:1;width:100%;height:42px;cursor:pointer;padding:3px;border:1px solid var(--line);background:white;border-radius:7px}.palette-stop input::-webkit-color-swatch-wrapper{padding:0}.palette-stop input::-webkit-color-swatch{border:0;border-radius:3px}.palette-stop input::-moz-color-swatch{border:0;border-radius:3px}.palette-stop.selected input{outline:2px solid #708c3d;outline-offset:1px}.palette-stop button{border:0;padding:0 4px;font-size:1rem;line-height:1.1;background:none;color:var(--muted)}#addColor{height:42px;min-width:38px;padding:0 10px;font-size:1.4rem;border-style:dashed;background:#f8faf3}#lightResume{margin-top:10px;width:100%}.firmware-notice{font-size:.75rem;line-height:1.65;border:1px solid #e7dbb9;background:#fff9e9;border-radius:8px;padding:12px;margin-top:16px}.firmware-notice a{display:block;margin-top:5px}.color>.hint:last-child{grid-column:1/-1;margin-top:16px}
