@font-face{font-family:Onest;src:url('assets/onest-cyrillic-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;unicode-range:U+0400-052F,U+20BD}
@font-face{font-family:Onest;src:url('assets/onest-latin-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Onest;src:url('assets/onest-cyrillic-500-normal.woff2') format('woff2');font-style:normal;font-weight:500;unicode-range:U+0400-052F,U+20BD}
@font-face{font-family:Onest;src:url('assets/onest-latin-500-normal.woff2') format('woff2');font-style:normal;font-weight:500;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Onest;src:url('assets/onest-cyrillic-600-normal.woff2') format('woff2');font-style:normal;font-weight:600;unicode-range:U+0400-052F,U+20BD}
@font-face{font-family:Onest;src:url('assets/onest-latin-600-normal.woff2') format('woff2');font-style:normal;font-weight:600;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
:root{font-family:Onest,Arial,sans-serif;color:#111;background:#fff;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:320px}
button,textarea{font:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button:focus-visible,textarea:focus-visible{outline:2px solid #79a92f;outline-offset:3px}
button:disabled{cursor:default}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-shell{width:min(712px,calc(100% - 40px));margin:96px auto 80px}
.masthead{margin-bottom:32px;animation:enter .55s cubic-bezier(.2,.8,.2,1) both}
.wordmark{display:flex;align-items:center;gap:12px;height:48px}
.wordmark img{display:block;width:48px;height:48px}
h1{font-size:40px;font-weight:600;line-height:48px;letter-spacing:-1.2px;margin:0}
.masthead p{font-size:19px;line-height:25px;letter-spacing:-.57px;margin:12px 0 0}
#generator{display:flex;flex-direction:column;align-items:center;gap:32px;animation:enter .55s .07s cubic-bezier(.2,.8,.2,1) both}
.input-group{width:100%}
.mode-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.mode-controls{display:flex;align-items:center;gap:12px;min-width:0}
.tabs{display:flex;align-items:center;gap:4px;padding:4px;background:#f5f5f5;border-radius:16px}
.tabs button{height:40px;padding:0 16px;border:0;border-radius:12px;background:transparent;color:#111;font-size:16px;letter-spacing:-.48px;line-height:16px;transition:background .24s ease,box-shadow .24s ease,transform .24s ease}
.tabs button[aria-selected=true]{background:#fff;font-weight:500;box-shadow:0 2px 8px #11111108}
.tabs button:hover:not([aria-selected=true]){background:#eaeaea}
.tabs button:active{transform:scale(.96)}
.settings-button{display:grid;place-items:center;flex:none;width:48px;height:48px;padding:12px;background:#f5f5f5;border:0;border-radius:12px;transition:background .2s ease,transform .2s ease}
.settings-button:hover{background:#e9e9e9}
.settings-button:active{transform:scale(.96)}
.settings-button[aria-expanded=true],.settings-button[aria-expanded=true]:hover{background:#111}
.mode-row.settings-active .tabs,.mode-row.settings-active .generate-button{opacity:.5}
.input-group.settings-open .mode-row{margin-bottom:32px}
.settings-button img,.icon-button img{display:block;width:100%;height:100%}
.entry-box{display:flex;align-items:center;width:100%;height:56px;border:1px solid #e9e9e9;border-radius:16px;background:#fff;overflow:hidden;transition:border-color .25s ease,box-shadow .25s ease,height .3s cubic-bezier(.2,.8,.2,1)}
.entry-box:focus-within{border-color:#b7d889;box-shadow:0 0 0 4px #c3f4672b}
.entry-box.invalid{border-color:#cd6767}
.entry-box.batch{height:200px;align-items:flex-start}
.icon-button{display:grid;place-items:center;flex:none;width:24px;height:24px;padding:0;border:0;background:none;transition:transform .2s ease,opacity .2s ease}
.icon-button:hover{transform:scale(1.12)}
.icon-button:active{transform:scale(.9)}
.paste-button{margin:0 16px}
.batch .paste-button{margin-top:16px}
.entry-divider{width:2px;height:21px;flex:none;margin-right:16px;background:#eeeded}
.batch .entry-divider{margin-top:18px}
textarea{flex:1;min-width:0;height:54px;min-height:0;resize:none;border:0;outline:0!important;padding:18px 0 14px;margin:0;background:transparent;color:#111;font-size:16px;line-height:21px;letter-spacing:-.48px;white-space:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#e5e5e5 transparent}
textarea::placeholder{color:#7d7d7d;opacity:1}
.batch textarea{height:198px;padding-top:16px;padding-bottom:16px;line-height:28px;white-space:pre;overflow-x:auto;overflow-y:auto}
textarea::-webkit-scrollbar,.results::-webkit-scrollbar{width:5px;height:5px}
textarea::-webkit-scrollbar-thumb,.results::-webkit-scrollbar-thumb{background:#ddd;border-radius:10px}
textarea::-webkit-scrollbar-track,.results::-webkit-scrollbar-track{background:transparent}
.clear-button{margin:0 16px 0 10px}
.batch .clear-button{margin-top:16px}
.generate-button{flex:none;min-height:48px;padding:0 16px;border:0;border-radius:16px;background:#c3f467;color:#111;font-size:16px;font-weight:500;letter-spacing:-.48px;line-height:16px;transition:background .25s ease,transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease,opacity .2s ease}
.generate-button:hover{background:#b6e459;transform:translateY(-2px);box-shadow:0 8px 22px #a9dc5280}
.generate-button:active{transform:translateY(1px) scale(.97);box-shadow:none}
.generate-button:disabled{opacity:.6;cursor:wait;transform:none}
.settings-panel{display:flex;flex-direction:column;gap:32px;width:100%;padding:32px;border:1px solid #efefef;border-radius:16px;background:#fff;animation:enter .25s ease both}
.settings-group{position:relative;min-width:0;width:100%;margin:0;padding:0;border:0}
.settings-group legend{width:100%;margin:0 0 20px;padding:0;color:#111;font-size:24px;font-weight:600;line-height:32px;letter-spacing:-.72px}
.style-options{display:flex;align-items:start;justify-content:space-between;gap:16px}
.style-option{position:relative;display:flex;flex:0 0 172px;flex-direction:column;align-items:center;gap:12px;min-width:0;color:#111;font-size:16px;line-height:20px;letter-spacing:-.48px;opacity:.5;cursor:pointer;transition:opacity .24s ease,transform .24s ease}
.style-option:hover{opacity:.85;transform:translateY(-2px)}
.style-option:has(input:checked){opacity:1}
.style-option:has(input:focus-visible){outline:2px solid #79a92f;outline-offset:4px;border-radius:4px}
.style-preview{display:block;width:172px;height:172px;transition:background .2s ease}
.style-preview svg{display:block;width:100%;height:100%}
.selected-mark{position:absolute;top:-12px;right:-12px;width:32px;height:32px;opacity:0;transform:scale(.6);transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1)}
.style-option:has(input:checked) .selected-mark{opacity:1;transform:scale(1)}
.color-badge{position:absolute;top:140px;left:50%;display:flex;align-items:center;gap:4px;height:24px;padding:6px;border-radius:80px;background:#c3f467;color:#111;font-size:12px;line-height:12px;letter-spacing:-.36px;white-space:nowrap;transform:translateX(-50%);pointer-events:none}
.color-badge[hidden]{display:none}
.badge-swatch{display:block;flex:none;width:12px;height:12px;border-radius:12px;background:#fff}
.color-options{display:flex;align-items:center;gap:8px}
.color-choice,.custom-color-choice{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #e4e4e4;border-radius:16px;cursor:pointer;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.color-choice:hover,.custom-color-choice:hover{transform:translateY(-2px)}
.color-choice.dark{background:#111}
.color-choice.white{background:#fff}
.color-choice[aria-pressed=true],.custom-color-choice.selected{border:2px solid #c3f467}
.custom-color-choice{overflow:visible;border:0;background:#f6f6f6}
.custom-color-choice img{position:relative;width:24px;height:24px;pointer-events:none}
.custom-color-choice.selected > img{display:none}
.custom-color-indicator{display:none;position:absolute;top:-4px;right:-2px;width:20px;height:20px;border-radius:6px;background:#111}
.custom-color-indicator img{display:block;width:12px;height:12px}
.custom-color-choice.selected .custom-color-indicator{display:grid;place-items:center}
.custom-color-choice:focus-visible{outline:2px solid #79a92f;outline-offset:3px}
.kibo-picker{position:absolute;top:100%;left:0;z-index:20;display:flex;flex-direction:column;gap:16px;width:min(320px,100%);margin-top:12px;padding:16px;border:1px solid #e4e4e4;border-radius:12px;background:#fff;box-shadow:0 12px 32px #11111124}
.kibo-selection{position:relative;height:154px;overflow:hidden;border-radius:6px;cursor:crosshair;touch-action:none}
.kibo-selection-thumb{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #11111180;transform:translate(-50%,-50%);pointer-events:none}
.kibo-slider-row{display:flex;align-items:center;gap:12px}
.kibo-eyedropper{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #e4e4e4;border-radius:8px;background:#fff;cursor:pointer}
.kibo-eyedropper img{width:16px;height:16px;opacity:.6}
.kibo-eyedropper[hidden]{display:none}
.kibo-sliders{display:grid;gap:10px;width:100%}
.kibo-sliders input{width:100%;height:12px;margin:0;border:0;border-radius:8px;appearance:none;cursor:pointer}
.kibo-sliders input::-webkit-slider-thumb{width:16px;height:16px;border:1px solid #777;border-radius:50%;background:#fff;box-shadow:0 1px 3px #11111140;appearance:none}
.kibo-sliders input::-moz-range-thumb{width:16px;height:16px;border:1px solid #777;border-radius:50%;background:#fff;box-shadow:0 1px 3px #11111140}
.kibo-hue{background:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00)}
.kibo-format-row{display:flex;align-items:center;gap:8px}
.kibo-color-sample{flex:none;width:24px;height:24px;border:1px solid #e4e4e4;border-radius:6px}
.kibo-format,.kibo-value,.kibo-opacity{height:32px;min-width:0;padding:0 8px;border:1px solid #e4e4e4;border-radius:6px;background:#f5f5f5;color:#111;font:12px Onest,sans-serif}
.kibo-format{width:68px}.kibo-value{flex:1}.kibo-opacity{width:44px;padding:0 3px;text-align:center}
.settings-actions{display:flex;justify-content:flex-end;gap:8px}
.output{margin-top:48px;animation:enter .55s .13s cubic-bezier(.2,.8,.2,1) both}
.results{position:relative;width:100%;height:320px;border:1px solid #efefef;border-radius:16px;background-color:#fff;background-image:radial-gradient(#eee 1px,transparent 1px);background-size:10px 10px;background-position:3px 3px;overflow:hidden;transition:height .32s cubic-bezier(.2,.8,.2,1),border-color .25s ease}
.results.empty-state{display:grid;place-items:center}
.results.empty-state p{font-size:16px;font-weight:500;letter-spacing:-.48px;line-height:16px;color:#b8b8b8;margin:0;text-align:center}
.results.single-result{display:grid;place-items:center}
.single-result .qr-tile{width:200px;height:200px}
.results.batch-result{height:auto;min-height:292px;max-height:650px;overflow:auto;scrollbar-width:thin;scrollbar-color:#dedede transparent}
.qr-grid{display:grid;grid-template-columns:repeat(3,172px);justify-content:space-between;gap:40px;padding:47px}
.qr-item{min-width:0;width:172px}
.qr-tile{position:relative;width:172px;height:172px;animation:tile-in .35s cubic-bezier(.2,.8,.2,1) both}
.qr-tile:is(button){display:block;padding:0;border:0;background:none;cursor:none}
.qr-tile svg{display:block;width:100%;height:100%}
.qr-link{margin:10px 0 0;overflow:hidden;color:#7d7d7d;font-size:12px;line-height:14px;letter-spacing:-.36px;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.floating-download{position:fixed;top:0;left:0;z-index:10;display:flex;align-items:center;justify-content:center;width:118px;height:42px;overflow:hidden;border-radius:80px;background:#fff;color:#111;font-size:16px;font-weight:500;letter-spacing:-.48px;box-shadow:0 4px 12px #1111113d;opacity:0;transform:translate3d(calc(var(--cursor-x,0px) - 50%),calc(var(--cursor-y,0px) - 50%),0);pointer-events:none;transition:opacity .16s ease,width .34s cubic-bezier(.2,.8,.2,1),background .3s ease;will-change:transform}
.floating-download.visible{opacity:1;transition:opacity .16s ease,transform .07s ease-out,width .34s cubic-bezier(.2,.8,.2,1),background .3s ease}
.download-label{display:flex;flex:none;align-items:center;justify-content:center;gap:8px;white-space:nowrap;transition:opacity .12s ease,transform .24s ease}
.download-label img{display:block;width:18px;height:18px}
.download-check{position:absolute;top:50%;left:50%;width:20px;height:20px;opacity:0;transform:translate(-50%,-50%) scale(.5);transition:opacity .18s ease,transform .3s cubic-bezier(.2,.8,.2,1)}
.floating-download.done{width:42px;background:#c3f467}
.floating-download.done .download-label{opacity:0;transform:scale(.75)}
.floating-download.done .download-check{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:.12s}
.output-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;animation:enter .3s ease both}
.result-summary{display:flex;align-items:center;gap:12px;min-width:0}
.output-actions #result-count{color:#7d7d7d;font-size:16px;line-height:24px;letter-spacing:-.48px;white-space:nowrap}
.summary-color-badge{position:static;flex:none;transform:none}
.download-buttons{display:flex;align-items:center;gap:8px}
.secondary-button,.dark-button{height:40px;padding:0 16px;border:0;border-radius:12px;font-size:16px;letter-spacing:-.48px;line-height:16px;white-space:nowrap;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.secondary-button{background:#f5f5f5;color:#111}
.dark-button{background:#111;color:white;font-weight:500}
.secondary-button:hover{background:#e9e9e9;transform:translateY(-2px)}
.dark-button:hover{background:#303030;transform:translateY(-2px);box-shadow:0 5px 14px #11111128}
.secondary-button:active,.dark-button:active{transform:scale(.96)}
#errors{margin:0;color:#b44343;white-space:pre-line;font-size:14px;line-height:1.5}
#errors:not(:empty){margin-top:10px}
#status{margin:0;color:#646464;font-size:14px;line-height:20px;text-align:right}
#status:not(:empty){margin-top:10px}
@keyframes enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes tile-in{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){.app-shell{margin-top:48px}.mode-row{flex-wrap:wrap}.mode-row .generate-button{margin-left:auto}.style-options{justify-content:start;gap:24px;overflow-x:auto;padding:12px 12px 8px;scroll-snap-type:x mandatory}.style-option{scroll-snap-align:start}.qr-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:24px}.qr-item,.qr-tile{width:100%}.qr-tile{height:auto;aspect-ratio:1}.output-actions{flex-wrap:wrap}.result-summary{flex-basis:100%}}
@media(max-width:500px){h1{font-size:34px}.masthead p{font-size:16px}.qr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs button{font-size:14px;padding:0 11px}.mode-row{gap:8px}.settings-panel{padding:20px}.download-buttons{width:100%}.download-buttons button{flex:1;font-size:14px}.batch textarea{white-space:pre-wrap;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
