/* Model hub: only layout. Colours, corners and fonts come from the design's variables (see shared/ui.css). */
.mh-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: inherit; }
.mh-gap { margin-top: 10px; }
.mh-link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.mh-late { color: var(--bad); }
.mh-from { font-weight: 600; }
.mh-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.mh-p { margin: 0; }
.mh-none { margin: 0; padding: 6px 2px; font-size: 13px; }
.mh-h { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.mh-h em { margin-left: 6px; color: var(--faint); font-style: normal; font-weight: 500; }
.mh-strong { font-weight: 600; }
.mh-nw { white-space: nowrap; }
.mh-a { color: var(--accent); font-weight: 500; text-decoration: none; }
.mh-a:hover { text-decoration: underline; }
.mh-right { display: block; text-align: right; white-space: nowrap; }

.mh-av { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; overflow: hidden; border-radius: 50%; background: var(--hover); color: var(--muted); font-size: 11px; font-weight: 600; }
.mh-av img { width: 100%; height: 100%; object-fit: cover; }
.mh-av.big { width: 56px; height: 56px; font-size: 18px; }
.mh-who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }

.mh-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--x-gap, 20px); align-items: start; }
@media (min-width: 1000px) { .mh-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mh-cols.wide-left { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
@media (min-width: 2000px) { .mh-cols:not(.wide-left) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .mh-cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mh-stack { display: grid; gap: var(--x-gap, 20px); align-content: start; min-width: 0; }

.mh-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.mh-filters .x-field { width: min(240px, 100%); }
.mh-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }

/* one model */
.mh-head { display: flex; align-items: center; gap: 16px; min-width: 0; flex-wrap: wrap; }
.mh-grow { flex: 1; }
.mh-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.mh-nums div { display: grid; gap: 2px; }
.mh-nums b { font: var(--x-num, 600 22px/1.15 var(--font)); font-variant-numeric: tabular-nums; }
.mh-nums span { color: var(--muted); font-size: 13px; }
.mh-bar { display: inline-block; width: 72px; height: 6px; overflow: hidden; border-radius: 3px; background: var(--hover); vertical-align: middle; }
.mh-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.mh-mini { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.mh-mini li { display: flex; justify-content: space-between; gap: 12px; min-width: 0; }
.mh-mini .mh-link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.mh-mini small { flex: none; font-size: 12.5px; }
.mh-hub { margin-left: 10px; font-size: 12.5px; }  /* X Farming → Creators: a way into her hub page */
.mh-head > div { display: grid; gap: 2px; min-width: 0; justify-items: start; }
.mh-head h2 { margin: 0; font: var(--x-h2, 600 20px/1.25 var(--font)); }
.mh-head p { margin: 0; color: var(--muted); }
.mh-head .mh-link { font-size: 13px; }
.mh-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; }
@media (max-width: 1100px) { .mh-board { grid-template-columns: minmax(0, 1fr); } }
.mh-col { display: grid; gap: 8px; min-width: 0; }
.mh-col h4 { margin: 0; padding: 0 2px 2px; color: var(--muted); font-size: 13px; font-weight: 600; }
.mh-col h4 em { margin-left: 6px; color: var(--faint); font-style: normal; font-weight: 500; }
.mh-col .mh-link { justify-self: start; padding: 2px; font-size: 13px; }
.mh-item { display: grid; gap: 3px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: var(--panel); color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.mh-item:hover, .mh-item:focus-visible { background: var(--hover); outline: none; }
.mh-item b { font-weight: 600; overflow-wrap: anywhere; }
.mh-item small { color: var(--muted); font-size: 12.5px; }
.mh-item small.mh-late { color: var(--bad); }
.mh-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.mh-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.mh-rems { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mh-rems li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mh-rems li:last-child { border-bottom: 0; }
.mh-rems small { flex: none; font-size: 12.5px; }
.mh-done { margin-top: 10px; color: var(--muted); }
.mh-done summary { cursor: pointer; font-size: 13px; }


/* files */
.mh-sec { display: grid; }
.mh-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.mh-file { display: grid; gap: 4px; min-width: 0; }
.mh-file a { display: block; }
.mh-file .x-check small { font-size: 12.5px; }
.mh-thumb { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--hover); color: var(--muted); font-size: 12px; }
.mh-thumb img, .mh-thumb video { width: 100%; height: 100%; object-fit: cover; }
.mh-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 12px; }
.mh-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
@media (max-width: 600px) { .mh-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* windows */
.mh-copy input { width: 100%; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--panel); color: var(--fg); font: inherit; }
.mh-copy { display: flex; gap: 8px; }
.mh-copy input { flex: 1; font-size: 13px; }
