:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text-color);background:var(--page-background);--page-background:#f7f8fa;--text-color:#20242c;--surface-background:#fff;--surface-muted:#eef0f4;--border-color:#cbd0d9;--conversion-background:#fff;--conversion-text:#20242c;--conversion-border:#cbd0d9;--placeholder-color:#747b88;--focus-outline:#a9c7ff;--focus-border:#3b72d9;--button-background:#3b72d9;--footer-background:#eef0f4;--footer-foreground:#20242c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page-background:#171a21;--text-color:#e5e9f0;--surface-background:#222733;--surface-muted:#2b303b;--border-color:#454d5b;--conversion-background:#e7e9ed;--conversion-border:#b8bfca;--placeholder-color:#a4adbb;--focus-outline:#87aefc;--focus-border:#87aefc;--button-background:#4b7fda;--footer-background:#11141a;--footer-foreground:#f7f8fa}}*{box-sizing:border-box}body{background:var(--page-background);min-width:320px;min-height:100vh;color:var(--text-color);margin:0}#root{min-height:100vh}.text-entry{gap:12px;width:min(100% - 48px,640px);margin:0 auto;padding-top:clamp(48px,12vh,120px);display:grid}.text-entry h1{color:var(--text-color);margin:0 0 8px;font-size:2rem}.text-entry h2{color:var(--text-color);margin:12px 0 0;font-size:1.125rem}.text-entry label{color:var(--text-color);font-size:1rem;font-weight:600}.octet-inputs{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.prefix-input-region{justify-items:start;gap:8px;display:grid}.mask-bits-input{width:120px;min-width:0;color:var(--text-color);align-items:center;gap:8px;font-weight:600;display:flex}.mask-bits-input input{border:1px solid var(--border-color);background:var(--surface-background);width:100%;min-width:0;height:48px;color:var(--text-color);font:inherit;text-align:center;box-sizing:border-box;border-radius:8px;padding:10px 8px}.mask-bits-input input::placeholder{color:var(--placeholder-color)}.mask-bits-input input:focus-visible{outline:3px solid var(--focus-outline);outline-offset:2px;border-color:var(--focus-border)}.mask-bits-input input:disabled{background:var(--surface-muted);cursor:wait}.octet-input{min-width:0;color:var(--text-color);align-items:center;gap:8px;font-weight:600;display:flex}.octet-input input{border:1px solid var(--border-color);background:var(--surface-background);width:100%;min-width:0;height:48px;color:var(--text-color);font:inherit;text-align:center;box-sizing:border-box;border-radius:8px;padding:10px 8px}.octet-input input::placeholder{color:var(--placeholder-color)}.octet-input input:focus-visible{outline:3px solid var(--focus-outline);outline-offset:2px;border-color:var(--focus-border)}.octet-input input:disabled{background:var(--surface-muted);cursor:wait}.conversion-display{border:1px solid var(--conversion-border);background:var(--conversion-background);border-radius:8px;min-height:80px;padding:14px 16px}.conversion-stage{color:var(--text-color);margin:8px 0 -4px;font-size:1rem;font-weight:600}.conversion-result{min-height:1.5em;color:var(--conversion-text);overflow-wrap:anywhere;white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.5;display:block}.character-highlight{-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:2px}.and-bit{display:inline-block;position:relative}.and-result-bit{display:inline-block}.and-moving-bit-copy{z-index:1;pointer-events:none;animation:.16s ease-in forwards and-bit-copy-move-up;position:absolute;top:0;left:0}@keyframes and-bit-copy-move-up{to{opacity:0;transform:translateY(-122px)}}.encoding-complete{color:var(--text-color);text-align:center;font-size:.875rem;font-weight:600}.text-entry button{background:var(--button-background);color:#fff;font:inherit;cursor:pointer;border:0;border-radius:8px;padding:10px 16px;font-weight:600}.text-entry .speed-up-button{height:28px;padding:0 8px;font-size:.75em;line-height:1}.text-entry .speed-up-button,.text-entry .keep-going-button{animation:.2s ease-out speed-up-appear}@keyframes speed-up-appear{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.conversion-actions{justify-content:space-between;gap:12px;display:flex}.primary-action-slot{margin-left:auto}@media (prefers-reduced-motion:reduce){.text-entry .speed-up-button,.text-entry .keep-going-button{animation-duration:1ms}}.text-entry button:focus-visible{outline:3px solid var(--focus-outline);outline-offset:2px}.github-footer{background:var(--footer-background);justify-content:flex-end;display:flex;position:fixed;bottom:0;left:0;right:0}.github-footer a{color:var(--footer-foreground);background:0 0;border-radius:6px;padding:10px 18px;font-family:Arial,sans-serif;font-weight:600;text-decoration:none;display:inline-block}.github-footer span{color:var(--footer-foreground);align-items:center;padding:10px 12px;font-family:Arial,sans-serif;font-size:.8rem;font-weight:100;display:flex}.github-footer svg{fill:currentColor;vertical-align:middle}.github-footer a:focus-visible{outline:3px solid var(--focus-outline);outline-offset:-3px}
