/* The hub's own bits; colors, fonts, buttons and cards come from the hotel site's shared theme.css (copied at build). */
.hub-main { max-width: 1000px; margin: 0 auto; padding: 24px 16px 48px; }
.hub-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.hub-head h1 { font-family: var(--f-display); font-size: 2rem; margin: 0; }
.hub-head p { margin: 2px 0 0; color: var(--muted); }
.hub-who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hub-who form { margin: 0; }
.hub-signin { max-width: 460px; margin: 10vh auto 0; text-align: center; padding: 28px; }
.hub-signin h1 { font-family: var(--f-display); margin-top: 0; }
.hub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.hub-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-left: 6px solid var(--brand, #CC79A7); }
.hub-card h2 { margin: 0; font-family: var(--f-display); font-size: 1.4rem; }
.hub-card .meta { color: var(--muted); margin: 0; }
.hub-card .hs-btn { align-self: flex-start; margin-top: 8px; }
.hub-card.hampton { --brand: var(--hampton); } .hub-card.home2 { --brand: var(--home2); }
.hub-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.hub-tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.hub-table { width: 100%; border-collapse: collapse; }
.hub-table th, .hub-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.hub-scroll { overflow-x: auto; }
.hub-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.hub-tools input[type="search"] { flex: 1 1 220px; min-width: 0; }
.hub-off { color: var(--muted); }
.tag { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; font-size: .85rem; margin: 1px 2px; }
.tag.warn { border-color: var(--warn); color: var(--warn); }
dialog.hub-dlg { width: min(640px, 95vw); }
.hub-form { display: grid; gap: 12px; }
.hub-form label { display: grid; gap: 4px; }
.hub-form .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hub-hotels { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.hub-hotels .row { justify-content: space-between; }
.hub-msg[role="alert"]:not(:empty) { color: var(--warn); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
input, select, textarea { font: inherit; min-height: 36px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.hub-form input:not([type="checkbox"]), .hub-form textarea, .hub-tools input[type="search"] { width: 100%; box-sizing: border-box; }
input[type="checkbox"] { min-height: 0; width: 18px; height: 18px; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
dialog.hub-dlg { max-width: 640px; max-height: 90vh; overflow: auto; }
dialog.hub-dlg::backdrop { background: rgb(0 0 0 / .55); }
.hub-card.admin { --brand: var(--amber); }
