.hub-workspace{--hub-primary:#4f46e5;--hub-tint:color-mix(in srgb,var(--hub-primary) 9%,var(--card));font-size:14px;line-height:1.8}.dark .hub-workspace{--hub-primary:#a29aff}.hub-workspace .card{padding:14px;border-radius:12px;box-shadow:none}.hub-workspace .btn{padding:6px 12px;font-size:13px;border-radius:8px;line-height:1.8;background:var(--hub-primary)}.hub-workspace .btn.ghost{background:var(--card)}.hub-workspace input,.hub-workspace select,.hub-workspace textarea{padding:7px 10px;border-radius:8px}.hub-workspace .field{margin:9px 0;gap:4px}.hub-workspace .field label,.hub-workspace label{font-size:12px;color:var(--muted)}.hub-workspace h1{font-size:21px}.hub-workspace h2{font-size:20px}.hub-workspace h3{font-size:16px;margin:4px 0 10px}.hub-workspace p.sub{margin:8px 0;font-size:12px;line-height:1.9}.hub-start-row{display:flex;gap:12px;align-items:end}.hub-start-row .field{flex:1;min-width:0}.hub-start-row .btn{margin-bottom:9px;flex:none}#contentHubHistory{display:flex;gap:8px;overflow:auto;padding:4px 0 2px}.content-hub-item{min-width:210px;max-width:280px;flex:none;text-align:right;background:var(--bg);color:inherit;border:1px solid var(--line);border-radius:9px;padding:7px 12px;font:inherit;display:grid;gap:3px}.content-hub-item.selected{border-color:var(--hub-primary);background:var(--hub-tint)}.content-hub-item b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content-hub-item small{font-size:11px;color:var(--muted)}.content-hub-status{font-size:11px;color:var(--muted)}.content-hub-status.completed{color:#16a34a}.content-hub-status.failed,.hub-error{color:var(--danger)}.content-hub-status.running{color:var(--hub-primary)}.content-hub-report{margin-top:14px}.content-hub-report>.card{margin-bottom:12px}.content-hub-report .page-head{margin:0;gap:10px}.content-hub-report .page-head p{font-size:12px}.content-hub-empty{text-align:center;padding:36px!important;color:var(--muted)}.hub-steps{display:flex;list-style:none;padding:14px 10px!important;margin:0 0 12px;gap:4px;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow-x:auto}.hub-steps li{flex:1;min-width:90px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:11px;color:var(--muted)}.hub-steps li span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--line);font-weight:700}.hub-steps li.done span{background:#16a34a;border-color:#16a34a;color:#fff}.hub-steps li.active{color:var(--hub-primary)}.hub-steps li.active span{border-color:var(--hub-primary);box-shadow:0 0 0 4px var(--hub-tint)}.hub-steps li.failed span{border-color:var(--danger);color:var(--danger)}.hub-final-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hub-final-actions>div:first-child{max-width:100%}.hub-final-actions small{display:block;font-size:11px;color:var(--muted)}.hub-spacer{flex:1}#hubSaveStatus{background:var(--hub-tint);padding:3px 8px;border-radius:99px}#hubActionStatus{width:100%;font-size:12px}#hubActionStatus:empty{display:none}#hubActionStatus a,.hub-workspace a{color:var(--hub-primary)}.hub-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:14px;align-items:start}.hub-article-editor{min-width:0}.hub-meta-editor{position:sticky;top:92px;max-height:calc(100vh - 110px);overflow:auto}.hub-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:12px;border-bottom:1px solid var(--line);padding-bottom:10px}.hub-tabs button{background:var(--card);color:var(--muted);border:1px solid var(--line);border-radius:8px;padding:5px 9px;font:inherit;font-size:12px}.hub-tabs button.active{background:var(--hub-tint);color:var(--hub-primary);border-color:var(--hub-primary)}.hub-workspace [hidden]{display:none!important}.hub-rich{min-height:90px;border:1px solid var(--line);border-radius:0 0 8px 8px;padding:12px;line-height:2.1;overflow-wrap:anywhere}.hub-rich:focus{outline:2px solid var(--hub-primary);outline-offset:-2px}.hub-rich-tools{display:flex;gap:3px;align-items:center;flex-wrap:wrap;margin-top:8px;padding:6px;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0}.hub-rich-tools button{border:0;background:var(--bg);color:inherit;padding:3px 7px;font:inherit;font-size:11px;border-radius:5px}.hub-widget-label{font-size:11px;color:var(--muted);margin-left:5px}.hub-section{padding:10px;border:1px solid var(--line);border-radius:10px;margin:12px 0}.hub-section.selected{border-color:var(--hub-primary);box-shadow:0 0 0 2px var(--hub-tint)}.hub-section-top{display:flex;gap:6px;justify-content:space-between;align-items:center;margin-bottom:10px;flex-wrap:wrap}.hub-section-top b{font-size:12px}.hub-section-top .btn{padding:2px 7px;font-size:11px}.hub-section-heading{display:flex;align-items:center;gap:6px;margin-top:12px}.hub-section-heading select{width:65px;padding:5px}.hub-section-heading input{font-weight:700;min-width:0}.hub-image-slot{border:1px dashed var(--line);padding:10px;border-radius:8px}.hub-image-slot img{display:block;width:100%;max-height:240px;object-fit:contain;border-radius:8px}.hub-image-placeholder,.hub-preview-image{height:110px;background:var(--bg);border:1px dashed var(--line);border-radius:8px;display:grid;place-items:center;color:var(--muted);font-size:12px}.hub-image-actions{display:flex;gap:5px;margin:8px 0;flex-wrap:wrap}.hub-image-actions .btn{font-size:11px;padding:3px 8px}.hub-upload-label{display:inline-block;cursor:pointer;margin:0}.hub-upload-label input{display:none}.hub-image-slot details{font-size:11px}.hub-image-slot summary{cursor:pointer;color:var(--muted)}.hub-toc-preview{background:#000;border:1px solid #bebebe;border-radius:25px;color:#fff;width:65.54%;margin:18px auto;padding:12px 18px}.hub-toc-preview h3{color:#f8f8f8;font-size:15px}.hub-toc-preview li{font-size:12px;line-height:2}.hub-toc-preview a{color:#fff!important}.hub-toc-preview small{font-size:10px;color:#aaa}.hub-seo-checks{list-style:none;padding:0;font-size:12px}.hub-seo-checks li{margin:7px 0}.hub-seo-checks .ok{color:#16a34a}.hub-seo-checks .needs{color:#d97706}#hubUrl{display:block;overflow-wrap:anywhere;font-size:11px;color:var(--muted)}.hub-meta-editor textarea{resize:vertical}.hub-chat{display:flex;flex-direction:column;gap:8px;max-height:350px;overflow:auto;margin:12px 0}.hub-chat-user,.hub-chat-answer{font-size:12px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;padding:8px 10px;border-radius:9px;background:var(--bg)}.hub-chat-user{background:var(--hub-tint);max-width:92%;align-self:flex-start}.hub-chat-diff{border:1px solid var(--line);padding:8px;border-radius:8px;margin-top:8px;white-space:normal}.hub-chat-diff del,.hub-chat-diff ins{display:block;font-size:11px;white-space:pre-wrap}.hub-chat-diff del{color:var(--danger)}.hub-chat-diff ins{color:#16a34a;text-decoration:none;margin:5px 0}.hub-chat-diff small{color:var(--muted)}.hub-chat-diff .btn{font-size:11px;margin-top:8px;padding:3px 8px}.hub-quick-actions{display:flex;gap:4px;flex-wrap:wrap;margin:8px 0}.hub-quick-actions button{background:var(--card);color:inherit;border:1px solid var(--line);border-radius:7px;font:inherit;font-size:11px;padding:3px 7px}.hub-hint{font-size:11px!important}.hub-spinner{display:inline-block;width:13px;height:13px;border:2px solid var(--hub-primary);border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite;margin-left:6px}.hub-evidence{margin:8px 0;box-shadow:none!important}.hub-evidence summary{cursor:pointer;font-weight:700;font-size:12px}.hub-evidence ul{padding-right:18px}.hub-evidence li,.hub-evidence p{font-size:12px;line-height:2;overflow-wrap:anywhere}.content-hub-text{white-space:pre-wrap}.content-hub-sources{display:grid;gap:12px}.content-hub-source-link{font-size:11px;overflow-wrap:anywhere}.hub-workspace table{width:100%;border-collapse:collapse;font-size:12px}.hub-workspace td,.hub-workspace th{border:1px solid var(--line);padding:6px 8px;text-align:right}.hub-workspace th{background:var(--hub-tint)}.hub-table-scroll{overflow:auto}#hubViewStructure [data-jump]{cursor:pointer}#hubViewPreview{line-height:2.1;overflow-wrap:anywhere}#hubViewPreview img{width:100%;border-radius:15px}#hubViewPreview figure{margin:20px 0}#hubViewPreview figcaption{font-size:12px;color:var(--muted)}.hub-modal-wrap{position:fixed;inset:0;background:#0008;z-index:70;display:grid;place-items:center;padding:16px}.hub-modal{background:var(--card);border-radius:14px;padding:18px;width:min(720px,100%);max-height:90vh;overflow:auto}.hub-modal input,.hub-modal textarea{margin:6px 0}.hub-modal label{display:block;font-size:13px}.hub-modal-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.hub-modal-head h3{font-size:17px}.hub-check{display:flex!important;gap:8px;align-items:center}.hub-check input{width:auto}.hub-search-row{display:flex;gap:8px;align-items:center}.hub-search-row input{min-width:0}.hub-search-row button{flex:none}.hub-image-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hub-image-results article{border:1px solid var(--line);border-radius:10px;padding:8px;display:grid;gap:5px;min-width:0}.hub-image-results img{width:100%;height:110px;object-fit:cover;border-radius:6px}.hub-image-results b,.hub-image-results small,.hub-image-results a{font-size:11px;overflow-wrap:anywhere}.hub-image-results small{color:var(--muted)}.hub-workspace .btn:disabled{opacity:.5;cursor:wait}@media(max-width:1180px){.hub-editor-layout{grid-template-columns:minmax(0,1fr) 300px}}@media(max-width:1000px){.hub-editor-layout{grid-template-columns:1fr}.hub-meta-editor{position:static;max-height:none}.hub-chat{max-height:420px}}@media(max-width:650px){.hub-start-row{flex-wrap:wrap}.hub-start-row .field{flex-basis:100%}.hub-start-row .btn{width:100%}.hub-final-actions{align-items:start}.hub-final-actions>.btn{flex:1}.hub-spacer{display:none}.hub-toc-preview{width:100%}.hub-image-results{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-section-heading{flex-wrap:wrap}.hub-section-heading input{flex-basis:100%}.hub-workspace .page-head{flex-wrap:wrap}.hub-workspace .page-head p{font-size:12px}.hub-workspace .card{padding:12px}.hub-search-row{flex-wrap:wrap}.hub-search-row button{width:100%}}
.hub-process-details summary{cursor:pointer;font-size:12px;font-weight:700}.hub-process-details>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--line);font-size:12px}.hub-process-details span{color:var(--muted)}
