.panel-card,.content-card,.task-card,.metric-card,.empty-card{border:1px solid var(--app-border)!important;border-radius:var(--app-radius)!important;box-shadow:none!important}.content-card{min-height:360px}.toolbar,.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.filter-bar__fields,.filter-bar__actions{display:flex;min-width:0;align-items:center;gap:10px}.section-copy h2{margin:0 0 5px;color:var(--app-text);font-size:18px}.section-copy p{margin:0;color:var(--app-text-secondary);font-size:13px}.stat-grid,.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.stat-card,.metric-strip>div{position:relative;min-width:0;min-height:108px;overflow:hidden;border:1px solid var(--app-border);border-radius:var(--app-radius);background:var(--app-surface);padding:17px 19px}.stat-card:after{position:absolute;right:-20px;bottom:-28px;width:80px;height:80px;border-radius:50%;background:var(--tone-soft, var(--app-brand-soft));content:""}.stat-card[data-tone=success]{--tone: var(--app-success);--tone-soft: #ecfdf5}.stat-card[data-tone=warning]{--tone: var(--app-warning);--tone-soft: #fffbeb}.stat-card[data-tone=danger]{--tone: var(--app-danger);--tone-soft: #fef2f2}.stat-card[data-tone=neutral]{--tone: var(--app-text-secondary);--tone-soft: #f1f5f9}.stat-card span,.metric-strip span{display:block;color:var(--app-text-secondary);font-size:12px}.stat-card strong,.metric-strip strong{position:relative;z-index:1;display:block;margin-top:8px;color:var(--tone, var(--app-brand));font-size:29px;line-height:1}.stat-card small{display:block;margin-top:9px;color:var(--app-text-muted)}.status-badge{display:inline-flex;min-height:24px;flex:0 0 auto;align-items:center;border:1px solid #dbeafe;border-radius:999px;background:var(--app-brand-soft);padding:2px 9px;color:var(--app-brand-strong);font-size:12px;font-weight:650;white-space:nowrap}.status-badge[data-tone=success]{border-color:#a7f3d0;background:#ecfdf5;color:#047857}.status-badge[data-tone=warning]{border-color:#fde68a;background:#fffbeb;color:#b45309}.status-badge[data-tone=danger]{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.status-badge[data-tone=neutral]{border-color:var(--app-border);background:#f8fafc;color:#64748b}.copyable-id{display:inline-flex;min-width:0;max-width:100%;align-items:center;gap:5px;color:var(--app-text-muted);font-size:11px}.copyable-id code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copyable-id button{display:grid;width:24px;height:24px;flex:0 0 auto;place-items:center;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}.copyable-id button:hover{background:#f1f5f9;color:var(--app-brand)}.resource-grid,.entity-grid,.wiki-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}.resource-card,.wiki-card{min-width:0;border:1px solid var(--app-border);border-radius:var(--app-radius);background:var(--app-surface);padding:17px;transition:border-color .15s,transform .15s}.resource-card--interactive:hover,.wiki-card:hover{border-color:#a8c4fd;transform:translateY(-1px)}.resource-card__header,.wiki-card-head{display:flex;min-width:0;align-items:center;gap:11px}.resource-card__icon,.wiki-icon{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:10px;background:var(--app-brand-soft);color:var(--app-brand);font-size:20px}.resource-card__title,.wiki-title{min-width:0;flex:1}.resource-card__title h2,.wiki-title h3{overflow:hidden;margin:0 0 4px;color:var(--app-text);font-size:15px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.resource-card__description,.wiki-summary,.entity-grid p{min-height:42px;margin:15px 0;color:var(--app-text-secondary);font-size:13px;line-height:1.65;overflow-wrap:anywhere}.resource-card__meta,.wiki-meta{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #f0f2f5;padding-top:12px;color:var(--app-text-muted);font-size:11px}.resource-card__actions,.wiki-actions{display:flex;align-items:center;gap:8px;margin-top:14px}.resource-card__actions>:last-child,.wiki-actions>:last-child{margin-left:auto}.app-empty-state{display:grid;min-height:310px;place-items:center;align-content:center;border:1px dashed var(--app-border-strong);border-radius:var(--app-radius);background:var(--app-surface-muted);padding:36px 20px;text-align:center}.app-empty-state__mark{display:grid;width:50px;height:50px;place-items:center;border-radius:14px;background:var(--app-brand-soft);color:var(--app-brand);font-size:28px}.app-empty-state h2{margin:15px 0 7px;font-size:17px}.app-empty-state p{max-width:460px;margin:0;color:var(--app-text-secondary);line-height:1.6}.app-empty-state__action{margin-top:17px}.search-input{width:min(340px,100%)}.memory-layers{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.memory-layers span{border-radius:6px;background:#f1f5f9;padding:7px 4px;color:#475569;font-size:11px;text-align:center}.import-form{display:grid;gap:12px;margin-top:18px}.import-form>label:not(.file-picker){color:#475569;font-size:13px;font-weight:650}.import-mode-hint{margin:-4px 0 2px;color:var(--app-text-muted);font-size:12px;line-height:1.6}.import-or{color:var(--app-text-muted);font-size:12px;text-align:center}.file-picker{display:flex;min-height:90px;align-items:center;justify-content:center;gap:10px;border:1px dashed #b7c4d7;border-radius:10px;background:var(--app-surface-muted);color:#475569;cursor:pointer}.file-picker:hover{border-color:var(--app-brand);color:var(--app-brand)}.file-picker input{display:none}.detail-commandbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.detail-commandbar-actions{display:flex;flex-wrap:wrap;gap:8px}.wiki-detail-hero{display:flex;min-width:0;align-items:center;gap:12px;border:1px solid var(--app-border);border-radius:var(--app-radius);background:var(--app-surface);padding:12px 16px}.wiki-detail-icon{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:10px;background:var(--app-brand-soft);color:var(--app-brand);font-size:21px}.wiki-detail-copy{min-width:0;flex:1}.wiki-detail-title-row{display:flex;min-width:0;align-items:center;gap:10px}.wiki-detail-title-row h2{flex:0 1 auto;min-width:0;font-size:20px}.wiki-detail-copy h2{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.wiki-detail-title-row .copyable-id{flex:0 0 auto}.wiki-detail-copy p{margin:4px 0 0;color:var(--app-text-secondary);font-size:13px;line-height:1.4}.wiki-detail-state{display:flex;flex:0 0 auto;align-items:stretch;border-left:1px solid var(--app-border);padding-left:12px}.wiki-state-item{display:flex;min-width:76px;flex-direction:column;align-items:center;justify-content:center;gap:3px}.wiki-state-item>span{color:var(--app-text-secondary);font-size:11px}.wiki-state-item strong{color:var(--app-brand-strong);font-size:22px}.wiki-state-divider{width:1px;margin:0 10px;background:var(--app-border)}.wiki-state-badge{display:inline-flex;min-width:58px;justify-content:center;border-radius:999px;background:#f1f5f9;padding:5px 10px;color:var(--app-text-secondary);font-size:12px}.wiki-state-badge[data-status=ready]{background:#ecfdf5;color:#047857}.wiki-state-badge[data-status=failed]{background:#fef2f2;color:#b91c1c}.wiki-state-badge[data-status=processing],.wiki-state-badge[data-status=pending]{background:var(--app-brand-soft);color:var(--app-brand-strong)}.wiki-detail-tabs{margin-top:16px;border:1px solid var(--app-border);border-radius:var(--app-radius);background:var(--app-surface);padding:8px 18px 20px}.wiki-ingest-progress{margin-top:14px;border:1px solid #bfdbfe;border-radius:var(--app-radius);background:var(--app-brand-soft);padding:14px 18px}.wiki-ingest-progress-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:10px;color:#1e3a8a}.wiki-ingest-progress-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wiki-ingest-progress-head span{flex:0 0 auto;color:var(--app-text-secondary);font-size:12px}.page-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;padding-top:6px}.page-list button{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--app-border);border-radius:9px;background:#fff;padding:13px 14px;cursor:pointer;text-align:left}.page-list button:hover{border-color:#93b4fa;background:#f8fbff}.page-list span{min-width:0}.page-list b,.page-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-list small{margin-top:4px;color:var(--app-text-muted)}.document-preview{min-height:300px;margin:0;border-radius:9px;background:#0f172a;padding:18px;color:#dbeafe;font:12px/1.7 ui-monospace,Consolas,monospace;white-space:pre-wrap;word-break:break-word}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:16px}.dashboard-panel{border:1px solid var(--app-border);border-radius:var(--app-radius);background:#fff;padding:18px}.dashboard-panel--wide{grid-row:span 2}.quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-link{display:flex;min-width:0;align-items:center;gap:10px;border:1px solid var(--app-border);border-radius:10px;background:#fff;padding:13px;color:var(--app-text);cursor:pointer;text-align:left}.quick-link:hover{border-color:#93b4fa;background:#f8fbff}.quick-link svg{flex:0 0 auto;color:var(--app-brand);font-size:19px}.quick-link span{min-width:0}.quick-link b,.quick-link small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-link small{margin-top:3px;color:var(--app-text-muted);font-size:11px}.activity-list{display:grid;gap:4px}.activity-item{display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid #f1f5f9;padding:11px 2px}.activity-item:last-child{border-bottom:0}.activity-item i{width:8px;height:8px;border-radius:50%;background:var(--app-brand)}.activity-item b,.activity-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-item small{color:var(--app-text-muted)}.mobile-only{display:none}@media(max-width:1000px){.stat-grid,.metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{grid-template-columns:1fr}.dashboard-panel--wide{grid-row:auto}.wiki-detail-hero{align-items:flex-start;flex-wrap:wrap}.wiki-detail-state{width:100%;border-top:1px solid var(--app-border);border-left:0;padding-top:17px;padding-left:0}}@media(max-width:720px){.toolbar,.filter-bar{align-items:stretch;flex-direction:column}.filter-bar__fields,.filter-bar__actions{width:100%;flex-wrap:wrap}.search-input{width:100%}.stat-grid,.metric-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card,.metric-strip>div{min-height:94px;padding:14px}.resource-grid,.entity-grid,.wiki-grid{grid-template-columns:minmax(0,1fr)}.resource-card__description,.wiki-summary{min-height:0}.resource-card__actions,.wiki-actions{flex-wrap:wrap}.resource-card__actions>:last-child,.wiki-actions>:last-child{margin-left:0}.detail-commandbar{align-items:stretch;flex-direction:column}.detail-commandbar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.detail-commandbar-actions .t-button{width:100%}.detail-commandbar-actions .t-select,.detail-commandbar-actions>.t-select{width:100%!important;grid-column:1 / -1}.wiki-detail-hero{padding:18px}.wiki-detail-icon{width:46px;height:46px;flex-basis:46px}.wiki-detail-state{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.wiki-detail-state .wiki-state-divider{display:none}.wiki-detail-state .wiki-state-item{min-width:0;border-left:1px solid var(--app-border)}.wiki-detail-state .wiki-state-item:first-child{border-left:0}.wiki-ingest-progress-head{flex-direction:column;gap:5px}.wiki-ingest-progress-head span{line-height:1.5}.quick-links{grid-template-columns:1fr}.mobile-only{display:initial}.desktop-only{display:none!important}}@media(max-width:420px){.stat-grid,.metric-strip{grid-template-columns:1fr 1fr}.stat-card strong,.metric-strip strong{font-size:24px}}@media(max-width:720px){.import-form .t-radio-group{display:flex;flex-wrap:wrap;gap:6px}.import-form .t-radio-button{flex:1 1 30%;min-width:0}}.wiki-edit-article[data-v-4ebcd616]{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--app-border, #dbe2ea);border-radius:999px;background:#fff;padding:7px 12px;color:var(--app-text-secondary, #526174);cursor:pointer;font:inherit;font-size:13px;white-space:nowrap}.wiki-edit-article[data-v-4ebcd616]:hover{border-color:var(--app-brand, #2563eb);color:var(--app-brand, #2563eb)}.wiki-edit-article.is-floating[data-v-4ebcd616]{position:fixed;z-index:79;right:22px;bottom:78px;border-color:#334155;background:#1e293b;color:#fff;box-shadow:0 8px 24px #0f172a33}.wiki-edit-article.is-floating[data-v-4ebcd616]:hover{background:#0f172a;color:#fff}.wiki-ui-module-shell[data-v-31fd7c38]{position:relative;width:100%;height:100%;min-width:0;min-height:0}.wiki-ui-module-root[data-v-31fd7c38]{position:relative;z-index:0;isolation:isolate;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;transition:opacity .16s ease}.wiki-ui-module-root.is-loading[data-v-31fd7c38]{opacity:0}.wiki-ui-module-loading[data-v-31fd7c38]{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--app-bg, #f6f7fb);color:var(--app-text-muted, #667085);font-size:14px}.wiki-ui-module-spinner[data-v-31fd7c38]{width:18px;height:18px;border:2px solid #dbe3ef;border-top-color:var(--app-brand, #2563eb);border-radius:50%;animation:wiki-ui-module-spin-31fd7c38 .8s linear infinite}@keyframes wiki-ui-module-spin-31fd7c38{to{transform:rotate(1turn)}}.wiki-boot-splash[data-v-dbd2cdbe]{display:grid;width:100%;height:100%;place-items:center;background:var(--app-bg, #f6f7fb);color:var(--app-text-muted, #667085)}.wiki-boot-splash__inner[data-v-dbd2cdbe]{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500}.wiki-boot-splash__spinner[data-v-dbd2cdbe]{width:18px;height:18px;border:2px solid #dbe3ef;border-top-color:var(--app-brand, #2563eb);border-radius:50%;animation:wiki-boot-spin-dbd2cdbe .8s linear infinite}@keyframes wiki-boot-spin-dbd2cdbe{to{transform:rotate(1turn)}}.wiki-inline-editor[data-v-dbd2cdbe]{display:flex;flex-direction:column;gap:8px}.wiki-inline-editor__notice[data-v-dbd2cdbe],.wiki-inline-editor__hint[data-v-dbd2cdbe]{margin:0;padding:9px 12px;border-radius:8px;font-size:12px;line-height:1.6}.wiki-inline-editor__notice[data-v-dbd2cdbe]{color:#8a5a00;background:#fff7e6}.wiki-inline-editor__hint[data-v-dbd2cdbe]{color:var(--app-text-muted, #667085);background:var(--app-surface-hover, #f7f8fa)}.wiki-inline-editor[data-v-dbd2cdbe] .t-textarea__inner{min-height:420px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.7}
