/* Home (BTX-520). HANDOFF §5: light theme only, the HiveTracks Bio tokens (the same values the
   Biodiversity Dashboard declares under .bd; the fonts are its self-hosted @font-face rules).
   Scoped under .hm because Propshaft serves this file on every page.

   Breakpoints: under 1000px the Location column goes and the photo grid is 6 across; under 760px
   (phones) tables become lists, site progress rows stack, and nothing may scroll sideways. */

.hm{
  --paper:#f6f8f7; --surface:#ffffff; --surface-2:#f1f5f3;
  --ink:#0f2e33; --ink-2:#3f5a5e; --ink-3:#627d81;
  --rule:#e4ebe8; --rule-strong:#c9d6d2;
  --edge:#d3e4bf; --chip-edge:#b7d29a; --leaf:#3c652f;
  --flora:#5d8c80; --amber:#ffba2a; --amber-ink:#a86f12; --track:#e7eeeb;
  --ready-bg:#e6efe1; --invasive-bg:#f7e6e0; --invasive:#b8553b;
  --shadow:0 1px 2px rgba(15,46,51,.05),0 6px 20px rgba(15,46,51,.06);
  --sans:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --display:'Questrial',var(--sans);
  --label:'Space Grotesk',var(--sans);

  width:100%; min-width:0; padding:24px 0 48px; color:var(--ink); font-family:var(--sans); font-size:.88rem;
  background:var(--paper); box-shadow:0 0 0 100vmax var(--paper); clip-path:inset(0 -100vmax);
  display:flex; flex-direction:column; gap:20px;
}
.hm *,.hm *::before,.hm *::after{box-sizing:border-box;}
/* Tailwind's base sets `* { font-family: var(--font-sans) }` (Geist, never loaded), which beats
   inheritance; the Biodiversity Dashboard hit the same thing. Inherit, and set faces explicitly. */
.hm *{font-family:inherit;}
/* Phones get the app's mobile layout (picked by user agent), whose <main> has no side padding. */
.hm.hm--mobile-layout{padding-left:16px; padding-right:16px;}
.hm [hidden]{display:none !important;}
.hm button{font:inherit; color:inherit;}
.hm-sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}
.hm-icon-xs{width:12px; height:12px;}
.hm-icon-sm{width:16px; height:16px;}
.hm-icon-md{width:22px; height:22px;}
.hm-muted{color:var(--ink-3);}
.hm-nowrap{white-space:nowrap;}
.hm-break{overflow-wrap:anywhere;}
.hm-link{color:var(--ink); text-decoration:underline; text-underline-offset:2px; font-size:.82rem;}
.hm-link:hover{color:var(--leaf);}
.hm-empty{color:var(--ink-3); padding:16px 0; margin:0;}

/* ---------- Cards ---------- */
.hm-card{background:var(--surface); border:1px solid var(--edge); border-radius:16px; box-shadow:var(--shadow);
  padding:20px 22px; min-width:0;}
.hm-card__head{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px;}
.hm-card__title{font-family:var(--display); font-weight:400; font-size:1.15rem; margin:0; color:var(--ink);}
.hm-card > .hm-card__title{margin-bottom:12px;}
.hm-card__summary{font-family:var(--sans); font-size:.82rem; color:var(--ink-3); margin-left:10px;}
.hm-eyebrow{font-family:var(--label); font-weight:600; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2);}

/* ---------- S1 header and site search ---------- */
.hm-head{display:flex; justify-content:space-between; align-items:flex-end; gap:16px;}
.hm-title{font-family:var(--display); font-weight:400; font-size:1.9rem; line-height:1.15; margin:0; overflow-wrap:anywhere;}
.hm-subtitle{margin:4px 0 0; color:var(--ink-3);}
.hm-search{position:relative; width:320px; flex:none;}
.hm-search__label{display:block; font-size:.82rem; font-weight:600; margin-bottom:4px; color:var(--ink-2);}
.hm-search__field,.hm-photos__search{position:relative;}
.hm-search__icon{position:absolute; left:10px; top:50%; transform:translateY(-50%); width:16px; height:16px; color:var(--ink-3); pointer-events:none;}
.hm-search input,.hm-photos__search input{width:100%; height:40px; padding:0 12px 0 34px; background:#fff; border:1px solid var(--rule-strong);
  border-radius:10px; font:inherit; color:var(--ink);}
