.hub-body {
    --hub-navy: #1b2559;
    --hub-blue: #2f6fed;
    --hub-blue-soft: #e8f0ff;
    --hub-yellow: #f5c518;
    --hub-teal: #14b8a6;
    --hub-ink: #1c2740;
    --hub-muted: #8b97a8;
    --hub-line: #e7eef6;
    --hub-bg: #f3f6fb;
    background: var(--hub-bg);
    color: var(--hub-ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hub-topbar {
    background: #fff;
    border-top: 4px solid #1d6fe0;
    border-bottom: 1px solid var(--hub-line);
    position: sticky;
    top: 0;
    z-index: 30;
}

.hub-topbar__inner {
    max-width: none;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hub-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 280px;
    flex-shrink: 0;
}

.hub-brand .app-logo,
.hub-brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}

.hub-brand__text {
    display: block;
    line-height: 1;
}

.hub-brand__name {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin: 0 0 2px;
    line-height: 1;
    font-weight: 700;
}

.hub-brand__one {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    padding-bottom: 6px;
    font-family: "Intel", "Inter", Arial, sans-serif;
    font-size: 31px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    color: #08246E;
}

.hub-brand__one::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: #FFE231;
    border-radius: 1px;
}

.hub-brand__name em {
    display: inline-block;
    margin: 0;
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 40px;
    line-height: 0.8;
    letter-spacing: 0;
    color: #FFE231;
    -webkit-text-fill-color: #FFE231;
    vertical-align: baseline;
}

.hub-brand__dash {
    font-family: "Times New Roman", Times, serif;
    font-size: 31px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    color: #FFE231;
}

.hub-brand__link {
    font-family: "Times New Roman", Times, serif;
    font-size: 31px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #1d6fe0;
}

.hub-brand small,
.hub-school {
    display: block;
    margin-top: 2px;
    font-family: "Times New Roman", Times, serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1b3a8c;
    letter-spacing: 0;
    line-height: 1.15;
}

.hub-brand small em,
.hub-school em {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 700;
    color: #1b3a8c;
}

.hub-nav__item--office {
    white-space: nowrap;
}

.hub-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f7fb;
    border: 1px solid #e5ecf4;
    border-radius: 999px;
    padding: 4px 4px 4px 14px;
    min-width: 180px;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.hub-search__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #e5ecf4;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .14);
    z-index: 80;
    overflow: auto;
    max-height: min(70vh, 440px);
    padding: 6px 0;
}

.hub-search__caption,
.hub-search__empty {
    padding: 8px 14px 6px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--hub-muted);
}

.hub-search__empty {
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
    color: #64748b;
}

.hub-search__hit {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    border-top: 1px solid #f1f5f9;
}

.hub-search__hit:hover,
.hub-search__hit.is-active {
    background: #f4f7fb;
}

.hub-search__hit-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.hub-search__code {
    font-weight: 800;
    color: var(--hub-navy);
    letter-spacing: .01em;
}

.hub-search__type {
    font-style: normal;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--hub-blue);
    white-space: nowrap;
}

.hub-search__meta {
    display: grid;
    gap: 1px;
    font-size: .8rem;
    color: #5b6b7c;
}

.hub-search > i {
    color: var(--hub-muted);
    flex-shrink: 0;
}

.hub-search__scan {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--hub-navy);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.hub-search__scan:hover,
.hub-search__scan[aria-pressed="true"] {
    background: #e8eef8;
    color: var(--hub-blue);
}

.hub-search input {
    border: 0;
    background: transparent;
    flex: 1 1 auto;
    width: 100%;
    outline: none;
    font: inherit;
    min-width: 0;
}

.hub-search__btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    background: var(--hub-blue);
    color: #fff;
    font-weight: 700;
    font-size: .84rem;
    padding: 8px 16px;
    cursor: pointer;
}

.hub-search__btn:hover {
    background: #1f5fd6;
}

.hub-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-shrink: 0;
}

.hub-bell {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--hub-navy);
    text-decoration: none;
    background: #f4f7fb;
    border: 1px solid #e5ecf4;
    font-size: 1.1rem;
}

.hub-bell:hover {
    color: var(--hub-blue);
    background: var(--hub-blue-soft);
}

.hub-bell--mark {
    width: 40px;
    height: 40px;
    color: #1d6fe0;
    background: #e8f3ff;
    border: 1px solid #d3e4fb;
    font-size: 1.15rem;
    line-height: 1;
}

.hub-bell--mark:hover {
    color: #fff;
    background: #1d6fe0;
    border-color: #1d6fe0;
}

.hub-ico {
    width: 30px;
    height: 30px;
    display: block;
}

.hub-bell__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff3b30;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 2px #fff;
}

.hub-bell__badge[hidden],
#hubNotifBadge[hidden] {
    display: none !important;
}

.hub-user {
    position: relative;
}

.hub-user__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.hub-user__btn::after {
    display: none;
}

.hub-user__avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    max-height: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--hub-navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .82rem;
    line-height: 1;
    text-align: center;
    flex: 0 0 40px;
    overflow: hidden;
    align-self: center;
}

.hub-user__avatar img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.hub-user__meta {
    display: grid;
    line-height: 1.2;
}

.hub-user__meta strong {
    font-size: .86rem;
    color: var(--hub-ink);
}

.hub-user__meta small {
    font-size: .72rem;
    color: var(--hub-muted);
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    padding: 9px 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: .86rem;
    border: 0;
    line-height: 1.1;
    cursor: pointer;
}

