/* UNITE HPC Access: the rep hub. Builds on access.css. */
.uh-access.uh-hub { max-width: 1120px; }
/* The UNITE HPC theme keeps page text in a narrow reading column. The hub has tables, so let it use the full width. */
.uh-prose:has(.uh-hub) { max-width: none; }

/* section tabs: one row that scrolls sideways on a phone */
.uh-hub-nav { margin: 0 0 20px; border-bottom: 2px solid var(--uh-a-line); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.uh-hub-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; min-width: max-content; }
.uh-hub-nav a {
	display: block;
	padding: 12px 14px;
	border-radius: 8px 8px 0 0;
	color: var(--uh-a-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.uh-hub-nav a:hover { background: var(--uh-a-soft); }
.uh-hub-nav a.is-current { background: var(--uh-a-red); color: #fff; }

.uh-hub-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.uh-hub-head h2 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.7rem); overflow-wrap: anywhere; }
.uh-hub-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.uh-hub h3 { margin: 0 0 12px; font-size: 1.1rem; }

.uh-hub-btn-small { min-height: 40px; padding: 8px 14px; font-size: .95rem; }
form.uh-hub-inline { display: inline-block; margin: 0; }
.uh-hub-form.uh-hub-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.uh-hub-form.uh-hub-row .uh-hub-fields { flex: 1 1 240px; display: block; }
.uh-hub-form.uh-hub-row p { margin: 0; }

/* fields: two columns where there is room */
.uh-hub-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 20px; }
.uh-hub-field--wide { grid-column: 1 / -1; }
.uh-hub-form select,
.uh-hub-form textarea,
.uh-hub-form input[type="date"],
.uh-hub-form input[type="number"],
.uh-hub-form input[type="tel"],
.uh-hub-form input[type="search"],
.uh-hub-filter select,
.uh-hub-filter input[type="search"] {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #857371;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	font: inherit;
}
.uh-hub-form textarea { min-height: 96px; resize: vertical; }
.uh-hub-form input[type="file"] { display: block; width: 100%; padding: 8px 0; font: inherit; }
.uh-hub-form select:focus-visible,
.uh-hub-form textarea:focus-visible,
.uh-hub-filter select:focus-visible,
.uh-hub-filter input:focus-visible { outline: 3px solid #1d5fbf; outline-offset: 2px; }
.uh-hub-req { color: var(--uh-a-red); }
.uh-hub-checks { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--uh-a-line); border-radius: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 16px; }
.uh-hub-checks legend { padding: 0 6px; font-weight: 600; }
.uh-hub-checks p { margin: 0; }

/* files that go with one line of a weekly report */
.uh-hub-linefiles { list-style: none; margin: 6px 0 0; padding: 0; font-size: .92em; }
.uh-hub-linefiles li { margin: 2px 0; overflow-wrap: anywhere; }
.uh-hub-linefiles form { display: inline; }
.uh-hub-subhead { grid-column: 1 / -1; margin: 12px 0 0; font-weight: 600; }

.uh-hub-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.uh-hub-filter select,
.uh-hub-filter input[type="search"] { flex: 1 1 160px; width: auto; min-height: 40px; padding: 6px 10px; }

/* tables: cards on a phone */
.uh-hub-tablewrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--uh-a-line); border-radius: 10px; background: #fff; }
.uh-hub-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.uh-hub-table th,
.uh-hub-table td { padding: 10px 12px; border-bottom: 1px solid var(--uh-a-line); text-align: left; vertical-align: top; }
.uh-hub-table th { background: var(--uh-a-soft); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--uh-a-muted); white-space: nowrap; }
.uh-hub-table tr:last-child td { border-bottom: 0; }
.uh-hub-table td { overflow-wrap: anywhere; }
@media (max-width: 720px) {
	.uh-hub-tablewrap { border: 0; background: none; overflow: visible; }
	.uh-hub-table thead { position: absolute; left: -9999px; }
	.uh-hub-table, .uh-hub-table tbody, .uh-hub-table tr, .uh-hub-table td { display: block; width: 100%; }
	.uh-hub-table tr { margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--uh-a-line); border-radius: 10px; background: #fff; }
	.uh-hub-table td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 8px; padding: 6px 0; border: 0; }
	.uh-hub-table td::before { content: attr(data-label); color: var(--uh-a-muted); font-size: .8rem; font-weight: 600; }
	.uh-hub-table td:empty { display: none; }
}