.hm-search input:focus,.hm-photos__search input:focus,.hm-select:focus{outline:2px solid var(--chip-edge); outline-offset:1px; border-color:var(--leaf);}
.hm-search__results{position:absolute; z-index:30; top:calc(100% + 4px); left:0; right:0; background:#fff; border:1px solid var(--edge);
  border-radius:12px; box-shadow:var(--shadow); padding:4px; max-height:320px; overflow:auto;}
.hm-search__result{display:flex; justify-content:space-between; gap:12px; width:100%; text-align:left; padding:10px 10px; border:0;
  background:none; border-radius:8px; cursor:pointer;}
.hm-search__result:hover,.hm-search__result[aria-selected="true"]{background:var(--surface-2);}
.hm-search__result span:last-child{color:var(--ink-3); flex:none;}
.hm-search__none{padding:10px; margin:0; color:var(--ink-3);}

/* ---------- S1 site bar ---------- */
.hm-bar{padding:14px 18px;}
.hm-bar__top{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px;}
.hm-bar__reset{display:inline-flex; align-items:center; gap:6px; border:0; background:none; cursor:pointer; color:var(--ink); font-size:.82rem; font-weight:600; min-height:32px;}
.hm-chips{position:relative; display:flex; flex-wrap:wrap; gap:8px;}
/* Many sites: 2 rows of chips (3 on a phone) until "Show all". The server sets
   the class when it knows the bar is long; home_site_bar_controller.js measures
   the real rows and sets the exact max-height. These are 36px chips. */
.hm-chips--collapsed{max-height:80px; overflow:hidden;}
.hm-chip--clipped{visibility:hidden;}
.hm-bar__more{display:inline-flex; align-items:center; min-height:36px; margin-top:8px; padding:0; border:0; background:none; cursor:pointer;
  color:var(--ink); font-size:.82rem; font-weight:600; text-decoration:underline; text-underline-offset:2px;}
.hm-bar__more:hover{color:var(--leaf);}
.hm-bar__more[hidden]{display:none;}
.hm-chip{display:inline-flex; align-items:stretch; max-width:100%; border-radius:999px; background:var(--surface-2); color:var(--ink-3); border:1px solid transparent;}
.hm-chip[data-selected="true"]{background:#fff; border-color:var(--chip-edge); color:var(--ink);}
.hm-chip[data-selected="true"]:hover{border-color:var(--leaf);}
.hm-chip__name{border:0; background:none; cursor:pointer; padding:6px 4px 6px 14px; text-align:left; font-weight:400; user-select:none; min-height:34px; overflow-wrap:anywhere;}
.hm-chip[data-selected="true"] .hm-chip__name{font-weight:600;}
.hm-chip__go{display:inline-flex; align-items:center; padding:0 12px 0 6px; color:inherit; flex:none;}
.hm-chip__go:hover{color:var(--leaf);}
.hm-hint{margin:10px 0 0; font-size:.76rem; color:var(--ink-3);}
.hm-noselection{margin:0; color:var(--ink-2); font-size:.92rem;}

/* ---------- Meters and tags ---------- */
.hm-meter{display:block; flex:1; min-width:40px; height:8px; border-radius:999px; background:var(--track); overflow:hidden;}
.hm-meter__fill{display:block; height:100%; border-radius:999px;}
.hm-meter__fill--flora{background:var(--flora);}
.hm-meter__fill--amber{background:var(--amber);}
.hm-meter__num{font-variant-numeric:tabular-nums; color:var(--ink-2); font-size:.82rem; min-width:44px; text-align:right;}
.hm-tag{display:inline-flex; align-items:center; gap:6px; padding:2px 8px; border-radius:999px; font-size:.76rem; font-weight:600; white-space:nowrap;}
.hm-tag--ready,.hm-tag--native{background:var(--ready-bg); color:var(--leaf);}
.hm-tag--rest{background:var(--surface-2); color:var(--ink-2);}
.hm-tag--done{background:var(--surface-2); color:var(--ink-3);}
.hm-tag--invasive{background:var(--invasive-bg); color:var(--invasive);}
.hm-tag--iucn{background:var(--surface-2); color:var(--ink-2);}
.hm-tag__dot{width:8px; height:8px; border-radius:50%; flex:none;}
.hm-stale{color:var(--amber-ink); font-weight:700;}

/* ---------- S2 site progress ---------- */
.hm-prog{--cols:minmax(0,2.2fr) minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.6fr) minmax(0,1.6fr) 28px;}
.hm-prog__head,.hm-prog__row{display:grid; grid-template-columns:var(--cols); gap:16px; align-items:center;}
.hm-prog__head{background:var(--surface-2); border-radius:8px; padding:8px 12px;}
.hm-prog__th{display:inline-flex; align-items:center; gap:4px; border:0; background:none; cursor:pointer; text-align:left; padding:0;
  font-family:var(--label); font-weight:600; font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2); min-height:24px;}
