*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}#root{width:100%;min-height:100vh}.playground{background:#f5f5f5;flex-direction:column;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;display:flex}.header{color:#fff;text-align:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:2rem;box-shadow:0 4px 6px #0000001a}.header h1{margin:0 0 .5rem;font-size:2.5rem;font-weight:700}.header p{opacity:.95;margin:0;font-size:1.1rem}.main-content{box-sizing:border-box;flex-direction:column;flex:1;gap:2rem;width:100%;max-width:1400px;margin:0 auto;padding:2rem;display:flex}.editors,.results{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}.editor-pane,.output-pane,.diagnostics-pane{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.editor-pane h3,.output-pane h3,.diagnostics-pane h3{color:#495057;background:#f8f9fa;border-bottom:1px solid #dee2e6;margin:0;padding:1rem;font-size:1rem;font-weight:600}.error-banner{color:#721c24;background:#f8d7da;border-bottom:1px solid #f5c6cb;padding:.75rem 1rem;font-size:.9rem}.output-content{white-space:pre-wrap;word-wrap:break-word;background:#f8f9fa;min-height:200px;margin:0;padding:1.5rem;font-family:Monaco,Courier New,monospace;font-size:14px;line-height:1.5}.no-errors{color:#28a745;margin:0;padding:1.5rem;font-weight:500}.diagnostics-list{max-height:250px;margin:0;padding:1rem;list-style:none;overflow-y:auto}.diagnostic{border-radius:4px;align-items:flex-start;gap:.5rem;margin-bottom:.5rem;padding:.75rem;font-size:.9rem;line-height:1.4;display:flex}.diagnostic-error{background:#f8d7da;border-left:3px solid #dc3545}.diagnostic-warning{background:#fff3cd;border-left:3px solid #ffc107}.diagnostic-info{background:#d1ecf1;border-left:3px solid #17a2b8}.severity-icon{flex-shrink:0;font-size:1rem}.diagnostic-message{word-break:break-word;flex:1}.diagnostic-location{color:#6c757d;white-space:nowrap;font-size:.8rem}.options-panel{box-sizing:border-box;background:#fff;border-radius:8px;width:100%;max-width:1400px;margin:0 auto;padding:1.5rem;box-shadow:0 2px 8px #0000001a}.options-panel h3{color:#495057;margin:0 0 1rem;font-size:1rem;font-weight:600}.options-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;display:grid}.option{flex-direction:column;gap:.5rem;display:flex}.option label{color:#495057;font-size:.9rem;font-weight:500}.option select,.option input{background:#fff;border:1px solid #ced4da;border-radius:4px;padding:.5rem;font-size:.9rem;transition:border-color .15s}.option select:focus,.option input:focus{border-color:#667eea;outline:none;box-shadow:0 0 0 3px #667eea1a}.actions-panel{box-sizing:border-box;background:#fff;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;width:100%;max-width:1400px;margin:0 auto 2rem;padding:1.5rem;display:flex;box-shadow:0 2px 8px #0000001a}.examples{align-items:center;gap:.75rem;display:flex}.examples label{color:#495057;font-size:.9rem;font-weight:500}.examples select{cursor:pointer;background:#fff;border:1px solid #ced4da;border-radius:4px;min-width:200px;padding:.5rem 2rem .5rem .75rem;font-size:.9rem}.actions{align-items:center;gap:1rem;display:flex}.btn-share,.btn-reset{cursor:pointer;border:none;border-radius:4px;padding:.625rem 1.25rem;font-size:.9rem;font-weight:500;transition:all .2s}.btn-share{color:#fff;background:#667eea}.btn-share:hover{background:#5568d3;transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.btn-reset{color:#495057;background:#e9ecef}.btn-reset:hover{background:#dee2e6}.share-message{color:#28a745;font-size:.9rem;font-weight:500;animation:.3s fadeIn}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.footer{text-align:center;background:#f8f9fa;border-top:1px solid #dee2e6;margin-top:auto;padding:1.5rem}.footer p{color:#6c757d;margin:0;font-size:.9rem}.footer a{color:#667eea;font-weight:500;text-decoration:none}.footer a:hover{text-decoration:underline}@media (max-width:1024px){.editors,.results,.options-grid{grid-template-columns:1fr}}@media (max-width:768px){.header h1{font-size:2rem}.header p{font-size:1rem}.main-content{padding:1rem}.actions-panel,.examples{flex-direction:column;align-items:stretch}.examples select{width:100%}.actions{flex-wrap:wrap;justify-content:stretch}.btn-share,.btn-reset{flex:1}}
