@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#242337;background:#f7f8fc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,select,textarea{font:inherit}button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(121,103,207,.28);outline-offset:2px}.page-shell{min-height:100vh;background:radial-gradient(ellipse at 50% 0,rgba(231,227,255,.55),transparent 34rem),#f7f8fc}.topbar{height:68px;max-width:1060px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(226,227,237,.7)}.brand{display:inline-flex;gap:10px;align-items:center;color:#27263a;text-decoration:none;font-family:Manrope,sans-serif;font-size:15px;font-weight:800;letter-spacing:-.6px}.brand-light{color:#88869d;font-weight:500}.brand-mark{width:23px;height:23px;display:flex;align-items:center;gap:3px}.brand-mark span{width:5px;border-radius:4px;background:#7965db}.brand-mark span:nth-child(1){height:12px;opacity:.58}.brand-mark span:nth-child(2){height:20px}.brand-mark span:nth-child(3){height:15px;opacity:.76}.topbar-note{display:flex;align-items:center;gap:8px;color:#77778c;font-size:11px}.status-dot{width:7px;height:7px;border-radius:50%;background:#62c6a0;box-shadow:0 0 0 3px #e6f7f0}.workspace{width:min(100% - 40px,680px);margin:0 auto;padding:54px 0 30px}.intro{margin-bottom:25px}h1{margin:0;font:800 clamp(30px,5vw,40px)/1.2 Manrope,sans-serif;letter-spacing:-1.7px}.intro p{margin:9px 0 0;color:#77778c;font-size:14px;line-height:1.6}.tool-card{padding:22px;border:1px solid #e8e8f0;border-radius:14px;background:#fffffff0;box-shadow:0 10px 32px #302a5e0d}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:9px;background:#f3f2f8}.mode-tabs button{min-height:39px;border:0;border-radius:7px;background:transparent;color:#77768a;font-size:13px;font-weight:600;cursor:pointer;transition:background .16s,color .16s,box-shadow .16s}.mode-tabs button[aria-pressed=true]{background:#fff;color:#4a426f;box-shadow:0 1px 5px #302a5e1a}.mode-tabs button span{margin:0 5px;color:#8d7cdb}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 14px}.card-heading h2{margin:0;font:700 17px Manrope,sans-serif;letter-spacing:-.3px}.card-description{margin:5px 0 0;color:#89889a;font-size:12px;line-height:1.5}.model-select{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:8px 10px;border:1px solid #e9e8f1;border-radius:8px;background:#fff;color:#77768a;font-size:11px}.model-select select{max-width:148px;border:0;outline:0;background:transparent;color:#48465e;font-size:12px;font-weight:600;cursor:pointer}textarea{display:block;width:100%;min-height:116px;padding:14px 15px;resize:vertical;border:1px solid #e9e8f1;border-radius:9px;outline:none;background:#fbfbfd;color:#353449;font-size:14px;line-height:1.65;transition:border-color .2s,box-shadow .2s}textarea:focus{border-color:#b3a9ed;box-shadow:0 0 0 3px #8171d91a}textarea::placeholder{color:#aaa9b8}.decode-input{min-height:94px;font:12px/1.7 DM Mono,monospace}.input-footer{display:flex;justify-content:space-between;gap:12px;padding-top:9px;color:#9998a8;font-size:10px}.output-panel{margin-top:22px;padding:18px 17px 16px;border:1px solid #ecebf3;border-radius:10px;background:#fdfdff}.results-header,.ids-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.results-header h3,.ids-heading h3{margin:0;font:700 14px Manrope,sans-serif}.results-header p,.ids-heading p{margin:4px 0 0;color:#9291a2;font-size:11px}.token-count{display:flex;align-items:baseline;gap:5px;color:#85849a;font-size:11px}.token-count strong{color:#6352b2;font:700 19px Manrope,sans-serif}.token-list{min-height:65px;display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:wrap;gap:7px;padding:16px 0}.token-chip{min-width:42px;overflow:hidden;display:inline-flex;flex-direction:column;border:1px solid transparent;border-radius:6px;text-align:center}.token-piece{min-height:27px;display:grid;place-items:center;padding:4px 8px;white-space:pre-wrap;overflow-wrap:anywhere;color:#36344a;font-size:12px}.token-id{padding:3px 6px;border-top:1px solid currentColor;font:9px DM Mono,monospace;opacity:.7}.violet{color:#7863c8;background:#f2effc;border-color:#e7e1fa}.blue{color:#4a83b9;background:#edf5fc;border-color:#dcecf9}.mint{color:#428b74;background:#edf8f3;border-color:#d9f0e5}.coral{color:#c76f67;background:#fdf0ee;border-color:#fae1de}.amber{color:#a77d37;background:#fbf5e9;border-color:#f3ead4}.pink{color:#b36391;background:#faeff5;border-color:#f4e0eb}.empty-state{min-height:65px;display:grid;place-items:center;color:#aaa9b7;font-size:12px}.error-message{min-height:65px;display:flex;align-items:center;color:#bb5656;font-size:12px}.ids-heading{padding-top:15px;border-top:1px solid #efeff4}.ids-heading button{padding:7px 10px;border:1px solid #e8e7f0;border-radius:7px;background:#fff;color:#6352b2;font-size:10px;font-weight:600;cursor:pointer}.ids-heading button:disabled,.text-button:disabled,.decode-button:disabled{opacity:.45;cursor:default}.id-output{display:block;overflow-wrap:anywhere;margin-top:11px;color:#6253ac;font:11px/1.8 DM Mono,monospace}.text-button{margin-top:12px;padding:0;border:0;background:transparent;color:#7162bf;font-size:11px;font-weight:600;cursor:pointer}.text-button span{margin-left:4px}.decode-button{margin-top:16px;padding:10px 15px;border:0;border-radius:7px;background:#7967cf;color:#fff;font-size:12px;font-weight:600;cursor:pointer;transition:background .2s}.decode-button:hover:not(:disabled){background:#6855c0}.decoded-result{margin-top:19px;padding:14px 15px;border:1px solid #e9e6f5;border-radius:9px;background:#fbfaff}.decoded-result>span{color:#77718d;font:500 9px DM Mono,monospace;letter-spacing:.8px}.decoded-result p{margin:8px 0 0;color:#353449;font:13px/1.7 DM Mono,monospace;overflow-wrap:anywhere;white-space:pre-wrap}.decode-error{margin:14px 0 0;color:#bb5656;font-size:12px;line-height:1.5}.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}@media(max-width:560px){.topbar{height:60px;padding:0 16px}.topbar-note{font-size:10px}.workspace{width:min(100% - 28px,680px);padding-top:38px}.tool-card{padding:16px}.card-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-top:20px}.model-select{align-self:stretch;justify-content:space-between}.model-select select{max-width:none}.output-panel{margin-top:18px;padding:15px 13px 13px}}
