:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111827;background:#f8fafc;--blue: #2563eb;--blue-soft: #eff6ff;--line: #e5e7eb;--muted: #64748b;--text: #0f172a;--panel: #ffffff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f8fafc}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.admin-shell{height:100vh;width:100vw;display:flex;flex-direction:column;background:#f8fafc;overflow:hidden}.topbar{height:64px;flex:0 0 64px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 24px;background:#fff;border-bottom:1px solid var(--line);z-index:10}.brand{display:flex;align-items:center;gap:12px;min-width:260px}.brand-logo{width:40px;height:40px;-o-object-fit:contain;object-fit:contain;border-radius:12px}.brand-title{font-weight:800;letter-spacing:-.02em;color:var(--text)}.brand-subtitle{font-size:12px;color:var(--muted);margin-top:2px}.topbar-actions{display:flex;align-items:center;gap:12px}.console-link,.admin-pill,.logout-btn{height:40px;display:inline-flex;align-items:center;border-radius:12px;padding:0 16px;font-weight:700;text-decoration:none;border:1px solid #dbe4f0;background:#fff;color:#334155}.admin-pill{background:var(--blue-soft);color:var(--blue);border-color:transparent}.logout-btn{color:#334155}.shell-body{flex:1;min-height:0;display:flex}.sidebar{width:256px;flex:0 0 256px;background:#fff;border-right:1px solid var(--line);overflow-y:auto}.sidebar-nav{padding:16px}.menu-group{margin-bottom:18px}.menu-group-title{padding:8px;color:#94a3b8;font-size:12px;font-weight:800;letter-spacing:.08em}.menu-item{width:100%;height:42px;display:flex;align-items:center;gap:10px;padding:0 12px;border:0;background:transparent;border-radius:10px;color:#475569;font-weight:650;text-align:left;transition:background .16s,color .16s}.menu-item:hover{background:#f1f5f9;color:var(--text)}.menu-item.active{background:var(--blue);color:#fff;box-shadow:0 10px 24px #2563eb33}.menu-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#94a3b824;font-size:12px;font-weight:800}.menu-item.active .menu-icon{background:#ffffff2e}.content-area{flex:1;min-width:0;overflow-y:auto;padding:32px}.page-stack{display:flex;flex-direction:column;gap:24px;max-width:1440px;margin:0 auto}.page-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.breadcrumb{color:#94a3b8;font-size:13px;font-weight:700;margin-bottom:12px}h1{margin:0;font-size:30px;line-height:1.2;letter-spacing:-.04em;color:var(--text)}.page-title-row p{margin:8px 0 0;color:#64748b;font-weight:550}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 40px #0f172a0d;padding:24px}.metric-grid,.role-grid,.grid-3{display:grid;gap:20px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.role-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-card{display:flex;flex-direction:column;gap:10px}.metric-card span,.quick-card p,.section-heading p{color:var(--muted)}.metric-card strong{font-size:30px;color:var(--text);letter-spacing:-.04em}.metric-card em{color:#16a34a;font-style:normal;font-weight:800}.metric-card em.metric-danger{color:#dc2626}.quick-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.quick-card h3,.section-heading h2,.role-card h3{margin:0;color:var(--text)}.quick-card button{border:0;color:var(--blue);background:transparent;font-weight:800;padding:0}.wide-card{display:flex;flex-direction:column;gap:20px}.flow-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.flow-node{border:1px solid #bfdbfe;background:var(--blue-soft);color:#1d4ed8;border-radius:12px;padding:16px;text-align:center;font-weight:800}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.inline-heading{margin-top:6px}.table-heading{margin-bottom:18px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;border:1px solid transparent;font-weight:800;transition:transform .12s,background .12s,border-color .12s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-md{height:42px;padding:0 18px}.btn-sm{height:34px;padding:0 12px;font-size:13px}.btn-primary{color:#fff;background:var(--blue);box-shadow:0 12px 28px #2563eb38}.btn-secondary{color:#1d4ed8;background:var(--blue-soft)}.btn-outline{color:#334155;background:#fff;border-color:#dbe4f0}.btn-ghost{color:#475569;background:#f8fafc}.btn-danger{color:#dc2626;background:#fef2f2}.badge{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:800;margin-right:6px}.badge-blue{background:var(--blue-soft);color:#1d4ed8}.badge-green{background:#dcfce7;color:#15803d}.badge-gray{background:#f1f5f9;color:#475569}.badge-red{background:#fee2e2;color:#b91c1c}.badge-amber{background:#fef3c7;color:#b45309}.badge-purple{background:#f3e8ff;color:#7e22ce}.role-card{padding:0;overflow:hidden;display:flex;flex-direction:column}.role-card.selected{border-color:var(--blue);box-shadow:0 16px 40px #2563eb21}.role-card-main{border:0;background:transparent;text-align:left;padding:24px;display:flex;flex-direction:column;gap:12px;color:inherit}.role-card p{margin:0;color:var(--muted);min-height:44px}.role-stats{display:flex;flex-direction:column;gap:10px;color:#475569;font-weight:700}.role-stats span{display:flex;justify-content:space-between}.role-stats strong{color:var(--text);font-size:22px}.role-card>.btn{margin:0 24px 24px}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;color:#64748b;font-size:13px;padding:14px 12px;border-bottom:1px solid var(--line);background:#f8fafc}.data-table td{padding:16px 12px;border-bottom:1px solid #eef2f7;color:#334155;vertical-align:middle}.data-table tr:hover td{background:#f8fafc}.table-actions{display:flex;gap:8px}.loading-panel,.app-boot{display:flex;align-items:center;justify-content:center;gap:12px;min-height:180px;color:#64748b;font-weight:800}.spinner{width:22px;height:22px;border:3px solid #dbeafe;border-top-color:var(--blue);border-radius:999px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.skeleton-card{height:190px;background:linear-gradient(90deg,#fff,#f1f5f9,#fff);background-size:220% 100%;animation:shimmer 1.1s linear infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.error-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #fecaca;background:#fef2f2;color:#991b1b;border-radius:14px}.error-banner p{margin:4px 0 0}.empty-state{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:#64748b}.empty-icon,.login-brand{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:var(--blue);color:#fff;font-weight:900;box-shadow:0 14px 34px #2563eb38}.empty-state h3{color:var(--text);margin:0}.empty-state p{margin:0}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px;background:radial-gradient(circle at top left,#dbeafe,transparent 34%),linear-gradient(135deg,#f8fafc,#eef2ff)}.login-card{width:min(440px,100%);display:flex;flex-direction:column;gap:18px}.login-card h1{font-size:28px}.login-card p,.login-card small{margin:0;color:var(--muted)}.login-card label,.form-grid label{display:flex;flex-direction:column;gap:8px;color:#334155;font-weight:800}.login-card input,.form-grid input,.form-grid select{height:44px;border:1px solid #dbe4f0;border-radius:12px;padding:0 14px;outline:0;background:#fff;color:var(--text)}.login-card input:focus,.form-grid input:focus,.form-grid select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb1f}.login-submit{width:100%}.playground-embed-page{max-width:none;height:100%}.playground-embed-card{padding:0;overflow:hidden;min-height:720px;height:calc(100vh - 220px);display:flex;flex-direction:column}.playground-embed-frame{width:100%;flex:1;min-height:0;border:0;background:#fff;display:block}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a6b;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-card{width:min(760px,100%);max-height:min(84vh,860px);display:flex;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 28px 80px #0f172a40;overflow:hidden}.modal-header,.modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid var(--line)}.modal-footer{justify-content:flex-end;border-bottom:0;border-top:1px solid var(--line)}.modal-header h3{margin:0;font-size:20px}.modal-close{width:36px;height:36px;border:0;border-radius:10px;background:#f1f5f9;color:#64748b;font-size:26px;line-height:1}.modal-body{padding:24px;overflow:auto}.form-grid{display:grid;gap:16px}.form-grid small{color:var(--muted);font-weight:500}.form-error{padding:12px 14px;border-radius:12px;background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;font-weight:800}.permission-dialog-body{display:flex;flex-direction:column;gap:18px}.permission-group{border:1px solid var(--line);border-radius:14px;overflow:hidden}.permission-group h4{margin:0;padding:14px 16px;background:#f8fafc;border-bottom:1px solid var(--line)}.permission-list{display:grid;gap:0}.permission-row{padding:14px 16px;border-bottom:1px solid #eef2f7}.permission-row:last-child{border-bottom:0}.check-label{display:inline-flex;align-items:center;gap:8px;margin:4px 12px 4px 0;color:#475569;font-weight:650}.check-label.strong{color:var(--text);font-weight:850;min-width:180px}.check-label input{width:16px;height:16px;accent-color:var(--blue)}.button-permissions{margin-top:8px;padding-left:24px}@media(max-width:1100px){.metric-grid,.role-grid,.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.topbar{padding:0 14px;gap:12px}.brand{min-width:0}.brand-subtitle,.console-link{display:none}.shell-body{flex-direction:column}.sidebar{width:100%;flex:0 0 auto;max-height:210px}.content-area{padding:20px}.metric-grid,.role-grid,.grid-3,.flow-row{grid-template-columns:1fr}.page-title-row{flex-direction:column}}.module-list-card{padding:24px}.module-filter-bar{display:flex;gap:14px;align-items:center;margin-bottom:22px}.search-control{flex:1;height:44px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;color:#94a3b8}.search-control input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.module-filter-bar select{height:44px;min-width:150px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;padding:0 14px;color:#334155;font-weight:700;outline:0}.module-row-list,.feedback-list{display:grid;gap:16px}.module-row-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:16px;align-items:flex-start;padding:18px 20px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;transition:border-color .16s,box-shadow .16s,transform .16s}.module-row-card:hover{border-color:#bfdbfe;box-shadow:0 12px 30px #0f172a0f;transform:translateY(-1px)}.feedback-row-card:hover{border-color:#fdba74}.row-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#ffedd5;color:#ea580c;font-weight:900}.row-main{min-width:0}.row-title-line{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.row-title-line h3{margin:0;font-size:16px;color:var(--text)}.row-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:7px;color:#64748b;font-size:13px;font-weight:650}.row-main p{margin:12px 0 0;color:#1f2937;line-height:1.65}.reply-block{margin-top:14px;padding:14px 16px;border-left:4px solid var(--blue);border-radius:8px;background:#eff6ff}.reply-block span{color:#64748b;font-size:13px;font-weight:800}.reply-block p{margin-top:4px}.row-actions{display:flex;gap:8px;align-items:center}.module-panels{margin-top:-4px}.panel-list{margin:0;padding-left:18px;color:#475569;line-height:1.9;font-weight:650}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0f172a4d;display:flex;justify-content:flex-end}.drawer-card{width:min(520px,100%);height:100%;background:#fff;box-shadow:-18px 0 50px #0f172a2e;display:flex;flex-direction:column}.drawer-body{padding:24px;overflow-y:auto;display:flex;flex-direction:column;gap:20px}.drawer-section{border:1px solid #e2e8f0;border-radius:14px;padding:18px;background:#fff}.drawer-section h4{margin:0 0 14px;color:var(--text)}.drawer-section p{color:#475569;line-height:1.7;margin:0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.detail-grid div{padding:12px;border-radius:10px;background:#f8fafc}.detail-grid dt{color:#64748b;font-size:12px;font-weight:800}.detail-grid dd{margin:4px 0 0;color:var(--text);font-weight:850;word-break:break-all}.drawer-textarea{width:100%;min-height:138px;border:1px solid #dbe4f0;border-radius:12px;padding:12px;outline:0;resize:vertical;color:var(--text)}.drawer-actions{margin-top:14px;display:flex;justify-content:flex-end}.test-result{margin-top:12px;padding:12px 14px;border-radius:12px;background:#f0fdf4;color:#166534;font-weight:800}.figma-stat-card{min-height:128px;justify-content:center}.clickable{cursor:pointer}.clickable:hover{border-color:#bfdbfe;transform:translateY(-2px)}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px}.dashboard-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.chart-card,.chart-card.wide{min-height:340px}.bar-chart{height:230px;display:flex;align-items:flex-end;gap:18px;padding:28px 12px 0;border-bottom:1px solid #e2e8f0}.bar-chart div{flex:1;min-height:20px;border-radius:12px 12px 0 0;background:linear-gradient(180deg,#60a5fa,#2563eb);position:relative;display:flex;justify-content:center}.bar-chart span{position:absolute;top:-24px;color:#64748b;font-size:12px;font-weight:800}.bar-chart small{position:absolute;bottom:-28px;color:#64748b;font-size:12px;font-weight:800}.donut{width:174px;height:174px;margin:24px auto;border-radius:999px;background:conic-gradient(#2563eb 0,#2563eb 38%,#16a34a 38%,#16a34a 64%,#f59e0b 64%,#f59e0b 85%,#8b5cf6 85%,#8b5cf6);position:relative}.donut:after{content:"";position:absolute;top:38px;right:38px;bottom:38px;left:38px;background:#fff;border-radius:inherit}.legend-list{display:grid;gap:10px}.legend-list span{display:flex;align-items:center;gap:8px;color:#475569;font-weight:700}.legend-list i{width:10px;height:10px;border-radius:999px}.skill-list{display:grid;gap:18px}.skill-list>div{display:grid;gap:8px}.skill-list>div>div{display:flex;justify-content:space-between;color:#64748b}.skill-list progress{width:100%;height:10px;accent-color:var(--blue)}.model-usage-bars{display:grid;gap:18px;margin-top:28px}.model-usage-bars>div{display:grid;gap:10px}.model-usage-bars>div>div{display:flex;justify-content:space-between;color:#64748b;font-weight:800}.model-usage-bars strong{color:var(--text)}.model-usage-bars progress{width:100%;height:12px;accent-color:var(--blue)}.compact-list{display:grid;gap:12px}.compact-list article{padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.compact-list strong{color:var(--text)}.compact-list p{margin:8px 0;color:#475569;line-height:1.5}.danger-list article{border-color:#fecaca;background:#fff7f7}.danger-list span{color:#b91c1c;font-size:12px;font-weight:800}.section-heading button{border:0;background:transparent;color:var(--blue);font-weight:900}@media(max-width:1100px){.dashboard-grid,.dashboard-grid.three{grid-template-columns:1fr}.module-row-card{grid-template-columns:42px minmax(0,1fr)}.row-actions{grid-column:2;flex-wrap:wrap}}@media(max-width:760px){.module-filter-bar{flex-direction:column;align-items:stretch}.module-filter-bar select{width:100%}.module-row-card{grid-template-columns:1fr}.row-actions{grid-column:auto}.detail-grid{grid-template-columns:1fr}}.feedback-figma-page{max-width:1480px;gap:26px}.feedback-title-row{align-items:flex-start}.feedback-more-btn{min-width:128px;height:52px;border-radius:14px;font-size:16px;box-shadow:0 18px 36px #2563eb40}.feedback-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.feedback-stat-card{min-height:134px;padding:28px 32px;display:flex;flex-direction:column;justify-content:center;gap:18px;border-radius:14px;box-shadow:0 12px 28px #0f172a12}.feedback-stat-card span{color:#64748b;font-size:16px;font-weight:750}.feedback-stat-card strong{color:#0f172a;font-size:34px;line-height:1;letter-spacing:-.05em}.feedback-list-card{padding:24px;border-radius:14px}.feedback-filter-row{display:grid;grid-template-columns:minmax(280px,1fr) 150px 170px 104px;gap:16px;align-items:center;margin-bottom:24px}.feedback-search{height:48px;display:flex;align-items:center;gap:12px;padding:0 16px;border:1px solid #dbe4f0;border-radius:12px;color:#94a3b8;background:#fff}.feedback-search input{width:100%;border:0;outline:0;background:transparent;color:#0f172a;font-size:15px}.feedback-filter-row select{height:48px;border:1px solid #dbe4f0;border-radius:12px;padding:0 14px;background:#fff;color:#0f172a;font-weight:800;outline:none}.feedback-card-list{display:grid;gap:18px}.feedback-item-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:18px;align-items:flex-start;padding:24px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;transition:border-color .15s,box-shadow .15s}.feedback-item-card.pending{border-color:#fdba74}.feedback-item-card:hover{box-shadow:0 12px 30px #0f172a0f}.feedback-avatar{width:48px;height:48px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#ffedd5;color:#ea580c;font-size:20px;font-weight:950}.feedback-line-one{display:flex;flex-wrap:wrap;gap:10px;align-items:center;min-height:28px}.feedback-line-one strong{color:#0f172a;font-size:16px}.feedback-meta{display:flex;gap:14px;margin-top:7px;color:#64748b;font-size:14px;font-weight:800}.feedback-content>p{margin:18px 0 0;color:#0f172a;font-size:16px;line-height:1.7}.feedback-actions{display:flex;gap:10px;align-items:flex-start}.feedback-actions .btn{min-width:68px}.feedback-reply-block{margin-top:20px;padding:16px 18px;border-left:4px solid #2563eb;border-radius:8px;background:#eff6ff}.feedback-reply-block span{display:block;color:#64748b;font-size:13px;font-weight:850;margin-bottom:6px}.feedback-reply-block p{margin:0;color:#0f172a;line-height:1.65}.feedback-empty{min-height:180px;display:flex;align-items:center;justify-content:center;color:#64748b;font-weight:800}.feedback-modal-body{display:grid;gap:22px}.feedback-modal-summary{padding:18px 20px;border-radius:12px;background:#f8fafc}.feedback-modal-summary p{margin:0 0 10px;color:#64748b;line-height:1.65}.feedback-modal-summary span{color:#64748b;font-weight:750}.feedback-modal-summary strong{color:#0f172a;font-weight:900;line-height:1.7}.feedback-reply-field{display:grid;gap:10px;color:#334155;font-weight:850}.feedback-reply-field em{color:#ef4444;font-style:normal}.feedback-reply-field textarea{width:100%;min-height:170px;padding:14px 16px;border:1px solid #dbe4f0;border-radius:12px;outline:0;resize:vertical;color:#0f172a}.feedback-reply-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.feedback-reply-field small{color:#64748b;font-weight:650}@media(max-width:1100px){.feedback-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feedback-filter-row{grid-template-columns:1fr 1fr}.feedback-search{grid-column:1 / -1}.feedback-item-card{grid-template-columns:48px minmax(0,1fr)}.feedback-actions{grid-column:2}}@media(max-width:760px){.feedback-filter-row,.feedback-metric-grid,.feedback-item-card{grid-template-columns:1fr}.feedback-actions{grid-column:auto;flex-wrap:wrap}}.brand{min-width:280px;gap:14px}.brand-logo{width:58px;height:42px;border-radius:0;-o-object-fit:contain;object-fit:contain}.brand-title{font-size:20px;font-weight:900}.brand-subtitle{display:none}.sidebar{width:256px;flex-basis:256px}.sidebar-nav{padding:20px 16px 28px}.menu-group{margin-bottom:20px}.menu-group-title{padding:10px 8px 8px;color:#94a3b8;font-size:13px;font-weight:900;letter-spacing:.04em}.menu-item{height:48px;gap:14px;padding:0 14px;border-radius:12px;font-size:16px;font-weight:800;color:#334155}.menu-svg{width:20px;height:20px;flex:0 0 20px;color:currentColor}.menu-icon{display:none}.menu-item.active{background:#2563eb;color:#fff;box-shadow:0 12px 28px #2563eb38}.menu-item:hover:not(.active){background:#f8fafc;color:#0f172a}.system-config-page{max-width:1480px;gap:26px}.system-title-row{align-items:flex-start}.system-save-all{min-width:128px;height:52px;border-radius:14px;font-size:16px;box-shadow:0 18px 36px #2563eb40}.system-tabs{display:flex;gap:30px;border-bottom:1px solid #dbe4f0}.system-tabs button{height:54px;border:0;border-bottom:3px solid transparent;background:transparent;color:#64748b;font-size:18px;font-weight:900;padding:0 2px}.system-tabs button.active{color:#2563eb;border-bottom-color:#2563eb}.system-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.system-model-card{padding:32px;border-radius:14px;display:grid;gap:22px;box-shadow:0 12px 28px #0f172a12}.system-model-card.disabled{opacity:.72}.system-model-card h2,.system-section-card h2{margin:0;color:#0f172a;font-size:22px;letter-spacing:-.03em}.system-field{display:grid;gap:9px}.system-field span{color:#334155;font-weight:850}.system-field input{height:48px;border:1px solid #dbe4f0;border-radius:12px;padding:0 16px;outline:none;color:#0f172a;font-size:16px;background:#fff}.system-field input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.system-checkbox-row{display:flex;align-items:center;justify-content:space-between;color:#334155;font-weight:850}.system-checkbox-row input{width:20px;height:20px;accent-color:#2563eb}.system-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.system-card-actions.left{display:flex;justify-content:flex-start;margin-top:22px}.system-section-card{padding:32px;border-radius:14px;display:grid;gap:24px}.system-form-grid{display:grid;gap:20px}.system-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.config-dialog-content{display:grid;gap:12px;color:#475569;line-height:1.7}.config-dialog-content p{margin:0}.config-dialog-content strong{color:#0f172a}.config-dialog-content.success{padding:16px;border-radius:12px;background:#f0fdf4;color:#166534}@media(max-width:1180px){.system-model-grid,.system-form-grid.two{grid-template-columns:1fr}}.system-config-page{max-width:none;padding-right:8px}.system-title-row h1{font-size:30px}.system-title-row p{color:#64748b;font-size:16px;font-weight:700}.system-model-grid{gap:28px}.system-model-card{min-height:540px;padding:32px;align-content:start}.system-model-card h2{font-size:24px;margin-bottom:10px}.system-field{gap:12px}.system-field span{font-size:16px}.system-field input{height:50px;font-size:18px}.system-checkbox-row{margin-top:2px;font-size:16px}.system-card-actions{margin-top:0}.system-card-actions .btn{height:56px;border-radius:12px;font-size:18px}.system-section-card.system-single-card{max-width:930px;min-height:560px;padding:36px}.system-form-grid.single{grid-template-columns:1fr;gap:24px;max-width:820px}.system-section-card h2{font-size:24px;margin-bottom:10px}.system-card-actions.left .btn{min-width:154px}.knowledge-title-actions{display:flex;gap:12px;align-items:center}.knowledge-filter-card{display:flex;gap:14px;align-items:center;padding:18px}.knowledge-filter-card .search-control{flex:1}.knowledge-layout-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(360px,1.1fr) minmax(420px,1.35fr);gap:18px;align-items:start}.knowledge-panel{padding:20px;min-height:520px}.knowledge-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.knowledge-panel-title h2{margin:0;font-size:20px;color:#0f172a}.knowledge-panel-title span{min-width:30px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef2ff;color:#2563eb;font-weight:900}.kb-card-list,.doc-table-list,.chunk-list{display:grid;gap:12px}.kb-select-card{width:100%;text-align:left;border:1px solid #e2e8f0;border-radius:16px;background:#fff;padding:16px;cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}.kb-select-card:hover,.kb-select-card.active{border-color:#2563eb;box-shadow:0 16px 34px #2563eb1f;transform:translateY(-1px)}.kb-select-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.kb-select-head strong{color:#0f172a;font-size:17px}.kb-select-card p{margin:10px 0 14px;color:#64748b;line-height:1.55;min-height:48px}.kb-select-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.kb-select-card dt{color:#94a3b8;font-size:12px;font-weight:800}.kb-select-card dd{margin:4px 0 0;color:#0f172a;font-weight:900}.kb-card-actions{display:flex;justify-content:flex-end;gap:14px;margin-top:14px;padding-top:12px;border-top:1px solid #f1f5f9}.kb-card-actions span{color:#2563eb;font-weight:850;cursor:pointer}.kb-card-actions .danger{color:#ef4444}.doc-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:14px;align-items:center;border:1px solid #e2e8f0;border-radius:14px;padding:14px 16px;cursor:pointer;transition:border-color .16s,background .16s}.doc-row:hover,.doc-row.active{border-color:#2563eb;background:#f8fbff}.doc-row h3{margin:0;color:#0f172a;font-size:16px}.doc-row p{margin:5px 0 0;color:#64748b;font-size:12px}.doc-row>span:not(.badge){color:#475569;font-weight:850;white-space:nowrap}.doc-actions{display:flex;gap:8px;justify-content:flex-end}.doc-error{grid-column:1 / -1;color:#ef4444!important;background:#fff1f2;border-radius:10px;padding:8px 10px}.chunk-item{position:relative;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;background:#fff}.chunk-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}.chunk-head strong{color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.chunk-item p{margin:0 0 12px;color:#0f172a;line-height:1.7;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.chunk-meta{display:grid;gap:4px;color:#64748b;font-size:12px;word-break:break-all}.chunk-actions{position:absolute;top:14px;right:14px;display:flex;gap:8px}.chunk-editor-textarea{min-height:280px}@media(max-width:1280px){.knowledge-layout-grid{grid-template-columns:1fr}.knowledge-panel{min-height:auto}}@media(max-width:760px){.knowledge-title-actions,.knowledge-filter-card{flex-direction:column;align-items:stretch}.doc-row{grid-template-columns:1fr}.doc-actions{justify-content:flex-start}.chunk-actions{position:static;margin-top:12px}}.knowledge-hero-row{align-items:flex-start}.knowledge-breadcrumb{display:flex;align-items:center;gap:8px}.knowledge-breadcrumb button{border:0;background:transparent;padding:0;color:#64748b;font-weight:900;cursor:pointer}.knowledge-breadcrumb button:hover{color:#2563eb}.knowledge-breadcrumb strong{color:#0f172a;font-weight:900}.kb-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:18px}.kb-overview-card{padding:0;overflow:hidden;transition:transform .16s,box-shadow .16s,border-color .16s}.kb-overview-card:hover{transform:translateY(-2px);box-shadow:0 20px 44px #0f172a1a;border-color:#bfdbfe}.kb-overview-main{width:100%;min-height:286px;text-align:left;border:0;background:transparent;padding:22px;cursor:pointer;display:grid;gap:12px}.kb-folder-icon{width:54px;height:54px;border-radius:16px;background:#f3e8ff;color:#8b5cf6;display:inline-flex;align-items:center;justify-content:center;font-size:28px;font-weight:900}.kb-overview-main .badge{justify-self:end;margin-top:-48px}.kb-overview-main h2{margin:0;color:#0f172a;font-size:21px}.kb-overview-main p{margin:0;min-height:46px;color:#64748b;line-height:1.55}.kb-overview-main dl{display:grid;gap:10px;margin:8px 0 0}.kb-overview-main dl div{display:flex;justify-content:space-between;gap:14px}.kb-overview-main dt{color:#64748b;font-weight:850}.kb-overview-main dd{margin:0;color:#0f172a;font-weight:950}.kb-overview-actions{display:flex;justify-content:space-around;gap:8px;padding:14px 18px;border-top:1px solid #eef2f7}.knowledge-table-card{padding:26px}.knowledge-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.knowledge-section-head h2{margin:0;color:#0f172a;font-size:22px}.knowledge-section-head span{color:#64748b;font-weight:850}.knowledge-doc-list,.knowledge-chunk-list{display:grid;gap:14px}.knowledge-doc-card{border:1px solid #e2e8f0;border-radius:16px;padding:16px;background:#fff;transition:border-color .16s,box-shadow .16s}.knowledge-doc-card:hover{border-color:#2563eb;box-shadow:0 14px 32px #2563eb17}.knowledge-doc-main{width:100%;display:grid;grid-template-columns:56px minmax(0,1fr) auto auto auto;gap:16px;align-items:center;border:0;background:transparent;text-align:left;cursor:pointer;padding:0}.doc-file-icon{width:46px;height:46px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff7ed;color:#f97316;font-weight:950}.knowledge-doc-main h3{margin:0;color:#0f172a;font-size:18px}.knowledge-doc-main p{margin:6px 0 0;color:#64748b;font-size:13px;word-break:break-all}.knowledge-doc-main strong,.knowledge-doc-main>span{color:#475569;font-weight:900;white-space:nowrap}.knowledge-doc-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #f1f5f9}.knowledge-chunk-card{border:1px solid #e2e8f0;border-radius:16px;padding:20px;background:#fff}.knowledge-chunk-card p{color:#0f172a;line-height:1.85;margin:0 0 14px}.chunk-actions-inline{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}@media(max-width:1500px){.kb-overview-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}}@media(max-width:1120px){.kb-overview-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.knowledge-doc-main{grid-template-columns:46px minmax(0,1fr)}.knowledge-doc-main .badge,.knowledge-doc-main strong,.knowledge-doc-main>span{justify-self:start}}@media(max-width:720px){.kb-overview-grid{grid-template-columns:1fr}.knowledge-hero-row{gap:16px}}.tools-tabs{margin-top:-4px}.tools-list-card{padding:24px}.tools-table td:nth-child(2){max-width:520px;line-height:1.55;color:#475569}.tool-test-grid{display:grid;grid-template-columns:minmax(360px,.95fr) minmax(420px,1fr);gap:22px;align-items:stretch}.tool-test-card{padding:28px}.tool-test-card h2{margin:0 0 22px;color:#0f172a;font-size:22px}.tool-test-card .btn{width:100%;margin-top:16px}.tool-test-args{min-height:320px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.code-textarea{width:100%;min-height:220px;border:1px solid #dbe4f0;border-radius:12px;padding:14px;outline:0;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.7;background:#fff;color:#0f172a}.tool-result{min-height:360px;margin:0;padding:18px;border-radius:14px;background:#f8fafc;color:#0f172a;white-space:pre-wrap;word-break:break-word;line-height:1.7}.tool-result.success{background:#f0fdf4;color:#166534}.tool-result.error{background:#fff1f2;color:#b91c1c}.tool-editor-form textarea{min-height:120px}.tool-editor-form .span-2{grid-column:1 / -1}.tool-log-list{display:grid;gap:14px}.tool-log-card{border:1px solid #e2e8f0;border-radius:16px;padding:18px;background:#fff}.tool-log-card>div:first-child{display:flex;align-items:center;gap:12px;margin-bottom:12px}.tool-log-card>div:first-child strong{color:#0f172a;font-size:17px}.tool-log-card>div:first-child span:last-child{color:#64748b;font-weight:750}.tool-log-card dl{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;margin:0 0 14px}.tool-log-card dt{color:#64748b;font-weight:850}.tool-log-card dd{margin:4px 0 0;color:#0f172a;font-weight:900;word-break:break-all}.tool-log-card p{margin:10px 0 6px;color:#64748b;font-weight:850}.tool-log-card pre{margin:0;padding:12px;border-radius:10px;background:#f8fafc;white-space:pre-wrap;word-break:break-word;color:#334155}.tool-log-card pre.success{background:#f0fdf4;color:#166534}.tool-log-card pre.error{background:#fff1f2;color:#b91c1c}@media(max-width:1080px){.tool-test-grid{grid-template-columns:1fr}}.tools-list-card .table-wrap{overflow-x:auto}.tools-table{table-layout:fixed;min-width:1040px}.tools-table .tool-name-col{width:18%}.tools-table .tool-desc-col{width:38%}.tools-table .tool-timeout-col{width:9%}.tools-table .tool-status-col{width:10%}.tools-table .tool-config-col{width:9%}.tools-table .tool-action-col{width:16%}.tools-table th{white-space:nowrap}.tools-table td{vertical-align:middle}.tools-table td:first-child strong{display:block;color:#0f172a;line-height:1.35;word-break:break-word}.tools-table td:nth-child(2){max-width:none;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.tools-table .badge{white-space:nowrap}.tool-actions{justify-content:flex-start;flex-wrap:nowrap;gap:8px}.tool-actions .btn{min-width:58px;padding-inline:12px;white-space:nowrap}.skills-page{max-width:1480px}.skill-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.skill-summary-card{min-height:118px;display:flex;flex-direction:column;justify-content:center;gap:12px}.skill-summary-card span{color:#64748b;font-weight:850}.skill-summary-card strong{color:#0f172a;font-size:34px;letter-spacing:-.05em}.skills-list-card{padding:24px}.skills-table{table-layout:fixed;min-width:1180px}.skills-table th{white-space:nowrap}.skills-table td{vertical-align:middle}.skills-table code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;color:#334155;font-weight:900}.skills-table td:nth-child(1){width:14%}.skills-table td:nth-child(2){width:22%}.skills-table td:nth-child(3){width:10%}.skills-table td:nth-child(4){width:8%}.skills-table td:nth-child(5){width:17%;color:#475569;line-height:1.55;word-break:break-word}.skills-table td:nth-child(6){width:12%}.skills-table td:nth-child(7){width:8%}.skills-table td:nth-child(8){width:9%}.skills-table td:nth-child(2) strong{display:block;color:#0f172a;margin-bottom:6px}.skills-table td:nth-child(2) p{margin:0;color:#64748b;line-height:1.55}.skill-scope{display:grid;gap:6px;color:#64748b;font-size:13px;font-weight:850}.skill-actions{flex-wrap:nowrap}.skill-actions .btn{min-width:58px;white-space:nowrap}.skill-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skill-form-grid textarea{min-height:108px;border:1px solid #dbe4f0;border-radius:12px;padding:12px 14px;outline:none;resize:vertical;color:#0f172a;background:#fff}.skill-form-grid textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.skill-form-grid .span-2{grid-column:1 / -1}.muted-text{color:#94a3b8;font-weight:750}@media(max-width:1100px){.skill-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.skill-form-grid{grid-template-columns:1fr}}@media(max-width:720px){.skill-summary-grid{grid-template-columns:1fr}}.query-page{max-width:1480px}.query-breadcrumb{display:flex;align-items:center;gap:8px}.query-breadcrumb button{border:0;background:transparent;padding:0;color:#64748b;font-weight:900}.query-breadcrumb strong{color:#0f172a}.query-source-grid{display:grid;grid-template-columns:repeat(3,minmax(280px,1fr));gap:22px}.query-source-card{padding:0;overflow:hidden}.query-source-main{width:100%;min-height:330px;border:0;background:transparent;text-align:left;padding:24px;display:grid;gap:12px;cursor:pointer}.query-source-main .badge{justify-self:end;margin-top:-56px}.query-db-icon{width:54px;height:54px;border-radius:16px;background:#dcfce7;color:#16a34a;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:950}.query-source-main h2{margin:0;color:#0f172a;font-size:22px}.query-source-main p{margin:0;color:#64748b;font-weight:850}.query-source-main dl{display:grid;gap:12px;margin:8px 0 0}.query-source-main dl div{display:flex;justify-content:space-between;gap:14px}.query-source-main dt{color:#64748b;font-weight:850}.query-source-main dd{margin:0;color:#0f172a;font-weight:950;text-align:right;word-break:break-all}.query-source-actions{display:flex;justify-content:space-around;gap:8px;padding:14px 18px;border-top:1px solid #eef2f7}.query-source-strip{display:flex;justify-content:space-between;align-items:center;gap:18px}.query-source-strip h2{margin:0;color:#0f172a}.query-source-strip p{margin:6px 0 0;color:#64748b;font-weight:800;word-break:break-all}.query-detail{display:grid;gap:22px}.query-list-card{padding:24px}.query-template-list{display:grid;gap:16px}.query-template-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;border:1px solid #e2e8f0;border-radius:16px;padding:20px;background:#fff}.query-template-card h3{margin:0;color:#0f172a;font-size:18px}.query-template-card p{margin:8px 0 14px;color:#475569}.query-template-card pre{margin:0;padding:14px;border-radius:12px;background:#f8fafc;white-space:pre-wrap;word-break:break-word;color:#0f172a;line-height:1.7}.query-template-actions{display:flex;gap:8px;align-items:flex-start}.query-param-row{margin-top:12px;color:#64748b;font-weight:850}.query-rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.query-rules-grid h2{margin:0 0 20px;color:#0f172a}.query-rule-row{height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:0 16px;border-radius:12px;background:#f8fafc;color:#0f172a;font-weight:850}.query-rule-row input{width:18px;height:18px;accent-color:#2563eb}.query-add-table{display:flex;gap:12px;margin-bottom:18px}.query-add-table input{flex:1;height:44px;border:1px solid #dbe4f0;border-radius:12px;padding:0 14px;outline:none}.query-table-list{display:grid;gap:10px}.query-table-list div{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-radius:10px;background:#f8fafc}.query-table-list button{border:0;background:transparent;color:#ef4444;font-weight:900}.query-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.query-form-grid textarea{min-height:110px;border:1px solid #dbe4f0;border-radius:12px;padding:12px 14px;outline:none;resize:vertical;color:#0f172a}.query-form-grid .span-2{grid-column:1 / -1}.query-error-text{margin:8px 0 0;color:#b91c1c}@media(max-width:1180px){.query-source-grid,.query-rules-grid,.query-template-card{grid-template-columns:1fr}.query-template-actions{flex-wrap:wrap}}@media(max-width:760px){.query-form-grid{grid-template-columns:1fr}.query-source-strip{flex-direction:column;align-items:flex-start}}.users-page{max-width:1480px}.user-table-card{padding:24px}.user-table{min-width:1120px;table-layout:fixed}.user-table th:nth-child(1),.user-table td:nth-child(1){width:92px}.user-table th:nth-child(2),.user-table td:nth-child(2){width:170px}.user-table th:nth-child(3),.user-table td:nth-child(3){width:160px}.user-table th:nth-child(4),.user-table td:nth-child(4){width:170px;white-space:nowrap}.user-table th:nth-child(5),.user-table td:nth-child(5){width:170px;white-space:nowrap}.user-table th:nth-child(6),.user-table td:nth-child(6){width:100px;text-align:center}.user-table th:nth-child(7),.user-table td:nth-child(7){width:104px}.user-table th:nth-child(8),.user-table td:nth-child(8){width:310px}.user-cell{display:inline-flex;align-items:center;gap:12px}.user-avatar{width:36px;height:36px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;font-weight:900;box-shadow:0 10px 22px #2563eb38}.user-avatar.large{width:68px;height:68px;font-size:28px;flex:0 0 68px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;color:#475569;font-weight:800}.muted-text{color:#64748b;margin:0;line-height:1.7}.user-detail-drawer{display:flex;flex-direction:column;gap:18px}.user-summary-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 12px 30px #0f172a0d}.user-summary-card h3{margin:0 0 4px;color:#0f172a;font-size:22px}.user-summary-card p{margin:0;color:#64748b;font-weight:750}.user-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.user-stat-grid div{padding:14px;border-radius:12px;background:#f8fafc}.user-stat-grid span{display:block;color:#64748b;font-size:12px;font-weight:850}.user-stat-grid strong{display:block;margin-top:6px;color:#0f172a;font-size:16px;word-break:break-all}.drawer-actions.split{display:grid;grid-template-columns:1fr 1fr;gap:12px}.user-actions{display:inline-flex;align-items:center;gap:6px;padding:6px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.user-actions .btn{height:32px;padding:0 11px;border-radius:10px;box-shadow:none;font-size:12px;white-space:nowrap}.user-actions .btn-ghost{background:#fff;color:#475569;border-color:#e2e8f0}.user-actions .btn-ghost:hover:not(:disabled){background:#eff6ff;color:#1d4ed8}.user-actions .btn-danger{background:#fef2f2;color:#dc2626}.user-actions .btn-secondary{background:#dcfce7;color:#15803d}@media(max-width:760px){.user-summary-card{grid-template-columns:1fr;justify-items:start}.user-stat-grid,.drawer-actions.split{grid-template-columns:1fr}}.conversations-page{max-width:1480px}.filter-row{display:grid;grid-template-columns:minmax(260px,1fr) 150px 150px auto;gap:14px;align-items:center;margin-bottom:22px}.search-input{height:44px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;color:#94a3b8}.search-input input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.filter-row select{height:44px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;padding:0 12px;color:#334155;font-weight:750}.table-card{overflow-x:auto}.conversation-table td strong{display:block;color:var(--text);font-weight:900}.conversation-table td small{display:block;margin-top:6px;color:#64748b;font-size:12px;font-weight:700;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-summary-card{display:grid;grid-template-columns:1fr 1fr;gap:12px}.conversation-summary-card div{padding:12px;border-radius:12px;background:#f8fafc}.conversation-summary-card span{display:block;color:#64748b;font-size:12px;font-weight:850}.conversation-summary-card strong{display:block;margin-top:6px;color:var(--text);word-break:break-all}.conversation-message-list{display:flex;flex-direction:column;gap:12px}.conversation-bubble{max-width:92%;padding:14px 16px;border-radius:16px;background:#f1f5f9}.conversation-bubble.user{align-self:flex-end;background:#2563eb;color:#fff}.conversation-bubble.assistant{align-self:flex-start;background:#ecfdf5;color:#064e3b}.conversation-bubble span{display:block;margin-bottom:6px;font-size:12px;font-weight:900;opacity:.72}.conversation-bubble p{white-space:pre-wrap;margin:0;color:inherit}.conversation-step-list{display:grid;gap:12px}.conversation-step-card{border:1px solid #e2e8f0;border-radius:14px;padding:14px;background:#fff}.conversation-step-card>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.conversation-step-card strong{color:var(--text)}.conversation-step-card small{display:block;margin-top:8px;color:#64748b;font-weight:700}.conversation-step-card p{margin-top:10px;white-space:pre-wrap}.conversation-step-card footer{display:flex;gap:12px;margin-top:12px;color:#64748b;font-size:12px;font-weight:850}.conversation-source-card,.conversation-tool-card{padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;margin-bottom:10px}.conversation-source-card strong,.conversation-tool-card strong{color:var(--text)}.conversation-source-card p{margin:8px 0;white-space:pre-wrap}.conversation-tool-card{display:grid;gap:8px}.conversation-tool-card code{padding:8px 10px;border-radius:10px;background:#fff;color:#334155;overflow:auto}.conversation-trace-list{display:grid;gap:8px}.conversation-trace-list div{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;background:#f8fafc}.conversation-trace-list strong{color:var(--text)}.conversation-trace-list small{color:#64748b;font-weight:750}@media(max-width:900px){.filter-row,.conversation-summary-card{grid-template-columns:1fr}}.tasks-page{max-width:1480px}.task-list-card{padding:24px}.task-record-list{display:grid;gap:14px}.task-record-card{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid #e2e8f0;border-radius:16px;padding:18px 20px;background:#fff;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.task-record-card:hover{box-shadow:0 14px 34px #0f172a12}.task-record-card.task-running{border-color:#bfdbfe;background:#eff6ff}.task-record-card.task-failed{border-color:#fecaca;background:#fff1f2}.task-record-main{flex:1;min-width:0}.task-record-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#0f172a;font-weight:900}.task-record-title span:last-child{color:#334155}.task-record-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;color:#64748b;font-weight:750}.task-record-actions{display:flex;gap:8px}.task-progress{position:relative;height:10px;border-radius:999px;background:#dbe4f0;margin-top:16px;overflow:visible}.task-progress i{display:block;height:100%;border-radius:inherit;background:#2563eb;box-shadow:0 6px 12px #2563eb38}.task-progress span{position:absolute;right:0;top:14px;color:#64748b;font-size:12px;font-weight:850}.task-error-text{margin:12px 0 0;color:#dc2626;font-weight:850}.task-detail-drawer{display:flex;flex-direction:column;gap:18px}.task-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.task-detail-head h4{margin:0 0 8px;color:#0f172a;font-size:22px}.task-detail-head p{margin:4px 0;color:#64748b;font-weight:750;word-break:break-all}.task-detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.task-detail-metrics div{padding:14px;border-radius:12px;background:#f8fafc}.task-detail-metrics span{display:block;color:#64748b;font-size:12px;font-weight:850}.task-detail-metrics strong{display:block;margin-top:6px;color:#0f172a;font-size:18px;word-break:break-all}.task-timeline{display:grid;gap:14px}.task-timeline-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px}.task-timeline-dot{width:28px;height:28px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#dbeafe;color:#2563eb;font-weight:950}.step-completed .task-timeline-dot,.step-success .task-timeline-dot{background:#dcfce7;color:#16a34a}.step-failed .task-timeline-dot,.step-error .task-timeline-dot{background:#fee2e2;color:#dc2626}.task-timeline-card{border:1px solid #e2e8f0;border-radius:14px;padding:14px;background:#fff}.step-failed .task-timeline-card,.step-error .task-timeline-card{border-color:#fecaca;background:#fff7f7}.task-timeline-card header{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.task-timeline-card header strong{color:#0f172a}.task-timeline-card p,.task-timeline-card small{display:block;margin:8px 0 0;color:#64748b;font-weight:750}.task-timeline-card pre{margin:12px 0 0;padding:12px;border-radius:12px;background:#f8fafc;white-space:pre-wrap;word-break:break-word;color:#334155}.task-timeline-card footer{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px;color:#64748b;font-size:12px;font-weight:850}.task-final-answer{background:#f0fdf4}.task-final-answer p{margin:0;white-space:pre-wrap;color:#0f172a;line-height:1.8}.task-route-row{display:grid;grid-template-columns:120px 80px minmax(0,1fr);gap:10px;padding:10px 12px;border-radius:10px;background:#f8fafc;margin-bottom:8px}.task-route-row strong{color:#0f172a}.task-route-row span,.task-route-row small{color:#64748b;font-weight:750}@media(max-width:1000px){.task-record-card{flex-direction:column;align-items:stretch}.task-record-meta,.task-detail-metrics{grid-template-columns:1fr 1fr}}@media(max-width:680px){.task-record-meta,.task-detail-metrics,.task-route-row{grid-template-columns:1fr}}.feedback-filter-row{grid-template-columns:minmax(280px,1fr) 150px 170px 104px 104px}@media(max-width:1080px){.feedback-filter-row{grid-template-columns:1fr 1fr}.feedback-search{grid-column:1 / -1}}.materials-page{max-width:1480px}.materials-title-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.materials-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.materials-stat-card{min-height:96px;display:flex;flex-direction:column;justify-content:center;gap:14px;overflow:hidden}.materials-stat-card span{color:#64748b;font-weight:850}.materials-stat-card strong{color:#0f172a;font-size:30px;line-height:1}.materials-filter-card{display:grid;grid-template-columns:minmax(280px,1fr) 180px 160px auto auto;gap:12px;align-items:center;padding:18px}.materials-filter-card select{height:44px;border:1px solid #dbe4f0;border-radius:12px;padding:0 12px;background:#fff;color:#334155;font-weight:800}.materials-search{margin:0}.materials-layout-grid{display:block}.material-card-actions button,.material-card-actions a{border:0;background:transparent;color:#2563eb;font-weight:900;cursor:pointer;text-decoration:none}.danger-link{color:#ef4444!important}.materials-main-column{min-width:0}.materials-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:14px}.material-card{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:310px}.material-preview{height:140px;background:#f1f5f9;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.material-preview img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.audit-page{max-width:1480px}.audit-tabs{margin-top:-4px}.audit-table-card{padding:24px}.audit-filter-row{display:grid;grid-template-columns:minmax(280px,1fr) 170px 96px 96px;gap:14px;align-items:center;margin-bottom:22px}.audit-filter-row select{height:44px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;padding:0 12px;color:#334155;font-weight:800;outline:none}.audit-table th,.audit-table td{white-space:nowrap}.audit-table td:nth-child(4){white-space:normal;min-width:260px}.audit-table td .badge{margin-right:0}@media(max-width:900px){.audit-filter-row{grid-template-columns:1fr}}.material-preview .badge{position:absolute;right:10px;top:10px}.material-placeholder{height:100%;width:100%;display:grid;place-items:center;align-content:center;gap:8px;color:#94a3b8;font-weight:900}.material-placeholder:first-letter{font-size:32px}.material-placeholder span{color:#64748b;font-size:13px}.material-card-body{padding:14px;display:flex;flex-direction:column;gap:9px;flex:1}.material-card-body h3{margin:0;color:#0f172a;font-size:16px;line-height:1.35}.material-card-body p{margin:0;color:#64748b;font-size:13px;font-weight:750;line-height:1.5;min-height:38px}.material-meta-row{display:flex;justify-content:space-between;gap:12px;color:#64748b;font-size:13px;font-weight:800}.material-meta-row strong{color:#334155}.material-card-actions{margin-top:auto;padding-top:10px;border-top:1px solid #eef2f7;display:flex;justify-content:flex-end;gap:12px;align-items:center}.material-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-form-grid .span-2{grid-column:1 / -1}.material-form-grid textarea{min-height:108px;border:1px solid #dbe4f0;border-radius:12px;padding:12px 14px;outline:none;resize:vertical;color:#0f172a;background:#fff}.material-form-grid textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.material-upload-box{min-height:170px;border:2px dashed #cbd5e1;border-radius:16px;background:#f8fafc;display:grid;place-items:center;align-content:center;gap:8px;cursor:pointer;color:#64748b;transition:border-color .16s ease,background .16s ease}.material-upload-box:hover{border-color:#2563eb;background:#eff6ff}.material-upload-box strong{color:#0f172a}.upload-icon{font-size:40px;line-height:1;color:#94a3b8}.material-upload-hint{border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1d4ed8;padding:12px 14px;font-weight:850;line-height:1.6}@media(max-width:1180px){.materials-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.materials-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}}@media(max-width:760px){.materials-filter-card,.material-form-grid,.materials-grid,.materials-metric-grid{grid-template-columns:1fr}.materials-title-actions{width:100%}.materials-title-actions .btn{flex:1}}
