:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--green:#16a34a;--green-dark:#0f7a37;--green-light:#e7f7ec;--green-border:#bfe8c9;font:14px/1.4 ui-monospace,Consolas,monospace}*{box-sizing:border-box}html,body,#root{color:#0b2e13;background:#fff;width:100%;height:100%;margin:0;overflow:hidden}button,select,input{font:inherit}.app-root{background:#fff;flex-direction:column;width:100%;height:100%;display:flex}.toolbar{border-bottom:2px solid var(--green);background:#fff;flex-wrap:wrap;justify-content:space-between;gap:16px;padding:8px 12px;display:flex}.group{align-items:center;gap:8px;display:flex}.group button,.group select,.file-btn,.search-panel button,.search-panel input{color:var(--green-dark);border:1px solid var(--green-border);cursor:pointer;background:#fff;border-radius:4px;padding:5px 10px}.group select{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.group button:hover,.file-btn:hover,.search-panel button:hover{background:var(--green-light)}.slot-label{color:var(--green-dark);opacity:.8;font-size:11px}.rate-input{width:52px;color:var(--green-dark);border:1px solid var(--green-border);background:#fff;border-radius:4px;padding:4px 6px}.group button.active.rec{animation:1s ease-in-out infinite rec-pulse}@keyframes rec-pulse{0%,to{background:var(--green)}50%{background:var(--green-dark)}}.group button.active{background:var(--green);color:#fff;border-color:var(--green-dark)}.file-btn{align-items:center;display:inline-flex}.checkbox{color:var(--green-dark);align-items:center;gap:4px;display:flex}.meter{background:linear-gradient(90deg, var(--green-light), var(--green));border-radius:2px;max-width:60px;height:8px;transition:width 60ms linear}.main{flex:1;min-height:0;display:flex}.canvas-wrap{background:#000;flex:1;min-width:0;position:relative}.canvas-wrap canvas{width:100%;height:100%;display:block}.editor-wrap{border-left:2px solid var(--green);flex-direction:column;flex-shrink:0;width:460px;display:flex}.editor-wrap .cm-editor{flex:1}.search-panel{border-bottom:1px solid var(--green-border);background:#fff;flex-direction:column;gap:6px;padding:8px 12px;display:flex}.search-panel .row{gap:6px;display:flex}.search-panel .row input{cursor:text;flex:1}.search-error{color:var(--green-dark);border:1px solid var(--green);background:var(--green-light);border-radius:4px;padding:4px 8px;font-weight:700}.results{flex-direction:column;gap:4px;max-height:220px;display:flex;overflow-y:auto}.result{border:1px solid var(--green-border);border-radius:4px;align-items:center;gap:8px;padding:4px 6px;display:flex}.badge{background:var(--green);color:#fff;border-radius:3px;padding:2px 5px;font-size:10px;font-weight:700}.badge-wikimedia{background:var(--green-dark)}.result-title{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.result-link{color:var(--green-dark);font-size:12px}.source-error{border-top:1px solid var(--green);border-bottom:1px solid var(--green);color:var(--green-dark);background:#fff;justify-content:space-between;gap:12px;padding:6px 12px;font-weight:700;display:flex}.source-error button{color:var(--green-dark);cursor:pointer;background:0 0;border:none;font-weight:700}
