/* 직원 위치(지도·목록)와 내 정보 > 위치 공유 */
.loc-filter { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }
.loc-filter__form { display: flex; flex: 1; gap: 8px; min-width: 0; max-width: 560px; }
.loc-filter > .btn { flex: none; }
.loc-filter__form .select { flex: 1; min-width: 0; }
.loc-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); gap: 20px; align-items: start; }
.loc-layout > .card { margin-top: 0; }
@media (max-width: 900px) {
  /* 휴대폰: 지도 위, 목록 아래 */
  .loc-layout { grid-template-columns: minmax(0, 1fr); }
}
.loc-map-card { padding: 12px; }
.loc-map { position: relative; height: 520px; border-radius: var(--radius); background: var(--surface-2); overflow: hidden; z-index: 0; }
@media (max-width: 900px) { .loc-map { height: 360px; } }
.loc-map__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 20px; text-align: center; }
.loc-map-note { margin: 10px 4px 0; }

.loc-pin { background: var(--accent); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(16, 20, 24, .45); }
.loc-pin__label {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap;
  padding: 2px 8px; border-radius: 8px; background: var(--accent); color: #fff; font: 700 14px/1.4 var(--font);
  box-shadow: 0 1px 3px rgba(16, 20, 24, .35);
}
.loc-pin.is-stale { background: #8B95A3; opacity: .7; }
.loc-pin.is-stale .loc-pin__label { background: #fff; color: var(--text-3); border: 1px solid var(--line); }
.loc-map .leaflet-popup-content { font: 16px/1.5 var(--font); }

.loc-row__name { border: 0; padding: 0; background: none; text-align: left; cursor: pointer; color: var(--accent-strong); font: inherit; font-size: 19px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.loc-row.is-stale .row__main, .loc-row.is-stale .chip { opacity: .55; }
.loc-row.is-none .row__title { color: var(--text-3); }

/* 팀장 화면·지금 회사 카드 머리의 링크 여럿 */
.card__links { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 6px 16px; }

/* 내 정보 > 위치 공유 (앱이 /me#location 으로 보낸다: 머리글에 가리지 않게) */
#location { scroll-margin-top: calc(var(--header-h) + 16px); }
.loc-terms { margin: 10px 0 14px; }
.loc-terms dt { font-weight: 700; font-size: 16px; margin-top: 10px; }
.loc-terms dd { margin: 2px 0 0; font-size: 16px; color: var(--text-2); line-height: 1.5; }
.loc-state { margin: 8px 0; font-size: 18px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.loc-web-note { margin: 10px 0; padding: 10px 14px; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-weight: 700; }
.loc-devices { list-style: none; margin: 0; padding: 0; }
.loc-devices li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
