/* Shared project bar — Site, Buy, Forms, and find. */

#qfl-project-bar,
.qfl-project-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.qfl-ws {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0f172a;
  padding: 7px 11px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  line-height: 1.2;
}

.qfl-ws:hover {
  border-color: #94a3b8;
}

.qfl-ws.is-current {
  background: #0c1248;
  border-color: #0c1248;
  color: #fff;
}

.qfl-find {
  position: relative;
  flex: 1 1 16rem;
  min-width: 12rem;
  max-width: 100%;
}

.qfl-find input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  color: #0f172a;
  background: #fff;
}

/* Site programme: keep the material search readable under the project bar. */
.controls .filters {
  margin-bottom: 0;
  align-items: flex-end;
  flex: 1 1 auto;
}

#skuSearch {
  min-width: 220px;
  width: 240px;
}

.qfl-find input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.qfl-find-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  max-height: 320px;
  overflow: auto;
}

.qfl-find-list[hidden] {
  display: none;
}

.qfl-find-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  text-decoration: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.86rem;
  color: #0f172a;
  cursor: pointer;
}

.qfl-find-list a small {
  color: #64748b;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.qfl-find-list a.is-active,
.qfl-find-list a:hover {
  background: #eff6ff;
}

.qfl-jobs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

.qfl-jobs a,
.qfl-jobs button {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 999px;
  padding: 6px 11px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.qfl-jobs a:hover,
.qfl-jobs button:hover {
  border-color: #0c1248;
  color: #0c1248;
}

.forms-start {
  margin: 0 0 16px;
}

.forms-start h2 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.forms-start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.forms-start-grid a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
}

.forms-start-grid a:hover {
  border-color: #0c1248;
}

.forms-start-grid strong {
  font-size: 0.88rem;
}

.forms-start-grid span {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.3;
}