.hm-sort{display:inline-flex;}
.hm-sort svg{display:none;}
.hm-prog__th[aria-sort="none"] .hm-sort__none,
.hm-prog__th[aria-sort="ascending"] .hm-sort__asc,
.hm-prog__th[aria-sort="descending"] .hm-sort__desc{display:block;}
.hm-prog__th[aria-sort="none"] .hm-sort__none{opacity:.55;}
.hm-prog__group{border-bottom:1px solid var(--rule);}
.hm-prog__row{width:100%; border:0; background:none; text-align:left; cursor:pointer; padding:12px; color:var(--ink);}
.hm-prog__row:hover{background:#fafcfb;}
.hm-prog__row > span{min-width:0;}
.hm-prog__name{font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:block;}
.hm-prog__c-location{color:var(--ink-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hm-prog__c-last{white-space:nowrap;}
.hm-prog__c-quadrats,.hm-prog__c-transects{display:flex; align-items:center; gap:10px;}
.hm-prog__mlabel{display:none;}
.hm-prog__stale-line{display:none;}
.hm-chev{transition:transform .15s; color:var(--ink-3);}
.hm-prog__row[aria-expanded="true"] .hm-chev{transform:rotate(180deg);}
.hm-prog__detail{padding:4px 12px 14px 24px;}
.hm-transect{display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; padding:6px 0; border-top:1px dashed var(--rule);}
.hm-transect:first-child{border-top:0;}
.hm-transect__name{font-weight:600; min-width:120px;}
.hm-transect__last{color:var(--ink-2); min-width:140px;}
.hm-prog__footer{margin:10px 0 0; color:var(--ink-3); font-size:.82rem;}

/* ---------- Tabs, tables, buttons ---------- */
.hm-tabs{display:flex; flex-wrap:wrap; gap:6px;}
.hm-tab{display:inline-flex; align-items:center; gap:6px; border:1px solid var(--rule); background:#fff; border-radius:999px;
  padding:5px 12px; cursor:pointer; color:var(--ink-2); font-size:.82rem; min-height:32px;}
.hm-tab[aria-selected="true"]{background:var(--ink); border-color:var(--ink); color:#fff;}
.hm-tab[aria-selected="true"] .hm-record-icon{filter:brightness(0) invert(1);}
.hm-card > .hm-tabs{margin-bottom:12px;}
.hm-table{width:100%; border-collapse:collapse; table-layout:auto;}
.hm-table th{background:var(--surface-2); font-family:var(--label); font-weight:600; font-size:.66rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ink-2); text-align:left; padding:8px 12px;}
.hm-table th:first-child{border-radius:8px 0 0 8px;} .hm-table th:last-child{border-radius:0 8px 8px 0;}
.hm-table td{padding:10px 12px; border-bottom:1px solid var(--rule); vertical-align:middle;}
.hm-record-icon{display:inline-flex; align-items:center; justify-content:center; vertical-align:middle;}
.hm-record-icon svg{display:block;}
.hm-record__label{font-weight:600;}
.hm-record .hm-tag{margin-left:6px;}
.hm-btn{display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:36px; padding:0 14px; border-radius:10px;
  border:1px solid var(--rule-strong); background:#fff; color:var(--ink); font-weight:600; font-size:.82rem; cursor:pointer; text-decoration:none;}
.hm-btn--primary{background:var(--ink); border-color:var(--ink); color:#fff;}
.hm-btn--primary:hover{background:#06424b;}
.hm-select{height:36px; border:1px solid var(--rule-strong); border-radius:10px; padding:0 32px 0 10px; background-color:#fff; color:var(--ink); font:inherit; max-width:100%;}

/* ---------- S3 records ---------- */
.hm-records__list{display:none; list-style:none; margin:0; padding:0;}
.hm-records__item{display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px solid var(--rule);}
.hm-records__item > .hm-record-icon{margin-top:2px;}
.hm-records__text{min-width:0; overflow-wrap:anywhere;}
.hm-records__meta{color:var(--ink-3); font-size:.82rem; margin-top:2px;}

/* ---------- S4 leaderboard ---------- */
.hm-lb__controls{display:flex; align-items:center; gap:12px; margin-left:auto; min-width:0;}
.hm-lb__table{border:1px solid var(--rule); border-radius:10px; overflow:hidden;}
/* The site leaderboard's own row partial pads every cell 16px and spaces its letters; under 1200px
   that is wider than the card, so tighten it here rather than in the shared partial. */
@media (max-width: 1199px){
  .hm-lb__table th,.hm-lb__table td{padding-left:8px !important; padding-right:8px !important;}
  .hm-lb__table td span,.hm-lb__table th{letter-spacing:.02em !important;}
  .hm-lb__table table{table-layout:fixed; width:100%;}
  .hm-lb__table th{white-space:normal; overflow-wrap:anywhere;}
  .hm-lb__table th:first-child{width:56px !important;}
  .hm-lb__table th:nth-child(2){width:24% !important;}
  .hm-lb__table th:nth-child(3){width:124px !important;}
  .hm-lb__table td:nth-child(2) span{overflow-wrap:anywhere;}
  .hm-lb__table td:nth-child(3) span{white-space:nowrap;}
}
.hm-lb__list{display:none; list-style:none; margin:0; padding:0;}
.hm-lb__item{display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--rule); align-items:flex-start;}
.hm-lb__who{min-width:0; flex:1;}
.hm-lb__line{display:flex; align-items:center; gap:8px; min-width:0;}
.hm-lb__name{font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0;}
.hm-lb__total{margin-left:auto; font-weight:700; color:#334e47;}
.hm-lb__meta{color:var(--ink-3); font-size:.82rem; margin-top:2px;}
.hm-rank{width:28px; height:28px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:.82rem; flex:none;}
.hm-rank--1{background:#0f2e33;} .hm-rank--2{background:#5d7175;} .hm-rank--3,.hm-rank--4{background:#9fb0b2;}
.hm-pill{display:inline-flex; padding:1px 8px; border-radius:999px; font-size:.68rem; font-weight:600; flex:none; background:rgba(248,180,42,.1); color:#b07d1a;}
.hm-pill--manager{background:rgba(51,78,71,.1); color:#334e47;}

/* ---------- S5 how-to ---------- */
.hm-howto{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;}
.hm-howto__item{display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); min-width:0;}
.hm-howto__thumb{position:relative; width:112px; flex:none; aspect-ratio:16/9; border-radius:10px; overflow:hidden; background:var(--surface-2);}
.hm-howto__thumb img{width:100%; height:100%; object-fit:cover;}
.hm-howto__play{position:absolute; inset:0; margin:auto; width:30px; height:30px; color:#fff; filter:drop-shadow(0 1px 2px rgba(0,0,0,.5));}
.hm-howto__title{font-weight:600; overflow-wrap:anywhere;}
.hm-howto__item:hover .hm-howto__title{text-decoration:underline;}

/* ---------- S6 species inventory ---------- */
.hm-review{position:relative;}
.hm-menu{position:absolute; right:0; top:calc(100% + 4px); z-index:30; min-width:220px; max-width:min(320px,80vw); background:#fff;
  border:1px solid var(--edge); border-radius:12px; box-shadow:var(--shadow); padding:4px;}
.hm-menu__item{display:block; padding:10px; border-radius:8px; color:var(--ink); text-decoration:none; overflow-wrap:anywhere;}
.hm-menu__item:hover{background:var(--surface-2);}
.hm-photos__controls{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px; margin-bottom:14px;}
.hm-photos__search{width:260px; max-width:100%;}
.hm-page{display:contents;}
.hm-grid{display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:12px;}
.hm-grid__empty{grid-column:1/-1;}
.hm-tile{margin:0; min-width:0;}
.hm-tile__button{position:relative; display:block; width:100%; aspect-ratio:1/1; border:0; padding:0; border-radius:10px; overflow:hidden;
  background:var(--surface-2); cursor:zoom-in;}
.hm-tile__button img{width:100%; height:100%; object-fit:cover; display:block;}
.hm-tile__tag{position:absolute; left:6px; top:6px;}
.hm-tile__caption{display:flex; flex-direction:column; margin-top:6px; min-width:0;}
.hm-tile__name{font-weight:600; font-size:.82rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hm-tile__meta{font-size:.76rem; color:var(--ink-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.hm-photos__more{display:flex; flex-direction:column; align-items:center; gap:6px; margin-top:16px;}
.hm-photos__more p{margin:0; font-size:.82rem;}

/* Enlarged photo */
.hm-lightbox{position:fixed; inset:0; z-index:2000; background:rgba(15,46,51,.72); display:flex; align-items:center; justify-content:center; padding:24px;}
.hm-lightbox__panel{position:relative; background:#fff; border-radius:16px; width:min(1100px,100%); max-height:calc(100vh - 48px);
  display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); overflow:hidden;}
.hm-lightbox__media{position:relative; background:#0f2e33; display:flex; align-items:center; justify-content:center; min-height:320px;}
.hm-lightbox__media img{max-width:100%; max-height:calc(100vh - 48px); object-fit:contain; display:block;}
.hm-lightbox__nav{position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; border:0;
  background:rgba(255,255,255,.9); color:var(--ink) !important; display:flex; align-items:center; justify-content:center; cursor:pointer;}
.hm-lightbox__nav--prev{left:12px;} .hm-lightbox__nav--next{right:12px;}
.hm-lightbox__nav:disabled{opacity:.35; cursor:default;}
.hm-lightbox__close{position:absolute; top:10px; right:10px; z-index:2; width:44px; height:44px; border:0; border-radius:50%;
  background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer;}
.hm-lightbox__details{padding:56px 24px 24px; overflow:auto; min-width:0;}
.hm-lightbox__tags{display:flex; flex-wrap:wrap; gap:6px;}
.hm-lightbox__name{font-family:var(--display); font-weight:400; font-size:1.5rem; margin:12px 0 2px; overflow-wrap:anywhere;}
.hm-lightbox__latin{font-style:italic; color:var(--ink-2); margin:0 0 16px;}
.hm-facts{margin:0 0 18px; display:grid; gap:8px;}
.hm-facts div{display:grid; grid-template-columns:90px minmax(0,1fr); gap:8px;}
.hm-facts dt{font-family:var(--label); font-weight:600; font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); padding-top:2px;}
.hm-facts dd{margin:0; display:flex; align-items:center; gap:6px;}
.hm-lightbox__actions{display:flex; flex-wrap:wrap; gap:8px;}
.hm-lightbox__hint{margin:16px 0 0; font-size:.76rem;}

/* ---------- Under 1000px ---------- */
@media (max-width: 999px){
  .hm-prog{--cols:minmax(0,2.2fr) minmax(0,1fr) minmax(0,1.6fr) minmax(0,1.6fr) 28px;}
  .hm-prog__c-location{display:none !important;}
  .hm-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
}

/* ---------- Phones, under 760px ---------- */
@media (max-width: 759px){
  .hm{padding:16px 0 32px; gap:14px;}
  .hm-card{padding:16px 14px;}
  .hm-head{flex-direction:column; align-items:stretch;}
  .hm-title{font-size:1.5rem;}
  .hm-search{width:100%;}
  .hm-search input{height:44px;}
  .hm-chip__name{min-height:44px;}
  .hm-chip__go{min-width:40px; justify-content:center;}
  .hm-chips--collapsed{max-height:100px;} /* 2 rows of 46px chips */
  .hm-bar__more{min-height:52px; margin-top:0; font-size:.9rem;}

  .hm-prog{--cols:minmax(0,1fr) minmax(0,1fr);}
  .hm-prog__head,.hm-prog__row{grid-template-columns:var(--cols); gap:8px 14px;}
  .hm-prog__c-last{display:none !important;}
  .hm-prog__head .hm-prog__c-name{grid-column:1/-1;}
  .hm-prog__head .hm-prog__c-chev{display:none;}
  .hm-prog__th{min-height:32px;}
  .hm-prog__row{position:relative; padding:12px 40px 12px 4px;}
  .hm-prog__row .hm-prog__c-name{grid-column:1/-1;}
  .hm-prog__row .hm-prog__c-chev{position:absolute; right:8px; top:12px;}
  .hm-prog__name{white-space:normal;}
  .hm-prog__stale-line{display:block; color:var(--amber-ink); font-weight:700; font-size:.82rem;}
  .hm-prog__c-quadrats,.hm-prog__c-transects{flex-wrap:wrap; gap:4px 8px;}
  .hm-prog__mlabel{display:block; width:100%; font-size:.76rem; color:var(--ink-3);}
  .hm-meter__num{min-width:0;}
  .hm-prog__detail{padding:4px 4px 14px;}
  .hm-transect__name,.hm-transect__last{min-width:0;}

  .hm-records__table,.hm-lb__table{display:none;}
  .hm-records__list,.hm-lb__list{display:block;}
  .hm-card__summary{display:block; margin:4px 0 0;}
  .hm-lb__controls{width:100%; margin-left:0; justify-content:space-between;}
  .hm-select{height:44px; flex:1; min-width:0;}
  .hm-tab{min-height:44px;}
  .hm-btn{min-height:44px;}

  .hm-howto{grid-template-columns:minmax(0,1fr); gap:10px;}
  .hm-photos__search{width:100%;}
  .hm-photos__search input{height:44px;}
  .hm-grid{grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;}

  .hm-lightbox{padding:0; align-items:stretch;}
  .hm-lightbox__panel{grid-template-columns:minmax(0,1fr); border-radius:0; max-height:100vh; overflow:auto; width:100%;}
  .hm-lightbox__media{min-height:0;}
  .hm-lightbox__media img{max-height:60vh;}
  .hm-lightbox__details{padding:16px;}
}

/* Phones, 640px and under: the collapsed site bar keeps 3 rows. */
@media (max-width: 640px){
  .hm-chips--collapsed{max-height:154px;}
}
