/*
 * Havering Mosque Hub: "Navy & gold" look (mockup option A, Nov 2026).
 * Colours come from the Havering Mosque logo. Changes only how screens look.
 * Navy #14253e · gold #e7c97b (decoration and text on navy only: too pale for text on white)
 * Text #1b2430 · secondary text #59606b · background #f6f5f2 · lines #e3e1db
 */

:root:root {
    --font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
        Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-2xl: 10px;
    --hub-navy: #14253e;
    --hub-gold: #e7c97b;
    --hub-text: #1b2430;
    --hub-muted: #59606b;
    --hub-line: #e3e1db;
    --hub-line-soft: #eeece7;
    --hub-field: #c9c6be;
}

.fi-body {
    background-color: #f6f5f2;
    color: var(--hub-text);
    font-size: 15px;
}

/* ---------- Logo ---------- */
.hub-brand {
    /* Logo width; "HUB" is sized from it. In the logo file (720 px wide) the dome's flat
       base starts 22 px in and is 193 px wide. */
    --hub-logo-w: 190px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hub-brand img {
    width: var(--hub-logo-w);
    height: auto;
    display: block;
}
.hub-brand-on-light {
    display: none !important;
}
.hub-brand-name {
    display: flex;
    justify-content: space-between;
    width: calc(var(--hub-logo-w) * 193 / 720);
    margin-inline-start: calc(var(--hub-logo-w) * 22 / 720);
    font-size: calc(var(--hub-logo-w) * 0.09);
    line-height: 1;
    font-weight: 600;
    color: var(--hub-gold);
}

/* ---------- Navy side menu ---------- */
.fi-sidebar {
    background-color: var(--hub-navy);
    color: #d9dee7;
}
.fi-sidebar-header {
    background-color: var(--hub-navy);
    box-shadow: none;
    padding: 28px 24px 12px;
    height: auto;
}
.fi-sidebar-nav {
    padding: 16px 16px;
}
.fi-sidebar-item-btn {
    position: relative;
    padding: 11px 16px;
    border-radius: 6px;
    background-color: transparent;
}
.fi-sidebar-item-btn:hover,
.fi-sidebar-item-btn:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
}
.fi-sidebar-item-label {
    font-size: 15px;
    font-weight: 400;
    color: #d9dee7;
}
.fi-sidebar-item-icon {
    color: #aeb7c6;
}
.fi-sidebar-item.fi-active > .fi-sidebar-item-btn {
    background-color: rgba(231, 201, 123, 0.14);
    box-shadow: inset 3px 0 0 var(--hub-gold);
}
.fi-sidebar-item.fi-active .fi-sidebar-item-label {
    color: #ffffff;
    font-weight: 600;
}
.fi-sidebar-item.fi-active .fi-sidebar-item-icon {
    color: var(--hub-gold);
}
.fi-sidebar-group-label {
    color: #aeb7c6;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.fi-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 16px;
}
.fi-sidebar-footer .fi-user-menu-trigger,
.fi-sidebar-footer .fi-user-menu-trigger * {
    color: #ffffff;
}
.fi-sidebar-footer .fi-user-menu-trigger:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* ---------- Page headings ---------- */
.fi-header-heading {
    font-size: 30px;
    line-height: 38px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--hub-navy);
}
.fi-header-subheading {
    font-size: 15px;
    color: var(--hub-muted);
}
.fi-breadcrumbs-item-label {
    font-size: 14px;
    color: var(--hub-muted);
}

/* ---------- Cards ---------- */
.fi-section:not(.fi-section-not-contained),
.fi-ta-ctn,
.fi-sc-tabs.fi-contained {
    background-color: #ffffff;
    border: 1px solid var(--hub-line);
    border-radius: 8px;
    box-shadow: none;
}
.fi-section-header-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--hub-navy);
}
.fi-section-header-description {
    color: var(--hub-muted);
}

/* ---------- Tabs: navy text, gold underline ---------- */
.fi-tabs-item {
    position: relative;
    border-radius: 6px;
    background-color: transparent;
}
.fi-tabs-item:hover {
    background-color: #f6f5f2;
}
.fi-tabs-item.fi-active {
    background-color: transparent;
}
.fi-tabs-item.fi-active::after {
    content: "";
    position: absolute;
    inset-inline: 8px;
    bottom: -2px;
    height: 3px;
    border-radius: 2px;
    background-color: #c9a24a;
}
.fi-tabs-item-label {
    font-size: 15px;
    color: #4a5361;
}
.fi-tabs-item.fi-active .fi-tabs-item-label {
    color: var(--hub-navy);
    font-weight: 600;
}

