.sidebar{width:260px;height:100vh;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;position:fixed;left:0;top:0;z-index:100}.sidebar-header{padding:1.5rem 1.25rem;border-bottom:1px solid #e2e8f0}.logo{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.logo-icon{font-size:1.75rem;line-height:1}.logo-text{font-size:1.5rem;font-weight:700;color:#0f172a}.logo-badge{display:inline-flex;padding:.25rem .75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:.75rem;font-weight:600;border-radius:6px;letter-spacing:.05em;text-transform:uppercase}.sidebar-nav{flex:1;padding:1.5rem 1rem;display:flex;flex-direction:column;gap:.5rem;overflow-y:auto}.nav-item{display:flex;align-items:center;gap:.875rem;padding:.875rem 1rem;border-radius:10px;color:#64748b;text-decoration:none;font-size:.95rem;font-weight:500;transition:all .2s ease;position:relative}.nav-item:hover{background:#f1f5f9;color:#0f172a}.nav-item.active{background:linear-gradient(135deg,#667eea15,#764ba215);color:#667eea;font-weight:600}.nav-item.active:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:60%;background:linear-gradient(180deg,#667eea,#764ba2);border-radius:0 3px 3px 0}.nav-icon{font-size:1.25rem;line-height:1}.nav-label{flex:1}.sidebar-footer{padding:1.25rem;border-top:1px solid #e2e8f0}.status-indicator{display:flex;align-items:center;gap:.625rem;padding:.75rem 1rem;background:#f8fafc;border-radius:10px}.status-dot{width:8px;height:8px;border-radius:50%;background:#10b981;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.status-text{font-size:.875rem;color:#64748b;font-weight:500}@media(max-width:768px){.sidebar{transform:translate(-100%);transition:transform .3s ease;width:260px;z-index:1000}.sidebar.mobile-open{transform:translate(0)}.sidebar-header{padding:1.5rem 1.25rem}.nav-item{padding:.875rem 1rem}}.terms-modal-card{max-width:800px;width:90%;max-height:90vh;display:flex;flex-direction:column}.terms-modal-card .modal-body{overflow-y:auto;padding:1.5rem}.terms-content{box-shadow:none!important;padding:0!important}.terms-content h2{font-size:1.1rem;font-weight:600;color:#0f172a;margin-bottom:.75rem;border-bottom:1px solid #e2e8f0;padding-bottom:.5rem;margin-top:1.5rem}.terms-content h2:first-child{margin-top:0}.terms-content ul{list-style-type:disc;padding-left:1.5rem;margin:.5rem 0}.terms-content li{margin-bottom:.25rem}.contact-box{background:#f8fafc;padding:1rem;border-radius:8px;margin-top:.5rem}.terms-date{margin-top:3rem;text-align:right;color:#64748b;font-size:.9rem}.app-footer{margin-top:auto;padding:2rem 0;background-color:#f8fafc;border-top:1px solid #e2e8f0;color:#64748b;font-size:.875rem}.footer-content{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;flex-direction:column;gap:1.5rem}.footer-section h3{font-size:1rem;font-weight:600;color:#334155;margin-bottom:.5rem}.footer-section p{margin:.25rem 0;line-height:1.5}.footer-section.links{display:flex;gap:1rem;align-items:center}.footer-section.links a,.footer-section.links button{color:#64748b;text-decoration:none;transition:color .2s;background:none;border:none;padding:0;font:inherit;cursor:pointer}.footer-section.links a:hover,.footer-section.links button:hover{color:#334155;text-decoration:underline}.divider{color:#cbd5e1}@media(max-width:768px){.footer-content{padding:0 1rem}}.pwa-install-prompt{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);z-index:9999;animation:slideUp .3s ease;max-width:90%;width:500px}@keyframes slideUp{0%{opacity:0;transform:translate(-50%) translateY(20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.pwa-prompt-content{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 20px 60px #0003;border:1px solid #e2e8f0;display:flex;gap:1rem;align-items:center}.pwa-prompt-icon{font-size:2.5rem;flex-shrink:0}.pwa-prompt-text{flex:1}.pwa-prompt-text h3{margin:0 0 .25rem;font-size:1.1rem;color:#0f172a}.pwa-prompt-text p{margin:0;font-size:.9rem;color:#64748b;line-height:1.4}.pwa-prompt-actions{display:flex;gap:.5rem;flex-shrink:0}.pwa-install-btn{padding:.75rem 1.5rem;border:none;border-radius:10px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s ease;white-space:nowrap}.pwa-install-btn:hover{transform:translateY(-2px);box-shadow:0 8px 16px #667eea4d}.pwa-dismiss-btn{padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#64748b;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s ease;white-space:nowrap}.pwa-dismiss-btn:hover{background:#f8fafc;color:#0f172a}@media(max-width:768px){.pwa-install-prompt{bottom:5rem;left:1rem;right:1rem;transform:none;width:auto;max-width:none}.pwa-prompt-content{flex-direction:column;text-align:center}.pwa-prompt-actions{width:100%}.pwa-install-btn,.pwa-dismiss-btn{flex:1}}.network-status{position:fixed;top:1rem;right:1rem;z-index:10000;padding:.75rem 1.25rem;border-radius:12px;display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:600;box-shadow:0 4px 12px #00000026;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.network-status.online{background:#dcfce7;color:#166534;border:1px solid #86efac}.network-status.offline{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.network-icon{font-size:1.2rem;line-height:1}.network-text{white-space:nowrap}@media(max-width:768px){.network-status{top:auto;bottom:1rem;right:1rem;left:1rem;justify-content:center}}.layout{display:flex;min-height:100vh;background:#f8fafc;position:relative}.content-wrapper{flex:1;margin-left:260px;display:flex;flex-direction:column;min-height:100vh}.main-content{flex:1;padding:2rem;overflow-x:hidden}.mobile-menu-toggle{display:none;position:fixed;top:1rem;left:1rem;z-index:1001;width:44px;height:44px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:0 2px 8px #0000001a;cursor:pointer;transition:all .2s ease}.mobile-menu-toggle:hover{background:#f8fafc;box-shadow:0 4px 12px #00000026}.mobile-menu-toggle:active{transform:scale(.95)}.hamburger-line{width:20px;height:2px;background:#667eea;border-radius:2px;transition:all .2s ease}.mobile-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:999;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media(max-width:768px){.content-wrapper{margin-left:0}.main-content{padding:4.5rem 1rem 1.5rem}.mobile-menu-toggle{display:flex}.mobile-overlay{display:block}}:root{color:#0f172a;background-color:#f8fafc;font-family:Pretendard,Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}body{margin:0;background:#f8fafc;color:#0f172a}.app-shell{max-width:1100px;margin:0 auto;padding:3rem 1.5rem 4rem;display:flex;flex-direction:column;gap:2rem}.app-header{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1rem}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;color:#94a3b8;margin-bottom:.25rem}.app-header h1{font-size:2.5rem;margin:0}.subtitle{color:#475569;margin:.25rem 0 0}.status-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:999px;background:#ecfdf5;color:#047857;font-size:.9rem}.status-pill.success{background:#dcfce7;color:#15803d}.status-pill.error{background:#fee2e2;color:#b91c1c}.dot{width:8px;height:8px;border-radius:50%;background:currentColor}.placeholder{text-align:center;color:#64748b}.placeholder.error{color:#dc2626}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.panel{background:#fff;border-radius:20px;padding:1.5rem;box-shadow:0 15px 35px #0f172a0f;display:flex;flex-direction:column;gap:1rem}.panel-head{display:flex;justify-content:space-between;align-items:flex-end}.guardrail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.guardrail-card{border:1px solid #e2e8f0;border-radius:16px;padding:1rem;display:flex;flex-direction:column;gap:.5rem;background:#fdfdfd}.guardrail-top{display:flex;justify-content:space-between;font-size:.8rem;color:#94a3b8}.card{background:#fff;border-radius:18px;padding:1.5rem;box-shadow:0 15px 35px #0f172a14;display:flex;flex-direction:column;gap:1rem}.card-head{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;color:#94a3b8}.card h2{margin:0;font-size:1.25rem;line-height:1.4}.description{margin:0;color:#475569;font-size:.95rem;line-height:1.5}.metric-block{display:flex;gap:1rem;padding:1rem;border-radius:12px;background:#f8fafc;flex-wrap:wrap}.metric-label{font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:#94a3b8;margin-bottom:.25rem}.metric-value{font-size:1.5rem;font-weight:600;margin:0}.metric-reco{margin:0;color:#0f172a;font-weight:500}.actions{display:flex;gap:.75rem;flex-wrap:wrap}.actions button{border:none;border-radius:999px;padding:.8rem 1.5rem;font-size:.95rem;cursor:pointer}.actions .primary{background:#0f172a;color:#fff}.primary{border:none;border-radius:999px;padding:.7rem 1.4rem;background:#0f172a;color:#fff;cursor:pointer}.primary:disabled{opacity:.6;cursor:not-allowed}.ghost{border:1px solid #cbd5f5;border-radius:999px;padding:.7rem 1.2rem;background:transparent;color:#0f172a;cursor:pointer}.actions .primary:disabled{opacity:.7;cursor:progress}.actions .ghost{background:#e2e8f0;color:#0f172a}.badge{padding:.2rem .8rem;border-radius:999px;font-size:.75rem;font-weight:600}.badge-low{background:#dcfce7;color:#166534}.badge-medium{background:#fef9c3;color:#92400e}.badge-high{background:#fee2e2;color:#b91c1c}.badge-critical{background:#fef2f2;color:#991b1b}.experiment-list{display:flex;flex-direction:column;gap:.75rem}.experiment-row{background:transparent;border:none;display:flex;justify-content:space-between;align-items:center;padding:.9rem 1rem;border:1px solid #e2e8f0;border-radius:14px;background:#f9fafb;cursor:pointer;text-align:left}.experiment-name{margin:0;font-weight:600}.experiment-meta{margin:.2rem 0 0;color:#64748b;font-size:.9rem}.status-chip{padding:.4rem .9rem;border-radius:999px;font-size:.85rem;font-weight:600;text-transform:uppercase}.status-draft{background:#e0f2fe;color:#0369a1}.status-running{background:#dcfce7;color:#15803d}.status-completed{background:#ede9fe;color:#6d28d9}.status-cancelled{background:#fee2e2;color:#b91c1c}.integration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.integration-card{border:1px dashed #cbd5f5;border-radius:16px;padding:1rem;background:#f8fafc;display:flex;flex-direction:column;gap:.75rem}.integration-label{font-size:.9rem;color:#64748b;margin:0}.integration-snippet{background:#0f172a;color:#e2e8f0;padding:1rem;border-radius:12px;font-size:.85rem;overflow-x:auto}.integration-card input{width:100%;padding:.7rem;border-radius:10px;border:1px solid #cbd5f5;margin-top:.35rem;font-size:.95rem}.note{font-size:.85rem;color:#94a3b8}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;justify-content:center;align-items:center;z-index:1000;padding:1rem}.modal-card{background:#fff;border-radius:24px;max-width:640px;width:100%;padding:2rem;box-shadow:0 25px 60px #0f172a33;display:flex;flex-direction:column;gap:1.5rem}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.modal-actions{display:flex;gap:.5rem;align-items:center}.modal-meta{margin:.3rem 0 0;color:#64748b}.guardrail-charts{display:flex;flex-direction:column;gap:1.5rem;margin-top:1rem}.chart-item{padding:1rem;background:#f9fafb;border-radius:12px}.chart-title{font-size:.875rem;font-weight:600;color:#374151;margin:0 0 1rem}.modal-body section{margin-bottom:1rem}.modal-label{text-transform:uppercase;letter-spacing:.1em;font-size:.75rem;color:#94a3b8;margin-bottom:.25rem}.modal-text{margin:0;color:#0f172a}.insight-box{border:1px solid #e2e8f0;border-radius:14px;padding:1rem;background:#f9fafb}.history-list{display:flex;flex-direction:column;gap:.4rem;max-height:220px;overflow-y:auto}.history-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.75rem;font-size:.9rem;padding:.45rem .5rem;border-bottom:1px solid #e2e8f0}.history-row strong{font-size:1rem}.modal-text.muted{color:#94a3b8}*{margin:0;padding:0;box-sizing:border-box}:root{font-family:Pretendard,Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.5;font-weight:400;color:#0f172a;background-color:#f8fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--color-primary: #667eea;--color-primary-dark: #764ba2;--color-text: #0f172a;--color-text-secondary: #64748b;--color-text-tertiary: #94a3b8;--color-bg: #f8fafc;--color-bg-secondary: #fff;--color-border: #e2e8f0;--gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);--shadow-md: 0 4px 12px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);--shadow-xl: 0 20px 60px rgba(102, 126, 234, .3)}body{margin:0;min-width:320px;min-height:100vh;background:#f8fafc;color:#0f172a}#root{min-height:100vh}button{font-family:inherit;border:none;background:none;cursor:pointer}a{text-decoration:none;color:inherit}h1,h2,h3,h4,h5,h6{font-weight:700}input,textarea,select{font-family:inherit}@media(max-width:768px){:root{font-size:14px}body{-webkit-overflow-scrolling:touch}}@media(hover:none)and (pointer:coarse){button,a{min-height:44px;min-width:44px}}@media(max-width:640px){:root{font-size:13px}}
