/* /hmo-register/: the HMO licence lookup. Brand tokens come from vibrant.css (design/v2). */
.hmo { background: var(--paper, #f4f8fa); }
.hmo-wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.hmo-head { background: #fff; border-bottom: 1px solid #e4edf1; }
.hmo-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
.hmo-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.hmo-brand .brand-name { font: 600 20px/1 var(--font-sans, "IBM Plex Sans", sans-serif); }
.hmo-tag:hover { background: #c4eff4; }
.hmo-brand-group { display: inline-flex; align-items: center; gap: 10px; }
.hmo-tag { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #006b78; background: #e0f7fa; border-radius: 999px; padding: 4px 10px; }
.hmo-head-link { font: 500 15px/20px var(--font-sans, "IBM Plex Sans", sans-serif); color: var(--primary); }
.hmo-head-nav { display: flex; align-items: center; gap: 8px 20px; }
.hmo-head-pitch { margin: 0; max-width: 22em; font-size: 14px; line-height: 20px; color: var(--muted); text-align: right; }
.hmo-head-link { display: inline-flex; align-items: center; min-height: 44px; }
.hmo-head-cta { min-height: 40px; padding: 8px 16px; }
@media (max-width: 860px) { .hmo-head-pitch { display: none; } }


.hmo-hero { padding: 56px 0 48px; }
.hmo-hero h1 { margin: 0; color: #fff; font: 600 clamp(32px, 6vw, 48px)/1.1 var(--font-sans, "IBM Plex Sans", sans-serif); letter-spacing: -0.015em; }
.hmo-lede { margin: 0; max-width: 40em; font-size: 17px; line-height: 28px; color: #d7f4ff; }
.hmo-hero .hmo-search-label { color: #fff; }

.hmo-search { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.hmo-search-label { font: 500 14px/20px var(--font-sans, "IBM Plex Sans", sans-serif); color: var(--ink); }
.hmo-search-row { display: flex; gap: 8px; flex-wrap: wrap; }
.hmo-search-row .vb-input { flex: 1 1 240px; min-width: 0; }

.hmo-section { padding-top: 40px; padding-bottom: 8px; }
.hmo-h1 { margin: 0; font: 600 clamp(26px, 5vw, 36px)/1.2 var(--font-sans, "IBM Plex Sans", sans-serif); letter-spacing: -0.01em; color: var(--ink); }
.hmo-h2 { margin: 0; font: 600 22px/30px var(--font-sans, "IBM Plex Sans", sans-serif); color: var(--ink); }
.hmo-q { color: var(--primary); font-weight: 500; }
.hmo-back { align-self: flex-start; font: 500 15px/20px var(--font-sans, "IBM Plex Sans", sans-serif); color: var(--primary); }
.hmo-source, .hmo-note { margin: 0; max-width: 46em; font-size: 15px; line-height: 24px; color: var(--muted); }
.hmo-note-amber { padding: 12px 16px; border-radius: 10px; background: #f7ecd8; color: #6b4510; }

.hmo-councils, .hmo-list { list-style: none; margin: 0; padding: 0; }
.hmo-councils { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.hmo-council { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 18px 20px; background: #fff; border: 1px solid var(--border, #cfdde4); border-radius: 10px; text-decoration: none; color: var(--ink); }
.hmo-council:hover { border-color: var(--primary); }
.hmo-council-name { font: 600 17px/24px var(--font-sans, "IBM Plex Sans", sans-serif); }
.hmo-council-count { font-size: 14px; color: var(--primary); }
.hmo-council-meta { font-size: 14px; line-height: 20px; color: var(--muted); }

.hmo-count { margin: 0; font-size: 13px; color: var(--muted); }
.hmo-list { background: #fff; border: 1px solid var(--border, #cfdde4); border-radius: 10px; overflow: hidden; }
.hmo-list li + li { border-top: 1px solid #e4edf1; }
.hmo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 14px 20px; min-height: 44px; text-decoration: none; color: var(--ink); }
.hmo-row:hover { background: #f7fbfd; }
.hmo-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 320px; }
.hmo-row-address { font: 500 16px/24px var(--font-sans, "IBM Plex Sans", sans-serif); }
.hmo-row-meta { font-size: 13px; color: var(--muted); }
.hmo-empty { padding: 20px; background: #fff; border: 1px solid var(--border, #cfdde4); border-radius: 10px; }
.hmo-empty h2 { margin: 0 0 6px; font: 600 18px/26px var(--font-sans, "IBM Plex Sans", sans-serif); }
.hmo-empty p { margin: 0; color: var(--muted); line-height: 24px; }

.hmo-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); background: #fff; border: 1px solid var(--border, #cfdde4); border-radius: 10px; overflow: hidden; }
.hmo-facts > div { padding: 14px 20px; border-bottom: 1px solid #e4edf1; }
.hmo-facts dt { font-size: 13px; color: var(--muted); }
.hmo-facts dd { margin: 2px 0 0; font-size: 16px; color: var(--ink); }

.hmo-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 24px 0 40px; padding: 24px; background: #fff; border: 1px solid var(--border, #cfdde4); border-top: 4px solid var(--primary); border-radius: 10px; }
.hmo-cta p { margin: 0; max-width: 40em; color: #1f4a5e; line-height: 24px; }

.hmo-foot { margin-top: 32px; padding: 28px 0 40px; background: #0b2a3a; color: #d7f4ff; font-size: 14px; line-height: 22px; }
.hmo-foot p { margin: 0; max-width: 60em; }
.hmo-foot a { color: #fff; }
.hmo .lr-badge { align-self: flex-start; }
.hmo-row .lr-badge { align-self: center; }
.hmo-row-meta { font-family: var(--font-sans, "IBM Plex Sans", sans-serif); font-size: 14px; }
.hmo-back + * { margin-top: -8px; }

.hmo-foot-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px 32px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(215, 244, 255, .18); }
.hmo-foot-h { margin: 0 0 4px; font: 600 15px/22px var(--font-sans, "IBM Plex Sans", sans-serif); color: #fff; }
.hmo-foot-links ul { list-style: none; margin: 0 0 12px; padding: 0; }
.hmo-foot-links a { display: inline-flex; align-items: center; min-height: 36px; color: #d7f4ff; text-decoration: none; }
.hmo-foot-links a:hover, .hmo-foot-links a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hmo-foot-links a:focus-visible { outline: 2px solid #009fb2; outline-offset: 2px; border-radius: 2px; }
.hmo-intro { margin: 0; max-width: 46em; font-size: 17px; line-height: 28px; color: #1f4a5e; }
