body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app{min-height:100vh;display:flex;flex-direction:column}.header{display:flex;justify-content:space-between;align-items:center;background:#2563eb;color:#fff;padding:1rem 2rem}.header-left{display:flex;align-items:center;gap:1rem}.logo{width:40px;height:40px}.header h1{font-size:1.5rem;font-weight:600}.main{flex:1;padding:2rem;max-width:1600px;margin:0 auto;width:100%}.controls{display:flex;gap:2rem;margin-bottom:2rem;flex-wrap:wrap}.strategy-group,.format-group{display:flex;gap:.5rem}.strategy-group button,.format-group button{padding:.5rem 1rem;border:1px solid #d1d5db;background:#fff;border-radius:.375rem;cursor:pointer;font-size:.875rem}.strategy-group button.active,.format-group button.active{background:#2563eb;color:#fff;border-color:#2563eb}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:2rem;height:calc(100vh - 300px);overflow:hidden}.input-panel,.output-panel{display:flex;flex-direction:column;gap:.5rem;min-height:0;min-width:0;overflow:hidden}.code-input{flex:1;min-height:0;padding:1rem;border:1px solid #d1d5db;border-radius:.375rem;font-family:Monaco,Menlo,monospace;font-size:.875rem;resize:none;overflow:auto}.code-output{flex:1;min-height:0;padding:1rem;background:#f9fafb;border:1px solid #d1d5db;border-radius:.375rem;overflow:auto}.code-output code{font-family:Monaco,Menlo,monospace;font-size:.875rem}.output-actions{display:flex;gap:.5rem;justify-content:flex-end}.stats-bar{display:flex;gap:2rem;padding:1rem;background:#f3f4f6;border-radius:.375rem;margin-top:1rem;font-size:.875rem}@media(max-width:768px){.workspace{grid-template-columns:1fr;height:auto}.input-panel,.output-panel{height:300px}}.copy-button{padding:.5rem 1rem;background:#10b981;color:#fff;border:none;border-radius:.375rem;cursor:pointer;font-size:.875rem;transition:background .2s}.copy-button:hover:not(:disabled){background:#059669}.copy-button:disabled{opacity:.5;cursor:not-allowed}.export-button{padding:.5rem 1rem;background:#8b5cf6;color:#fff;border:none;border-radius:.375rem;cursor:pointer;font-size:.875rem}.export-button:hover:not(:disabled){background:#7c3aed}.export-button:disabled{opacity:.5;cursor:not-allowed}.language-switcher{display:flex;gap:.5rem}.language-switcher button{padding:.25rem .5rem;background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:.25rem;cursor:pointer;font-size:.75rem}.language-switcher button.active{background:#fff3}.user-guide{max-width:800px;margin:3rem auto;padding:2rem;background:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a}.guide-section,.faq-section{margin-bottom:2rem}.guide-section h2,.faq-section h2{font-size:1.5rem;margin-bottom:1rem;color:#1f2937}.guide-section ol{padding-left:1.5rem}.guide-section li{margin-bottom:.75rem;line-height:1.6}.faq-item{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #e5e7eb}.faq-item:last-child{border-bottom:none}.faq-item h3{font-size:1.125rem;margin-bottom:.5rem;color:#374151}.faq-item p{line-height:1.6;color:#6b7280}