.hub-btn--blue { background: var(--hub-blue); color: #fff; }
.hub-btn--navy { background: var(--hub-navy); color: #fff; }
.hub-btn--yellow { background: var(--hub-yellow); color: var(--hub-navy); }
.hub-btn__count {
    min-width: 1.35rem;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--hub-navy);
    color: #fff;
    font-style: normal;
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}
.hub-btn--ghost {
    background: #fff;
    color: var(--hub-navy);
    border: 1px solid #d9e2ee;
}
.hub-btn--blue:hover { color: #fff; background: #1f5fd6; }
.hub-btn--navy:hover { color: #fff; background: #121a42; }
.hub-btn--yellow:hover { color: var(--hub-navy); }
.hub-btn--ghost:hover { color: var(--hub-navy); background: #f8fafc; }

.hub-shell {
    max-width: none;
    margin: 0 auto;
    padding: 18px 20px 88px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: start;
    flex: 1 0 auto;
    width: 100%;
}

.hub-shell.is-nav-collapsed {
    grid-template-columns: 76px minmax(0, 1fr) 280px;
}

.hub-shell--fill,
.hub-shell--fill.is-nav-collapsed {
    grid-template-columns: max-content minmax(0, 1fr);
    max-width: none;
    align-items: stretch;
    padding-bottom: 18px;
}

.hub-shell--fill.is-nav-collapsed {
    grid-template-columns: 76px minmax(0, 1fr);
}

.hub-shell--fill .hub-main {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 140px);
}

.hub-shell--fill .im-shell,
.hub-shell--fill .hub-fill {
    flex: 1 1 auto;
    width: 100%;
    min-height: calc(100vh - 170px);
}

/* Portal home: left menu, feed, and right rail each scroll, with no scrollbar. */
body.hub-body:has(> main.hub-shell:not(.hub-shell--fill)) {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.hub-body:has(> main.hub-shell:not(.hub-shell--fill))::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

@media (min-width: 1181px) {
    body.hub-body:has(> main.hub-shell:not(.hub-shell--fill)) {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    body.hub-body:has(> main.hub-shell:not(.hub-shell--fill)) > .hub-topbar,
    body.hub-body:has(> main.hub-shell:not(.hub-shell--fill)) > .hub-footer {
        flex-shrink: 0;
    }

    .hub-shell:not(.hub-shell--fill) {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        align-items: stretch;
        padding-bottom: 18px;
    }

    .hub-shell:not(.hub-shell--fill) > .hub-nav,
    .hub-shell:not(.hub-shell--fill) > .hub-main,
    .hub-shell:not(.hub-shell--fill) > .hub-side {
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hub-shell:not(.hub-shell--fill) > .hub-nav {
        position: relative;
        top: auto;
    }

    .hub-shell:not(.hub-shell--fill) > .hub-main,
    .hub-shell:not(.hub-shell--fill) > .hub-side {
        padding-bottom: 84px;
    }

    .hub-shell:not(.hub-shell--fill) > .hub-nav::-webkit-scrollbar,
    .hub-shell:not(.hub-shell--fill) > .hub-main::-webkit-scrollbar,
    .hub-shell:not(.hub-shell--fill) > .hub-side::-webkit-scrollbar {
        width: 0;
        height: 0;
        background: transparent;
    }
}

@media (max-width: 980px) {
    body.hub-body:has(> main.hub-shell:not(.hub-shell--fill)) {
        height: auto;
        max-height: none;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .hub-shell:not(.hub-shell--fill),
    .hub-shell:not(.hub-shell--fill) > .hub-main,
    .hub-shell:not(.hub-shell--fill) > .hub-side {
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

.hub-main,
.hub-side {
    min-width: 0;
}

.hub-menu {
    display: none;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid #e5ecf4;
    border-radius: 50%;
    background: #f4f7fb;
    color: var(--hub-navy);
    place-items: center;
    font-size: 1.35rem;
    cursor: pointer;
}

.hub-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, .45);
    z-index: 45;
}

body.hub-nav-open {
    overflow: hidden;
}

body.hub-nav-open .hub-nav-backdrop {
    display: block;
}

.hub-nav {
    background: #e8edf5;
    border-radius: 16px;
    padding: 12px 12px 12px;
    position: sticky;
    top: calc(var(--hub-topbar-height, 96px) + 12px);
    width: clamp(220px, 20vw, 270px);
    min-width: 0;
}

.hub-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin: 0 0 8px;
    border: 0;
    background: transparent;
    color: var(--hub-navy);
    border-radius: 10px;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 1.15rem;
}

.hub-nav__toggle:hover {
    background: rgba(255, 255, 255, .75);
}

.hub-nav.is-collapsed {
    width: 76px;
    min-width: 76px;
    padding-left: 8px;
    padding-right: 8px;
}

.hub-nav.is-collapsed .hub-nav__toggle {
    justify-content: center;
}

.hub-nav.is-collapsed .hub-nav__label,
.hub-nav.is-collapsed .hub-nav__item span,
.hub-nav.is-collapsed .hub-nav__chevron,
.hub-nav.is-collapsed .hub-empty {
    display: none;
}

.hub-nav.is-collapsed .hub-nav__item {
    justify-content: center;
    gap: 0;
    padding-left: 8px;
    padding-right: 8px;
}

.hub-offices__menu {
    min-width: 240px;
    max-height: 70vh;
    overflow: auto;
    border-radius: 12px;
    padding: 6px;
}

.hub-offices .dropdown-toggle::after {
    margin-left: 8px;
}

.hub-nav__section + .hub-nav__section {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #dde3ec;
}

.hub-nav__label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6b778c;
    padding: 0 14px 8px;
    white-space: nowrap;
}

.hub-nav__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hub-nav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--hub-navy);
    font-weight: 600;
    font-size: .92rem;
    border-left: 4px solid transparent;
    white-space: nowrap;
}

.hub-nav__item span {
    flex: 1;
}

.hub-nav__chevron {
    margin-left: auto;
    font-size: .85rem !important;
    width: auto !important;
}

.hub-nav__item i {
    font-size: 1.05rem;
    width: 1.2rem;
    text-align: center;
    color: #5b6b86;
}

.hub-nav__item:hover {
    background: rgba(255, 255, 255, .7);
    color: var(--hub-navy);
}

.hub-nav__item.is-active {
    background: #dce9ff;
    border-left-color: var(--hub-blue);
    color: var(--hub-blue);
}

.hub-nav__item.is-active i {
    color: var(--hub-blue);
}

.hub-modules {
    padding: 0 4px;
    display: grid;
    gap: 4px;
}

.hub-mod {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
}

.hub-mod:hover {
    background: rgba(255, 255, 255, .75);
    color: inherit;
}

.hub-mod__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
    font-size: .9rem;
}

.hub-mod strong {
    display: block;
    font-size: .82rem;
    color: var(--hub-ink);
}

.hub-mod small {
    display: block;
    color: var(--hub-muted);
    font-size: .7rem;
}

.hub-panel {
    background: #fff;
    border: 1px solid var(--hub-line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(27, 37, 89, .05);
}

.hub-panel__head {
    padding: 16px 16px 8px;
}

.hub-panel__head strong {
    display: block;
    color: var(--hub-navy);
}

.hub-panel__head span {
    color: var(--hub-muted);
    font-size: .82rem;
}

.hub-pending-panel .hub-pending__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.hub-pending__total {
    min-width: 1.6rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff4cc;
    color: var(--hub-navy);
    font-style: normal;
    font-size: .78rem;
    font-weight: 800;
    text-align: center;
}
.hub-pending {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 12px 8px;
}
.hub-pending__tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 8px;
}
.hub-pending__tile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 86px;
    padding: 10px 10px 8px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--hub-navy);
    background: #f8fbff;
    border: 1px solid #e7eef6;
}
.hub-pending__tile:hover {
    background: #eef4ff;
    border-color: #c9d8f5;
    color: var(--hub-navy);
}
.hub-pending__tile i {
    font-size: 1rem;
}
.hub-pending__tile strong {
    font-size: 1.2rem;
    line-height: 1.1;
}
.hub-pending__tile span {
    color: #52627a;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.25;
}
.hub-pending__tile--budget { background: #f0fdfa; border-color: #ccece6; }
.hub-pending__tile--budget i, .hub-pending__tile--budget strong { color: #0f766e; }
.hub-pending__tile--travel { background: #eff6ff; border-color: #d4e4fb; }
.hub-pending__tile--travel i, .hub-pending__tile--travel strong { color: #1d4ed8; }
.hub-pending__tile--general { background: #f5f3ff; border-color: #ddd6fe; }
.hub-pending__tile--general i, .hub-pending__tile--general strong { color: #6d28d9; }
.hub-pending__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hub-pending__label {
    margin: 2px 4px 0;
    color: var(--hub-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.hub-pending__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--hub-navy);
    font-weight: 650;
    font-size: .88rem;
}
.hub-pending__item:hover {
    background: #f4f8ff;
}
.hub-pending__item i {
    color: var(--hub-blue);
}
.hub-pending__item span {
    flex: 1 1 auto;
    min-width: 0;
}
.hub-pending__item em {
    min-width: 1.4rem;
    padding: 1px 7px;
    border-radius: 999px;
    background: #e8eef8;
    color: var(--hub-blue);
    font-style: normal;
    font-size: .75rem;
    font-weight: 700;
    text-align: center;
}
.hub-pending__empty {
    margin: 0;
    padding: 8px 10px 4px;
    color: var(--hub-muted);
    font-size: .86rem;
}
.hub-pending__all {
    display: block;
    margin: 0 16px 14px;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--hub-blue-soft);
    color: var(--hub-blue);
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.hub-pending__all:hover {
    background: #dbe7ff;
    color: var(--hub-blue);
    text-decoration: none;
}

.hub-duty {
    margin: 0 0 16px;
    background: #fff8e8;
    border: 1px solid #f0d48a;
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--hub-navy);
}

.hub-duty p {
    margin: 4px 0 0;
    color: #6a5830;
}

.hub-duty ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.hub-duty li {
    padding: 8px 0;
    border-top: 1px solid #f3e2b8;
}

.hub-duty li span,
.hub-duty li em {
    display: block;
    color: #6a5830;
    font-style: normal;
    font-size: .9rem;
}

.hub-hero {
    background: #fff;
    border-radius: 20px;
    padding: 0 0 18px;
    display: block;
    border: 1px solid #e3ebf7;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.hub-cover {
    position: relative;
    height: 168px;
    background: linear-gradient(105deg, #e8f1ff 0%, #f4f8ff 48%, #fff6d8 100%) center / cover no-repeat;
}

.hub-cover__change {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    background: rgba(255, 255, 255, .94);
    color: var(--hub-navy);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(27, 37, 89, .12);
    box-shadow: 0 4px 12px rgba(27, 37, 89, .12);
}

.hub-cover__change input,
.hub-avatar input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hub-profile__body {
    text-align: center;
    padding: 0 20px;
}

.hub-avatar-form {
    display: flex;
    justify-content: center;
    margin: -58px 0 0;
}

.hub-avatar {
    position: relative;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: var(--hub-navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    box-shadow: 0 8px 20px rgba(27, 37, 89, .18);
    cursor: pointer;
    overflow: hidden;
}

.hub-avatar > span:not(.hub-avatar__edit) {
    display: grid;
    place-items: center;
    line-height: 1;
    text-align: center;
}

.hub-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-avatar__edit {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hub-navy);
    color: #fff;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    font-size: .8rem;
}

.hub-profile__name {
    margin: 12px 0 0;
    color: var(--hub-navy);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
}

.hub-profile__role {
    margin: 4px 0 14px;
    color: #5d6b82;
    font-size: .98rem;
}

.hub-profile__body .hub-pills {
    justify-content: center;
}

.hub-hero__copy h1 {
    margin: 0;
    color: var(--hub-navy);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
}

.hub-hero__copy h1 em {
    font-style: italic;
    color: var(--hub-blue);
}

.hub-hero__copy p {
    color: #5d6b82;
    margin: 8px 0 16px;
    font-size: 1rem;
}

.hub-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.hub-pill {
    border-radius: 999px;
    padding: 7px 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: .84rem;
    background: #fff;
    color: var(--hub-navy);
    border: 1px solid #dbe5f2;
}

.hub-pill--yellow {
    background: #ffe9a3;
    border-color: #f5d76e;
}

.hub-pill--soft {
    background: #e8f0ff;
    border-color: #c9daf8;
}

.hub-pill--cream {
    background: #fff8dc;
    border-color: #f0e4a8;
}

.hub-pill.is-on,
.hub-pill--yellow.is-on,
.hub-pill--soft.is-on,
.hub-pill--cream.is-on {
    background: var(--hub-blue);
    color: #fff;
    border-color: var(--hub-blue);
}

.hub-campus {
    position: relative;
    height: 130px;
    justify-self: end;
    width: 180px;
}

.hub-campus__sky {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #cfe3ff 0%, transparent 70%);
}

.hub-campus__building {
    position: absolute;
    inset: 18px 10px 0;
}

.hub-campus__body {
    position: absolute;
    left: 42px;
    right: 42px;
    bottom: 0;
    height: 78px;
    background: #5b8def;
    border-radius: 6px 6px 0 0;
}

.hub-campus__roof {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 72px;
    height: 22px;
    background: var(--hub-navy);
    clip-path: polygon(8% 100%, 50% 0, 92% 100%);
}

.hub-campus__wing {
    position: absolute;
    bottom: 0;
    width: 38px;
    height: 58px;
    background: #7aa4f5;
    border-radius: 4px 4px 0 0;
}

.hub-campus__wing--l { left: 8px; }
.hub-campus__wing--r { right: 8px; }

.hub-campus__door {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 18px;
    height: 28px;
    margin-left: -9px;
    background: var(--hub-navy);
    border-radius: 4px 4px 0 0;
}

.hub-campus__win {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff6c8;
    border-radius: 2px;
}

.hub-campus__win--1 { left: 56px; bottom: 48px; }
.hub-campus__win--2 { right: 56px; bottom: 48px; }
.hub-campus__win--3 { left: 56px; bottom: 30px; }
.hub-campus__win--4 { right: 56px; bottom: 30px; }

.hub-campus__tree {
    position: absolute;
    bottom: 0;
    width: 16px;
    height: 28px;
}

.hub-campus__tree::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    border-radius: 50%;
    background: #3d9b6a;
}

.hub-campus__tree::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 4px;
    height: 14px;
    margin-left: -2px;
    background: #8b5a2b;
}

.hub-campus__tree--l { left: -2px; }
.hub-campus__tree--r { right: -2px; }

.hub-feed-head {
    margin: 4px 2px 14px;
}

.hub-tabs {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e4ebf4;
}

.hub-tabs a {
    text-decoration: none;
    color: var(--hub-muted);
    font-weight: 700;
    padding: 0 0 10px;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.hub-tabs a.is-on {
    color: var(--hub-navy);
    border-color: var(--hub-yellow);
}

.hub-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--hub-line);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 22px rgba(27, 37, 89, .04);
}

.hub-story__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hub-story__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hub-blue), #6aa2ff);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    flex-shrink: 0;
}

.hub-story__office {
    font-weight: 800;
    color: var(--hub-navy);
    font-size: .92rem;
}

.hub-story__meta {
    color: var(--hub-muted);
    font-size: .78rem;
}

.hub-story h2 {
    margin: 0 0 8px;
    font-size: 1.12rem;
    color: var(--hub-ink);
    line-height: 1.35;
}

.hub-story__text {
    color: #4d5b70;
    margin: 0 0 10px;
    font-size: .92rem;
}

.hub-story__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hub-story__tags span {
    background: #eef4ff;
    color: var(--hub-blue);
    border-radius: 999px;
    padding: 3px 9px;
    font-size: .76rem;
    font-weight: 700;
}

.hub-story__foot {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--hub-muted);
    font-size: .8rem;
}

