.source-hub{margin:0 0 14px;border:1px solid rgba(207,196,181,.95);border-radius:18px;background:rgba(255,253,250,.9);box-shadow:0 12px 32px rgba(44,38,30,.06);overflow:hidden}
.source-hub-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;background:linear-gradient(135deg,#fffdfa,#f5efe5)}
.source-hub-title{display:flex;align-items:center;gap:11px;min-width:0}.source-hub-mark{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;color:#fff;background:var(--demo-navy);font-size:15px;font-weight:900}.source-hub-title h2,.source-hub-title p{margin:0}.source-hub-title h2{font-size:15px}.source-hub-title p{margin-top:3px;color:var(--muted);font-size:10px}
.source-hub-actions{display:flex;gap:7px;flex:none}.source-hub-button{border:1px solid #cfc4b5;border-radius:9px;padding:8px 11px;color:var(--demo-navy);background:#fff;font-size:10px;font-weight:900;cursor:pointer}.source-hub-button.primary{border-color:var(--demo-navy);color:#fff;background:var(--demo-navy)}
.source-hub-body{padding:13px;border-top:1px solid var(--line)}.source-hub.collapsed .source-hub-body{display:none}.source-hub-toggle{min-width:74px}
.source-hub-form{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(260px,1.6fr) auto;gap:8px;align-items:end;margin-bottom:11px;padding:12px;border:1px solid #ded5c9;border-radius:13px;background:#f8f5ef}.source-hub-form[hidden]{display:none}.source-hub-field{display:grid;gap:5px}.source-hub-field span{color:var(--muted);font-size:9px;font-weight:850}.source-hub-field input{min-width:0;border:1px solid #d8cec1;border-radius:9px;padding:9px 10px;background:#fff;color:var(--ink);font:inherit;font-size:11px}.source-hub-form-actions{display:flex;gap:6px}.source-hub-error{grid-column:1/-1;margin:0;color:var(--demo-red);font-size:10px;font-weight:750}
.source-hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.source-link-card{display:grid;grid-template-rows:auto 1fr auto;gap:8px;min-width:0;padding:12px;border:1px solid #e3dbd0;border-radius:13px;background:#fff}.source-link-card h3{margin:0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.source-link-host{color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-link-open{display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:9px;padding:8px 9px;color:#fff;background:linear-gradient(135deg,#315f83,#172b3d);font-size:10px;font-weight:900;text-decoration:none}.source-link-open::after{content:'↗';font-size:13px}.source-link-tools{display:flex;justify-content:flex-end;gap:8px}.source-link-tools button{border:0;padding:0;color:var(--demo-blue);background:transparent;font-size:9px;font-weight:850;cursor:pointer}.source-link-tools button.danger{color:var(--demo-red)}
.source-hub-empty{grid-column:1/-1;padding:22px;border:1px dashed #d9d0c4;border-radius:12px;color:var(--muted);text-align:center;font-size:11px}
@media(max-width:1100px){.source-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.source-hub-head{align-items:flex-start}.source-hub-actions{flex-wrap:wrap;justify-content:flex-end}.source-hub-form{grid-template-columns:1fr}.source-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.source-hub-form-actions{justify-content:flex-end}}
@media(max-width:520px){.source-hub-head{flex-direction:column}.source-hub-actions{width:100%;justify-content:stretch}.source-hub-actions button{flex:1}.source-hub-grid{grid-template-columns:1fr}}
