/* Mobile: full-width search under logo + action buttons */
@media (max-width: 720px) {
  .header-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand {
    order: 1;
    margin-right: auto;
  }
  .header-row > .btn-icon {
    order: 2;
  }
  .search-box {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
  .search-box input {
    font-size: 0.92rem;
    padding-top: 11px;
    padding-bottom: 11px;
    padding-right: 48px;
  }
  /* Larger clear (✕) button — easier to tap on phones */
  .search-box .clear {
    width: 44px;
    height: 44px;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    border-radius: 50%;
    color: var(--muted);
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .search-box.has-value .clear {
    display: flex;
  }
  .search-box .clear:active {
    background: var(--surface2);
    color: var(--text);
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 0;
    gap: 0;
  }
  .brand-icon {
    font-size: 16px;
  }
}
