/* SWISO 0.20.86 revision 35 — governed Hub card image and link designer. */
.d53-hub-grid{gap:14px}
.d53-hub-row{grid-template-columns:minmax(190px,220px) repeat(5,minmax(140px,1fr));gap:12px;align-items:end;padding:16px;box-shadow:0 5px 16px rgba(9,61,91,.06)}
.d53-hub-row.dragging{opacity:.55;outline:2px dashed var(--hub-accent)}
.d53-hub-title{grid-row:span 2;align-self:stretch;display:grid;grid-template-columns:28px 58px 1fr;grid-template-rows:auto auto 1fr;gap:5px 9px;align-items:center;padding-right:12px;border-right:1px solid #d8e6ec}
.d53-hub-title .d53-hub-drag{grid-row:1/4;align-self:stretch;display:grid;place-items:center;border-radius:7px;background:#eef6f8;cursor:grab;font-size:1rem;letter-spacing:-.2em}
.d53-hub-title img{grid-row:1/3;width:54px;height:54px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid #d7e5eb;padding:4px}
.d53-hub-title>span:not(.d53-hub-drag),.d53-hub-title>strong{grid-column:3}
.d53-hub-title>strong{margin:0;font-size:.84rem;line-height:1.25}
.d53-hub-title nav{grid-column:2/4;align-self:end;margin:8px 0 0}
.d53-hub-title nav button.danger{color:#a12727;border-color:#edc3c3;background:#fff7f7}
.d53-hub-row label,.d53-hub-upload{font-size:.72rem;line-height:1.3}
.d53-hub-description,.d53-hub-link{grid-column:span 2}
.d53-hub-upload{display:grid;grid-template-columns:1fr auto;gap:4px 8px;align-items:center;color:var(--r52-text,var(--muted));font-weight:800}
.d53-hub-upload small{grid-column:1/-1;color:#668092;font-size:.66rem;font-weight:500}
.d53-hub-upload button{min-height:36px;padding:6px 10px}
.d53-hub-preview article>img{width:44px;height:44px;object-fit:contain;border-radius:9px;background:#fff;border:1px solid #d6e3eb;padding:3px}
.d53-hub-preview article>i{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1500px){.d53-hub-row{grid-template-columns:minmax(180px,220px) repeat(3,minmax(150px,1fr))}}
@media(max-width:900px){.d53-hub-row{grid-template-columns:1fr 1fr}.d53-hub-title{grid-column:1/-1;grid-row:auto;border-right:0;border-bottom:1px solid #d8e6ec;padding:0 0 12px}.d53-hub-description,.d53-hub-link{grid-column:1/-1}}
@media(max-width:620px){.d53-hub-row{grid-template-columns:1fr}.d53-hub-description,.d53-hub-link{grid-column:auto}}