.hub-story__foot a {
    color: var(--hub-blue);
    font-weight: 700;
    text-decoration: none;
    margin-left: auto;
}

.hub-story__save {
    border: 0;
    background: transparent;
    color: var(--hub-muted);
    font: inherit;
    font-size: .8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
}

.hub-story__save:hover,
.hub-story__save.is-on {
    color: #e11d48;
}

.hub-art {
    min-height: 150px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    padding: 16px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.hub-art strong {
    position: relative;
    z-index: 1;
    font-size: .92rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.3;
}

.hub-art::before,
.hub-art::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.hub-art--announcement,
.hub-art--academic {
    background: linear-gradient(145deg, #1b2559 20%, #2f6fed 70%, #14b8a6);
}

.hub-art--event,
.hub-art--student_life {
    background: linear-gradient(145deg, #14b8a6, #2f6fed 55%, #f5c518);
}

.hub-art--update {
    background: linear-gradient(145deg, #1b2559, #2f6fed);
}

.hub-art::before {
    width: 110px;
    height: 110px;
    background: rgba(245, 197, 24, .55);
    right: -28px;
    top: -30px;
}

.hub-art::after {
    width: 80px;
    height: 80px;
    background: rgba(20, 184, 166, .45);
    left: -22px;
    bottom: -24px;
}

.hub-more-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hub-side {
    display: grid;
    gap: 14px;
}

.hub-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 14px 14px;
}

.hub-link {
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    text-decoration: none;
    color: var(--hub-navy);
    font-weight: 800;
    font-size: .8rem;
    min-height: 96px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
}

.hub-link i {
    font-size: 1.35rem;
}

.hub-link--a {
    background: #dfeaff;
    color: #1d4ed8;
}

.hub-link--b {
    background: #fff0b8;
    color: #9a6700;
}

.hub-link--c {
    background: #d8f5f0;
    color: #0f766e;
}

.hub-link--d {
    background: #e4e8f8;
    color: var(--hub-navy);
}

.hub-link--e {
    background: #ffe8ec;
    color: #be123c;
}

.hub-links--favorites:empty {
    display: none;
}

.hub-links--favorites {
    padding-top: 0;
}

/* Favorites are cloned as .em-card rows — restyle them as Quick Access tiles. */
.hub-links--favorites .em-service {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.hub-links--favorites .em-card {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 96px;
    padding: 16px 10px;
    border: 0;
    border-radius: 14px;
    background: #e8efff;
    color: #1d4ed8;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}

.hub-links--favorites .em-card > i:first-child {
    width: auto;
    height: auto;
    flex: none;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 1.35rem;
}

.hub-links--favorites .em-card > span {
    display: block;
    width: 100%;
    flex: none;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.hub-links--favorites .em-card small {
    display: none;
}

.hub-links--favorites .em-card .em-chevron,
.hub-links--favorites .em-badge {
    display: none;
}

.hub-links--favorites .em-card:hover {
    background: #dfeaff;
    color: #1d4ed8;
}

.hub-quick-services {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    width: calc(100% - 28px);
    min-height: 44px;
    margin: 0 14px 14px;
    padding: 10px 12px;
    border: 1px solid #cbd6e7;
    border-radius: 10px;
    background: #fff;
    color: #244d9e;
    font: inherit;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
}

.hub-quick-services span {
    color: #52617a;
    font-weight: 400;
}

@media (min-width: 981px) {
    .hub-side .hub-links--favorites .em-card {
        min-height: 68px;
        padding: 10px 6px;
        font-size: .72rem;
        border-radius: 12px;
    }

    .hub-side .hub-links--favorites .em-card > i:first-child {
        font-size: 1.2rem;
    }
}

.hub-trends {
    padding: 0 16px 16px;
    display: grid;
    gap: 10px;
}

.hub-trend {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    text-decoration: none;
    color: var(--hub-ink);
    font-weight: 700;
    font-size: .9rem;
}

.hub-trend span:last-child {
    color: var(--hub-muted);
    font-weight: 600;
    font-size: .8rem;
    white-space: nowrap;
}

.hub-feature {
    padding: 18px 16px 16px;
    position: relative;
    overflow: hidden;
}

.hub-feature__art {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffe27a, #f5c518 60%, transparent 70%);
    right: -30px;
    top: -20px;
    opacity: .85;
    pointer-events: none;
}

.hub-feature__kicker {
    position: relative;
    color: var(--hub-blue);
    font-weight: 800;
    letter-spacing: .08em;
    font-size: .72rem;
    text-transform: uppercase;
}

.hub-feature h2 {
    position: relative;
    color: var(--hub-navy);
    font-size: 1.2rem;
    margin: 8px 0;
}

.hub-feature p {
    position: relative;
    color: #5d6b82;
    margin-bottom: 12px;
}

.hub-empty {
    padding: 28px 16px;
    text-align: center;
    color: #6b7c85;
}

.hub-empty--sm {
    padding: 12px 8px;
    font-size: .82rem;
}

.hub-compose {
    background: #fff;
    border: 1px solid var(--hub-line);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
}

.hub-compose strong {
    display: block;
    color: var(--hub-navy);
    margin-bottom: 10px;
}

.hub-compose__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hub-compose label {
    display: grid;
    gap: 4px;
    font-size: .82rem;
    font-weight: 700;
    color: #5d6b82;
}

.hub-compose input,
.hub-compose select,
.hub-compose textarea {
    width: 100%;
    border: 1px solid #dbe5f2;
    border-radius: 12px;
    padding: 8px 10px;
    font: inherit;
    font-weight: 500;
    color: var(--hub-ink);
}

.hub-compose__wide {
    grid-column: 1 / -1;
}

.hub-compose__submit {
    grid-column: 1 / -1;
    display: flex;
    align-items: end;
}

.hub-office-hits {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hub-footer {
    background: var(--hub-navy);
    color: rgba(255, 255, 255, .85);
    margin-top: auto;
}

.hub-footer__inner {
    max-width: none;
    margin: 0 auto;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 16px;
    align-items: center;
}

.hub-footer__brand .hub-brand__one {
    color: #fff;
}

.hub-footer__brand > span {
    font-size: .78rem;
    opacity: .75;
}

.hub-footer__links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hub-footer__links a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 600;
}

.hub-footer__links a:hover {
    color: #fff;
}

.hub-footer__copy {
    text-align: right;
    font-size: .78rem;
    opacity: .7;
}

.hub-chat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.hub-chat__launch {
    position: relative;
    border: 0;
    background: #2f7cf6;
    color: #fff;
    border-radius: 14px;
    min-width: 210px;
    padding: 14px 22px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 18px rgba(47, 124, 246, .28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

a.hub-chat__launch:hover {
    color: #fff;
    background: #1f6ae0;
}

.hub-chat__badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff3b30;
    color: #fff;
    font-style: normal;
    font-size: .75rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 2px #fff;
}

.hub-chat__badge[hidden] {
    display: none !important;
}

.hub-file {
    display: grid;
    gap: 16px;
}

.hub-file__head h1 {
    margin: 0;
    color: var(--hub-navy);
    font-size: 1.45rem;
    font-weight: 800;
}

.hub-file__head p {
    margin: 6px 0 0;
    color: #5d6b82;
}

.hub-file__card {
    background: #fff;
    border: 1px solid var(--hub-line);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(27, 37, 89, .04);
    overflow: hidden;
}

.hub-file__card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--hub-line);
    color: var(--hub-navy);
    font-weight: 800;
}

.hub-file__card header span {
    font-weight: 700;
    color: var(--hub-muted);
    font-size: .8rem;
}

.hub-file__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.hub-file__grid dl {
    margin: 0;
    padding: 8px 16px 14px;
}

.hub-file__grid dl + dl {
    border-left: 1px solid var(--hub-line);
}

.hub-file dt {
    color: #6b778c;
    font-size: .75rem;
    font-weight: 700;
    margin-top: 10px;
}

.hub-file dd {
    margin: 2px 0 0;
    color: var(--hub-ink);
    font-weight: 650;
}

.hub-file__table {
    width: 100%;
    border-collapse: collapse;
}

.hub-file__table th,
.hub-file__table td {
    padding: 12px 16px;
    text-align: left;
    border-top: 1px solid var(--hub-line);
    font-size: .9rem;
}

.hub-file__table th {
    color: #6b778c;
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-top: 0;
}

.hub-file__table a {
    color: var(--hub-blue);
    font-weight: 700;
    text-decoration: none;
}

.hub-file__empty {
    margin: 0;
    padding: 22px 16px;
    text-align: center;
    color: #6b778c;
}

@media (max-width: 720px) {
    .hub-file__grid {
        grid-template-columns: 1fr;
    }
    .hub-file__grid dl + dl {
        border-left: 0;
        border-top: 1px solid var(--hub-line);
    }
}

@media (max-width: 1180px) {
    .hub-shell,
    .hub-shell.is-nav-collapsed {
        grid-template-columns: max-content minmax(0, 1fr);
    }
    .hub-shell.is-nav-collapsed {
        grid-template-columns: 76px minmax(0, 1fr);
    }
    .hub-side {
        grid-column: 1 / -1;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 980px) {
    .hub-menu {
        display: grid;
    }
    .hub-shell,
    .hub-shell.is-nav-collapsed {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px 14px 72px;
    }
    .hub-nav,
    .hub-nav.is-collapsed {
        position: fixed;
        z-index: 50;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(300px, 88vw);
        min-width: 0;
        max-width: 88vw;
        max-height: 100vh;
        max-height: 100dvh;
        max-height: 100svh;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        scrollbar-width: none;
        -ms-overflow-style: none;
        pointer-events: none;
        border-radius: 0 18px 18px 0;
        transform: translateX(-105%);
        transition: transform .2s ease;
        box-shadow: 8px 0 28px rgba(15, 23, 42, .16);
    }
    body.hub-nav-open {
        overflow: hidden;
        touch-action: none;
    }
    body.hub-nav-open .hub-nav,
    body.hub-nav-open .hub-nav.is-collapsed {
        transform: translateX(0);
        pointer-events: auto;
        overflow-y: auto;
        touch-action: pan-y;
    }
    .hub-nav::-webkit-scrollbar,
    .hub-nav.is-collapsed::-webkit-scrollbar {
        width: 0;
        height: 0;
        background: transparent;
    }
    .hub-nav.is-collapsed .hub-nav__label,
    .hub-nav.is-collapsed .hub-nav__chevron,
    .hub-nav.is-collapsed .hub-empty {
        display: block;
    }
    .hub-nav.is-collapsed .hub-nav__item span {
        display: block;
        flex: 1;
    }
    .hub-nav.is-collapsed .hub-nav__item {
        justify-content: flex-start;
        gap: 12px;
        padding: 11px 14px;
    }
    .hub-nav.is-collapsed .hub-nav__toggle {
        justify-content: flex-end;
    }
    .hub-side {
        grid-template-columns: 1fr;
    }
    .hub-brand {
        min-width: 0;
        flex: 1 1 auto;
    }
    .hub-topbar__inner {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 10px;
    }
    .hub-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin: 0;
    }
    .hub-user__meta {
        display: none;
    }
    .hub-home,
    .hub-bell,
    .hub-bell--mark,
    .hub-user__btn,
    .hub-user__avatar {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        max-width: 40px;
        min-height: 40px;
        max-height: 40px;
    }
    .hub-user__avatar img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
    }
    .hub-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hub-footer__copy {
        text-align: center;
    }
    .hub-profile__name {
        font-size: 1.25rem;
    }
    .hub-cover {
        height: 132px;
    }
}

@media (max-width: 720px) {
    .hub-story,
    .hub-compose__grid {
        grid-template-columns: 1fr;
    }
    .hub-campus {
        display: none;
    }
    .hub-btn--sm-hide {
        display: none;
    }
    .hub-story__foot a {
        margin-left: 0;
        width: 100%;
    }
    .hub-brand__one,
    .hub-brand__dash,
    .hub-brand__link {
        font-size: 22px;
    }
    .hub-brand__name em {
        font-size: 28px;
    }
    .hub-brand .app-logo,
    .hub-brand img {
        width: 48px;
        height: 48px;
    }
    .hub-school,
    .hub-brand small {
        font-size: .82rem;
    }
    .hub-top-actions .hub-btn {
        padding: 8px 10px;
    }
    .hub-pills {
        justify-content: center;
    }
}

.hub-home {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #1d6fe0;
    background: #e8f3ff;
    border: 1px solid #d3e4fb;
    text-decoration: none;
    font-size: 1.15rem;
    line-height: 1;
}

.hub-home:hover {
    color: #fff;
    background: #1d6fe0;
    border-color: #1d6fe0;
}

.hub-shell.hub-shell--file {
    align-items: stretch;
    background: #d7dee6;
    padding: 16px;
    min-height: calc(100vh - 98px);
    box-sizing: border-box;
}

.hub-shell.hub-shell--file .hub-main {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.p201 {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    padding: 22px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.p201-hero {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.p201-hero__icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.p201-hero__icon svg {
    width: 42px;
    height: 42px;
    display: block;
}

.p201-hero h1 {
    margin: 0;
    color: #1b2559;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
}

.p201-hero p {
    margin: 4px 0 0;
    color: #8b97a8;
    font-size: .95rem;
}

.p201-identity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #e6eef6;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(27, 37, 89, .04);
}

.p201-identity__who {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.p201-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #d7ebff;
    display: grid;
    place-items: center;
}

.p201-avatar img,
.p201-avatar svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p201-kicker {
    display: block;
    color: #8b97a8;
    font-size: .86rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.p201-identity strong {
    display: block;
    color: #1b2559;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.2;
}

.p201-identity small {
    display: block;
    margin-top: 3px;
    color: #8b97a8;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.p201-identity__id {
    text-align: right;
    flex-shrink: 0;
}

.p201-pill {
    display: inline-flex;
    align-items: center;
    background: #e7f1ff;
    color: #2f6fed;
    font-weight: 800;
    border-radius: 999px;
    padding: 7px 14px;
    line-height: 1;
}

.p201-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.p201-card {
    border: 1px solid #e6eef6;
    border-radius: 16px;
    padding: 16px 18px 18px;
    box-shadow: 0 6px 16px rgba(27, 37, 89, .04);
    background: #fff;
}

.p201-card > h2,
.p201-card > header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8eef5;
    color: #1b2559;
    font-size: 1.02rem;
    font-weight: 800;
}

.p201-card > header {
    justify-content: space-between;
}

.p201-card > header h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: #1b2559;
}

.p201-card > h2 i {
    color: #2f6fed;
    font-size: 1.05rem;
}

.p201-rows {
    display: grid;
    gap: 14px;
    margin: 0;
}

.p201-rows > div {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.p201-rows dt,
.p201-ids dt {
    margin: 0;
    color: #8b97a8;
    font-weight: 600;
    font-size: .92rem;
}

.p201-rows dd,
.p201-ids dd {
    margin: 0;
    color: #1c2740;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.p201-ids {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.p201-ids dd {
    margin-top: 4px;
    font-size: 1.02rem;
}

.p201-count {
    background: #e7f1ff;
    color: #2f6fed;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1;
}

.p201-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 12px 12px;
    color: #9aa6b5;
    text-align: center;
}

.p201-empty i {
    font-size: 2.6rem;
    color: #c5ced8;
    line-height: 1;
}

.p201-empty p {
    margin: 0;
    font-size: .95rem;
}

.p201-doclist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.p201-doclist li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 2px;
    border-top: 1px solid #eef3f8;
}

.p201-doclist li:first-child {
    border-top: 0;
    padding-top: 2px;
}

.p201-doclist strong {
    display: block;
    color: #1b2559;
    font-weight: 700;
}

.p201-doclist span {
    display: block;
    margin-top: 2px;
    color: #8b97a8;
    font-size: .82rem;
}

.p201-doclist a {
    color: #2f6fed;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.p201-doclist a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .p201-split,
    .p201-ids {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .hub-shell.hub-shell--file {
        padding: 10px;
        min-height: calc(100vh - 150px);
    }
    .p201 {
        padding: 16px 14px 20px;
        border-radius: 14px;
    }
    .p201-identity,
    .p201-split,
    .p201-ids,
    .p201-rows > div {
        grid-template-columns: 1fr;
    }
    .p201-identity {
        flex-direction: column;
        align-items: flex-start;
    }
    .p201-identity__id {
        text-align: left;
    }
    .p201-hero h1 {
        font-size: 1.35rem;
    }
}

.hub-mind {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e6eef6;
    border-radius: 18px;
    padding: 12px 14px;
    margin: 0 0 16px;
    box-shadow: 0 8px 22px rgba(27, 37, 89, .04);
}

.hub-mind__prompt {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: #f0f2f5;
    border-radius: 999px;
    padding: 6px 16px 6px 6px;
    color: #65676b;
    font-weight: 600;
    font-size: 1.02rem;
    text-align: left;
    cursor: pointer;
}

.hub-mind__prompt:hover {
    background: #e4e6eb;
}

.hub-mind__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--hub-navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.hub-mind__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hub-mind__tools {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.hub-mind__tool {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    cursor: pointer;
    line-height: 1;
}

.hub-mind__tool:hover {
    background: #f0f2f5;
}

.hub-mind__tool--live { color: #f02849; }
.hub-mind__tool--photo { color: #45bd62; }
.hub-mind__tool--video { color: #f3425f; }

.hub-post-dialog {
    max-width: 500px;
}

.hub-post-modal {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.hub-post-modal__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 12px 52px;
    border-bottom: 1px solid #e4e6eb;
}

.hub-post-modal__head h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #050505;
}

.hub-post-modal__close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #e4e6eb;
    color: #050505;
    display: grid;
    place-items: center;
}

.hub-post-modal__author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 0;
}

.hub-post-modal__author strong {
    color: #050505;
    font-size: .98rem;
}

.hub-post-format {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 10px 16px 0;
    padding: 6px;
    border: 1px solid #e4e6eb;
    border-radius: 10px;
    background: #f7f8fa;
}

.hub-post-format button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.hub-post-format button:hover {
    background: #e7f0ff;
    color: #1d6fe0;
}

.hub-post-gap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: .78rem;
    font-weight: 700;
    color: #475569;
}

.hub-post-gap select {
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    padding: 4px 8px;
    font: inherit;
    background: #fff;
    color: #0f172a;
}

.hub-post-editor {
    min-height: 150px;
    max-height: 320px;
    overflow: auto;
    padding: 12px 16px 8px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #050505;
    outline: none;
    overflow-wrap: anywhere;
}

.hub-post-editor:focus {
    outline: none;
}

.hub-post-editor.is-empty:before {
    content: attr(data-placeholder);
    color: #8a8d91;
    float: left;
    height: 0;
    pointer-events: none;
}

.hub-post-editor ul,
.hub-post-editor ol {
    margin: .35em 0 .35em 1.2em;
}

.hub-post-modal__preview {
    position: relative;
    margin: 0 16px 8px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f2f5;
}

.hub-post-modal__preview img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.hub-post-modal__preview button {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #050505;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.hub-post-modal__add {
    margin: 4px 16px 12px;
    border: 1px solid #e4e6eb;
    border-radius: 10px;
    padding: 8px 8px 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 700;
    color: #050505;
}

.hub-post-modal__submit {
    display: block;
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    background: #e4e6eb;
    color: #bcc0c4;
    font-weight: 700;
    font-size: 1rem;
}

.hub-post-modal__submit.is-ready {
    background: #1d6fe0;
    color: #fff;
}

.hub-post-modal__submit.is-ready:hover {
    background: #1a5fd0;
}

.hub-userpost {
    background: #fff;
    border: 1px solid var(--hub-line);
    border-radius: 18px;
    padding: 14px 16px 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 22px rgba(27, 37, 89, .04);
}

.hub-userpost__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hub-userpost__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2px;
}

.hub-userpost__edit {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8b97a8;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.hub-userpost__edit:hover {
    background: #eff6ff;
    color: #1d6fe0;
}

.hub-userpost__actions .hub-userpost__delete {
    margin-left: 0;
}

.hub-userpost__delete {
    margin-left: auto;
}

.hub-userpost__delete button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8b97a8;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.hub-userpost__delete button:hover {
    background: #fff1f2;
    color: #e11d48;
}

.hub-userpost__head strong {
    display: block;
    color: var(--hub-navy);
    line-height: 1.2;
}

.hub-userpost__head span:not(.hub-userpost__avatar) {
    display: block;
    color: #8b97a8;
    font-size: .8rem;
}

.hub-userpost__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--hub-navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .82rem;
    line-height: 1;
    text-align: center;
}

.hub-userpost__avatar img,
.hub-userpost__photo {
    width: 100%;
    display: block;
}

.hub-userpost__avatar img {
    height: 100%;
    object-fit: cover;
}

.hub-userpost__text {
    margin: 12px 0 0;
    color: var(--hub-ink);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.hub-userpost__text.is-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.hub-userpost__text.is-rich {
    white-space: normal;
}

.hub-userpost__text.is-rich :where(p, div) {
    margin: 0 0 .45em;
}

.hub-userpost__text.is-rich :where(p, div):last-child {
    margin-bottom: 0;
}

.hub-userpost__text.is-rich ul,
.hub-userpost__text.is-rich ol {
    margin: .35em 0 .55em 1.25em;
}

.hub-userpost__text.is-rich li {
    margin: .12em 0;
}

.hub-userpost__more,
.hub-userpost__comments-btn {
    border: 0;
    background: transparent;
    color: #65676b;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
}

.hub-userpost__more {
    margin-top: 4px;
}

.hub-userpost__more:hover,
.hub-userpost__comments-btn:hover,
.hub-userpost__viewers-btn:hover {
    text-decoration: underline;
}

.hub-userpost__viewers-btn {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer;
}

.hub-userpost__viewers {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.hub-userpost__viewers-title {
    margin: 0;
    color: var(--hub-navy);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.hub-userpost__viewers-empty {
    margin: 0;
    color: var(--hub-muted);
    font-size: .86rem;
}

.hub-userpost__viewers p:not(.hub-userpost__viewers-title):not(.hub-userpost__viewers-empty) {
    margin: 0;
    background: #f0f2f5;
    border-radius: 12px;
    padding: 8px 10px;
    color: var(--hub-ink);
}

.hub-userpost__viewers strong,
.hub-userpost__viewers span {
    display: block;
}

.hub-userpost__viewers strong {
    color: var(--hub-navy);
}

.hub-userpost__viewers span {
    color: var(--hub-muted);
    font-size: .78rem;
    margin-top: 2px;
}

.hub-userpost__foot {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eef3f8;
}

.hub-userpost__foot form {
    margin: 0;
}

.hub-userpost__comments {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.hub-userpost__comments p {
    margin: 0;
    background: #f0f2f5;
    border-radius: 12px;
    padding: 8px 10px;
    color: var(--hub-ink);
}

.hub-userpost__comments strong {
    margin-right: 6px;
    color: var(--hub-navy);
}

.hub-userpost__comments form {
    display: flex;
    gap: 8px;
}

.hub-userpost__comments input {
    flex: 1;
    min-width: 0;
    border: 1px solid #e4e6eb;
    border-radius: 999px;
    padding: 8px 12px;
    font: inherit;
}

.hub-userpost__comments button {
    border: 0;
    border-radius: 999px;
    background: #1d6fe0;
    color: #fff;
    font-weight: 700;
    padding: 8px 12px;
}

.hub-userpost__photo {
    margin-top: 12px;
    border-radius: 12px;
    max-height: 520px;
    object-fit: cover;
    background: #f0f2f5;
}

@media (max-width: 680px) {
    .hub-mind {
        flex-wrap: wrap;
    }
    .hub-mind__prompt {
        flex-basis: 100%;
    }
    .hub-mind__tools {
        margin-left: auto;
    }
    .hub-post-editor {
        font-size: 1.05rem;
        min-height: 120px;
    }
    .hub-post-dialog {
        margin: 12px;
    }
}

/* Keep campus chrome and long labels inside their grid columns. */
.hub-topbar__inner > *,
.hub-nav__section,
.hub-nav__list,
.hub-profile__body,
.hub-footer__inner > * {
    min-width: 0;
}
.hub-nav__item span,
.hub-profile__name,
.hub-profile__role,
.hub-file dd,
.hub-footer__brand > span {
    overflow-wrap: anywhere;
}
.hub-nav__item--office { white-space: normal; }
.hub-nav__item { min-height: 44px; }
.hub-nav__item i { flex-shrink: 0; }
.hub-footer__links { flex-wrap: wrap; }
.hub-nav__toggle:focus-visible,
.hub-menu:focus-visible,
.hub-nav__item:focus-visible,
.hub-btn:focus-visible {
    outline: 3px solid var(--hub-blue);
    outline-offset: 3px;
}

@media (min-width: 981px) and (max-width: 1180px) {
    .hub-topbar__inner { flex-wrap: wrap; }
    .hub-brand { min-width: 0; flex: 1 1 auto; }
    .hub-search { order: 3; flex-basis: 100%; max-width: none; }
}

@media (max-width: 980px) {
    .hub-nav,
    .hub-nav.is-collapsed {
        max-height: 100dvh;
        padding-bottom: max(16px, env(safe-area-inset-bottom));
        padding-top: max(12px, env(safe-area-inset-top));
        overscroll-behavior: contain;
        visibility: hidden;
        transition: transform .2s ease, visibility .2s;
    }
    body.hub-nav-open .hub-nav { visibility: visible; }
    .hub-menu,
    .hub-nav__toggle { min-height: 44px; min-width: 44px; }
    .hub-brand__text { min-width: 0; }
    .hub-search { min-width: 0; min-height: 44px; }
    .hub-search input { font-size: 16px; }
    .hub-footer__links { justify-content: center; }
}

/* A compact single-row brand/action bar leaves space for the campus search. */
@media (max-width: 540px) {
    .hub-topbar__inner { padding: 8px; gap: 6px; }
    .hub-brand { gap: 0; flex: 1 1 0; }
    .hub-brand .app-logo,
    .hub-brand img,
    .hub-brand small,
    .hub-brand .hub-school,
    .hub-top-actions .hub-home { display: none; }
    .hub-brand__one,
    .hub-brand__dash,
    .hub-brand__link { font-size: 18px; }
    .hub-brand__one { margin-right: 6px; }
    .hub-brand__name em { font-size: 24px; }
    .hub-top-actions { flex-wrap: nowrap; gap: 4px; }
    .hub-top-actions .hub-bell,
    .hub-top-actions .hub-user__btn,
    .hub-top-actions .hub-user__avatar {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        flex: 0 0 44px;
    }
    .hub-shell,
    .hub-shell.is-nav-collapsed { gap: 12px; padding-inline: 10px; }
    .hub-profile__body { padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .hub-nav,
    .hub-nav.is-collapsed { transition: none; }
}

.hub-nav__workspace > summary.hub-nav__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 8px 14px;
    min-height: 44px;
    border-radius: 10px;
    list-style: none;
    cursor: pointer;
}

.hub-nav__workspace > summary.hub-nav__label::-webkit-details-marker,
.hub-nav__workspace > summary.hub-nav__label::marker {
    display: none;
    content: "";
}

.hub-nav__workspace > summary .hub-nav__chevron {
    margin-left: auto;
    transition: transform .15s ease;
}

.hub-nav__workspace[open] > summary .hub-nav__chevron {
    transform: rotate(180deg);
}

.hub-nav__departments {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hub-nav__departments .hub-nav__item--office {
    align-items: flex-start;
    min-height: 44px;
    white-space: normal;
}

.hub-nav__departments .hub-nav__item--office > i:first-child {
    margin-top: 2px;
}

.hub-nav__item:focus-visible,
.hub-nav__workspace > summary:focus-visible,
.hub-nav__drop > summary:focus-visible,
.hub-nav__group > summary:focus-visible {
    outline: 2px solid #2f6fed;
    outline-offset: 2px;
}

@media (max-width: 980px) {
    .hub-nav__departments .hub-nav__item,
    .hub-nav__departments .hub-nav__item--sub {
        min-height: 44px;
    }
}

/* Module pages keep the sidebar and the main panel on separate scrollports. */
@media (min-width: 981px) {
    body.hub-body:has(> main.hub-shell--fill) {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    body.hub-body:has(> main.hub-shell--fill) > .hub-topbar,
    body.hub-body:has(> main.hub-shell--fill) > .hub-footer {
        flex-shrink: 0;
    }

    main.hub-shell--fill {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        align-items: stretch;
        padding-bottom: 12px;
    }

    main.hub-shell--fill > .hub-nav,
    main.hub-shell--fill > .hub-main {
        min-height: 0;
        max-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    main.hub-shell--fill > .hub-nav {
        position: relative;
        top: auto;
    }

    .hub-shell--fill .hub-main {
        min-height: 0;
    }
}

.hub-main.is-panel-loading {
    position: relative;
    cursor: progress;
}

.hub-main.is-panel-loading > :not(.hub-panel-skeleton):not(.hub-panel-error) {
    visibility: hidden;
}

.hub-main.is-panel-loading::before {
    content: "";
    position: sticky;
    top: 0;
    left: 0;
    display: block;
    height: 3px;
    z-index: 8;
    background: linear-gradient(90deg, #2f6fed, #14b8a6, #2f6fed);
    background-size: 200% 100%;
    animation: hub-panel-bar .9s linear infinite;
}

.hub-panel-skeleton {
    position: absolute;
    inset: 0;
    z-index: 7;
    overflow: hidden;
    padding: 4px 2px 28px;
    background: var(--hub-bg);
    pointer-events: auto;
}

.hub-panel-skeleton__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hub-skel {
    display: block;
    border-radius: 10px;
    background: linear-gradient(90deg, #e4ebf3 0%, #f8fafc 42%, #e4ebf3 84%);
    background-size: 220% 100%;
    animation: hub-skel-shimmer 1.15s ease-in-out infinite;
}

.hub-skel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.hub-skel--title {
    height: 28px;
    width: min(280px, 48%);
}

.hub-skel--chip {
    height: 28px;
    width: 96px;
    border-radius: 999px;
    flex-shrink: 0;
}

.hub-skel--line {
    height: 12px;
    width: min(460px, 72%);
    margin-bottom: 10px;
}

.hub-skel--short {
    width: min(260px, 42%);
    margin-bottom: 18px;
}

.hub-skel-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.hub-skel--card {
    height: 96px;
    border-radius: 16px;
    background: linear-gradient(90deg, #ffffff 0%, #f3f7fb 42%, #ffffff 84%);
    background-size: 220% 100%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.hub-skel--block {
    height: 168px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: linear-gradient(90deg, #ffffff 0%, #f3f7fb 42%, #ffffff 84%);
    background-size: 220% 100%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.hub-skel--row {
    height: 46px;
    margin-bottom: 10px;
    border-radius: 12px;
}

.hub-skel--mid {
    width: 68%;
}

@keyframes hub-skel-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

@media (max-width: 720px) {
    .hub-skel-cards {
        grid-template-columns: 1fr;
    }

    .hub-skel--card {
        height: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hub-skel,
    .hub-skel--card,
    .hub-skel--block {
        animation: none;
    }
}

@keyframes hub-panel-bar {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

.hub-panel-error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #fecdd3;
    border-radius: 12px;
    background: #fff1f2;
    color: #9f1239;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    justify-content: space-between;
}

.hub-panel-error button {
    border: 0;
    border-radius: 8px;
    background: #9f1239;
    color: #fff;
    padding: 6px 12px;
    font-weight: 600;
}