.uh-hub-empty { color: var(--uh-a-muted); }
.uh-hub-pager { display: flex; gap: 16px; align-items: center; margin: 0 0 16px; }

.uh-hub-tag {
	display: inline-block;
	padding: 2px 9px;
	border: 1px solid #1d5fbf;
	border-radius: 999px;
	background: #eef4fd;
	color: #123f85;
	font-size: .8rem;
	font-weight: 700;
	white-space: nowrap;
}
.uh-hub-tag--warn { border-color: #ba1a1a; background: #ffedea; color: #8c1d17; }
.uh-hub-tag--ok { border-color: #1b7a43; background: #eef8f1; color: #14572f; }
.uh-hub-tag--muted { border-color: #857371; background: #f4f1f0; color: #534342; }

.uh-hub-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; margin: 0 0 20px; padding: 16px 20px; border: 1px solid var(--uh-a-line); border-radius: 12px; background: #fff; }
.uh-hub-details dt { color: var(--uh-a-muted); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.uh-hub-details dd { margin: 2px 0 0; overflow-wrap: anywhere; }

.uh-hub-notes,
.uh-hub-history { list-style: none; margin: 0 0 16px; padding: 0; }
.uh-hub-notes li { padding: 12px 0; border-bottom: 1px solid var(--uh-a-line); }
.uh-hub-history li { padding: 6px 0; border-bottom: 1px dashed var(--uh-a-line); font-size: .93rem; overflow-wrap: anywhere; }
.uh-hub-note-meta { margin: 0 0 4px; color: var(--uh-a-muted); font-size: .88rem; }
.uh-hub-note-body { margin: 0 0 8px; overflow-wrap: anywhere; }

.uh-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 0 0 20px; }
.uh-hub-stat { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.uh-hub-list { list-style: none; margin: 0; padding: 0; }
.uh-hub-list li { padding: 8px 0; border-bottom: 1px solid var(--uh-a-line); overflow-wrap: anywhere; }
.uh-hub-list li:last-child { border-bottom: 0; }

/* month calendar: compact cells; a day opens in a panel with every event */
.uh-hub-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0 0 16px; }
.uh-hub-cal-head { padding: 6px; color: var(--uh-a-muted); font-size: .85rem; font-weight: 700; text-align: center; text-transform: uppercase; }
.uh-hub-cal-day { min-height: 96px; padding: 6px; border: 1px solid var(--uh-a-line); border-radius: 8px; background: #fff; font-size: .8rem; line-height: 1.25; overflow: hidden; }
.uh-hub-cal-day.is-out { background: transparent; border-style: dashed; opacity: .55; }
.uh-hub-cal-day.is-today { border: 2px solid var(--uh-a-red); }
.uh-hub-cal-day.is-off { background: #f4f1f0; }
.uh-hub-cal-num { display: block; margin-bottom: 2px; font-size: .9rem; font-weight: 700; }
/* the full date: read out by screen readers on a wide screen, shown instead of the number on a phone */
.uh-hub-cal-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.uh-hub-cal-item { display: block; margin-top: 4px; padding: 3px 6px; border-radius: 5px; border-left: 3px solid #123f85; background: #eef4fd; color: #123f85; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uh-hub-cal-item--hearing { background: #ffedea; color: #8c1d17; border-left-color: #8c1d17; }
.uh-hub-cal-item--leave { background: #f4f1f0; color: #534342; border-left-color: #534342; }
.uh-hub-cal-item--course { background: #eef8f1; color: #14572f; border-left-color: #14572f; }
.uh-hub-cal-item--holiday { background: #fff4d6; color: #6b4a00; border-left-color: #6b4a00; }
.uh-hub-cal-item--recruitment { background: #f3ecfa; color: #4b2a78; border-left-color: #4b2a78; }
.uh-hub-cal-item--work { background: #e9f6f7; color: #0d5560; border-left-color: #0d5560; }
@media (max-width: 720px) {
	.uh-hub-cal { display: block; }
	.uh-hub-cal-head, .uh-hub-cal-day.is-out, .uh-hub-cal-day.is-empty { display: none; }
	.uh-hub-cal-day { min-height: 0; margin: 0 0 6px; font-size: .92rem; }
	.uh-hub-cal-num { display: none; }
	.uh-hub-cal-full { position: static; width: auto; height: auto; clip-path: none; font-weight: 700; }
	.uh-hub-cal-item { white-space: normal; }
}

/* assistant */
.uh-hub-chat { display: flex; flex-direction: column; gap: 10px; min-height: 180px; max-height: 60vh; margin: 0 0 12px; padding: 14px; border: 1px solid var(--uh-a-line); border-radius: 12px; background: #fff; overflow-y: auto; }
.uh-hub-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.uh-hub-msg--me { align-self: flex-end; background: var(--uh-a-red); color: #fff; }
.uh-hub-msg--ai { align-self: flex-start; background: var(--uh-a-soft); }
.uh-hub-msg--note { align-self: center; color: var(--uh-a-muted); font-size: .88rem; }
.uh-hub-proposal { align-self: stretch; padding: 12px 14px; border: 2px solid #1d5fbf; border-radius: 12px; background: #eef4fd; }
.uh-hub-proposal dl { margin: 8px 0; }
.uh-hub-proposal dt { font-weight: 700; font-size: .85rem; }
.uh-hub-proposal dd { margin: 0 0 6px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- dashboards: headline figures and charts ----------
   Chart colours: one blue for a single series, blue and orange for two. Checked for colour-blind readers
   against a white card. Text is never coloured by the data; a legend or a label always names what a colour means. */
.uh-hub-chart, .uh-hub-tiles, .uh-hub-week { --uh-c1: #2a78d6; --uh-c2: #eb6834; --uh-c-grid: #e1e0d9; --uh-c-axis: #c3c2b7; }
.uh-hub-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; margin: 0 0 20px; }
.uh-hub-tile { display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--uh-a-line); border-radius: 12px; background: #fff; }
.uh-hub-tile-label { color: var(--uh-a-muted); font-size: .85rem; }
.uh-hub-tile-value { margin-top: 4px; font-size: 1.7rem; font-weight: 600; line-height: 1.15; }
.uh-hub-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; margin: 0 0 20px; }
.uh-hub-chart { margin: 0; min-width: 0; }
.uh-hub-chart h3 { margin-top: 0; }
.uh-hub-chart-note { margin: 8px 0 0; color: var(--uh-a-muted); font-size: .85rem; }
.uh-hub-chart-table { margin-top: 12px; font-size: .9rem; }
.uh-hub-chart-table summary { cursor: pointer; color: var(--uh-a-muted); }
.uh-hub-chart-table table { width: 100%; margin-top: 8px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.uh-hub-chart-table th, .uh-hub-chart-table td { padding: 4px 8px; border-bottom: 1px solid var(--uh-a-line); text-align: left; font-weight: 400; }
.uh-hub-chart-table thead th { color: var(--uh-a-muted); font-size: .8rem; }
.uh-hub-chart-table td { text-align: right; }

/* ranked bars: thin, rounded at the data end, square where they start */
.uh-hub-bars { list-style: none; margin: 0; padding: 0; }
.uh-hub-bars li { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; align-items: center; gap: 10px; padding: 5px 4px; border-radius: 6px; }
.uh-hub-bars li:hover, .uh-hub-bars li:focus { background: var(--uh-a-soft); outline: none; }
.uh-hub-bars-name { font-size: .92rem; overflow-wrap: anywhere; }
.uh-hub-bars-track { display: block; height: 12px; }
.uh-hub-bars-fill { display: block; height: 100%; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--uh-c1); }
.uh-hub-bars-value { min-width: 2.5ch; text-align: right; font-size: .92rem; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
	.uh-hub-bars li { grid-template-columns: 1fr auto; }
	.uh-hub-bars-name { grid-column: 1 / -1; }
}

/* columns over time */
.uh-hub-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 0 0 8px; padding: 0; font-size: .88rem; }
.uh-hub-legend li { display: flex; align-items: center; gap: 6px; }
.uh-hub-swatch { width: 10px; height: 10px; border-radius: 2px; }
.uh-hub-s1 { background: var(--uh-c1); }
.uh-hub-s2 { background: var(--uh-c2); }
.uh-hub-cols { padding-left: 34px; }
.uh-hub-cols-plot { position: relative; display: flex; align-items: flex-end; height: 180px; margin-top: 22px; border-bottom: 1px solid var(--uh-c-axis); }
.uh-hub-cols-grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--uh-c-grid); pointer-events: none; }
.uh-hub-cols-grid:first-child { border-top-color: transparent; }
.uh-hub-cols-grid span { position: absolute; right: 100%; top: -.6em; margin-right: 6px; color: var(--uh-a-muted); font-size: .72rem; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.uh-hub-col { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-radius: 6px 6px 0 0; }
.uh-hub-col:hover, .uh-hub-col:focus { background: rgba(33, 26, 26, .05); outline: none; }
.uh-hub-col-bar { position: relative; flex: 0 1 24px; max-width: 24px; min-width: 3px; border-radius: 4px 4px 0 0; }
.uh-hub-col-bar b { position: absolute; bottom: 100%; left: 50%; margin-bottom: 2px; transform: translateX(-50%); color: var(--uh-a-ink); font-size: .75rem; font-weight: 600; }
.uh-hub-cols-x { display: flex; }
.uh-hub-cols-x span { flex: 1 1 0; min-width: 0; padding-top: 4px; text-align: center; color: var(--uh-a-muted); font-size: .72rem; line-height: 1.2; overflow-wrap: anywhere; }

.uh-hub-tip { position: fixed; z-index: 100000; max-width: 260px; padding: 6px 10px; border-radius: 6px; background: #211a1a; color: #fff; font-size: .85rem; line-height: 1.35; pointer-events: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.uh-hub-tip[hidden] { display: none; }

/* team calendar: seven days side by side, one under the other on a phone */
.uh-hub-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; }
.uh-hub-day { min-width: 0; border: 1px solid var(--uh-a-line); border-radius: 10px; background: #fff; }
.uh-hub-day.is-today { border-color: var(--uh-a-red); box-shadow: 0 0 0 1px var(--uh-a-red); }
.uh-hub-day-head { padding: 8px 10px; border-bottom: 1px solid var(--uh-a-line); border-radius: 10px 10px 0 0; background: var(--uh-a-soft); font-weight: 600; }
.uh-hub-day-body { display: grid; gap: 6px; padding: 8px; }
.uh-hub-day-away { color: var(--uh-a-muted); font-size: .82rem; overflow-wrap: anywhere; }
.uh-hub-slot { display: block; padding: 6px 8px; border-left: 4px solid #6b6966; border-radius: 6px; background: #f6f5f3; color: inherit; font-size: .86rem; text-decoration: none; overflow-wrap: anywhere; }
.uh-hub-slot.is-mine { border-left-color: var(--uh-c1); background: #eef4fc; }
.uh-hub-slot.is-admin { border-left-color: var(--uh-a-red); background: var(--uh-a-soft); }
.uh-hub-slot-time, .uh-hub-slot-who { display: block; color: var(--uh-a-muted); font-size: .78rem; }
@media (max-width: 900px) {
	.uh-hub-week { grid-template-columns: 1fr; }
}
@media print {
	.uh-hub-bars-fill, .uh-hub-col-bar, .uh-hub-swatch { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.uh-hub-tip { display: none; }
}
.uh-hub-filter-date { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--uh-a-muted); }

/* a day taken out of the calendar, Google style */
.uh-hub-cal.is-js .uh-hub-cal-day:not(.is-out) { cursor: pointer; }
.uh-hub-cal.is-js .uh-hub-cal-day:not(.is-out):hover { border-color: #697386; }
.uh-hub-cal-more { display: block; margin-top: 4px; padding: 1px 6px; border: 0; background: none; color: #697386; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.uh-hub-daybox { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(26, 31, 54, .45); }
.uh-hub-daybox-card { width: min(520px, 100%); max-height: 85vh; overflow-y: auto; padding: 20px; border-radius: 12px; background: #fff; box-shadow: 0 20px 50px rgba(26, 31, 54, .35); }
.uh-hub-daybox-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.uh-hub-daybox-card .uh-hub-cal-item { margin-top: 8px; padding: 8px 10px; font-size: .95rem; white-space: normal; overflow: visible; }
.uh-hub-daybox-close { float: right; min-height: 36px; padding: 4px 12px; border: 1px solid #d5dbe1; border-radius: 6px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* Stripe-style dashboard look: quiet grey canvas, white cards with hairline borders, underline tabs, calm tables */
html body .uh-access.uh-hub { --uh-a-line: #e3e8ee; --uh-a-muted: #697386; --uh-a-ink: #1a1f36; --uh-a-soft: #f6f9fc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1a1f36; }
html body .uh-hub h2, html body .uh-hub h3 { color: #1a1f36; letter-spacing: -.01em; }
html body .uh-hub-head h2 { font-size: 1.5rem; font-weight: 700; }
html body .uh-hub-head h2::before { display: none; }
/* underline tabs */
html body .uh-hub-nav { border-bottom: 1px solid #e3e8ee; margin: 0 0 24px; -webkit-mask-image: none; mask-image: none; }
html body .uh-hub-nav ul { gap: 22px !important; }
html body .uh-hub-nav a { padding: 10px 2px !important; min-height: 0 !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: #697386 !important; font-weight: 600; font-size: .95rem; }
html body .uh-hub-nav a::before { display: none !important; }
html body .uh-hub-nav a:hover { color: #1a1f36 !important; }
html body .uh-hub-nav a.is-current { color: #c8101e !important; border-bottom-color: #c8101e !important; }
html body .uh-hub-nav a img, html body .uh-hub-nav a svg, html body .uh-hub-nav a .dashicons { opacity: .7; }
/* cards */
html body .uh-access-card, html body .uh-hub-details, html body .uh-hub-tablewrap { background: #fff; border: 1px solid #e3e8ee; border-radius: 8px; box-shadow: 0 1px 1px rgba(26,31,54,.04), 0 2px 5px rgba(26,31,54,.05); }
html body .uh-access-card h3 { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #697386; margin: 0 0 12px; }
html body .uh-hub-stat { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; color: #1a1f36; }
html body .uh-hub-grid { gap: 14px; }
/* tables */
html body .uh-hub-table th { background: #f6f9fc; color: #697386; font-size: .72rem; font-weight: 600; letter-spacing: .05em; border-bottom: 1px solid #e3e8ee; }
html body .uh-hub-table td { border-bottom: 1px solid #eef1f5; }
html body .uh-hub-table tbody tr:hover td { background: #fafbfd; }
/* status pills */
html body .uh-hub-tag { padding: 1px 8px; border: 0; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #e6ecf5; color: #3c4257; }
html body .uh-hub-tag--ok { background: #d7f7c2; color: #05690d; }
html body .uh-hub-tag--warn { background: #fce4d6; color: #a5440a; }
html body .uh-hub-tag--muted { background: #eef1f5; color: #4f566b; }
/* buttons: quiet secondary, brand primary */
html body .uh-hub .uh-access-btn { border-radius: 6px; font-weight: 600; box-shadow: 0 1px 1px rgba(26,31,54,.12); }
html body .uh-hub .uh-access-btn--plain { background: #fff; color: #3c4257; border: 1px solid #d5dbe1; box-shadow: 0 1px 1px rgba(26,31,54,.06); }
html body .uh-hub .uh-access-btn--plain:hover { background: #f6f9fc; color: #1a1f36; }
/* inputs */
html body .uh-hub-form select, html body .uh-hub-form textarea, html body .uh-hub-form input[type="date"], html body .uh-hub-form input[type="number"], html body .uh-hub-form input[type="tel"], html body .uh-hub-form input[type="search"], html body .uh-hub-filter select, html body .uh-hub-filter input[type="search"] { border: 1px solid #d5dbe1; border-radius: 6px; min-height: 40px; box-shadow: 0 1px 1px rgba(26,31,54,.05); }
/* calendar */
html body .uh-hub-cal-day { border-color: #e3e8ee; border-radius: 6px; }
html body .uh-hub-cal-head { color: #697386; font-size: .72rem; letter-spacing: .05em; }

.uh-hub-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.uh-hub-legend button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 10px; border: 1px solid #d5dbe1; border-radius: 999px; background: #fff; color: #3c4257; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.uh-hub-legend button i { width: 10px; height: 10px; border-radius: 3px; background: currentColor; }
.uh-hub-legend button[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.uh-hub-cal-item.is-hidden { display: none !important; }
.uh-hub-daybox-add { display: inline-block; margin-top: 14px; }

/* Stripe look, part 2: calm tables, compact buttons everywhere in the hub */
html body .uh-hub-table tr, html body .uh-hub-table tr:nth-child(even), html body .uh-hub-table tr:nth-child(odd), html body .uh-hub-table td { background: #fff !important; border-color: #eef1f5 !important; }
html body .uh-hub-table th { background: #f6f9fc !important; color: #697386; border-color: #e3e8ee !important; }
html body .uh-hub-table td .uh-access-btn, html body .uh-hub-table td button { min-height: 30px !important; padding: 3px 10px !important; font-size: .85rem !important; }
html body .uh-hub-tag { border: 0 !important; background: #e6ecf5 !important; color: #3c4257 !important; font-weight: 600; }
html body .uh-hub-tag--ok { background: #d7f7c2 !important; color: #05690d !important; }
html body .uh-hub-tag--warn { background: #fce4d6 !important; color: #a5440a !important; }
html body .uh-hub .uh-access-btn--plain { color: #3c4257 !important; border: 1px solid #d5dbe1 !important; background: #fff !important; border-radius: 6px !important; }
html body .uh-hub .uh-access-btn { border-radius: 6px !important; min-height: 34px !important; padding: 5px 12px !important; font-size: .9rem !important; }
html body .uh-hub-tablewrap { border: 1px solid #e3e8ee !important; border-radius: 8px !important; }
@media (max-width: 720px) { html body .uh-hub-table tr { border: 1px solid #e3e8ee !important; border-radius: 8px !important; } html body .uh-hub-table td { border: 0 !important; } }
html body .uh-hub-nav a.is-current, html body .uh-hub-nav ul li a.is-current { background: none !important; box-shadow: none !important; }
html body .uh-hub-nav ul li a { background: none !important; border-radius: 0 !important; }
html body .uh-hub-daybox .uh-hub-daybox-close { background: #fff !important; color: #3c4257 !important; border: 1px solid #d5dbe1 !important; border-radius: 6px !important; box-shadow: none !important; }
html body .uh-hub-daybox .uh-hub-daybox-add { background: #fff !important; color: #3c4257 !important; border: 1px solid #d5dbe1 !important; text-decoration: none; }

html body .uh-hub-cal-item, html body .uh-hub-cal-item:hover { text-decoration: none !important; }
html body .uh-hub-cal-day.is-today .uh-hub-cal-num { display: inline-block; min-width: 24px; padding: 1px 6px; border-radius: 999px; background: #c8101e; color: #fff; text-align: center; }
.uh-hub-awaynow { margin: 0 0 10px; padding: 8px 12px; border: 1px solid #e3e8ee; border-radius: 8px; background: #fff; font-size: .92rem; }
.uh-hub-legend button[aria-pressed="true"] { border-color: #697386; }
