*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif;min-height:100vh;padding:20px}.container{max-width:1200px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.3);overflow:hidden}.course-banner,body,header{background:linear-gradient(135deg,#667eea 0,#764ba2 100%)}.course-banner,header{text-align:center}header{color:#fff;padding:30px}header h1{font-size:2em;margin-bottom:10px}header p{opacity:.9;font-size:1.1em}.course-banner{padding:20px 30px;margin:0}.course-banner a{color:#fff;text-decoration:none;font-size:1.1em;font-weight:600;display:inline-block;transition:all .3s ease}.course-banner a:hover{transform:translateY(-2px);text-shadow:0 2px 8px rgba(0,0,0,.3)}.content{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:30px;align-items:start}.panel{background:#f8f9fa;border-radius:8px;padding:20px;display:flex;flex-direction:column;height:100%}.panel h2{color:#333;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #667eea;font-size:1.3em}.preset-item,button{border-radius:6px;transition:all .3s ease}.preset-item{background:#fff;padding:15px;margin-bottom:10px;border:2px solid #e0e0e0}.preset-item:hover{border-color:#667eea;box-shadow:0 2px 8px rgba(102,126,234,.2)}.preset-item.selected{border-color:#667eea;background:#f0f4ff}.preset-header{display:flex;align-items:center;gap:10px;cursor:pointer}.preset-actions{margin-left:auto;display:flex;gap:5px}.preset-actions button{padding:4px 10px;font-size:.85em}.preset-header input[type=checkbox]{width:20px;height:20px;cursor:pointer}.preset-name{font-weight:600;font-size:1.1em;color:#333}.preset-description{margin-top:8px;padding-left:30px;color:#666;font-size:.9em}.custom-section{margin-top:20px;padding-top:20px;border-top:2px solid #e0e0e0}.custom-item{background:#fff;padding:12px;margin-bottom:8px;border-radius:6px;border:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center}.custom-item-info{flex:1}.custom-item-name{font-weight:600;color:#333}.custom-item-actions{display:flex;gap:8px}button{background:#667eea;color:#fff;border:0;padding:10px 20px;cursor:pointer;font-size:1em;font-weight:500}button:hover{background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px rgba(102,126,234,.4)}button.secondary{background:#6c757d}button.secondary:hover{background:#5a6268}button.danger{background:#dc3545}button.danger:hover{background:#c82333}#jsonOutput,button.small{padding:6px 12px;font-size:.9em}#jsonOutput{background:#1e1e1e;color:#d4d4d4;padding:20px;border-radius:8px;font-family:"Courier New",monospace;line-height:1.6;overflow-x:auto;white-space:pre;overflow-y:auto;width:100%;border:2px solid #e0e0e0;resize:vertical;min-height:300px;flex:1}#jsonOutput:focus{outline:0;border-color:#667eea}#jsonOutput.is-invalid{border-color:#dc3545}#jsonOutput.is-invalid:focus{border-color:#dc3545}.json-actions{margin-top:10px;display:flex;justify-content:flex-end}.actions{display:flex;gap:10px;margin-top:15px;flex-wrap:wrap}.actions-center,.modal{justify-content:center}.modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5);align-items:center}.modal.show{display:flex}.modal-content{background:#fff;border-radius:12px;max-width:600px;width:90%;max-height:80vh;overflow:hidden;display:flex;flex-direction:column}.modal-content form{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.modal-content-large{max-width:700px}.connection-fields{padding:15px;background:#f8f9fa;border-radius:8px;margin-bottom:15px}.radio-group{display:flex;flex-direction:row;gap:10px;margin-top:8px}.radio-label{display:flex;align-items:center;flex:1;min-width:0;padding:10px 12px;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s ease;background:#fff}.radio-label:hover{border-color:#667eea;background:#f0f4ff}.radio-label input[type=radio]{width:20px;height:20px;margin:0;cursor:pointer;accent-color:#667eea}.radio-label:has(input[type=radio]:checked){border-color:#667eea;background:#f0f4ff}.radio-label span{margin-left:10px;font-size:.95em;color:#333;font-weight:500}.modal-header{flex:0 0 auto;padding:20px 30px 15px;border-bottom:1px solid #e9ecef}.modal-header h3{color:#333;font-size:1.5em}.modal-body{flex:1 1 auto;min-height:0;padding:20px 30px;overflow-y:auto}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333}.form-group input,.form-group textarea{width:100%;padding:10px;border:2px solid #e0e0e0;border-radius:6px;font-size:1em;font-family:inherit}.form-group textarea{font-family:"Courier New",monospace;min-height:200px;resize:vertical}.form-group input:focus,.form-group textarea:focus{outline:0;border-color:#667eea}.modal-actions{flex:0 0 auto;display:flex;gap:10px;justify-content:flex-end;margin-top:0;padding:15px 30px 20px;border-top:1px solid #e9ecef;background:#fff}@media (max-width:768px){.content{grid-template-columns:1fr}}.empty-state{text-align:center;padding:20px;color:#999}input[type=file]{display:none}.app-notice-section{background:#fff;padding:30px;border-top:1px solid #e0e0e0}.notice-box{background:#fff3cd;border:2px solid #ffc107;border-radius:8px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.1);max-width:1200px;margin:0 auto}.app-footer{border-top:1px solid #e0e0e0;background:#f8f9fa;padding:15px 30px;color:#666;font-size:.9em}.app-footer__bottom{display:flex;justify-content:space-between;align-items:center;gap:20px}.app-footer__left{flex:1;text-align:left}.app-footer__center{flex:0 0 auto;text-align:center}.app-footer__right{flex:1;text-align:right}.notice-title{font-weight:700;font-size:1.1em;color:#856404;margin-bottom:12px}.notice-content{color:#333;line-height:1.6}.notice-content p{margin:10px 0}.notice-content ol{margin:10px 0;padding-left:24px}.notice-content li{margin:8px 0}.notice-content .notice-item-with-action{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.notice-copy-path-btn,.notice-copy-sample-btn{line-height:1.3}.notice-copy-path-btn:hover,.notice-copy-sample-btn:hover{transform:none;box-shadow:none}.notice-copy-path-btn.copied,.notice-copy-sample-btn.is-copied{background:#28a745}.notice-content code{background:#f8f9fa;padding:2px 6px;border-radius:4px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:.9em;color:#d63384;border:1px solid #e0e0e0}.notice-content code.copyable-path{cursor:pointer;transition:all .2s ease}.notice-content code.copyable-path:hover{background:#667eea;color:#fff;border-color:#667eea}.notice-content code.copyable-path.copied{background:#28a745;color:#fff;border-color:#28a745}.app-footer a,.notice-content a{color:#667eea;text-decoration:none}.notice-content a{overflow-wrap:break-word}.app-footer a:hover,.notice-content a:hover{text-decoration:underline}.code-block-wrapper{position:relative;margin:15px 0}.copy-code-btn{position:absolute;top:8px;right:8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#ccc;padding:6px 8px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;z-index:10}.copy-code-btn:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.3);transform:none;box-shadow:none}.copy-code-btn svg{width:16px;height:16px}.notice-content pre{margin:0;border-radius:6px;overflow-x:auto;background:#2d2d2d!important}.app-footer__version,.notice-content pre code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.notice-content pre code{display:block;padding:16px;background:0 0;border:0;color:#ccc;font-size:.85em;line-height:1.5}.app-footer a{font-weight:600}.app-footer__version{color:#999;font-size:.9em}.app-footer__github-link{display:inline-flex;align-items:center;margin-left:8px;color:#666;text-decoration:none;transition:color .2s ease;vertical-align:middle}.app-footer__github-link:hover{color:#333;text-decoration:none}.app-footer__github-icon{width:16px;height:16px}@media (max-width:768px){.app-footer__bottom{flex-direction:column;text-align:center;gap:10px}.app-footer__left,.app-footer__right{text-align:center}}