/* ---------- Form fields: bigger and clearer ---------- */
.fi-fo-field-label-content {
    font-size: 14px;
    font-weight: 600;
    color: var(--hub-text);
}
.fi-input-wrp {
    min-height: 44px;
    border: 1px solid var(--hub-field);
    border-radius: 6px;
    box-shadow: none;
    background-color: #ffffff;
}
.fi-input-wrp .fi-input,
.fi-input-wrp .fi-select-input {
    font-size: 15px;
    padding-block: 10px;
}
/* Drop-downs: the same 44px height as text and date boxes (their button has its own padding). */
.fi-input-wrp .fi-select-input:has(.fi-select-input-btn) {
    padding-block: 3px;
}
.fi-input-wrp:not(.fi-disabled):not(:has(.fi-input-wrp-actions :focus)):focus-within {
    border-color: var(--hub-navy);
    box-shadow: 0 0 0 1px var(--hub-navy);
}
.fi-input-wrp.fi-invalid {
    border-color: #b42318;
    box-shadow: 0 0 0 1px #b42318;
}
.fi-fo-field-wrp-helper-text,
.fi-sc-text {
    font-size: 13px;
    color: var(--hub-muted);
}
.fi-fo-radio-label-text,
.fi-fo-checkbox-list-option-label {
    font-size: 15px;
}
.fi-checkbox-input:checked,
.fi-radio-input:checked {
    background-color: var(--hub-navy);
    border-color: var(--hub-navy);
}

/* ---------- Buttons ---------- */
.fi-btn {
    min-height: 44px;
    padding-inline: 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}
.fi-btn.fi-color-gray,
.fi-btn:not(.fi-color) {
    background-color: #ffffff;
    border: 1px solid var(--hub-field);
    box-shadow: none;
    color: var(--hub-text);
}
.fi-btn.fi-color-gray:hover,
.fi-btn:not(.fi-color):hover {
    background-color: #f6f5f2;
}

/* ---------- Tables ---------- */
.fi-ta-header-cell {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #4a5361;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background-color: #fbfaf8;
}
.fi-ta-text:not(.fi-inline) {
    padding: 14px 20px;
}
.fi-ta-text-item,
.fi-ta-text {
    font-size: 15px;
}
.fi-ta-cell:has(.fi-ta-actions) {
    padding-block: 14px;
}
.fi-ta-row {
    border-color: var(--hub-line-soft);
}
.fi-ta-row.fi-clickable:hover {
    background-color: #faf9f6;
}
.fi-ta-header-toolbar {
    padding: 16px 20px;
}
.fi-ta-search-field .fi-input-wrp {
    min-width: 320px;
}

/* Yes / No and other labels: rounded pills */
.fi-badge {
    border-radius: 999px;
    padding-inline: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* ---------- Sign-in page ---------- */
.fi-simple-layout {
    background-color: #f6f5f2;
}
.fi-simple-main {
    max-width: 440px;
    padding: 40px;
    border: 1px solid var(--hub-line);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(20, 37, 62, 0.06);
}
.fi-simple-layout .hub-brand-on-navy {
    display: none !important;
}
.fi-simple-layout .hub-brand-on-light {
    display: block !important;
}
.fi-simple-layout .hub-brand {
    --hub-logo-w: 220px;
    align-items: flex-start;
    margin-inline: auto;
}
.fi-simple-layout .hub-brand-name {
    color: var(--hub-navy);
}
.fi-simple-header-heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--hub-navy);
}

/* ---------- Pop-ups ---------- */
.fi-dropdown-panel,
.fi-modal-window {
    border-radius: 8px;
}

/* List page: Current / Left / All tabs on the left, above the list */
.fi-resource-list-records-page .fi-tabs {
    margin-inline: 0;
}

/* Tab rows: a plain left-aligned row with a line under it, not a floating box */
.fi-sc-tabs:not(.fi-contained) > .fi-tabs,
.fi-resource-list-records-page .fi-tabs {
    margin-inline: 0;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    column-gap: 10px;
    row-gap: 0;
    flex-wrap: wrap;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--hub-line);
    border-radius: 0;
}
.fi-sc-tabs:not(.fi-contained) > .fi-tabs .fi-tabs-item,
.fi-resource-list-records-page .fi-tabs .fi-tabs-item {
    padding: 12px 4px;
}

