/* Hub-only layout on top of the HandleIT workspace kit. Colors and sizes come from the kit's tokens. */
.hub-auth { min-height: 100vh; display: grid; place-items: center; padding: var(--hi-space-6) var(--hi-space-4); }
.hub-auth-card { width: min(100%, 440px); }
.hub-auth-card .hi-brand-lockup { margin-bottom: var(--hi-space-6); }
.hub-auth-card h1 { font-size: var(--hi-font-2xl); letter-spacing: var(--hi-tracking-card); margin: 0; }
.hub-auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--hi-space-3); font-size: var(--hi-font-sm); }
.hub-auth-links a { min-height: var(--hi-control-min); display: inline-flex; align-items: center; }
.hub-form { display: grid; gap: var(--hi-space-4); }
.hub-form .hi-button { width: 100%; }
.hub-inline-form { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: var(--hi-space-3); align-items: end; }
.hub-inline-form--single { grid-template-columns: minmax(0, 1fr) auto; }
.hub-link-box { display: grid; gap: var(--hi-space-2); }
.hub-link-box code { display: block; padding: 10px 12px; border: 1px solid var(--hi-color-border); border-radius: var(--hi-radius-button); background: var(--hi-color-input); color: var(--hi-color-text); font-size: var(--hi-font-xs); overflow-wrap: anywhere; user-select: all; }
.hub-row-actions { display: flex; flex-wrap: wrap; gap: var(--hi-space-2); justify-content: flex-end; }
.hub-sidebar-foot { margin-top: auto; padding-top: var(--hi-space-7); display: grid; gap: var(--hi-space-3); }
.hub-sidebar-foot .hi-account { margin-top: 0; }
.hub-identity { min-width: 0; }
.hub-identity strong, .hub-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.hub-member-name { display: block; font-weight: var(--hi-weight-semibold); }
.hub-page-gap { margin-top: var(--hi-space-card); }
@media (max-width: 720px) {
  .hub-inline-form, .hub-inline-form--single { grid-template-columns: minmax(0, 1fr); }
  .hub-inline-form .hi-button { width: 100%; }
  .hub-sidebar-foot { display: none; }
  /* Wide tables scroll inside their card instead of widening the page. */
  .hi-main, .hi-page, .hi-card { min-width: 0; }
  .hi-table-wrap { max-width: 100%; }
  /* The people list fits a phone: the date column is dropped and the email wraps. */
  .hi-table.hub-table-people { min-width: 0; }
  .hub-table-people th:nth-child(3), .hub-table-people td:nth-child(3) { display: none; }
  .hub-table-people td small { overflow-wrap: anywhere; }
}
