*,:before,:after{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:Inter,system-ui,-apple-system,sans-serif}#root{min-height:100vh}button,input{font-family:inherit}.app{--bg:#f8f7f4;--surface:#fff;--border:#e2e0d8;--text:#2c2a26;--text-muted:#6b6760;--accent:#5b4fcf;--accent-hover:#4940b5;--accent-text:#fff;--pill-bg:#eeecf0;--pill-active:#5b4fcf;--pill-active-text:#fff;--output-bg:#fefefe;--copy-bg:#eef2ff;--copy-text:#5b4fcf;--copy-active:#22c55e;--footer-text:#9d9a94;background:var(--bg);min-height:100vh;color:var(--text);flex-direction:column;font-family:Inter,system-ui,-apple-system,sans-serif;transition:background .2s,color .2s;display:flex}.app.dark{--bg:#141318;--surface:#1e1c24;--border:#2e2c38;--text:#e8e6f0;--text-muted:#8b88a0;--accent:#7c6fe8;--accent-hover:#9284f0;--accent-text:#fff;--pill-bg:#28262e;--pill-active:#7c6fe8;--pill-active-text:#fff;--output-bg:#1a1820;--copy-bg:#272340;--copy-text:#a89ef5;--copy-active:#34d399;--footer-text:#4e4c5e}.header{border-bottom:1px solid var(--border);background:var(--surface);padding:2rem 2rem 1.5rem}.header-inner{justify-content:space-between;align-items:center;max-width:800px;margin:0 auto;display:flex}.title{letter-spacing:-.02em;margin:0;font-size:1.75rem;font-weight:700}.subtitle{max-width:800px;color:var(--text-muted);margin:.4rem auto 0;font-size:.95rem}.dark-toggle{background:var(--pill-bg);border:1px solid var(--border);cursor:pointer;border-radius:8px;padding:.4rem .6rem;font-size:1.1rem;line-height:1;transition:background .15s}.dark-toggle:hover{background:var(--border)}.main{flex-direction:column;flex:1;gap:2rem;width:100%;max-width:800px;margin:0 auto;padding:2rem;display:flex}.controls{background:var(--surface);border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:1.5rem;padding:1.75rem;display:flex}.control-group{flex-direction:column;gap:.6rem;display:flex}.control-label{text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);font-size:.8rem;font-weight:600}.button-row{flex-wrap:wrap;gap:.5rem;display:flex}.pill{background:var(--pill-bg);color:var(--text);cursor:pointer;border:1px solid #0000;border-radius:9999px;padding:.45rem 1rem;font-size:.875rem;font-weight:500;transition:background .15s,color .15s,box-shadow .15s}.pill:hover{background:var(--border)}.pill.active{background:var(--pill-active);color:var(--pill-active-text);border-color:#0000}.count-row{align-items:center;gap:1rem;display:flex}.slider{accent-color:var(--accent);cursor:pointer;flex:1;height:4px}.count-number{border:1px solid var(--border);background:var(--bg);width:70px;color:var(--text);text-align:center;border-radius:8px;padding:.4rem .5rem;font-size:.9rem}.count-number:focus{outline:2px solid var(--accent);outline-offset:1px}.checkbox-label{cursor:pointer;color:var(--text);align-items:center;gap:.6rem;font-size:.9rem;display:flex}.checkbox-label input[type=checkbox]{width:1rem;height:1rem;accent-color:var(--accent);cursor:pointer}.generate-btn{background:var(--accent);color:var(--accent-text);cursor:pointer;border:none;border-radius:10px;align-self:flex-start;padding:.75rem 2rem;font-size:1rem;font-weight:600;transition:background .15s,transform .1s}.generate-btn:hover{background:var(--accent-hover)}.generate-btn:active{transform:scale(.98)}.output-section{background:var(--output-bg);border:1px solid var(--border);border-radius:16px;overflow:hidden}.output-header{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;padding:.9rem 1.5rem;display:flex}.output-meta{text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);font-size:.8rem;font-weight:600}.copy-btn{background:var(--copy-bg);color:var(--copy-text);cursor:pointer;border:none;border-radius:8px;padding:.4rem .9rem;font-size:.85rem;font-weight:600;transition:background .15s,color .15s}.copy-btn:hover{filter:brightness(.95)}.copy-btn.copied{color:var(--copy-active);background:0 0}.output-text{flex-direction:column;gap:1.2rem;padding:1.5rem;display:flex}.output-text p{color:var(--text);margin:0;font-size:.95rem;line-height:1.75}.footer{text-align:center;color:var(--footer-text);border-top:1px solid var(--border);padding:1.5rem;font-size:.85rem}.footer a{color:var(--accent);text-decoration:none}.footer a:hover{text-decoration:underline}@media (width<=600px){.header{padding:1.25rem 1.25rem 1rem}.main{gap:1.25rem;padding:1.25rem}.controls{padding:1.25rem}.title{font-size:1.35rem}.generate-btn{text-align:center;width:100%}}