/* View pages: grey field names, dark values */
.fi-in-entry-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--hub-muted);
}
.fi-in-text-item,
.fi-in-text {
    font-size: 15px;
    color: var(--hub-text);
}

/* Read-only labels inside table rows (e.g. the day names on the Hours tab): plain text */
.fi-input-wrp.hub-plain-text,
.fi-input-wrp.hub-plain-text:hover,
.fi-input-wrp.hub-plain-text:focus-within {
    border-color: transparent;
    background-color: transparent;
    box-shadow: none;
}
.hub-plain-text .fi-input {
    font-weight: 600;
    color: var(--hub-text);
    cursor: default;
}

/* Links on view pages (certificates, documents): underlined so they look clickable */
.fi-in-entry a .fi-in-text-item,
.fi-in-entry a.fi-in-text-item {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Hours worked: a missing clock-in/out and times changed by hand */
.hub-missing {
    color: #b42318;
    font-weight: 600;
}
.hub-edited {
    color: #8a5a00;
    font-weight: 600;
}
.hub-edited small {
    font-weight: 400;
}
.hub-sep {
    color: #a19d94;
}

/* Students: class name with a swatch of its colour */
.hub-class {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hub-class-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    flex: none;
}

/* Students: safeguarding issues and file links on the view page */
.hub-safeguarding + .hub-safeguarding {
    margin-top: 8px;
}
.hub-pill {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.hub-pill-danger {
    background: #fde8e7;
    color: #b42318;
}
.hub-pill-muted {
    background: var(--hub-line-soft);
    color: var(--hub-muted);
}
a.hub-file-link {
    color: var(--hub-navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Clock-in QR page */
.hub-clock-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.hub-clock-qr {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.hub-clock-qr img {
    flex: none;
    border: 1px solid var(--hub-line);
    border-radius: 6px;
}
.hub-clock-grid p + p {
    margin-top: 8px;
}
.hub-muted {
    color: var(--hub-muted);
    font-size: 0.875rem;
}
.hub-ok {
    color: #14532d;
    font-weight: 600;
}
.hub-bad {
    color: #b42318;
    font-weight: 600;
}
.hub-pill-warning {
    background: #fdf1d8;
    color: #8a5a00;
}
.hub-pill[title] {
    cursor: help;
}
.hub-session {
    white-space: nowrap;
}

/* "View" pop-up for certificates and documents */
.hub-file-preview iframe {
    width: 100%;
    height: 70vh;
    border: 1px solid var(--hub-line);
    border-radius: 6px;
}
.hub-file-preview img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
}
.hub-file-preview p {
    margin-top: 12px;
}

/* Tracker report pop-up */
.hub-tracker h3 {
    font-weight: 600;
    margin: 18px 0 8px;
}
.hub-tracker h3:first-child {
    margin-top: 0;
}
.hub-tracker-scroll {
    overflow-x: auto;
}
.hub-tracker table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.875rem;
}
.hub-tracker th,
.hub-tracker td {
    border: 1px solid var(--hub-line);
    padding: 6px 8px;
    text-align: center;
}
.hub-tracker th:first-child,
.hub-tracker td:first-child {
    text-align: left;
    white-space: nowrap;
}
.hub-tracker thead th {
    background: var(--hub-line-soft);
    font-weight: 600;
}
.hub-tracker-box {
    display: inline-block;
    width: 60px;
    height: 18px;
    border-radius: 4px;
}

/* Welcome email pop-up */
.hub-email-preview dl {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 6px 12px;
    margin-bottom: 12px;
}
.hub-email-preview dt {
    color: var(--hub-muted);
}
.hub-email-preview p + p {
    margin-top: 8px;
}

/* Lists: columns keep the same widths whichever tab (Current, Left, All...) is open - on wide screens only.
   On laptops fixed widths squeezed the buttons and badges out of their columns (Bugs 11), so there the
   columns size to their contents, cells are tighter and buttons wrap. */
@media (min-width: 1600px) {
    .fi-resource-list-records-page .fi-ta-table {
        table-layout: fixed;
    }
}
@media (max-width: 1599px) {
    .fi-ta-header-cell { padding: 12px 10px; font-size: 12px; letter-spacing: 0.02em; }
    .fi-ta-text:not(.fi-inline) { padding: 12px 10px; }
    .fi-ta-text-item, .fi-ta-text { font-size: 14px; }
    .fi-ta-cell:has(.fi-ta-actions) { padding-inline: 10px; }
}
.fi-ta-actions { flex-wrap: wrap; row-gap: 6px; }
.fi-ta-cell .fi-badge { white-space: nowrap; }

/* Tabs: wrap onto a second line on narrow screens instead of hiding tabs off the edge, and
   never show a scroll bar (Windows drew a small one because the gold underline sits just below) */
.fi-tabs,
.fi-sc-tabs:not(.fi-contained) > .fi-tabs,
.fi-resource-list-records-page .fi-tabs {
    flex-wrap: wrap;
    overflow: visible;
}

/* "Save Changes?" box when leaving a form with unsaved changes */
.hub-unsaved {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 37, 62, 0.45);
}
.hub-unsaved[hidden] {
    display: none;
}
.hub-unsaved-box {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    width: min(420px, calc(100vw - 32px));
    box-shadow: 0 20px 40px rgba(20, 37, 62, 0.25);
}
.hub-unsaved-box h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--hub-navy);
    margin: 0 0 20px;
}
.hub-unsaved-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.hub-unsaved-buttons button {
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}
.hub-unsaved-save {
    background: var(--hub-navy);
    color: #fff;
    border: 1px solid var(--hub-navy);
}
.hub-unsaved-other {
    background: #fff;
    color: var(--hub-text);
    border: 1px solid var(--hub-field);
}
.hub-unsaved-buttons button:focus-visible {
    outline: 2px solid var(--hub-gold);
    outline-offset: 2px;
}

