:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#2d3748;background-color:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8fafc;color:#1a202c}#root{width:100%;margin:0 auto;text-align:center}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#4299e1;color:#fff;cursor:pointer;transition:all .2s ease}button:hover{background-color:#3182ce}button:focus,button:focus-visible{outline:2px solid #4299e1;outline-offset:2px}textarea,input{font-family:inherit;font-size:1em;line-height:1.5;color:#2d3748;background-color:#fff}label{font-family:inherit;font-size:1em;line-height:1.5;color:#2d3748}pre{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.95rem;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:#2d3748;background-color:#fff}ul,ol{list-style:none}a{font-weight:500;color:#4299e1;text-decoration:inherit}a:hover{color:#3182ce}h1,h2,h3,h4,h5,h6{font-family:inherit;line-height:1.2;color:#2d3748}p{font-family:inherit;line-height:1.6;color:#2d3748}@media (prefers-color-scheme: dark){:root{color:#e2e8f0;background-color:#1a202c}body{background:#1a202c;color:#e2e8f0}button{background-color:#4299e1;color:#fff}button:hover{background-color:#3182ce}textarea,input,pre{color:#e2e8f0;background-color:#2d3748}h1,h2,h3,h4,h5,h6,p,label{color:#e2e8f0}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8fafc;min-height:100vh;color:#1a202c}.app{min-height:100vh;padding:20px}.app-header{text-align:center;margin-bottom:40px;color:#2d3748}.app-header h1{font-size:3rem;font-weight:700;margin-bottom:10px;color:#1a202c}.app-header p{font-size:1.2rem;color:#4a5568;font-weight:400}.app-main{max-width:1200px;margin:0 auto;background:#fff;border-radius:16px;box-shadow:0 10px 25px #00000014;overflow:hidden;border:1px solid #e2e8f0}.mode-switcher{padding:30px;background:#f7fafc;border-bottom:1px solid #e2e8f0}.mode-switcher h2{text-align:center;margin-bottom:30px;color:#2d3748;font-size:1.5rem;font-weight:600}.mode-buttons{display:flex;gap:20px;justify-content:center;flex-wrap:wrap}.mode-button{display:flex;align-items:center;gap:15px;padding:20px 25px;border:2px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer;transition:all .2s ease;min-width:280px;text-align:left;color:#2d3748}.mode-button:hover{border-color:#4299e1;transform:translateY(-1px);box-shadow:0 4px 12px #4299e126}.mode-button.active{border-color:#4299e1;background:#4299e1;color:#fff;box-shadow:0 4px 12px #4299e140}.mode-icon{font-size:2rem;flex-shrink:0}.mode-info h3{font-size:1.1rem;font-weight:600;margin-bottom:5px;color:#2d3748}.mode-info p{font-size:.9rem;opacity:1;font-weight:500;color:#4a5568}.form-container{padding:30px}.rap-form,.crisp-form{max-width:800px;margin:0 auto}.rap-form h2,.crisp-form h2{color:#2d3748;margin-bottom:10px;font-size:1.8rem;font-weight:600}.form-description{color:#4a5568;margin-bottom:30px;font-size:1rem;line-height:1.5}.form-fields{display:flex;flex-direction:column;gap:25px}.form-field{background:#f7fafc;padding:20px;border-radius:10px;border:1px solid #e2e8f0;transition:all .2s ease}.form-field:hover{border-color:#4299e1;box-shadow:0 2px 8px #4299e11a}.form-field label{display:flex;align-items:center;gap:10px;margin-bottom:8px;font-size:1.1rem;font-weight:600;color:#2d3748}.field-icon{font-size:1.2rem}.field-description{color:#4a5568;font-size:.9rem;margin-bottom:12px;line-height:1.4}.form-field textarea{width:100%;padding:15px;border:2px solid #e2e8f0;border-radius:8px;font-family:inherit;font-size:1rem;line-height:1.5;resize:vertical;transition:border-color .2s ease;background:#fff;color:#2d3748}.form-field textarea:focus{outline:none;border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a}.form-field textarea::placeholder{color:#4a5568;font-weight:400;opacity:.8}.prompt-preview{padding:30px;background:#f7fafc;border-top:1px solid #e2e8f0}.preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:15px}.preview-header h2{color:#2d3748;font-size:1.5rem;font-weight:600}.copy-button{background:#4299e1;color:#fff;border:none;padding:12px 20px;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s ease;display:flex;align-items:center;gap:8px}.copy-button:hover:not(:disabled){background:#3182ce;transform:translateY(-1px);box-shadow:0 4px 12px #4299e140}.copy-button:disabled{background:#a0aec0;cursor:not-allowed;transform:none;box-shadow:none}.preview-content{background:#fff;border:2px solid #e2e8f0;border-radius:10px;min-height:200px;overflow:hidden}.prompt-text{padding:20px;margin:0;white-space:pre-wrap;word-wrap:break-word;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.95rem;line-height:1.6;color:#2d3748;background:#fff;min-height:200px;display:block;width:100%;box-sizing:border-box;border:none;outline:none;resize:none;overflow-y:auto}.empty-prompt{display:flex;align-items:center;justify-content:center;height:200px;color:#4a5568;font-style:italic;font-weight:500;font-size:1rem}.empty-prompt-content{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.empty-icon{font-size:2rem;opacity:.7}.empty-prompt p{margin:0;color:#4a5568;font-weight:500;opacity:.8}.prompt-stats{display:flex;gap:20px;margin-top:15px;font-size:.9rem;color:#4a5568;flex-wrap:wrap}.prompt-stats span{display:flex;align-items:center;gap:5px}.applied-techniques{margin-bottom:20px;padding:15px;background:#ebf8ff;border:1px solid #bee3f8;border-radius:8px}.applied-techniques h4{color:#2d3748;font-size:1rem;font-weight:600;margin-bottom:10px}.techniques-tags{display:flex;flex-wrap:wrap;gap:8px}.technique-tag{background:#4299e1;color:#fff;padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:500}.prompt-techniques{padding:30px;background:#f7fafc;border-top:1px solid #e2e8f0}.prompt-techniques h3{color:#2d3748;font-size:1.3rem;font-weight:600;margin-bottom:10px}.techniques-description{color:#4a5568;margin-bottom:25px;font-size:.95rem;line-height:1.5}.techniques-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.technique-card{background:#fff;border:2px solid #e2e8f0;border-radius:10px;padding:15px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:12px;position:relative}.technique-card:hover{border-color:#4299e1;transform:translateY(-1px);box-shadow:0 4px 12px #4299e126}.technique-card.selected{border-color:#4299e1;background:#ebf8ff;box-shadow:0 4px 12px #4299e133}.technique-icon{font-size:1.5rem;flex-shrink:0}.technique-info{flex:1}.technique-info h4{color:#2d3748;font-size:1rem;font-weight:600;margin-bottom:4px}.technique-info p{color:#4a5568;font-size:.85rem;line-height:1.4;margin:0}.technique-checkbox{width:20px;height:20px;border:2px solid #e2e8f0;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:.8rem;color:#fff;background:#e2e8f0;flex-shrink:0}.technique-card.selected .technique-checkbox{background:#4299e1;border-color:#4299e1}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.app{padding:10px}.app-header h1{font-size:2rem}.app-header p{font-size:1rem}.mode-buttons{flex-direction:column;align-items:center}.mode-button{min-width:auto;width:100%;max-width:350px}.form-container,.prompt-preview,.prompt-techniques{padding:20px}.preview-header{flex-direction:column;align-items:flex-start}.copy-button{width:100%;justify-content:center}.techniques-grid{grid-template-columns:1fr}.techniques-tags{justify-content:center}}@media (max-width: 480px){.app-header h1{font-size:1.8rem}.mode-switcher,.form-container,.prompt-preview,.form-field{padding:15px}.prompt-text{padding:15px;font-size:.9rem}}.dark-prompt-form{max-width:800px;margin:0 auto}.dark-prompt-form h2{color:#2d3748;margin-bottom:10px;font-size:1.8rem;font-weight:600}.warning-box{background:#fed7d7;border:1px solid #feb2b2;border-radius:10px;padding:20px;margin-bottom:30px;display:flex;align-items:flex-start;gap:15px}.warning-icon{font-size:1.5rem;flex-shrink:0;margin-top:2px}.warning-content h4{color:#c53030;font-size:1.1rem;font-weight:600;margin-bottom:8px}.warning-content p{color:#742a2a;font-size:.95rem;line-height:1.5;margin:0}.dark-prompt-form .form-field select{width:100%;padding:15px;border:2px solid #e2e8f0;border-radius:8px;font-family:inherit;font-size:1rem;line-height:1.5;transition:border-color .2s ease;background:#fff;color:#2d3748;cursor:pointer}.dark-prompt-form .form-field select:focus{outline:none;border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a}.dark-prompt-form .form-field select option{padding:10px}.mode-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;justify-content:center}@media (max-width: 768px){.warning-box{flex-direction:column;text-align:center}.warning-icon{align-self:center}.mode-buttons{grid-template-columns:1fr}}.dark-mode-warning{background:#fed7d7;border:1px solid #feb2b2;border-radius:8px;padding:15px;margin-bottom:20px;display:flex;align-items:flex-start;gap:12px}.dark-mode-warning .warning-icon{font-size:1.2rem;flex-shrink:0;margin-top:2px}.dark-mode-warning .warning-content h4{color:#c53030;font-size:1rem;font-weight:600;margin-bottom:6px}.dark-mode-warning .warning-content p{color:#742a2a;font-size:.9rem;line-height:1.4;margin:0}
