/* HAWKOPS — wybór bazy (.workspace-…), pasek bazy w przygotowaniu (#locationStateBanner), ostrzeżenie samolotu planu
   dnia (.notice.danger — DAY PLAN), wiersz stanu (.site-state-row — też karta integracji). v8.36.0: wydzielone z dawnych
   fleet.css i sites.css (OPERATING SITES i FLEET MANAGEMENT są modułem ładowanym na żądanie) — tuż przed miejscem
   wyglądu modułu SITES, kolejność między sobą bez zmian; reguły bez zmian. */
.notice.danger {
  background: #fde8e8;
  border: 1px solid #e3a3a3;
  color: #8a1c1c;
}
.site-state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
#locationStateBanner {
  margin: 0 0 12px;
}
.workspace-item .workspace-name {
  font-size: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.workspace-item .workspace-name small {
  font-size: 12px;
  color: #56606d;
}
/* v8.50.0: kod bazy na górze, pod nim nazwa bazy (marka) */
.workspace-item .workspace-name .workspace-code {
  letter-spacing: 0.06em;
}
.workspace-item .workspace-name .workspace-brand {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}
.workspace-pending {
  border-style: dashed;
}
.workspace-finished {
  grid-column: 1/-1;
  margin-top: 8px;
}
.workspace-finished summary {
  cursor: pointer;
  font-weight: 700;
  color: #56606d;
}
.workspace-item .workspace-state {
  flex-shrink: 0;
  margin-left: 10px;
  font-weight: 700;
  color: #8a5a00;
}
.workspace-item .workspace-name {
  flex: 1 1 auto;
  min-width: 0;
}
/* v8.156.0: pobranie aplikacji HAWK OPS Mobile pod listą baz (#workspaceApps — hawkAppDownloads w core.js) */
.workspace-apps {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e4e7ec;
}
.workspace-apps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.workspace-app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: white;
  color: var(--hawk-brand);
  text-decoration: none;
}
a.workspace-app:hover {
  border-color: var(--hawk-brand-light);
  box-shadow: 0 4px 18px rgba(73, 38, 96, 0.12);
}
.workspace-app-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.workspace-app-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.workspace-app-text small {
  font-size: 12px;
  color: #56606d;
}
.workspace-app-get {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
  color: var(--hawk-brand);
}
.workspace-app-soon {
  opacity: 0.6;
  border-style: dashed;
}
/* lista baz z kafelkami aplikacji może być wyższa niż ekran telefonu — przewijanie zamiast ucięcia */
.workspace-overlay {
  overflow-y: auto;
}
.workspace-card {
  margin: 16px 0;
}
/* v8.156.1 (uwaga użytkownika 11.11.2026): ekran wyboru bazy — dwie bazy w wierszu, logo bazy po lewej, kod, nazwa i miejsce
   obok, stan bazy („W przygotowaniu”) plakietką na dole kafelka; telefon — jedna kolumna */
.workspace-card {
  width: min(880px, 94vw);
  padding: 32px;
}
.workspace-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.workspace-list > .muted,
.workspace-list > .workspace-finished {
  grid-column: 1/-1;
}
.workspace-item.ws-tile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
  row-gap: 12px;
  min-height: 118px;
  padding: 18px 20px;
  border-radius: 14px;
}
.ws-tile .ws-logo {
  width: 96px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ece4f3;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.ws-tile .ws-logo img {
  max-width: 84px;
  max-height: 60px;
  object-fit: contain;
}
.ws-tile .ws-logo.ws-logo-text {
  border-color: transparent;
  background: var(--hawk-brand-soft);
  color: var(--hawk-brand);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.ws-tile .workspace-name {
  gap: 3px;
}
.ws-tile .workspace-name .workspace-code {
  font-size: 17px;
  letter-spacing: 0.08em;
}
.ws-tile .workspace-name .workspace-brand {
  font-size: 15px;
  line-height: 1.3;
}
.ws-tile .workspace-name small {
  font-size: 12.5px;
  line-height: 1.35;
}
.ws-tile .workspace-state {
  grid-column: 1/-1;
  justify-self: start;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff4db;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 700;
}
.workspace-pending.ws-tile {
  background: #fcfbfe;
}
@media (max-width: 640px) {
  .workspace-card {
    padding: 20px 16px;
  }
  .workspace-list {
    grid-template-columns: 1fr;
  }
  .workspace-item.ws-tile {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 0;
  }
  .ws-tile .ws-logo {
    width: 76px;
    height: 60px;
  }
  .ws-tile .ws-logo img {
    max-width: 66px;
    max-height: 48px;
  }
}
