*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{color:#fafafa;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0a0a0a;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif}.page-wrapper{flex-direction:column;min-height:100vh;display:flex;position:relative}.home-link{color:#52525b;z-index:50;border-radius:.375rem;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:.875rem;text-decoration:none;transition:color .15s,background .15s;display:flex;position:fixed;top:1rem;left:1rem}.home-link:hover{color:#a1a1aa;background:#ffffff0d}.page-content{flex:1}.site-footer{border-top:1px solid #ffffff0f;padding:1.5rem}.footer-inner{flex-direction:column;align-items:center;gap:.375rem;max-width:640px;margin:0 auto;display:flex}.footer-line{color:#52525b;align-items:center;gap:.5rem;font-size:.75rem;display:flex}.footer-line a{color:#71717a;text-decoration:none;transition:color .15s}.footer-line a:hover{color:#a1a1aa}.footer-sep{color:#27272a}.footer-icp{margin-top:.125rem}.footer-icp a{color:#3f3f46}.footer-icp a:hover{color:#52525b}.container{max-width:640px;margin:0 auto;padding:3rem 1.5rem 4rem}.header{margin-bottom:2rem}.header h1{letter-spacing:-.02em;color:#fafafa;font-size:1.5rem;font-weight:600}.desc{color:#a1a1aa;margin-top:.5rem;font-size:.875rem;line-height:1.5}.settings{border:1px solid #ffffff1a;border-radius:.625rem;margin-bottom:1.25rem;overflow:hidden}.settings summary{cursor:pointer;color:#a1a1aa;user-select:none;align-items:center;gap:.5rem;padding:.75rem 1rem;font-size:.875rem;font-weight:500;list-style:none;display:flex}.settings summary i{font-size:.8125rem}.settings summary::-webkit-details-marker{display:none}.settings summary:hover{color:#fafafa}.settings-body{border-top:1px solid #ffffff0f;flex-direction:column;gap:.75rem;padding:0 1rem 1rem;display:flex}.toggle-row{cursor:pointer;align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.toggle-row input[type=checkbox]{accent-color:#a1a1aa;cursor:pointer;width:15px;height:15px}.toggle-label{color:#d4d4d8;font-size:.8125rem;font-weight:500}.toggle-hint{color:#52525b;margin-left:.25rem;font-size:.6875rem}.settings-actions{align-items:center;gap:.75rem;display:flex}.save-status{color:#22c55e;font-size:.75rem}.card{background:#ffffff08;border:1px solid #ffffff1a;border-radius:.625rem;flex-direction:column;gap:1rem;padding:1.25rem;display:flex}.field{flex-direction:column;gap:.375rem;display:flex}.field label{color:#a1a1aa;font-size:.8125rem;font-weight:500}input,textarea{color:#fafafa;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:.5rem;outline:none;padding:.5rem .75rem;font-family:inherit;font-size:.875rem;transition:border-color .15s}input::placeholder,textarea::placeholder{color:#52525b}input:focus,textarea:focus{border-color:#fff3}textarea{resize:vertical;line-height:1.6}.generate-actions{gap:.5rem;display:flex}.generate-actions .btn-primary{flex:1}.btn{cursor:pointer;border:none;border-radius:.5rem;justify-content:center;align-items:center;gap:.5rem;padding:.5rem 1rem;font-family:inherit;font-size:.875rem;font-weight:500;transition:background .15s,opacity .15s;display:inline-flex}.btn-primary{color:#0a0a0a;background:#fafafa;width:100%}.btn-primary:hover{opacity:.9}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-outline{color:#a1a1aa;background:0 0;border:1px solid #ffffff26}.btn-outline:hover{color:#fafafa;background:#ffffff0d}.btn-ghost{color:#52525b;background:0 0;padding:.5rem .75rem}.btn-ghost:hover{color:#a1a1aa;background:#ffffff0d}.btn-text,.btn-loading{align-items:center;gap:.5rem;display:inline-flex}.btn-text i{font-size:.8125rem}.spinner{border:2px solid #0003;border-top-color:#0a0a0a;border-radius:50%;width:14px;height:14px;animation:.6s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error{color:#f87171;background:#dc28281a;border:1px solid #dc282833;border-radius:.5rem;margin-top:.75rem;padding:.75rem 1rem;font-size:.8125rem;line-height:1.5}.output-section{flex-direction:column;gap:1rem;margin-top:1.25rem;display:flex}.prompt-block{border:1px solid #ffffff1a;border-radius:.625rem;overflow:hidden}.prompt-label{color:#a1a1aa;border-bottom:1px solid #ffffff0f;align-items:center;gap:.5rem;padding:.625rem 1rem;font-size:.8125rem;font-weight:500;display:flex}.btn-copy{color:#52525b;cursor:pointer;background:0 0;border:none;border-radius:.25rem;align-items:center;margin-left:auto;padding:.25rem;transition:color .15s;display:flex}.btn-copy:hover{color:#a1a1aa}.dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.dot-green{background:#22c55e}.dot-red{background:#ef4444}.prompt-content{color:#d4d4d8;white-space:pre-wrap;word-break:break-word;padding:1rem;font-size:.8125rem;line-height:1.7}.history-section{margin-top:1.5rem}.history-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.history-header h3{color:#71717a;align-items:center;gap:.5rem;font-size:.8125rem;font-weight:500;display:flex}.history-header h3 i{font-size:.75rem}.history-count{color:#3f3f46;font-size:.6875rem;font-weight:400}.btn-clear{color:#52525b;cursor:pointer;background:0 0;border:1px solid #ffffff14;border-radius:.375rem;align-items:center;gap:.375rem;padding:.3rem .625rem;font-family:inherit;font-size:.6875rem;transition:all .15s;display:flex}.btn-clear:hover{color:#f87171;background:#dc28280f;border-color:#dc28284d}.history-list{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:.625rem;flex-direction:column;gap:1px;display:flex;overflow:hidden}.history-item{background:#0a0a0a;transition:background .15s}.history-item-header{cursor:pointer;align-items:center;gap:.75rem;padding:.75rem 1rem;transition:background .15s;display:flex}.history-item-header:hover{background:#ffffff08}.history-index{color:#3f3f46;font-variant-numeric:tabular-nums;text-align:right;flex-shrink:0;width:1.5rem;font-size:.6875rem}.history-input{color:#d4d4d8;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.8125rem;overflow:hidden}.history-time{color:#3f3f46;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.6875rem}.history-actions{flex-shrink:0;align-items:center;gap:.25rem;display:flex}.history-btn{color:#3f3f46;cursor:pointer;background:0 0;border:none;border-radius:.25rem;align-items:center;padding:.25rem;font-size:.6875rem;transition:color .15s;display:flex}.history-btn:hover{color:#a1a1aa}.history-btn.btn-delete:hover{color:#f87171}.history-chevron{color:#3f3f46;flex-shrink:0;font-size:.625rem;transition:transform .2s,color .15s}.history-item-header:hover .history-chevron{color:#52525b}.history-item.expanded .history-chevron{transform:rotate(90deg)}.history-detail{max-height:0;transition:max-height .25s;overflow:hidden}.history-item.expanded .history-detail{max-height:800px}.history-detail-inner{flex-direction:column;gap:.625rem;padding:0 1rem .875rem 3.75rem;display:flex}.history-prompt-group{flex-direction:column;gap:.25rem;display:flex}.history-prompt-label{color:#52525b;align-items:center;gap:.375rem;font-size:.6875rem;font-weight:500;display:flex}.history-prompt-text{color:#71717a;white-space:pre-wrap;word-break:break-word;background:#ffffff05;border:1px solid #ffffff0a;border-radius:.375rem;padding:.5rem .625rem;font-size:.75rem;line-height:1.65}
