body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6;color:#333;background:#fff}:root{--zivo-header-padding-y: .5rem;--zivo-header-padding-x: 2rem;--zivo-header-padding-x-mobile: 1rem;--zivo-logo-height: 56px;--zivo-header-logo-height: var(--zivo-logo-height)}header{background:#fff;padding:var(--zivo-header-padding-y) var(--zivo-header-padding-x);box-shadow:none;border-bottom:1px solid #e9ecef;position:sticky;top:0;z-index:1000}header.header-admin-dashboard{border-bottom:1px solid #e6e8ea}header .header-content{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;position:relative}header.header-admin-dashboard .header-content{max-width:none;width:100%}header .header-left{display:flex;align-items:center;flex:0 0 auto}header .header-logo{text-decoration:none;display:inline-block;height:var(--zivo-header-logo-height)}header .header-logo-img{height:100%;width:auto;object-fit:contain}header .header-center{position:absolute;left:50%;transform:translate(-50%);display:flex;align-items:center;justify-content:center;pointer-events:none}header .header-nav a{color:#2c3e50;text-decoration:none;font-weight:500;font-size:1rem;transition:color .3s ease}header .header-nav a:hover{color:#e53935}header .header-title{font-size:1.25rem;font-weight:600;color:#333;margin:0;display:flex;align-items:center;gap:.5rem;white-space:nowrap}header .header-right{display:flex;align-items:center;gap:1.5rem}header .header-health-status{display:flex;align-items:center;gap:.5rem;background:#f8f9fa;padding:.5rem .75rem;border-radius:6px;border:1px solid #e6e8ea}header .header-status-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}header .header-status-dot.healthy{background-color:#4caf50;box-shadow:0 0 0 2px #4caf5033}header .header-status-dot.degraded{background-color:#ff9800;box-shadow:0 0 0 2px #ff980033}header .header-status-dot.unhealthy{background-color:#f44336;box-shadow:0 0 0 2px #f4433633}header .header-status-text{font-size:.75rem;font-weight:500;color:#666}header .header-user-info{display:flex;align-items:center;gap:1rem}header .header-user-info span{color:#666;font-size:.875rem}header .header-logout-button{background:#f44336;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;font-size:.875rem;cursor:pointer;transition:background-color .2s ease;font-weight:500}header .header-logout-button:hover{background:#d32f2f}@media(max-width:768px){header{padding:var(--zivo-header-padding-y) var(--zivo-header-padding-x-mobile)}header .header-content{flex-direction:column;gap:1rem}header .header-center{position:static;transform:none;pointer-events:auto}header .header-right{flex-direction:column;gap:1rem;width:100%}}:root{--zivo-logo-height: 56px;--footer-horizontal-padding: 2rem}.footer-design{background:#f8f9fa;color:#2c3e50;padding:2rem var(--footer-horizontal-padding) 1.25rem;margin:auto 0 0;width:100%;box-sizing:border-box}.footer-design .footer-inner{max-width:1200px;margin:0 auto;width:100%;box-sizing:border-box}.footer-design .footer-content{padding:0;margin:0 0 1.5rem;display:flex;flex-direction:row;flex-wrap:wrap;gap:2.5rem 3.5rem;justify-content:space-between}.footer-design .footer-section{min-width:180px;flex:0 1 auto;margin:0;padding:0}.footer-design .footer-content>.footer-section:first-child,.footer-design .footer-company{margin-left:0;padding-left:0;max-width:320px;text-align:left;align-self:flex-start}.footer-design .footer-logo-link{display:block;margin-bottom:.75rem;text-decoration:none;text-align:left;width:fit-content}.footer-design .footer-logo-img{display:block;height:var(--zivo-logo-height);min-height:var(--zivo-logo-height);width:auto;object-fit:contain;margin:0}.footer-design .footer-tagline{color:#6c757d;font-size:.9rem;line-height:1.45;margin:0 0 1rem;text-align:left;max-width:100%}.footer-design .footer-social{display:flex;gap:.75rem;justify-content:flex-start}.footer-design .footer-social-icon{width:40px;height:40px;border-radius:50%;background:#2c3e50;border:none;color:#fff;display:inline-flex;align-items:center;justify-content:center;transition:background .2s,opacity .2s}.footer-design .footer-social-icon:hover{background:#1a252f;opacity:.95}.footer-design .footer-social-icon svg{width:18px;height:18px;display:block;flex-shrink:0}.footer-design .footer-heading{font-size:.75rem;font-weight:600;letter-spacing:.05em;color:#2c3e50;margin:0 0 1rem}.footer-design .footer-platform ul,.footer-design .footer-section ul{list-style:none;margin:0;padding:0}.footer-design .footer-platform li,.footer-design .footer-section ul li{margin-bottom:.5rem}.footer-design .footer-platform a,.footer-design .footer-section a{color:#2c3e50;text-decoration:none;font-size:.95rem;transition:color .2s}.footer-design .footer-platform a:hover,.footer-design .footer-section a:hover{color:#1a252f}.footer-design .footer-newsletter-desc{color:#6c757d;font-size:.95rem;margin:0 0 1rem;max-width:260px}.footer-design .footer-newsletter-form{display:flex;gap:0;max-width:320px}.footer-design .footer-newsletter-input{flex:1;padding:.75rem 1rem;font-size:.9375rem;font-family:inherit;border:1px solid #dee2e6;border-right:none;border-radius:4px 0 0 4px;background:#fff;color:#2c3e50;outline:none}.footer-design .footer-newsletter-input::placeholder{color:#6c757d}.footer-design .footer-newsletter-btn{width:48px;padding:0;background:#212529;color:#fff;border:none;border-radius:0 4px 4px 0;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.footer-design .footer-newsletter-btn:hover{background:#111}.footer-design .footer-bottom{width:100%;padding:1.25rem 0 0;margin:0;border-top:1px solid #dee2e6;display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;box-sizing:border-box}.footer-design .footer-bottom p{color:#6c757d;font-size:.9rem;margin:0;padding:0}.footer-design .footer-bottom ul{list-style:none;list-style-type:none;margin:0;padding:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:0 1rem;justify-content:flex-end;align-items:center}.footer-design .footer-bottom ul li{display:inline-block;list-style:none;margin:0;padding:0}.footer-design .footer-bottom ul li:before{content:none}.footer-design .footer-bottom ul li+li:before{content:" · ";margin-right:.25rem;color:#6c757d;font-weight:400}.footer-design .footer-bottom a{color:#6c757d;text-decoration:none;font-size:.9rem}.footer-design .footer-bottom a:hover{color:#2c3e50}@media(max-width:768px){.footer-design .footer-content{flex-direction:column;gap:2.5rem}.footer-design .footer-bottom{flex-direction:column;text-align:center}.footer-design .footer-bottom ul{justify-content:center}}footer{background:#111;color:#fff;padding:3rem 2rem 2rem;margin:auto 0 0;width:100%;box-sizing:border-box;position:relative;left:0;right:0}footer .footer-content{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;gap:4rem;justify-content:space-between;margin-bottom:2rem}footer .footer-section{min-width:200px;margin-left:auto;text-align:right}footer .footer-section h3{font-size:1.1rem;margin-bottom:1rem;color:#fff}footer .footer-section ul{list-style:none;margin-left:0;margin-right:0;padding:0;text-align:right}footer .footer-section ul li{margin-bottom:.5rem}footer .footer-section a{color:#aaa;text-decoration:none;transition:color .3s ease;font-size:.95rem}footer .footer-section a:hover{color:#fff}footer .footer-bottom{max-width:1200px;margin:0 auto;padding-top:2rem;border-top:1px solid #333;display:flex;justify-content:center;align-items:center}footer .footer-bottom p{color:#aaa;font-size:.9rem;text-align:center}footer.footer-lucid{background:#f8f9fa;color:#2c3e50;padding:2rem;border-top:1px solid #e9ecef}footer.footer-lucid .footer-bottom{max-width:1200px;margin:0 auto;padding-top:0;border-top:none;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}footer.footer-lucid .footer-bottom p{color:#6c757d;font-size:.875rem;text-align:left;margin:0}footer.footer-lucid .footer-bottom ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:1rem;justify-content:flex-end}footer.footer-lucid .footer-bottom a{color:#6c757d;text-decoration:none;font-size:.875rem;transition:color .2s}footer.footer-lucid .footer-bottom a:hover{color:#2c3e50}@media(max-width:768px){footer.footer-lucid .footer-bottom{flex-direction:column;text-align:center}footer.footer-lucid .footer-bottom ul{justify-content:center}}footer.footer-full{background:#f8f9fa;color:#2c3e50;padding:3rem 2rem 2rem;margin:auto 0 0;width:100%;box-sizing:border-box;border-top:1px solid #e9ecef;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}@media(max-width:768px){footer .footer-content{flex-direction:column;gap:2rem}footer .footer-bottom{flex-direction:column;text-align:center}}body{margin:0;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}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{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-color:#fff}.App{min-height:100vh;background-color:#fff}.app-header{background-color:#fff;border-bottom:1px solid #e6e8ea;padding:0;position:sticky;top:0;z-index:100}.app-header .header-content{max-width:none;margin:0;display:flex;align-items:center;justify-content:space-between;padding:16px 24px;width:100%}.app-title{font-size:20px;font-weight:600;color:#333;margin:0}.header-tabs{display:flex;gap:0}.tab-button{background:none;border:none;padding:12px 24px;font-size:14px;font-weight:500;color:#666;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s ease}.tab-button:hover{color:#1e88e5;background-color:#f5f9ff}.tab-button.active{color:#1e88e5;border-bottom-color:#1e88e5;background-color:#f5f9ff}.app-main{max-width:none;margin:0;padding:24px;width:100%}.overview-section{display:flex;flex-direction:column;gap:32px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px}.workflow-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid #e6e8ea;border-radius:8px;padding:24px;text-align:center;transition:box-shadow .2s ease}.stat-card:hover{box-shadow:0 4px 12px #00000014}.stat-number{font-size:32px;font-weight:700;color:#1e88e5;margin-bottom:8px;line-height:1}.stat-label{font-size:14px;color:#666;font-weight:500}.section-title{font-size:18px;font-weight:600;color:#333;margin-bottom:16px}.sessions-table{background:#fff;border:1px solid #e6e8ea;border-radius:8px;overflow:hidden}.table-header{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1.5fr 1fr;gap:16px;padding:16px 24px;background-color:#f8f9fa;border-bottom:1px solid #e6e8ea;font-weight:600;font-size:12px;color:#666;text-transform:uppercase;letter-spacing:.5px}.table-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1.5fr 1fr;gap:16px;padding:16px 24px;border-bottom:1px solid #f0f2f4;font-size:14px;color:#333;align-items:center}.table-row:last-child{border-bottom:none}.table-row:hover{background-color:#f8f9fa}.session-id{font-family:Monaco,Menlo,monospace;font-size:12px;color:#666}.status-badge{padding:4px 8px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.status-badge.active{background-color:#e8f5e8;color:#2e7d32}.status-badge.completed{background-color:#e3f2fd;color:#1976d2}.action-button{background:none;border:1px solid #1e88e5;color:#1e88e5;padding:6px 12px;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease}.action-button:hover{background-color:#1e88e5;color:#fff}.action-section{display:flex;justify-content:center}.primary-button{background-color:#1e88e5;color:#fff;border:none;padding:12px 24px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .2s ease}.primary-button:hover{background-color:#1976d2}.audit-section{display:flex;flex-direction:column;gap:24px}.session-selector{display:flex;justify-content:center}.session-select{padding:12px 16px;border:1px solid #e6e8ea;border-radius:6px;font-size:14px;min-width:300px;background-color:#fff;color:#333}.session-select:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 2px #1e88e51a}.loading{text-align:center;padding:40px;color:#666;font-style:italic}.lineage-details{display:flex;flex-direction:column;gap:32px}.messages-list{display:flex;flex-direction:column;gap:16px}.message-item{background:#fff;border:1px solid #e6e8ea;border-radius:8px;padding:16px}.message-header{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}.arrow{color:#666;font-weight:700}.timestamp{font-size:11px;color:#888;font-family:Monaco,Menlo,monospace}.processing-time{font-size:11px;color:#1e88e5;background-color:#f0f7ff;padding:2px 6px;border-radius:3px;font-family:Monaco,Menlo,monospace}.message-content{font-size:14px;color:#333;line-height:1.5;background-color:#f8f9fa;padding:12px;border-radius:6px;border-left:3px solid #1e88e5}.handoffs-list{display:flex;flex-direction:column;gap:12px}.handoff-item{background:#fff;border:1px solid #e6e8ea;border-radius:8px;padding:16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.handoff-reason{font-size:14px;color:#333;flex:1}.handoff-time{font-size:11px;color:#888;font-family:Monaco,Menlo,monospace}.timeline-list{display:flex;flex-direction:column;gap:8px}.timeline-item{background:#fff;border:1px solid #e6e8ea;border-radius:6px;padding:12px 16px;display:grid;grid-template-columns:1fr 2fr 100px 120px;gap:16px;align-items:center;font-size:13px}.timeline-operation{color:#333}.timeline-duration{font-family:Monaco,Menlo,monospace;color:#f57c00;text-align:right}.timeline-time{font-family:Monaco,Menlo,monospace;color:#888;font-size:11px}.health-status{margin-bottom:32px}.health-indicator{background:#fff;border:1px solid #e6e8ea;border-radius:8px;padding:20px;text-align:center}.health-indicator.healthy{border-left:4px solid #2e7d32}.health-indicator.degraded{border-left:4px solid #f57c00}.health-indicator.unhealthy{border-left:4px solid #d32f2f}.health-title{font-size:18px;font-weight:600;margin-bottom:8px}.health-indicator.healthy .health-title{color:#2e7d32}.health-indicator.degraded .health-title{color:#f57c00}.health-indicator.unhealthy .health-title{color:#d32f2f}.health-score{font-size:14px;color:#666;margin-bottom:12px}.health-issues{text-align:left;background-color:#fff3e0;padding:12px;border-radius:6px;border-left:3px solid #f57c00}.health-issues ul{margin:8px 0 0;padding-left:20px}.health-issues li{color:#d84315;font-size:13px;margin-bottom:4px}.performance-section{margin-top:32px}.stat-detail{font-size:11px;color:#888;margin-top:4px}.endpoints-table{background:#fff;border:1px solid #e6e8ea;border-radius:8px;overflow:hidden;margin-top:16px}.endpoints-table .table-header{display:grid;grid-template-columns:3fr 1fr 1fr 1fr 1.5fr;gap:16px;padding:16px 24px;background-color:#f8f9fa;border-bottom:1px solid #e6e8ea;font-weight:600;font-size:12px;color:#666;text-transform:uppercase;letter-spacing:.5px}.endpoints-table .table-row{display:grid;grid-template-columns:3fr 1fr 1fr 1fr 1.5fr;gap:16px;padding:12px 24px;border-bottom:1px solid #f0f2f4;font-size:13px;color:#333;align-items:center}.endpoints-table .table-row:last-child{border-bottom:none}.endpoints-table .table-row:hover{background-color:#f8f9fa}.endpoint-path{font-family:Monaco,Menlo,monospace;font-size:12px;color:#1e88e5;font-weight:500}.error-rate-high{color:#d32f2f;font-weight:600}.error-rate-low{color:#2e7d32}.methods{font-size:11px;color:#666;font-family:Monaco,Menlo,monospace}.tab-button{background:none;border:none;padding:12px 24px;font-size:14px;font-weight:500;color:#666;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s ease;white-space:nowrap}.header-tabs{display:flex;gap:0;flex-wrap:wrap}@media(max-width:768px){.app-header .header-content{flex-direction:column;gap:16px;align-items:flex-start}.stats-grid{grid-template-columns:repeat(2,1fr)}.table-header,.table-row,.endpoints-table .table-header,.endpoints-table .table-row,.timeline-item{grid-template-columns:1fr;gap:8px}.app-main,.health-indicator{padding:16px}.performance-section{margin-top:24px}}.admin-login-page{min-height:100vh;display:flex;flex-direction:column;background:#fff}.login-container{flex:1;display:flex;align-items:flex-start;justify-content:center;padding:.5rem 20px 2rem}.login-form{background:#fff;padding:30px 40px;border-radius:12px;width:100%;max-width:400px;text-align:center;margin-top:0}.login-logo-container{margin-bottom:1.5rem;margin-top:0;display:flex;justify-content:center}.login-logo-img{width:120px;height:120px;object-fit:contain}.login-form h2{color:#333;margin-bottom:8px;font-size:28px;font-weight:600}.login-form p{color:#666;margin-bottom:32px;font-size:14px}.form-group input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.login-button{width:100%;background:#2563eb;color:#fff;border:none;padding:14px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .2s ease;margin-bottom:20px}.login-button:hover{background:#1d4ed8}.login-button:disabled{opacity:.6;cursor:not-allowed}.login-options{display:flex;gap:.75rem;margin-top:1rem}.login-option-button{flex:1;background:#f3f4f6;color:#333;border:1px solid #e5e7eb;padding:12px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.login-option-button:hover{background:#e5e7eb;border-color:#d1d5db}.option-icon{font-size:16px}@media(max-width:768px){.login-options{flex-direction:column}}.form-group{margin-bottom:20px;text-align:left}.form-group label{display:block;margin-bottom:6px;color:#333;font-weight:500;font-size:14px}.form-group input{width:100%;padding:12px 16px;border:1px solid #ddd;border-radius:6px;font-size:14px;transition:border-color .2s ease}.login-button{width:100%;background:#1e88e5;color:#fff;border:none;padding:14px;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .2s ease;margin-bottom:20px}.login-button:hover{background:#1976d2}.error-message{background:#ffebee;color:#c62828;padding:12px;border-radius:6px;margin-bottom:20px;font-size:14px;border:1px solid #ffcdd2}.demo-credentials{background:#f5f5f5;padding:16px;border-radius:6px;margin-top:20px;text-align:left}.demo-credentials p{margin:4px 0;font-size:12px;color:#666}.demo-credentials p:first-child{font-weight:600;color:#333;margin-bottom:8px}.header{background:#fff;border-bottom:1px solid #e6e8ea;padding:16px 24px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:100}.header h1{color:#333;font-size:24px;font-weight:600;margin:0}.user-info{display:flex;align-items:center;gap:16px}.user-info span{color:#666;font-size:14px}.logout-button{background:#f44336;color:#fff;border:none;padding:8px 16px;border-radius:4px;font-size:14px;cursor:pointer;transition:background-color .2s ease}.logout-button:hover{background:#d32f2f}.monitoring-section{padding:24px 0;min-height:calc(100vh - 180px);width:100%}.monitoring-section .section-title{font-size:20px;font-weight:600;color:#333;margin-bottom:24px;padding-bottom:8px;border-bottom:2px solid #e6e8ea}.header-tabs{display:flex;background:#f8f9fa;border-top:1px solid #e6e8ea;padding:0}.tab-button{background:none;border:none;padding:16px 24px;font-size:14px;font-weight:500;color:#666;cursor:pointer;border-bottom:3px solid transparent;transition:all .2s ease;flex:1;text-align:center}.tab-button:hover{color:#1e88e5;background:#f0f7ff}.tab-button.active{color:#1e88e5;background:#fff;border-bottom-color:#1e88e5;font-weight:600}.monitoring-section .stats-grid{margin-bottom:32px}.monitoring-section .stat-card{border-left:4px solid #1e88e5;background:linear-gradient(135deg,#fff,#f8f9fa)}.monitoring-section .stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001f}.monitoring-section .stat-card:nth-child(1){border-left-color:#ff5722}.monitoring-section .stat-card:nth-child(2){border-left-color:#4caf50}.monitoring-section .stat-card:nth-child(3){border-left-color:#2196f3}.monitoring-section:has(.endpoints-table) .stat-card:nth-child(1){border-left-color:#9c27b0}.monitoring-section:has(.endpoints-table) .stat-card:nth-child(2){border-left-color:#f44336}.monitoring-section:has(.endpoints-table) .stat-card:nth-child(3){border-left-color:#ff9800}.monitoring-section:has(.endpoints-table) .stat-card:nth-child(4){border-left-color:#3f51b5}.monitoring-section:has(.endpoints-table) .stat-card:nth-child(5){border-left-color:#009688}.monitoring-section:has(.sessions-table) .stat-card:nth-child(4){border-left-color:#4caf50}.header-right{display:flex;align-items:center;gap:24px}.health-status-compact{display:flex;align-items:center;gap:8px;background:#f8f9fa;padding:8px 12px;border-radius:6px;border:1px solid #e6e8ea}.status-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.status-dot.healthy{background-color:#4caf50;box-shadow:0 0 0 2px #4caf5033}.status-dot.degraded{background-color:#ff9800;box-shadow:0 0 0 2px #ff980033}.status-dot.unhealthy{background-color:#f44336;box-shadow:0 0 0 2px #f4433633}.status-text{font-size:12px;font-weight:500;color:#666}.app-body{display:flex;min-height:calc(100vh - 80px);width:100%}.left-nav{width:240px;background:#f8f9fa;border-right:1px solid #e6e8ea;padding:24px 0;flex-shrink:0}.nav-items{display:flex;flex-direction:column;gap:4px;padding:0 16px}.nav-item{display:flex;align-items:center;gap:12px;background:none;border:none;padding:12px 16px;border-radius:8px;cursor:pointer;transition:all .2s ease;text-align:left;color:#666;font-size:14px;font-weight:500}.nav-item:hover{background:#e3f2fd;color:#1e88e5}.nav-item.active{background:#1e88e5;color:#fff}.nav-icon{font-size:18px;flex-shrink:0}.nav-label{flex:1}.app-main{flex:1;padding:24px;overflow-y:auto}.system-issues{margin-top:24px}.issues-list{background:#fff3e0;border:1px solid #ffcc02;border-radius:8px;padding:16px}.issue-item{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #ffe0b3}.issue-item:last-child{border-bottom:none}.issue-icon{font-size:16px}.issue-text{color:#e65100;font-size:14px;font-weight:500}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.refresh-button{background:#f8f9fa;border:1px solid #e6e8ea;border-radius:6px;padding:8px 12px;cursor:pointer;font-size:16px;transition:all .2s ease;color:#666;position:relative}.refresh-button:hover:not(:disabled){background:#e3f2fd;border-color:#1e88e5;color:#1e88e5;transform:rotate(180deg)}.refresh-button:disabled{opacity:.6;cursor:not-allowed;background:#f5f5f5}.refresh-button.refreshing{animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.audit-controls{display:flex;align-items:center;gap:12px}.time-range-select{padding:8px 12px;border:1px solid #e6e8ea;border-radius:6px;background:#fff;font-size:14px;color:#333;cursor:pointer}.time-range-select:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 2px #1e88e51a}.user-filter-input{padding:8px 12px;border:1px solid #e6e8ea;border-radius:6px;background:#fff;font-size:14px;color:#333;min-width:150px}.user-filter-input:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 2px #1e88e51a}.user-filter-input::placeholder{color:#999}.workflow-table{background:#fff;border:1px solid #e6e8ea;border-radius:8px;overflow:hidden;margin-top:24px;width:100%;max-width:none}.users-table .workflow-table .table-header,.users-table .workflow-table .table-row{grid-template-columns:100px 60px 1.8fr 1.2fr .8fr 1.2fr .7fr 1fr .9fr 1.2fr 1.2fr;gap:12px;align-items:center}.doctors-table .workflow-table .table-header,.doctors-table .workflow-table .table-row{grid-template-columns:100px 60px 1.8fr 1.2fr .9fr .9fr .8fr 1.2fr 1.2fr 1.2fr 1fr;gap:12px;align-items:center}.workflow-table .table-header{background:#f8f9fa;display:grid;grid-template-columns:1fr 1fr .8fr 1fr 2fr 1fr 1fr 1fr 1.5fr;gap:12px;padding:16px;font-weight:600;color:#333;border-bottom:1px solid #e6e8ea}.workflow-table .table-row{display:grid;grid-template-columns:1fr 1fr .8fr 1fr 2fr 1fr 1fr 1fr 1.5fr;gap:12px;padding:16px;border-bottom:1px solid #f0f0f0;align-items:center;transition:background-color .2s ease}.workflow-table .table-row:hover{background-color:#f8f9fa}.workflow-table .table-row:last-child{border-bottom:none}.workflow-table .table-row>div{overflow:visible;text-overflow:unset;white-space:normal;padding:4px 0;word-wrap:break-word}.workflow-table .table-row>div:last-child{display:flex;justify-content:center;align-items:center}.message-preview{max-width:100%;word-wrap:break-word;line-height:1.4}.status-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;text-transform:capitalize}.status-badge.open{background-color:#e3f2fd;color:#1976d2}.status-badge.in_progress{background-color:#fff3e0;color:#f57c00}.status-badge.resolved{background-color:#e8f5e8;color:#2e7d32}.request-id{font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:12px;color:#666;background:#f5f5f5;padding:4px 8px;border-radius:4px;display:inline-block}.message-preview{color:#333;font-size:14px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.view-workflow-btn{background:#1e88e5;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;transition:background-color .2s ease;white-space:nowrap;min-width:120px;text-align:center}.view-workflow-btn:hover{background:#1565c0}.view-workflow-btn:disabled{opacity:.5;cursor:not-allowed}.view-workflow-btn[title*=Deactivate]{background:#ff9800}.view-workflow-btn[title*=Deactivate]:hover:not(:disabled){background:#f57c00;box-shadow:0 2px 8px #ff98004d}.view-workflow-btn[title*=Permanently]{background:#dc3545}.view-workflow-btn[title*=Permanently]:hover:not(:disabled){background:#c82333;box-shadow:0 2px 8px #dc35454d;transform:scale(1.02)}.status-badge.success{background:#e8f5e8;color:#2e7d32;border:1px solid #c8e6c9}.status-badge.error{background:#ffebee;color:#c62828;border:1px solid #ffcdd2}.status-badge.pending{background:#fff3e0;color:#ef6c00;border:1px solid #ffcc02}.status-badge.info{background:#e3f2fd;color:#1565c0;border:1px solid #90caf9}.status-badge.warning{background:#fff8e1;color:#f57f17;border:1px solid #ffca28}.workflow-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.workflow-modal{background:#fff;border-radius:12px;max-width:900px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e6e8ea;background:#f8f9fa}.modal-header h3{margin:0;font-size:18px;font-weight:600;color:#333}.close-btn{background:none;border:none;font-size:24px;color:#666;cursor:pointer;padding:4px;border-radius:4px;transition:background-color .2s ease}.close-btn:hover{background:#e0e0e0;color:#333}.modal-content{padding:24px;overflow-y:auto;flex:1}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-overlay .modal-content{background:#fff;border-radius:12px;padding:30px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-overlay .modal-content h2{margin:0 0 20px;font-size:22px;font-weight:600;color:#333}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#333;font-size:14px}.form-group input{width:100%;padding:10px 12px;border:1px solid #e6e8ea;border-radius:6px;font-size:14px;color:#333;box-sizing:border-box;transition:border-color .2s ease}.form-group input:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 3px #1e88e51a}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:30px}.modal-button{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.modal-button.cancel{background:#f8f9fa;color:#666;border:1px solid #e6e8ea}.modal-button.cancel:hover{background:#e6e8ea;color:#333}.modal-button.confirm{background:#1e88e5;color:#fff}.modal-button.confirm:hover{background:#1565c0;box-shadow:0 2px 8px #1e88e54d}.workflow-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px;padding:16px;background:#f8f9fa;border-radius:8px}.summary-item{display:flex;flex-direction:column;gap:4px}.summary-item strong{font-size:12px;color:#666;text-transform:uppercase;letter-spacing:.5px}.user-message-section{margin-bottom:24px}.user-message-section h4{margin:0 0 12px;font-size:16px;color:#333}.user-message{background:#f8f9fa;padding:16px;border-radius:8px;border-left:4px solid #1e88e5;font-size:14px;line-height:1.5;color:#333}.workflow-steps-section h4{margin:0 0 16px;font-size:16px;color:#333}.workflow-steps{display:flex;flex-direction:column;gap:12px}.workflow-step{background:#fff;border:1px solid #e6e8ea;border-radius:8px;padding:16px;transition:box-shadow .2s ease}.workflow-step:hover{box-shadow:0 2px 8px #0000001a}.workflow-step.error{border-color:#f44336;background:#fff5f5}.step-header{display:flex;align-items:center;gap:12px;margin-bottom:8px;flex-wrap:wrap}.step-number{background:#1e88e5;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0}.workflow-step.error .step-number{background:#f44336}.step-event{background:#f5f5f5;color:#666;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.step-time{color:#999;font-size:12px;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.step-duration{color:#666;font-size:12px;background:#f0f0f0;padding:2px 6px;border-radius:3px}.step-message{color:#333;font-size:14px;line-height:1.4;margin-bottom:8px}.step-tool{color:#666;font-size:12px;background:#fff3e0;padding:4px 8px;border-radius:4px;display:inline-block;margin-bottom:8px}.step-details{margin-top:8px}.step-details summary{cursor:pointer;color:#1e88e5;font-size:12px;font-weight:500;padding:4px 0}.step-details pre{background:#f8f9fa;padding:12px;border-radius:4px;font-size:11px;color:#333;overflow-x:auto;margin-top:8px;border:1px solid #e6e8ea}@media(max-width:768px){.audit-controls{flex-direction:column;align-items:stretch;gap:8px}.workflow-table .table-header,.workflow-table .table-row{grid-template-columns:1fr;gap:8px}.workflow-table .table-header{display:none}.workflow-table .table-row{padding:16px;border-bottom:2px solid #f0f0f0}.workflow-table .table-row>div{display:flex;justify-content:space-between;align-items:center;padding:4px 0;white-space:normal}.workflow-table .table-row>div:before{content:attr(data-label);font-weight:600;color:#666;font-size:12px;margin-right:8px}.workflow-table .table-row>div{display:flex;justify-content:space-between;align-items:center;padding:4px 0}.workflow-table .table-row>div:before{content:attr(data-label);font-weight:600;color:#666;font-size:12px}.workflow-modal{margin:10px;max-height:calc(100vh - 20px)}.workflow-summary{grid-template-columns:1fr}.step-header{flex-direction:column;align-items:flex-start;gap:8px}}.view-toggle{display:flex;align-items:center;gap:20px;padding:15px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.view-toggle label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500;color:#495057}.view-toggle input[type=radio]{margin:0}.hierarchical-workflow{background:#fff;border-radius:8px;border:1px solid #e9ecef;padding:20px}.hierarchical-steps{position:relative}.hierarchical-step{background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;margin-bottom:10px;padding:15px;position:relative}.hierarchical-step.error{background:#f8d7da;border-color:#f5c6cb}.hierarchical-step:before{content:"";position:absolute;left:-15px;top:20px;width:10px;height:2px;background:#6c757d;z-index:1}.hierarchical-step .step-header{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin-bottom:8px}.hierarchical-step .step-level{background:#007bff;color:#fff;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:700;min-width:30px;text-align:center}.hierarchical-step .step-operation{background:#17a2b8;color:#fff;padding:4px 10px;border-radius:4px;font-size:12px}.hierarchical-step .orchestrator{color:#6c757d;font-style:italic;font-size:12px}.hierarchical-step .step-metadata{background:#fff;border:1px solid #e9ecef;border-radius:4px;padding:10px;margin-top:10px;font-size:13px}.hierarchical-step .user-message{color:#495057;margin-bottom:5px}.hierarchical-step .operation-type{color:#6c757d;font-size:12px}.child-steps{margin-top:15px;padding-left:20px;border-left:3px solid #dee2e6;position:relative}.child-steps:before{content:"";position:absolute;left:-2px;top:0;bottom:0;width:2px;background:linear-gradient(to bottom,#007bff,#28a745,#17a2b8)}.no-hierarchy{text-align:center;padding:40px 20px;background:#f8f9fa;border-radius:8px;color:#6c757d}.no-hierarchy p{margin:10px 0}.workflow-step{transition:all .2s ease}.workflow-step:hover{transform:translate(5px);box-shadow:0 2px 8px #0000001a}.step-messages{margin-top:15px;padding:15px;background:#f8f9fa;border-radius:8px;border-left:4px solid #007bff}.message-item{display:flex;align-items:flex-start;margin-bottom:8px;padding:8px 12px;background:#fff;border-radius:4px;border-left:3px solid #dee2e6}.message-item:last-child{margin-bottom:0}.message-label{font-weight:600;min-width:120px;color:#495057;margin-right:12px;font-size:14px}.message-content{flex:1;color:#212529;font-size:14px;word-break:break-word}.message-item.user-message{border-left-color:#28a745;background:#f8fff9}.message-item.user-message .message-content{font-style:italic;color:#155724}.message-item.interaction-type{border-left-color:#17a2b8;background:#f0fdff}.message-item.operation-type{border-left-color:#6f42c1;background:#f8f7ff}.message-item.classification{border-left-color:#fd7e14;background:#fff8f0}.message-item.coordination{border-left-color:#20c997;background:#f0fdf9}.message-item.guardrails.safe{border-left-color:#28a745;background:#f8fff9}.message-item.guardrails.unsafe{border-left-color:#dc3545;background:#fff5f5}.message-item.medical-data{border-left-color:#e83e8c;background:#fdf2f8}.message-item.timing{border-left-color:#ffc107;background:#fffbf0}.message-item.status.success{border-left-color:#28a745;background:#f8fff9}.message-item.status.error,.message-item.error-info{border-left-color:#dc3545;background:#fff5f5}.message-item.error-info .message-content{color:#721c24;font-weight:500}.step-details{margin-top:15px;border:1px solid #dee2e6;border-radius:4px;background:#f8f9fa}.step-details summary{padding:10px 15px;cursor:pointer;font-weight:600;color:#6c757d;background:#e9ecef;border-radius:4px 4px 0 0;-webkit-user-select:none;user-select:none}.step-details summary:hover{background:#dee2e6}.step-details pre{margin:0;padding:15px;background:#fff;border-radius:0 0 4px 4px;font-size:12px;overflow-x:auto;color:#495057;max-height:400px;overflow-y:auto}.hierarchical-step{position:relative;margin-bottom:15px;padding:20px;background:#fff;border:1px solid #dee2e6;border-radius:8px;box-shadow:0 2px 4px #0000001a}.hierarchical-step.error{border-left:4px solid #dc3545;background:#fff5f5}.hierarchical-step .step-header{display:flex;align-items:center;gap:15px;margin-bottom:10px}.step-level{background:#007bff;color:#fff;padding:4px 8px;border-radius:4px;font-weight:600;font-size:12px;min-width:30px;text-align:center}.step-operation{background:#17a2b8;color:#fff;padding:4px 10px;border-radius:15px;font-size:12px}.step-time{color:#6c757d;font-size:12px;font-family:monospace}.step-duration{background:#ffc107;color:#212529;padding:2px 6px;border-radius:10px;font-size:11px;font-weight:600}.orchestrator{color:#6f42c1;font-size:12px;font-style:italic}.child-steps{margin-top:20px;padding-left:20px;border-left:2px solid #e9ecef}.feedback-detail-container{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:20px}.feedback-detail-section{background:#fff;border:1px solid #e6e8ea;border-radius:8px;padding:24px}.feedback-detail-section h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#333;border-bottom:2px solid #1e88e5;padding-bottom:8px}.screenshot-container{display:flex;flex-direction:column;align-items:center}.screenshot-container img{width:100%;height:auto;max-height:600px;object-fit:contain}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-label{font-size:12px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px}.detail-value{font-size:14px;color:#333;word-break:break-word}.detail-description{background:#f8f9fa;padding:16px;border-radius:8px;border-left:4px solid #1e88e5;font-size:14px;line-height:1.6;color:#333;white-space:pre-wrap;word-wrap:break-word;margin-top:8px}.status-update-section h3{margin:0 0 12px;font-size:16px;font-weight:600;color:#333}@media(max-width:1024px){.feedback-detail-container{grid-template-columns:1fr}}.llm-filter-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px;align-items:flex-end}.llm-filter-group{display:flex;flex-direction:column;gap:6px}.llm-form-label{font-size:12px;font-weight:500;color:#6b7280}.llm-input-date,.llm-input-text{padding:10px 12px;font-size:14px;color:#111827;background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;transition:border-color .15s ease,box-shadow .15s ease;min-width:140px}.llm-input-text{min-width:120px}.llm-input-date:hover,.llm-input-text:hover{border-color:#d1d5db}.llm-input-date:focus,.llm-input-text:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 2px #1e88e533}.llm-input-date::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.6}.llm-input-date::-webkit-calendar-picker-indicator:hover{opacity:1}.llm-select{padding:10px 32px 10px 12px;font-size:14px;color:#111827;background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;min-width:120px}.llm-select:hover{border-color:#d1d5db}.llm-select:focus{outline:none;border-color:#1e88e5;box-shadow:0 0 0 2px #1e88e533}.llm-btn-apply{padding:10px 20px;background:#1e88e5;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease}.llm-btn-apply:hover:not(:disabled){background:#1976d2;box-shadow:0 2px 8px #1e88e54d}.llm-btn-apply:disabled{opacity:.6;cursor:not-allowed}.llm-btn-run{padding:10px 20px;background:#2e7d32;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease}.llm-btn-run:hover:not(:disabled){background:#1b5e20;box-shadow:0 2px 8px #2e7d324d}.llm-btn-run:disabled{opacity:.6;cursor:not-allowed}.calendar-date-picker{position:relative;display:inline-block}.calendar-date-picker-label{display:block;font-size:12px;font-weight:500;color:#6b7280;margin-bottom:6px}.calendar-date-picker-trigger{display:flex;align-items:center;gap:10px;width:100%;min-width:180px;padding:10px 14px;font-size:14px;color:#111827;background-color:#fff;border:1px solid #d1d5db;border-radius:10px;cursor:pointer;text-align:left;font-family:inherit;transition:border-color .15s ease,box-shadow .15s ease}.calendar-date-picker-trigger:hover{border-color:#9ca3af}.calendar-date-picker-trigger:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.calendar-date-picker-trigger-icon{color:#6b7280;flex-shrink:0}.calendar-date-picker-trigger-text{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-date-picker-trigger[data-format=short] .calendar-date-picker-trigger-text{font-weight:700;font-size:15px;color:#111827}.calendar-date-picker-trigger-text:empty:before,.calendar-date-picker-trigger:not([data-value]) .calendar-date-picker-trigger-text{color:#9ca3af}.calendar-date-picker-popover{position:absolute;top:calc(100% + 8px);left:0;z-index:1000;min-width:280px;padding:16px;background:#fff;border-radius:12px;box-shadow:0 10px 25px #0000001a,0 4px 6px #0000000d;border:1px solid #e5e7eb}.calendar-date-picker-popover-right{left:auto;right:0}.calendar-date-picker-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.calendar-date-picker-month-year{display:flex;align-items:center;gap:4px;font-size:15px;font-weight:700;color:#111827}.calendar-date-picker-month-year svg{color:#6b7280}.calendar-date-picker-nav{display:flex;align-items:center;gap:4px}.calendar-date-picker-nav-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;border:none;border-radius:8px;color:#6b7280;cursor:pointer;transition:background .15s,color .15s}.calendar-date-picker-nav-btn:hover{background:#f3f4f6;color:#111827}.calendar-date-picker-days-header{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:8px}.calendar-date-picker-day-name{font-size:11px;font-weight:600;color:#6b7280;text-transform:uppercase;text-align:center;padding:4px 0}.calendar-date-picker-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.calendar-date-picker-cell{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;font-size:14px;font-weight:500;color:#111827;background:transparent;border:none;border-radius:50%;cursor:pointer;transition:background .15s,color .15s;font-family:inherit}.calendar-date-picker-cell:hover:not(.disabled):not(.selected){background:#f3f4f6}.calendar-date-picker-cell.other-month{color:#9ca3af}.calendar-date-picker-cell.selected{background:#6366f1;color:#fff}.calendar-date-picker-cell.selected:hover{background:#4f46e5;color:#fff}.calendar-date-picker-cell.today:not(.selected){border:2px solid #6366f1;color:#111827}.calendar-date-picker-cell.disabled{color:#d1d5db;cursor:not-allowed}.calendar-date-picker-footer{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding-top:12px;border-top:1px solid #e5e7eb}.calendar-date-picker-footer-clear,.calendar-date-picker-footer-today{padding:6px 12px;font-size:12px;font-weight:600;background:transparent;border:none;cursor:pointer;font-family:inherit;text-transform:uppercase;letter-spacing:.5px;transition:color .15s}.calendar-date-picker-footer-clear{color:#6b7280}.calendar-date-picker-footer-clear:hover{color:#374151}.calendar-date-picker-footer-today{color:#6366f1}.calendar-date-picker-footer-today:hover{color:#4f46e5}
