/* Facility Settings > General & Locations (general-settings.js), from Daniel's mockup 2026-10-21. Builds on ui-kit.css. */
.st-muted { color: var(--muted, #6b7280); }
.st-inner { margin-top: 16px; padding: 18px; border: 1px solid var(--line, #e8eaee); border-radius: 12px; }
.st-f input:focus-visible,
.st-f select:focus-visible,
.st-f textarea:focus-visible,
.st-chips:focus-within { outline: 2px solid #93c5fd; outline-offset: 1px; border-color: #2563eb; }
.st-count { justify-self: end; font-weight: 400; color: #9ca3af; font-size: 12px; }
/* Sports chips */
.st-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: var(--ctl-h, 40px);
  padding: 4px 8px;
  border: 1px solid #d9dde3;
  border-radius: var(--ctl-r, 10px);
  background: #fff;
}
.st-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px 3px 10px;
  border-radius: 7px;
  background: #f3f4f6;
  color: #1f2937;
  font-size: 13px;
  font-weight: 500;
}
.st-chip button { display: grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 5px; background: none; color: #6b7280; cursor: pointer; }
.st-chip button:hover { background: #e5e7eb; color: #0b0f17; }
.st-chip .ic { width: 12px; height: 12px; }
.st-chips select { width: auto; min-height: 28px; flex: 1 1 110px; min-width: 100px; border: 0; background: transparent; color: #6b7280; padding: 0 4px; }
/* Locations */
.st-loc {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line, #e8eaee);
  border-radius: 12px;
}
.st-loc + .st-loc { margin-top: 10px; }
.st-loc-ph { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; background: #eff6ff; color: #2563eb; }
.st-loc-ph .ic { width: 24px; height: 24px; }
.st-loc-main b { font-size: 15px; margin-right: 8px; }
.st-loc-main p { margin: 4px 0 0; color: #4b5563; line-height: 1.4; }
.st-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #f3f4f6; color: #374151; font-size: 12px; font-weight: 500; }
.st-loc-col small { display: block; margin-bottom: 3px; font-size: 12px; color: #9ca3af; }
.st-loc-col span { font-size: 14px; color: #1f2937; }
.st-loc > .st-ib { position: relative; }
@media (max-width: 1100px) {
  .st-loc { grid-template-columns: 56px minmax(0, 1fr) auto auto; }
  .st-loc-col { display: none; }
}
.st-loc-main { min-width: 0; }
@media (max-width: 480px) {
  .st-loc { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
  .st-loc > [data-manage] { grid-column: 2; grid-row: 2; justify-self: start; }   /* Manage drops under the name; the row menu stays top right */
  .st-loc > :last-child:not([data-manage]) { grid-column: 3; grid-row: 1; }
  .st-loc-ph { width: 40px; height: 40px; }
  .st-tag { max-width: 100%; white-space: normal; }
}