/* Madrasah: a class shown in its own colours (class colours list, seating plans) */
.hub-class-chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Tracker matrix */
.hub-matrix-wrap { overflow-x: auto; }
.hub-matrix { border-collapse: collapse; font-size: 0.85rem; min-width: 100%; }
.hub-matrix th, .hub-matrix td { border: 1px solid var(--hub-line); padding: 6px 8px; text-align: center; }
.hub-matrix th { background: #f6f5f2; font-weight: 600; color: var(--hub-text); }
.hub-matrix .hub-matrix-name { text-align: left; white-space: nowrap; position: sticky; left: 0; background: #fff; font-weight: 600; z-index: 1; }
.hub-matrix thead .hub-matrix-name { background: #f6f5f2; }
.hub-matrix .hub-matrix-head { font-size: 0.75rem; font-weight: 500; color: var(--hub-muted); max-width: 70px; }
.hub-matrix .hub-matrix-cell { min-width: 34px; height: 30px; }
.hub-matrix .hub-matrix-text { font-size: 0.75rem; text-align: left; white-space: nowrap; }
.hub-matrix .hub-matrix-date { white-space: nowrap; color: var(--hub-muted); }

/* Small tables inside a view page (card checkout settings) */
.hub-mini-table { border-collapse: collapse; font-size: 0.85rem; width: 100%; }
.hub-mini-table th, .hub-mini-table td { border-bottom: 1px solid var(--hub-line); padding: 4px 6px; text-align: left; }
.hub-mini-table th { color: var(--hub-muted); font-weight: 600; }

/* Rights grid on the staff record (resources/views/filament/forms/rights-grid.blade.php). */
.hub-rg-help { color: var(--hub-muted); font-size: 0.875rem; margin: 0 0 12px; }
.hub-rg-module { border: 1px solid var(--hub-line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.hub-rg-module > summary { display: flex; align-items: center; gap: 14px; padding: 10px 14px; cursor: pointer; list-style: none; background: #f6f5f2; border-radius: 10px; }
.hub-rg-module[open] > summary { border-bottom: 1px solid var(--hub-line); border-radius: 10px 10px 0 0; }
.hub-rg-module > summary::-webkit-details-marker { display: none; }
.hub-rg-module > summary::before { content: '▸'; color: var(--hub-muted); width: 10px; }
.hub-rg-module[open] > summary::before { content: '▾'; }
.hub-rg-title { font-weight: 600; color: var(--hub-navy); flex: 1; }
.hub-rg-open { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--hub-navy); }
.hub-rg-bulk button { font-size: 0.8rem; color: var(--hub-navy); text-decoration: underline; margin-left: 10px; background: none; border: 0; cursor: pointer; }
.hub-rg-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hub-rg-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--hub-muted); font-weight: 600; padding: 8px 6px; text-align: center; width: 78px; }
.hub-rg-table th:first-child { text-align: left; width: auto; }
.hub-rg-table td { border-top: 1px solid var(--hub-line); padding: 7px 6px; text-align: center; }
.hub-rg-table td:first-child { text-align: left; }
.hub-rg-screen td:first-child { font-weight: 600; color: var(--hub-navy); padding-left: 14px; }
.hub-rg-sub td:first-child { padding-left: 32px; color: #3b4350; }
.hub-rg-kind { display: inline-block; min-width: 52px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--hub-muted); }
.hub-rg-allow { text-align: left !important; padding-left: 30px !important; }
.hub-rg-allow span { font-size: 0.85rem; color: var(--hub-muted); margin-left: 4px; }
.hub-rg-box { width: 18px; height: 18px; accent-color: var(--hub-navy); cursor: pointer; vertical-align: middle; }
.hub-rg-box:disabled { cursor: not-allowed; opacity: .55; }
.hub-rg-box.hub-rg-off { opacity: .35; }
.hub-rg-na { color: #c4c7cd; }
.hub-rg-yes { color: #18794e; font-weight: 700; }
.hub-rg-no { color: #b9bdc6; }

/* A toggle sitting in a row of drop-downs: boxed, the same height as them (Staff reports > training). */
.hub-toggle-box .fi-fo-field-content-col,
.hub-toggle-box .fi-fo-field-content-ctn {
    min-height: 44px;
    border: 1px solid var(--hub-field);
    border-radius: var(--radius-md);
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

/* Seating plan (Madrasah > Seating plans): seats in the class colour once taken; front at the bottom. */
.hub-seat { border: 1px solid var(--hub-line); border-radius: 10px; padding: 8px 10px 10px; background: #f4f6f8; }
.hub-seat-taken { background: var(--seat-bg); border-color: rgba(0,0,0,.12); }
.hub-seat-taken .fi-fo-field-label-content { color: var(--seat-text); }
.hub-seat-front { margin-top: 14px; text-align: center; padding: 8px; border: 1px dashed #c9c6be; border-radius: 8px; color: var(--hub-muted); font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; }

/* Accounts reports: where a report's payments come from */
.hub-source {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #e8edf5;
    color: var(--hub-navy);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Document tables: the file box is a small "Choose file" button (like the View button). */
.hub-file-button .filepond--root { min-height: 2.25rem; margin-bottom: 0; }
.hub-file-button .filepond--panel-root { background: transparent; border: 0; }
.hub-file-button .filepond--drop-label { min-height: 2.25rem; justify-content: flex-start; }
.hub-file-button .filepond--drop-label label { padding: 0; }
.hub-upload-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 8px; white-space: nowrap;
    border: 1px solid #d6d3cd; background: #fff;
    color: var(--hub-navy); font-weight: 600; font-size: 0.875rem; cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.hub-upload-btn svg { width: 16px; height: 16px; color: #6b7280; }
.hub-upload-btn:hover { background: #f6f5f2; }

/* Email templates: the [words] a box can use */
.hub-words { display: inline; line-height: 2; }
.hub-word { display: inline-block; margin: 0 2px 2px 0; padding: 0 6px; border-radius: 6px; background: #eef1f6; color: var(--hub-navy); font-size: 0.78rem; white-space: nowrap; }

/* Pending student > Contacted: the three ticks. */
.hub-tick {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; margin-right: 10px; vertical-align: -5px;
    border: 2px solid #9aa1ab; border-radius: 5px; font-weight: 700; font-size: 14px; color: #fff;
}
.hub-tick.on { background: #16a34a; border-color: #16a34a; }
.hub-tick-comment { margin: 6px 0 0 32px; color: var(--hub-muted); white-space: normal; }

/* Students list: named in a safeguarding report. */
.hub-s-badge { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; margin-left:6px;
    border-radius:50%; background:#b42318; color:#fff; font-size:11px; font-weight:800; vertical-align:1px; }
.hub-report dt { font-weight:600; margin-top:12px; }
.hub-report dd { margin:2px 0 0; white-space:pre-wrap; }
.hub-report img { max-width:100%; border:1px solid #e3e1db; border-radius:6px; margin-top:6px; background:#fff; }
.hub-link { color: var(--primary-700, #14253e); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
