/* Desktop column (≥ 1024 px): values from docs/design/prototype/src/main-markup.html */
.app { position: relative; display: flex; width: 100%; height: 100%; overflow: hidden; background: var(--bhm-paper); }
/* The whole column scrolls (G1): title and filters move away, the search field and the tabs stick. */
.side { position: relative; z-index: 5; flex-shrink: 0; width: var(--bhm-aside); height: 100%; display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain; background: var(--bhm-card); border-right: 1px solid var(--bhm-line); --sticky-search: 60px; }
.side > * { flex-shrink: 0; }
.side__top { display: contents; }
.side__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 20px 28px 0; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__side { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.brand .demo-pill { white-space: nowrap; }
.lang { position: relative; flex-shrink: 0; }
.lang__button { height: 36px; padding: 0 10px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--bhm-line); border-radius: 10px; background: var(--bhm-card); font-size: 13px; font-weight: 600; }
.lang__menu { position: absolute; right: 0; top: 44px; z-index: 60; width: 188px; padding: 6px; display: flex; flex-direction: column; gap: 2px; background: var(--bhm-card); border-radius: 14px; box-shadow: 0 2px 6px rgba(28,27,24,0.08), 0 12px 32px rgba(28,27,24,0.16); }
.lang__option { height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 10px; background: var(--bhm-card); font-size: 14px; font-weight: 500; }
.lang__option[aria-pressed="true"] { background: var(--bhm-tint); }
.lang__code { font-family: var(--bhm-mono); font-size: 12px; color: var(--bhm-ink-3); }
.side__hero { padding: 18px 28px 0; }
.side__title { margin: 0; font-size: var(--bhm-fs-display); line-height: 1.08; font-weight: 600; letter-spacing: -0.025em; }
.side__sub { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--bhm-ink-2); text-wrap: pretty; }
.side__ask { display: block; padding: 20px 28px 0; }
.side__search { position: sticky; top: 0; z-index: 6; padding: 8px 28px 0; background: var(--bhm-card); }
.search__label { font-size: 13px; font-weight: 600; }
.search__field { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 6px 0 14px; border: 1px solid var(--bhm-field); border-radius: 16px; background: var(--bhm-card); box-shadow: 0 1px 2px rgba(28,27,24,0.05); }
.search__input { flex-grow: 1; min-width: 0; height: 40px; border: 0; background: transparent; font-size: 15px; outline: none; }
.search__field:focus-within { border-color: var(--bhm-ink); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__go { height: 40px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.side__try { padding: 10px 28px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.side__try-label { font-size: 13px; color: var(--bhm-ink-3); }
.side__filters { padding: 18px 28px 0; display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; gap: 6px; }
.chip { height: 36px; padding: 0 14px; border-radius: var(--bhm-r-pill); border: 1px solid var(--bhm-field); background: var(--bhm-card); color: var(--bhm-ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
.chip[aria-pressed="true"], .phone-chip[aria-pressed="true"] { border-color: var(--bhm-ink); background: var(--bhm-ink); color: #FFFFFF; }
.filters__row { display: flex; gap: 8px; }
.select-wrap { position: relative; flex: 1 1 0; min-width: 0; }
.select { width: 100%; height: 36px; padding: 0 30px 0 12px; appearance: none; -webkit-appearance: none; border: 1px solid var(--bhm-field); border-radius: 10px; background: var(--bhm-card); font-size: 13.5px; }
.select:disabled { background: var(--bhm-paper); color: var(--bhm-ink-3); }
.select-wrap__icon { position: absolute; right: 11px; top: 12px; pointer-events: none; stroke: var(--bhm-ink-2); }
.near { height: 36px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--bhm-field); border-radius: 10px; background: var(--bhm-card); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.near[aria-pressed="true"] { border-color: var(--bhm-ink); background: var(--bhm-ink); color: #FFFFFF; }
.geo-ask { padding: 14px 16px; border: 1px solid var(--bhm-line); border-radius: 14px; background: #FBFAF7; display: flex; flex-direction: column; gap: 10px; }
.geo-ask__title { font-size: 14px; font-weight: 600; }
.geo-ask__body { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--bhm-ink-2); }
.geo-ask__actions { display: flex; gap: 8px; }
.geo-denied { padding: 12px 14px; border-radius: 12px; background: #F4F1EA; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: #3A3833; }
.tabs { position: sticky; top: var(--sticky-search); z-index: 6; margin: 16px 0 0; padding: 0 28px; display: flex; gap: 22px;
  background: var(--bhm-card); box-shadow: inset 0 -1px 0 var(--bhm-line); }
.tab { height: 42px; padding: 0; margin-bottom: -1px; display: flex; align-items: center; gap: 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--bhm-ink-3); font-size: 14px; font-weight: 600; }
.tab[aria-selected="true"] { border-bottom-color: var(--bhm-ink); color: var(--bhm-ink); }
.tab__count { min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--bhm-r-pill); background: var(--bhm-tint); color: #3A3833; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.side__list { flex-grow: 1; padding: 12px 16px 16px; }
.side__footer { padding: 12px 28px 16px; border-top: 1px solid #EFEBE3; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; }
.side__footer a { color: var(--bhm-ink-2); }

/* List states */
.list__summary { padding: 2px 12px 8px; font-size: 13px; color: var(--bhm-ink-3); }
.list__note { margin: 0 12px 10px; padding: 10px 12px; border-radius: 12px; background: #F4F1EA; font-size: 13.5px; line-height: 1.45; color: #3A3833; }
.skeletons { display: flex; flex-direction: column; gap: 6px; }
.skeleton { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.skeleton__tile { width: 44px; height: 44px; border-radius: 12px; background: var(--bhm-selected); }
.skeleton__lines { flex-grow: 1; display: flex; flex-direction: column; gap: 7px; }
.skeleton__line { height: 12px; border-radius: 6px; background: #EFEBE3; }
.skeleton__line--short { width: 46%; height: 10px; border-radius: 5px; background: var(--bhm-tint); }
.failure { margin: 6px 4px; padding: 16px; border-radius: 16px; background: var(--bhm-error-bg); display: flex; flex-direction: column; gap: 8px; }
.failure__title { display: flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 600; color: var(--bhm-error-ink); }
.failure__body { margin: 0; font-size: 14px; line-height: 1.45; color: #5A2A22; }
.failure__retry { align-self: flex-start; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; }
.empty { padding: 22px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.empty__title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; text-wrap: pretty; }
.empty__body { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--bhm-ink-2); text-wrap: pretty; }
.empty__suggestions { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.empty__hint { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--bhm-ink-2); }
.empty__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.empty__chip { display: inline-flex; align-items: center; gap: 6px; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.empty__primary, .empty__secondary { height: 40px; padding: 0 14px; border-radius: 11px; font-size: 13.5px; }
/* Desktop: "Sugerir un lugar" is a text link on its own line under the buttons. */
.empty__actions::after { content: ''; order: 1; flex-basis: 100%; }
.empty__suggest { order: 2; height: auto; margin-top: 8px; padding: 0 6px; border: 0; background: none; font-size: 14.5px;
  text-decoration: underline; text-underline-offset: 3px; }

/* Place rows */
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--bhm-r-row); background: var(--bhm-card); text-align: left; }
.row[data-hover="true"] { background: #FAF8F4; }
.row[data-selected="true"] { border-color: var(--bhm-ink); background: var(--bhm-selected); }
.row__tile { position: relative; width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--bhm-tint); font-size: 21px; }
.row__body { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row__name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.row__org { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--bhm-ink-3); white-space: nowrap; overflow: hidden; }
.row__logo { width: 18px; height: 18px; flex-shrink: 0; border-radius: 5px; font-size: 8.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.row__org-text { overflow: hidden; text-overflow: ellipsis; }
.row__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.row__km { font-family: var(--bhm-mono); font-size: 12.5px; color: var(--bhm-ink-2); white-space: nowrap; }

/* Ways to help without a fixed place */
.others__intro { margin: 2px 12px 12px; font-size: 13.5px; line-height: 1.5; color: var(--bhm-ink-2); text-wrap: pretty; }
.others { list-style: none; margin: 0; padding: 0 4px; display: flex; flex-direction: column; gap: 10px; }
.other { padding: 14px 16px; border: 1px solid var(--bhm-line); border-radius: 16px; background: var(--bhm-card); display: flex; flex-direction: column; gap: 9px; }
.other__head { display: flex; gap: 10px; align-items: center; }
.other__logo { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.other__titles { min-width: 0; }
.other__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.other__org { font-size: 13px; color: var(--bhm-ink-3); }
.other__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.other__next { margin: 0; font-size: 14px; line-height: 1.45; }
.other__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.other__checked { font-family: var(--bhm-mono); font-size: 11.5px; color: var(--bhm-ink-3); }
.other__web { height: 34px; padding: 0 12px; flex-shrink: 0; border-radius: 10px; font-size: 13px; }
.phone { display: none; }

/* Dated events: their own group above permanent places, and a pill with the dates on each row. */
.rows-group__head { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px 6px; }
.rows-group__title { font-size: 13px; font-weight: 600; color: var(--bhm-ink); }
.rows-group__note { font-size: 12px; color: var(--bhm-ink-3); }
.rows--dated { border-bottom: 1px solid var(--bhm-line); margin-bottom: 6px; }
.tag--dated { background: #EEF3F8; color: #2D4B63; }
/* The plaque in the column is 42 px high: the hero padding (24 → 18 px) takes back the difference to the old 36 px header row,
   so the title, search and list stay where the artboards have them. */
.brand .brand-plaque { padding: 3px; border-radius: 8px; }
.brand .brand-plaque__frame { gap: 7px; padding: 4px 12px 4px 9px; border-radius: 5px; }
.brand .brand-plaque__palm { width: 17px; height: 19px; }
.brand .brand-plaque__name { font-size: 19px; }
